Compare commits
37
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f959ad27f5 | ||
|
|
468f0a46b0 | ||
|
|
27aa67889f | ||
|
|
8153040f0e | ||
|
|
e707d378cc | ||
|
|
55498c9ee6 | ||
|
|
d1f2afaccf | ||
|
|
6bb67a1f4f | ||
|
|
d432d8c0a9 | ||
|
|
2558178994 | ||
|
|
a0a41ca3eb | ||
|
|
5813b84fc5 | ||
|
|
ad7d867600 | ||
|
|
48f9cfa321 | ||
|
|
25d2c51328 | ||
|
|
8f1b7bb786 | ||
|
|
3b45932549 | ||
|
|
493cd6852f | ||
|
|
6915b831cf | ||
|
|
d4af93a44a | ||
|
|
5aaaa50dbe | ||
|
|
c0db2e3251 | ||
|
|
9499f2d5d7 | ||
|
|
456ac53443 | ||
|
|
6339c51235 | ||
|
|
9896fa1488 | ||
|
|
2ed30c5630 | ||
|
|
d80ac6a19f | ||
|
|
35f914f938 | ||
|
|
e73ecc8747 | ||
|
|
99752b9e32 | ||
|
|
22e5afeb3f | ||
|
|
91826bd305 | ||
|
|
500d23b117 | ||
|
|
e45825a9dc | ||
|
|
4f2ded59cb | ||
|
|
27c4e2043f |
No files matched your search
@@ -0,0 +1 @@
|
|||||||
|
#package.json merge=ours
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
#containerBookingBtn{display:none;margin:0;text-align:center}#get_flash{display:none}.ui-dialog-title{text-align:center;display:none}.ui-widget-overlay{background:#fff;opacity:1;width:100vw;height:100vh}#openSeatmap img{width:64px}#openSeatmap{padding:1rem!important;cursor:pointer;border-radius:5px}#openSeatmap span{font-size:1.2rem}#foobarParent{display:none}div#dialogSeatmap{padding-top:0}.ui-widget-header{background:#fff;border:1px solid #c6c6c6;border-bottom-right-radius:0;border-bottom-left-radius:0}.ui-dialog{background:#fff;left:0!important;padding:0;top:0!important;right:0!important}.ui-dialog .ui-dialog-content{padding:0}.ui-dialog-titlebar{margin-left:0;margin-right:0;padding:0!important;display:none}#iframeSeatmap{height:100vh;background:#fff;width:100%}.ui-corner-all{border-radius:0}.ui-widget{border:none!important}
|
||||||
Vendored
+1635
File diff suppressed because it is too large.
Load diff
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
.jBox-wrapper{text-align:left;box-sizing:border-box}.jBox-container,.jBox-content,.jBox-title{position:relative;word-break:break-word;box-sizing:border-box}.jBox-container{background:#fff}.jBox-content{padding:8px 12px;overflow-x:hidden;overflow-y:auto;transition:opacity .2s}.jBox-Mouse .jBox-container,.jBox-Tooltip .jBox-container{border-radius:4px;box-shadow:0 0 3px rgba(0,0,0,.25)}.jBox-Mouse .jBox-title,.jBox-Tooltip .jBox-title{padding:8px 10px 0;font-weight:700}.jBox-Mouse.jBox-hasTitle .jBox-content,.jBox-Tooltip.jBox-hasTitle .jBox-content{padding-top:5px}.jBox-Mouse{pointer-events:none}.jBox-pointer{position:absolute;overflow:hidden;box-sizing:border-box}.jBox-pointer:after{content:'';width:20px;height:20px;position:absolute;background:#fff;transform:rotate(45deg);box-sizing:border-box}.jBox-pointer-top{top:0}.jBox-pointer-top:after{left:5px;top:6px;box-shadow:-1px -1px 2px rgba(0,0,0,.15)}.jBox-pointer-right{right:0}.jBox-pointer-right:after{top:5px;right:6px;box-shadow:1px -1px 2px rgba(0,0,0,.15)}.jBox-pointer-left{left:0}.jBox-pointer-left:after{top:5px;left:6px;box-shadow:-1px 1px 2px rgba(0,0,0,.15)}.jBox-pointer-bottom{bottom:0}.jBox-pointer-bottom:after{left:5px;bottom:6px;box-shadow:1px 1px 2px rgba(0,0,0,.15)}.jBox-pointer-bottom,.jBox-pointer-top{width:30px;height:12px}.jBox-pointer-left,.jBox-pointer-right{width:12px;height:30px}.jBox-Modal .jBox-container{border-radius:4px}.jBox-Modal .jBox-container,.jBox-Modal.jBox-closeButton-box:before{box-shadow:0 3px 15px rgba(0,0,0,.4),0 0 5px rgba(0,0,0,.4)}.jBox-Modal .jBox-content{padding:15px 20px}.jBox-Modal .jBox-title{border-radius:4px 4px 0 0;padding:15px 20px;background:#fafafa;border-bottom:1px solid #eee}.jBox-Modal.jBox-closeButton-title .jBox-title{padding-right:65px}.jBox-Modal .jBox-footer{border-radius:0 0 4px 4px}.jBox-closeButton{z-index:1;cursor:pointer;position:absolute;box-sizing:border-box}.jBox-closeButton svg{position:absolute;top:50%;right:50%}.jBox-closeButton path{fill:#aaa;transition:fill .2s}.jBox-closeButton:hover path{fill:#888}.jBox-overlay .jBox-closeButton{top:0;right:0;width:40px;height:40px}.jBox-overlay .jBox-closeButton svg{width:20px;height:20px;margin-top:-10px;margin-right:-10px}.jBox-overlay .jBox-closeButton path{fill:#ddd}.jBox-overlay .jBox-closeButton:hover path{fill:#fff}.jBox-closeButton-title .jBox-closeButton{top:0;right:0;bottom:0;width:50px}.jBox-closeButton-title svg{width:12px;height:12px;margin-top:-6px;margin-right:-6px}.jBox-closeButton-box{box-sizing:border-box}.jBox-closeButton-box .jBox-closeButton{top:-8px;right:-10px;width:24px;height:24px;background:#fff;border-radius:50%}.jBox-closeButton-box .jBox-closeButton svg{width:10px;height:10px;margin-top:-5px;margin-right:-5px}.jBox-closeButton-box:before{content:'';position:absolute;top:-8px;right:-10px;width:24px;height:24px;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,.3)}.jBox-closeButton-box.jBox-pointerPosition-top:before{top:5px}.jBox-closeButton-box.jBox-pointerPosition-right:before{right:2px}.jBox-Modal.jBox-hasTitle.jBox-closeButton-box .jBox-closeButton{background:#fafafa}.jBox-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.82)}.jBox-footer{box-sizing:border-box;background:#fafafa;border-top:1px solid #eee;padding:8px 10px;border-radius:0 0 3px 3px}body[class*=" jBox-blockScroll-"],body[class^=jBox-blockScroll-]{overflow:hidden}.jBox-draggable{cursor:move}@keyframes jBoxLoading{to{transform:rotate(360deg)}}.jBox-loading .jBox-content{opacity:.2}.jBox-loading-spinner .jBox-content{min-height:38px!important;min-width:38px!important;opacity:0}.jBox-spinner{box-sizing:border-box;position:absolute;top:50%;left:50%;width:24px;height:24px;margin-top:-12px;margin-left:-12px}.jBox-spinner:before{display:block;box-sizing:border-box;content:'';width:24px;height:24px;border-radius:50%;border:2px solid rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.8);animation:.6s linear infinite jBoxLoading}.jBox-countdown{border-radius:4px 4px 0 0;z-index:0;background:#000;opacity:.2;position:absolute;top:0;left:0;right:0;height:3px;overflow:hidden}.jBox-countdown-inner{top:0;right:0;width:100%;height:3px;position:absolute;background:#fff}[class*=" jBox-animated-"],[class^=jBox-animated-]{animation-fill-mode:both}@keyframes jBox-tada{0%{transform:scale(1)}10%,20%{transform:scale(.8) rotate(-4deg)}30%,50%,70%,90%{transform:scale(1.2) rotate(4deg)}40%,60%,80%{transform:scale(1.2) rotate(-4deg)}100%{transform:scale(1) rotate(0)}}.jBox-animated-tada{animation:1s jBox-tada}@keyframes jBox-tadaSmall{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-2deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(2deg)}40%,60%,80%{transform:scale(1.1) rotate(-2deg)}100%{transform:scale(1) rotate(0)}}.jBox-animated-tadaSmall{animation:1s jBox-tadaSmall}@keyframes jBox-flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}.jBox-animated-flash{animation:.5s jBox-flash}@keyframes jBox-shake{0%,100%{transform:translateX(0)}20%,60%{transforLine truncated
|
||||||
Vendored
+1635
File diff suppressed because it is too large.
Load diff
@@ -15,18 +15,21 @@ window.addEventListener('load', () => {
|
|||||||
// Parse (hidden) inputs and their values
|
// Parse (hidden) inputs and their values
|
||||||
const content: string = new XMLSerializer().serializeToString(document);
|
const content: string = new XMLSerializer().serializeToString(document);
|
||||||
inputsWithValue = { ...inputsWithValue, ...Parser.getInputs(content) };
|
inputsWithValue = { ...inputsWithValue, ...Parser.getInputs(content) };
|
||||||
|
if (jQuery("#get_flash").length) jQuery("#get_flash").hide();
|
||||||
|
|
||||||
Utils.consoleLog(inputsWithValue);
|
Utils.consoleLog(inputsWithValue);
|
||||||
Utils.consoleLog(`trxstate: ${inputsWithValue["trxstate"]}`);
|
Utils.consoleLog(`trxstate: ${inputsWithValue["trxstate"]}`);
|
||||||
|
|
||||||
// "posturl" in function showMap() only available if "pvmapse" PVO code is true.
|
// "posturl" in function showMap() only available if "pvmapse" is true, false disables seatmap
|
||||||
// "pvmapse" false disables seatmap
|
|
||||||
const posturlAvail: boolean = /posturl:"(.+?)"/.test(content);
|
const posturlAvail: boolean = /posturl:"(.+?)"/.test(content);
|
||||||
|
const couponCodeBoxAvail: boolean = !!jQuery("#coupon_code_box").length;
|
||||||
|
const couponSuccessfull: boolean = !!jQuery("#coupon_successful").length;
|
||||||
|
|
||||||
|
Utils.consoleLog(`couponCodeBoxAvail: ${couponCodeBoxAvail}`);
|
||||||
Utils.consoleLog(`posturl available: ${posturlAvail}`);
|
Utils.consoleLog(`posturl available: ${posturlAvail}`);
|
||||||
|
|
||||||
// Only inject on page with trxstate 20 and if seatmap is enabled with PVO code "pvmapse"
|
// Only inject on page with trxstate 20 and if seatmap is enabled with PVO code "pvmapse"
|
||||||
if (inputsWithValue["trxstate"] !== "20" || posturlAvail === false)
|
if (inputsWithValue["trxstate"] !== "20" || posturlAvail === false || couponCodeBoxAvail === true || couponSuccessfull === true)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Inject parent CSS
|
// Inject parent CSS
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import * as I from "../types/types";
|
|||||||
export const config: I.Config = {
|
export const config: I.Config = {
|
||||||
childHasVenueXML: false,
|
childHasVenueXML: false,
|
||||||
debug: true,
|
debug: true,
|
||||||
branch: "staging",
|
branch: "master",
|
||||||
version: "0.2.0",
|
version: "0.2.0",
|
||||||
maxSelectedSeats: 10,
|
maxSelectedSeats: 10,
|
||||||
resources: {
|
resources: {
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ export function convertLegendToDropdown(inID: string): void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function generateLegend(inNode: string): I.JSCLegend {
|
export function generateLegend(inNode: string): I.JSCLegend {
|
||||||
|
|
||||||
|
|
||||||
return <I.JSCLegend>{
|
return <I.JSCLegend>{
|
||||||
node: jQuery(inNode),
|
node: jQuery(inNode),
|
||||||
items: createLegendItems()
|
items: createLegendItems()
|
||||||
|
|||||||
Reference in new issue
Block a user