diff --git a/README.md b/README.md index 8f5a53d..75f80e8 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ Journey.js [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Journey.js%2C%20a%20free%20JavaScript%journey%builder&url=https://github.com/williamtroup/Journey.js&hashtags=javascript,html,journey,guide) -[![npm](https://img.shields.io/badge/npmjs-v2.1.0-blue)](https://www.npmjs.com/package/jjourney.js) -[![nuget](https://img.shields.io/badge/nuget-v2.1.0-purple)](https://www.nuget.org/packages/jJourney.js/) +[![npm](https://img.shields.io/badge/npmjs-v2.2.0-blue)](https://www.npmjs.com/package/jjourney.js) +[![nuget](https://img.shields.io/badge/nuget-v2.2.0-purple)](https://www.nuget.org/packages/jJourney.js/) [![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Journey.js/blob/main/LICENSE.txt) [![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Journey.js/discussions) [![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://www.william-troup.com/) >

🚶 A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps!

->

v2.1.0

+>

v2.2.0


![Journey.js](docs/images/main.png) @@ -129,8 +129,8 @@ Or, you can download the latest zipped up version [here](https://www.william-tro Or, you can also use the following CDN links: ```markdown -https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.1.0/dist/journey.min.js -https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.1.0/dist/journey.js.min.css +https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.2.0/dist/journey.min.js +https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.2.0/dist/journey.js.min.css ```

diff --git a/README_NUGET.md b/README_NUGET.md index 4ce93dd..94b3a44 100644 --- a/README_NUGET.md +++ b/README_NUGET.md @@ -1,8 +1,8 @@ -# Journey.js v2.1.0 +# Journey.js v2.2.0 [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Journey.js%2C%20a%20free%20JavaScript%journey%builder&url=https://github.com/williamtroup/Journey.js&hashtags=javascript,html,journey,guide) -[![npm](https://img.shields.io/badge/npmjs-v2.1.0-blue)](https://www.npmjs.com/package/jjourney.js) -[![nuget](https://img.shields.io/badge/nuget-v2.1.0-purple)](https://www.nuget.org/packages/jJourney.js/) +[![npm](https://img.shields.io/badge/npmjs-v2.2.0-blue)](https://www.npmjs.com/package/jjourney.js) +[![nuget](https://img.shields.io/badge/nuget-v2.2.0-purple)](https://www.nuget.org/packages/jJourney.js/) [![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Journey.js/blob/main/LICENSE.txt) [![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Journey.js/discussions) [![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://www.william-troup.com/) @@ -111,8 +111,8 @@ Or, you can download the latest zipped up version [here](https://www.william-tro Or, you can also use the following CDN links: ```markdown -https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.1.0/dist/journey.min.js -https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.1.0/dist/journey.js.min.css +https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.2.0/dist/journey.min.js +https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.2.0/dist/journey.js.min.css ``` diff --git a/dist/journey.esm.js b/dist/journey.esm.js index 08d8c41..30bb4b9 100644 --- a/dist/journey.esm.js +++ b/dist/journey.esm.js @@ -51,18 +51,18 @@ var init_is = __esm({ return t(e) && typeof e === "string"; } e.definedString = i; - function r(e) { + function s(e) { return t(e) && typeof e === "function"; } - e.definedFunction = r; - function s(e) { + e.definedFunction = s; + function l(e) { return t(e) && typeof e === "number"; } - e.definedNumber = s; - function l(e) { + e.definedNumber = l; + function r(e) { return o(e) && e instanceof Array; } - e.definedArray = l; + e.definedArray = r; })(Is || (Is = {})); } }); @@ -91,18 +91,18 @@ var init_default = __esm({ return Is.definedNumber(e) ? e : t; } e.getNumber = i; - function r(e, t) { + function s(e, t) { return Is.definedFunction(e) ? e : t; } - e.getFunction = r; - function s(e, t) { + e.getFunction = s; + function l(e, t) { return Is.definedObject(e) ? e : t; } - e.getObject = s; - function l(e, t) { + e.getObject = l; + function r(e, t) { return Is.definedArray(e) ? e : t; } - e.getArray = l; + e.getArray = r; function a(e, t) { let o = t; if (Is.definedString(e)) { @@ -113,7 +113,7 @@ var init_default = __esm({ o = n; } } else { - o = l(e, t); + o = r(e, t); } return o; } @@ -141,10 +141,10 @@ var init_dom = __esm({ } e.create = t; function o(e, o, n, i) { - const r = t(o, n); - r.innerHTML = i; - e.appendChild(r); - return r; + const s = t(o, n); + s.innerHTML = i; + e.appendChild(s); + return s; } e.createWithHTML = o; function n(e) { @@ -169,13 +169,13 @@ var init_dom = __esm({ return t; } e.getScrollPosition = i; - function r(e, t) { + function s(e, t) { const o = getComputedStyle(e); let n = o.getPropertyValue(t); return n; } - e.getStyleValueByName = r; - function s(e, t) { + e.getStyleValueByName = s; + function l(e, t) { try { if (!e.contains(t)) { e.appendChild(t); @@ -184,8 +184,8 @@ var init_dom = __esm({ console.warn(e.message); } } - e.addNode = s; - function l(e, t) { + e.addNode = l; + function r(e, t) { try { if (e.contains(t)) { e.removeChild(t); @@ -194,35 +194,37 @@ var init_dom = __esm({ console.warn(e.message); } } - e.removeNode = l; + e.removeNode = r; function a(e) { e.preventDefault(); e.stopPropagation(); } e.cancelBubble = a; - function _(e, t) { - let o = e.pageX; - let n = e.pageY; - const r = i(); + function _(e, t, o) { + let n = e.pageX; + let s = e.pageY; + const l = i(); t.style.display = "block"; - if (o + t.offsetWidth > window.innerWidth) { - o -= t.offsetWidth; + if (n + t.offsetWidth > window.innerWidth) { + n -= t.offsetWidth + o; } else { - o++; + n++; + n += o; } - if (n + t.offsetHeight > window.innerHeight) { - n -= t.offsetHeight; + if (s + t.offsetHeight > window.innerHeight) { + s -= t.offsetHeight + o; } else { - n++; + s++; + s += o; } - if (o < r.left) { - o = e.pageX + 1; + if (n < l.left) { + n = e.pageX + 1; } - if (n < r.top) { - n = e.pageY + 1; + if (s < l.top) { + s = e.pageY + 1; } - t.style.left = `${o}px`; - t.style.top = `${n}px`; + t.style.left = `${n}px`; + t.style.top = `${s}px`; } e.showElementAtMousePosition = _; function u(e, t) { @@ -240,17 +242,17 @@ var init_dom = __esm({ function g(e, o) { const n = t("div"); const i = t("label", "checkbox"); - const r = t("input"); + const s = t("input"); e.appendChild(n); n.appendChild(i); - i.appendChild(r); - r.type = "checkbox"; - const s = t("span", "check-mark"); - const l = t("span", "text"); - l.innerHTML = o; i.appendChild(s); + s.type = "checkbox"; + const l = t("span", "check-mark"); + const r = t("span", "text"); + r.innerHTML = o; i.appendChild(l); - return r; + i.appendChild(r); + return s; } e.createCheckBox = g; function c(e, t) { @@ -289,6 +291,8 @@ var init_binding = __esm({ t.group = Default.getString(t.group, Constant.DEFAULT_GROUP); t.ignore = Default.getBoolean(t.ignore, false); t.moveToNextOnClick = Default.getBoolean(t.moveToNextOnClick, false); + t.offset = Default.getNumber(t.offset, 0); + t.useLargerDisplay = Default.getBoolean(t.useLargerDisplay, false); t = o(t); t = n(t); return t; @@ -346,6 +350,8 @@ var init_config = __esm({ t.dialogMovingEnabled = Default.getBoolean(t.dialogMovingEnabled, false); t.showProgressBarText = Default.getBoolean(t.showProgressBarText, false); t.showStepNumbersInTitle = Default.getBoolean(t.showStepNumbersInTitle, false); + t.hintClickPositionOffset = Default.getNumber(t.hintClickPositionOffset, 0); + t.tooltipOffset = Default.getNumber(t.tooltipOffset, 0); t = o(t); t = n(t); return t; @@ -406,34 +412,28 @@ var init_tooltip = __esm({ t = DomElement.create("div", "journey-js-tooltip"); t.style.display = "none"; document.body.appendChild(t); - document.body.addEventListener("mousemove", (() => { - s(); - })); - document.addEventListener("scroll", (() => { - s(); - })); + document.body.addEventListener("mousemove", (() => l())); + document.addEventListener("scroll", (() => l())); } } e.render = n; function i(e, t, o) { if (e !== null) { - e.onmousemove = e => { - r(e, t, o); - }; + e.onmousemove = e => s(e, t, o); } } e.add = i; - function r(e, n, i) { + function s(e, n, i) { DomElement.cancelBubble(e); - s(); + l(); o = setTimeout((() => { t.innerHTML = n; t.style.display = "block"; - DomElement.showElementAtMousePosition(e, t); + DomElement.showElementAtMousePosition(e, t, i.tooltipOffset); }), i.tooltipDelay); } - e.show = r; - function s() { + e.show = s; + function l() { if (Is.defined(t)) { if (o !== 0) { clearTimeout(o); @@ -444,7 +444,7 @@ var init_tooltip = __esm({ } } } - e.hide = s; + e.hide = l; })(ToolTip || (ToolTip = {})); } }); @@ -546,10 +546,8 @@ var require_journey = __commonJS({ _element_Dialog.style.display = "none"; document.body.appendChild(_element_Dialog); _element_Dialog_Close_Button = DomElement.create("button", "close"); + _element_Dialog_Close_Button.onclick = () => onDialogClose(); _element_Dialog.appendChild(_element_Dialog_Close_Button); - _element_Dialog_Close_Button.onclick = () => { - onDialogClose(); - }; ToolTip.add(_element_Dialog_Close_Button, _configuration.text.closeButtonToolTipText, _configuration); _element_Dialog_Title = DomElement.create("div", "title"); _element_Dialog.appendChild(_element_Dialog_Title); @@ -679,6 +677,16 @@ var require_journey = __commonJS({ } } function setDialogPosition(e, t) { + _element_Dialog_IsHint = t.isHint === true; + if (_element_Dialog_IsHint) { + _element_Dialog.className = "journey-js-dialog"; + } else { + if (t.useLargerDisplay && _element_Dialog.className === "journey-js-dialog") { + _element_Dialog.className = "journey-js-dialog-lg"; + } else if (!t.useLargerDisplay && _element_Dialog.className === "journey-js-dialog-lg") { + _element_Dialog.className = "journey-js-dialog"; + } + } if (_element_Dialog.style.display !== "block") { _element_Dialog.style.display = "block"; Trigger.customEvent(t.events.onOpen, t._currentView.element); @@ -686,10 +694,9 @@ var require_journey = __commonJS({ if (_groups[_groups_Current].position === 0) { Trigger.customEvent(t.events.onStart, t._currentView.element); } - _element_Dialog_IsHint = t.isHint === true; if (t.attach || t.isHint) { if (t.isHint && t.alignHintToClickPosition) { - DomElement.showElementAtMousePosition(e, _element_Dialog); + DomElement.showElementAtMousePosition(e, _element_Dialog, _configuration.hintClickPositionOffset); } else { const e = DomElement.getOffset(t._currentView.element); let o = e.top + t._currentView.element.offsetHeight; @@ -697,9 +704,15 @@ var require_journey = __commonJS({ if (n + _element_Dialog.offsetWidth > window.innerWidth || t.alignRight) { n -= _element_Dialog.offsetWidth; n += t._currentView.element.offsetWidth; + n -= t.offset; + } else { + n += t.offset; } if (o + _element_Dialog.offsetHeight > window.innerHeight || t.alignTop) { o -= _element_Dialog.offsetHeight + t._currentView.element.offsetHeight; + o -= t.offset; + } else { + o += t.offset; } _element_Dialog.style.top = `${o}px`; _element_Dialog.style.left = `${n}px`; @@ -1125,7 +1138,7 @@ var require_journey = __commonJS({ return _public; }, getVersion: function() { - return "2.1.0"; + return "2.2.0"; } }; (() => { diff --git a/dist/journey.esm.js.map b/dist/journey.esm.js.map index 3a93f0e..7228732 100644 --- a/dist/journey.esm.js.map +++ b/dist/journey.esm.js.map @@ -1 +1 @@ -{"version":3,"sources":["/Users/williamtroup/Documents/GitHub%20Repos/Journey.js/dist/journey.esm.js"],"names":["__getOwnPropNames","Object","getOwnPropertyNames","__esm","fn","res","__init","__commonJS","cb","mod","__require","exports","init_enum","Constant","init_constant","Constant2","JOURNEY_JS_ATTRIBUTE_NAME","DEFAULT_GROUP","Is","init_is","Is2","defined","value","definedObject","object","definedBoolean","definedString","definedFunction","definedNumber","definedArray","Array","Default","init_default","Default2","getAnyString","defaultValue","getString","getBoolean","getNumber","getFunction","getObject","getArray","getStringOrArray","result2","values","toString","split","length","DomElement","init_dom","DomElement2","create","type","className","nodeType","toLowerCase","isText","document","createTextNode","createElement","createWithHTML","container","html","element","innerHTML","appendChild","getOffset","left","top","isNaN","offsetLeft","offsetTop","scrollLeft","scrollTop","offsetParent","getScrollPosition","documentElement","clientLeft","clientTop","getStyleValueByName","stylePropertyName","styles","getComputedStyle","style","getPropertyValue","addNode","parent","node","contains","e","console","warn","message","removeNode","removeChild","cancelBubble","preventDefault","stopPropagation","showElementAtMousePosition","pageX","pageY","scrollPosition","display","offsetWidth","window","innerWidth","offsetHeight","innerHeight","showElementBasedOnCondition","condition","createCheckBox","labelText","lineContainer","label","input","checkMark","text","clearElementsByClassName","elements","getElementsByClassName","parentNode","Binding","init_binding","Binding2","Options","Options2","get","newOptions","options","order","attach","sendClick","alignTop","alignRight","isHint","alignHintToClickPosition","showDisabledBackground","removeHintWhenViewed","group","ignore","moveToNextOnClick","getText","getEvents","title","description","tooltip","events","onEnter","onLeave","onClose","onFinish","onOpen","onStart","onAddStep","onRemoveStep","Config","init_config","Config2","newConfiguration","configuration","safeMode","domElementTypes","showCloseButton","shortcutKeysEnabled","showProgressDots","browserUrlParametersEnabled","showProgressDotNumbers","showButtons","showDoNotShowAgain","tooltipDelay","showProgressDotToolTips","closeDialogOnDisabledBackgroundClick","showProgressBar","scrollToElements","dialogMovingEnabled","showProgressBarText","showStepNumbersInTitle","backButtonText","nextButtonText","finishButtonText","closeButtonToolTipText","doNotShowAgainText","objectErrorText","attributeNotValidErrorText","attributeNotSetErrorText","closeDialogConfirmationText","onDoNotShowAgainChange","Trigger","init_trigger","Trigger2","customEvent","triggerFunction","args","apply","slice","call","ToolTip","init_tooltip","ToolTip2","_element_ToolTip","_element_ToolTip_Timer","render","body","addEventListener","hide","add","onmousemove","show","setTimeout","clearTimeout","Disabled","init_disabled","Disabled2","Background","Background2","_element_Disabled_Background","onClickFunc","onclick","require_journey","module","_configuration","_configuration_ShortcutKeysEnabled","_groups_Current","_groups","_element_Focus_Element_PositionStyle","_element_Dialog","_element_Dialog_Close_Button","_element_Dialog_Title","_element_Dialog_Description","_element_Dialog_CheckBox_Container","_element_Dialog_CheckBox_Input","_element_Dialog_ProgressDots","_element_Dialog_ProgressBar","_element_Dialog_ProgressBar_Percentage","_element_Dialog_ProgressBar_Percentage_Text","_element_Dialog_Buttons","_element_Dialog_Buttons_Back_Button","_element_Dialog_Buttons_Next_Button","_element_Dialog_IsHint","_element_Dialog_Move_Original_X","_element_Dialog_Move_Original_Y","_element_Dialog_Move_IsMoving","_element_Dialog_Move_X","_element_Dialog_Move_Y","setupDefaultGroup","groups","json","keys","position","setupNewGroup","hasOwnProperty","getGroupBindingOptions","isGroupPositionAtEnd","renderDialog","onDialogClose","onchange","checked","onDialogBack","onDialogNext","makeDialogMovable","showConfirmationBox","confirmed","confirm","bindingOptions","_currentView","removeFocusClassFromLastElement","showDialogAndSetPosition","classList","scrollIntoView","lastPositionStyle","disabled","setDialogText","setDialogPosition","buildProcessDots","setProgressBarPosition","click","offset","centerLeft","Math","max","centerTop","callCustomTrigger","remove","removeEventListener","keysLength","keyIndex","buildProgressDot","dot","pixelsPerStage","width","percentageComplete","ceil","onmousedown","onMoveTitleBarMouseDown","onmouseup","onMoveTitleBarMouseUp","oncontextmenu","onMoveDocumentMouseMove","onMoveDocumentMouseLeave","getElements","tagTypes","tagTypesLength","tagTypeIndex","domElements","getElementsByTagName","elementsLength","elementIndex","getElement","sort","hasAttribute","bindingOptionsData","getAttribute","getObjectFromString","parsed","setupElement","error","replace","removeAttribute","push","renderHint","positionStyle","hint","buildDocumentEvents","addEvents","documentFunc","windowFunc","onWindowKeyDown","onWindowResize","_public","isOpen","code","onWindowKeyCodeUp","onWindowKeyCodeDown","getBrowserUrlParameters","url","location","href","urlArguments","getBrowserUrlArguments","sjOrderId","orderId","parseInt","sjShow","urlDataParts","parsedArgs","parsedArgsLength","parsedArgsIndex","parsedArg","objectString","result","JSON","parse","e1","eval","e2","resetDialogPosition","start","isComplete","addDocumentSteps","addStep","removeStep","removed","splice","indexOf","clearSteps","groupName","clearHints","reverseStepOrder","reverse","setConfiguration","configurationHasChanged","newInternalConfiguration","propertyName","getVersion","$journey"],"mappings":"AAAA,IAAIA,oBAAoBC,OAAOC;;AAC/B,IAAIC,QAAQ,CAACC,GAAIC,MAAQ,SAASC;IAChC,OAAOF,M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C,KAAK,IAAIwJ,KAAgBtN,GAAkB;4BACzC,IAAIA,EAAiB4F,eAAe0H,MAAiBxJ,eAAe8B,eAAe0H,MAAiBD,EAAyBC,OAAkBtN,EAAiBsN,IAAe;gCAC7KD,EAAyBC,KAAgBtN,EAAiBsN;gCAC1DF,IAA0B;AAC5B;AACF;wBACA,IAAIA,GAAyB;4BAC3BtJ,iBAAiBjE,OAAO/B,QAAQE,IAAIqP;AACtC;AACF;oBACA,OAAO3C;AACT;gBAMA6C,YAAY;oBACV,OAAO;AACT;;YAEF;gBACEzJ,iBAAiBjE,OAAO/B,QAAQE;gBAChCrE,SAASkJ,iBAAiB,qBAAoB;oBAC5CyC;oBACAlC,SAASG,WAAWZ,OAAOmB,gBAAgBkC;oBAC3CD;oBACAzD,QAAQK;oBACRkG;oBACAuB;oBACA,IAAIW,2BAA2B;wBAC7BL,QAAQzH;AACV;AAAA;gBAEF,KAAK7L,GAAGG,QAAQmF,OAAO8Q,WAAW;oBAChC9Q,OAAO8Q,WAAW9C;AACpB;AACD,cAhBD;AAiBD,UAhqBD;AAiqBF;;;eAEa9G","sourcesContent":[null]} \ No newline at end of file +{"version":3,"sources":["/Users/williamtroup/Documents/GitHub%20Repos/Journey.js/dist/journey.esm.js"],"names":["__getOwnPropNames","Object","getOwnPropertyNames","__esm","fn","res","__init","__commonJS","cb","mod","__require","exports","init_enum","Constant","init_constant","Constant2","JOURNEY_JS_ATTRIBUTE_NAME","DEFAULT_GROUP","Is","init_is","Is2","defined","value","definedObject","object","definedBoolean","definedString","definedFunction","definedNumber","definedArray","Array","Default","init_default","Default2","getAnyString","defaultValue","getString","getBoolean","getNumber","getFunction","getObject","getArray","getStringOrArray","result2","values","toString","split","length","DomElement","init_dom","DomElement2","create","type","className","nodeType","toLowerCase","isText","document","createTextNode","createElement","createWithHTML","container","html","element","innerHTML","appendChild","getOffset","left","top","isNaN","offsetLeft","offsetTop","scrollLeft","scrollTop","offsetParent","getScrollPosition","documentElement","clientLeft","clientTop","getStyleValueByName","stylePropertyName","styles","getComputedStyle","style","getPropertyValue","addNode","parent","node","contains","e","console","warn","message","removeNode","removeChild","cancelBubble","preventDefault","stopPropagation","showElementAtMousePosition","offset","pageX","pageY","scrollPosition","display","offsetWidth","window","innerWidth","offsetHeight","innerHeight","showElementBasedOnCondition","condition","createCheckBox","labelText","lineContainer","label","input","checkMark","text","clearElementsByClassName","elements","getElementsByClassName","parentNode","Binding","init_binding","Binding2","Options","Options2","get","newOptions","options","order","attach","sendClick","alignTop","alignRight","isHint","alignHintToClickPosition","showDisabledBackground","removeHintWhenViewed","group","ignore","moveToNextOnClick","useLargerDisplay","getText","getEvents","title","description","tooltip","events","onEnter","onLeave","onClose","onFinish","onOpen","onStart","onAddStep","onRemoveStep","Config","init_config","Config2","newConfiguration","configuration","safeMode","domElementTypes","showCloseButton","shortcutKeysEnabled","showProgressDots","browserUrlParametersEnabled","showProgressDotNumbers","showButtons","showDoNotShowAgain","tooltipDelay","showProgressDotToolTips","closeDialogOnDisabledBackgroundClick","showProgressBar","scrollToElements","dialogMovingEnabled","showProgressBarText","showStepNumbersInTitle","hintClickPositionOffset","tooltipOffset","backButtonText","nextButtonText","finishButtonText","closeButtonToolTipText","doNotShowAgainText","objectErrorText","attributeNotValidErrorText","attributeNotSetErrorText","closeDialogConfirmationText","onDoNotShowAgainChange","Trigger","init_trigger","Trigger2","customEvent","triggerFunction","args","apply","slice","call","ToolTip","init_tooltip","ToolTip2","_element_ToolTip","_element_ToolTip_Timer","render","body","addEventListener","hide","add","onmousemove","show","setTimeout","clearTimeout","Disabled","init_disabled","Disabled2","Background","Background2","_element_Disabled_Background","onClickFunc","onclick","require_journey","module","_configuration","_configuration_ShortcutKeysEnabled","_groups_Current","_groups","_element_Focus_Element_PositionStyle","_element_Dialog","_element_Dialog_Close_Button","_element_Dialog_Title","_element_Dialog_Description","_element_Dialog_CheckBox_Container","_element_Dialog_CheckBox_Input","_element_Dialog_ProgressDots","_element_Dialog_ProgressBar","_element_Dialog_ProgressBar_Percentage","_element_Dialog_ProgressBar_Percentage_Text","_element_Dialog_Buttons","_element_Dialog_Buttons_Back_Button","_element_Dialog_Buttons_Next_Button","_element_Dialog_IsHint","_element_Dialog_Move_Original_X","_element_Dialog_Move_Original_Y","_element_Dialog_Move_IsMoving","_element_Dialog_Move_X","_element_Dialog_Move_Y","setupDefaultGroup","groups","json","keys","position","setupNewGroup","hasOwnProperty","getGroupBindingOptions","isGroupPositionAtEnd","renderDialog","onDialogClose","onchange","checked","onDialogBack","onDialogNext","makeDialogMovable","showConfirmationBox","confirmed","confirm","bindingOptions","_currentView","removeFocusClassFromLastElement","showDialogAndSetPosition","classList","scrollIntoView","lastPositionStyle","disabled","setDialogText","setDialogPosition","buildProcessDots","setProgressBarPosition","click","centerLeft","Math","max","centerTop","callCustomTrigger","remove","removeEventListener","keysLength","keyIndex","buildProgressDot","dot","pixelsPerStage","width","percentageComplete","ceil","onmousedown","onMoveTitleBarMouseDown","onmouseup","onMoveTitleBarMouseUp","oncontextmenu","onMoveDocumentMouseMove","onMoveDocumentMouseLeave","getElements","tagTypes","tagTypesLength","tagTypeIndex","domElements","getElementsByTagName","elementsLength","elementIndex","getElement","sort","hasAttribute","bindingOptionsData","getAttribute","getObjectFromString","parsed","setupElement","error","replace","removeAttribute","push","renderHint","positionStyle","hint","buildDocumentEvents","addEvents","documentFunc","windowFunc","onWindowKeyDown","onWindowResize","_public","isOpen","code","onWindowKeyCodeUp","onWindowKeyCodeDown","getBrowserUrlParameters","url","location","href","urlArguments","getBrowserUrlArguments","sjOrderId","orderId","parseInt","sjShow","urlDataParts","parsedArgs","parsedArgsLength","parsedArgsIndex","parsedArg","objectString","result","JSON","parse","e1","eval","e2","resetDialogPosition","start","isComplete","addDocumentSteps","addStep","removeStep","removed","splice","indexOf","clearSteps","groupName","clearHints","reverseStepOrder","reverse","setConfiguration","configurationHasChanged","newInternalConfiguration","propertyName","getVersion","$journey"],"mappings":"AAAA,IAAIA,oBAAoBC,OAAOC;;A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SAASG,WAAWZ,OAAOmB,gBAAgBkC;oBAC3CD;oBACAzD,QAAQK;oBACRiG;oBACAuB;oBACA,IAAIW,2BAA2B;wBAC7BL,QAAQxH;AACV;AAAA;gBAEF,KAAKjM,GAAGG,QAAQoF,OAAOgR,WAAW;oBAChChR,OAAOgR,WAAW9C;AACpB;AACD,cAhBD;AAiBD,UA7qBD;AA8qBF;;;eAEa7G","sourcesContent":[null]} \ No newline at end of file diff --git a/dist/journey.js b/dist/journey.js index b45396d..6198700 100644 --- a/dist/journey.js +++ b/dist/journey.js @@ -161,29 +161,31 @@ var DomElement; e.stopPropagation(); } e.cancelBubble = a; - function u(e, t) { - let o = e.pageX; - let n = e.pageY; - const l = i(); + function u(e, t, o) { + let n = e.pageX; + let l = e.pageY; + const r = i(); t.style.display = "block"; - if (o + t.offsetWidth > window.innerWidth) { - o -= t.offsetWidth; + if (n + t.offsetWidth > window.innerWidth) { + n -= t.offsetWidth + o; } else { - o++; + n++; + n += o; } - if (n + t.offsetHeight > window.innerHeight) { - n -= t.offsetHeight; + if (l + t.offsetHeight > window.innerHeight) { + l -= t.offsetHeight + o; } else { - n++; + l++; + l += o; } - if (o < l.left) { - o = e.pageX + 1; + if (n < r.left) { + n = e.pageX + 1; } - if (n < l.top) { - n = e.pageY + 1; + if (l < r.top) { + l = e.pageY + 1; } - t.style.left = `${o}px`; - t.style.top = `${n}px`; + t.style.left = `${n}px`; + t.style.top = `${l}px`; } e.showElementAtMousePosition = u; function _(e, t) { @@ -242,6 +244,8 @@ var Binding; t.group = Default.getString(t.group, Constant.DEFAULT_GROUP); t.ignore = Default.getBoolean(t.ignore, false); t.moveToNextOnClick = Default.getBoolean(t.moveToNextOnClick, false); + t.offset = Default.getNumber(t.offset, 0); + t.useLargerDisplay = Default.getBoolean(t.useLargerDisplay, false); t = o(t); t = n(t); return t; @@ -292,6 +296,8 @@ var Config; t.dialogMovingEnabled = Default.getBoolean(t.dialogMovingEnabled, false); t.showProgressBarText = Default.getBoolean(t.showProgressBarText, false); t.showStepNumbersInTitle = Default.getBoolean(t.showStepNumbersInTitle, false); + t.hintClickPositionOffset = Default.getNumber(t.hintClickPositionOffset, 0); + t.tooltipOffset = Default.getNumber(t.tooltipOffset, 0); t = o(t); t = n(t); return t; @@ -339,20 +345,14 @@ var ToolTip; t = DomElement.create("div", "journey-js-tooltip"); t.style.display = "none"; document.body.appendChild(t); - document.body.addEventListener("mousemove", (() => { - r(); - })); - document.addEventListener("scroll", (() => { - r(); - })); + document.body.addEventListener("mousemove", (() => r())); + document.addEventListener("scroll", (() => r())); } } e.render = n; function i(e, t, o) { if (e !== null) { - e.onmousemove = e => { - l(e, t, o); - }; + e.onmousemove = e => l(e, t, o); } } e.add = i; @@ -362,7 +362,7 @@ var ToolTip; o = setTimeout((() => { t.innerHTML = n; t.style.display = "block"; - DomElement.showElementAtMousePosition(e, t); + DomElement.showElementAtMousePosition(e, t, i.tooltipOffset); }), i.tooltipDelay); } e.show = l; @@ -459,10 +459,8 @@ var Disabled; _element_Dialog.style.display = "none"; document.body.appendChild(_element_Dialog); _element_Dialog_Close_Button = DomElement.create("button", "close"); + _element_Dialog_Close_Button.onclick = () => onDialogClose(); _element_Dialog.appendChild(_element_Dialog_Close_Button); - _element_Dialog_Close_Button.onclick = () => { - onDialogClose(); - }; ToolTip.add(_element_Dialog_Close_Button, _configuration.text.closeButtonToolTipText, _configuration); _element_Dialog_Title = DomElement.create("div", "title"); _element_Dialog.appendChild(_element_Dialog_Title); @@ -592,6 +590,16 @@ var Disabled; } } function setDialogPosition(e, t) { + _element_Dialog_IsHint = t.isHint === true; + if (_element_Dialog_IsHint) { + _element_Dialog.className = "journey-js-dialog"; + } else { + if (t.useLargerDisplay && _element_Dialog.className === "journey-js-dialog") { + _element_Dialog.className = "journey-js-dialog-lg"; + } else if (!t.useLargerDisplay && _element_Dialog.className === "journey-js-dialog-lg") { + _element_Dialog.className = "journey-js-dialog"; + } + } if (_element_Dialog.style.display !== "block") { _element_Dialog.style.display = "block"; Trigger.customEvent(t.events.onOpen, t._currentView.element); @@ -599,10 +607,9 @@ var Disabled; if (_groups[_groups_Current].position === 0) { Trigger.customEvent(t.events.onStart, t._currentView.element); } - _element_Dialog_IsHint = t.isHint === true; if (t.attach || t.isHint) { if (t.isHint && t.alignHintToClickPosition) { - DomElement.showElementAtMousePosition(e, _element_Dialog); + DomElement.showElementAtMousePosition(e, _element_Dialog, _configuration.hintClickPositionOffset); } else { const e = DomElement.getOffset(t._currentView.element); let o = e.top + t._currentView.element.offsetHeight; @@ -610,9 +617,15 @@ var Disabled; if (n + _element_Dialog.offsetWidth > window.innerWidth || t.alignRight) { n -= _element_Dialog.offsetWidth; n += t._currentView.element.offsetWidth; + n -= t.offset; + } else { + n += t.offset; } if (o + _element_Dialog.offsetHeight > window.innerHeight || t.alignTop) { o -= _element_Dialog.offsetHeight + t._currentView.element.offsetHeight; + o -= t.offset; + } else { + o += t.offset; } _element_Dialog.style.top = `${o}px`; _element_Dialog.style.left = `${n}px`; @@ -1038,7 +1051,7 @@ var Disabled; return _public; }, getVersion: function() { - return "2.1.0"; + return "2.2.0"; } }; (() => { diff --git a/dist/journey.js.css b/dist/journey.js.css index b92a6c8..55b310b 100644 --- a/dist/journey.js.css +++ b/dist/journey.js.css @@ -1,5 +1,5 @@ /* - * Journey.js Library v2.1.0 + * Journey.js Library v2.2.0 * * Copyright 2024 Bunoon * Released under the MIT License @@ -69,7 +69,8 @@ Journey.js - Dialog ------------------------------------------------------------------------- */ -div.journey-js-dialog { +div.journey-js-dialog, +div.journey-js-dialog-lg { -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; @@ -88,40 +89,56 @@ div.journey-js-dialog { padding: var(--journey-js-spacing); font-size: var(--journey-js-spacing-font-size); z-index: 1001; - width: 300px; height: auto; transition: var(--journey-js-transition); transition-property: top, left; } -div.journey-js-dialog * { +div.journey-js-dialog *, +div.journey-js-dialog-lg * { box-sizing: border-box; line-height: normal; } -div.journey-js-dialog *::before, div.journey-js-dialog *::after { +div.journey-js-dialog *::before, div.journey-js-dialog *::after, +div.journey-js-dialog-lg *::before, +div.journey-js-dialog-lg *::after { box-sizing: border-box; line-height: normal; } -div.journey-js-dialog button { +div.journey-js-dialog button, +div.journey-js-dialog-lg button { font-family: var(--journey-js-default-font); } -div.journey-js-dialog div:first-of-type { +div.journey-js-dialog div:first-of-type, +div.journey-js-dialog-lg div:first-of-type { padding-right: calc(var(--journey-js-dialog-close-button-size) + var(--journey-js-spacing)); } -div.journey-js-dialog div.title { +div.journey-js-dialog div.title, +div.journey-js-dialog-lg div.title { font-size: large; margin-bottom: var(--journey-js-spacing); } -div.journey-js-dialog div.title span.step-number { +div.journey-js-dialog div.title span.step-number, +div.journey-js-dialog-lg div.title span.step-number { font-weight: var(--journey-js-text-bold-weight); margin-right: calc(var(--journey-js-spacing) / 2); } -div.journey-js-dialog div.title span.title { +div.journey-js-dialog div.title span.title, +div.journey-js-dialog-lg div.title span.title { font-weight: var(--journey-js-title-bold-weight); } -div.journey-js-dialog div.description { +div.journey-js-dialog div.description, +div.journey-js-dialog-lg div.description { font-weight: var(--journey-js-text-bold-weight); } +div.journey-js-dialog { + width: 300px; +} + +div.journey-js-dialog-lg { + width: 500px; +} + div.journey-js-dialog-moving { transition: none !important; transition-property: none !important; @@ -132,7 +149,8 @@ div.journey-js-dialog-moving { Journey.js - Dialog - Close Button ------------------------------------------------------------------------- */ -div.journey-js-dialog button.close { +div.journey-js-dialog button.close, +div.journey-js-dialog-lg button.close { position: absolute; top: var(--journey-js-spacing); right: var(--journey-js-spacing); @@ -144,7 +162,9 @@ div.journey-js-dialog button.close { border: var(--journey-js-border-size) solid var(--journey-js-dialog-close-button-border-color); transition: var(--journey-js-transition); } -div.journey-js-dialog button.close::before, div.journey-js-dialog button.close::after { +div.journey-js-dialog button.close::before, div.journey-js-dialog button.close::after, +div.journey-js-dialog-lg button.close::before, +div.journey-js-dialog-lg button.close::after { content: ""; width: 2px; height: 100%; @@ -155,22 +175,29 @@ div.journey-js-dialog button.close::before, div.journey-js-dialog button.close:: left: calc(50% - 0.5px); top: 0; } -div.journey-js-dialog button.close::after { +div.journey-js-dialog button.close::after, +div.journey-js-dialog-lg button.close::after { transform: rotate(-45deg) translateX(0px); } -div.journey-js-dialog button.close:active { +div.journey-js-dialog button.close:active, +div.journey-js-dialog-lg button.close:active { border: var(--journey-js-border-size) solid var(--journey-js-dialog-close-button-active-border-color) !important; background-color: var(--journey-js-dialog-close-button-active-background-color) !important; } -div.journey-js-dialog button.close:active::before, div.journey-js-dialog button.close:active::after { +div.journey-js-dialog button.close:active::before, div.journey-js-dialog button.close:active::after, +div.journey-js-dialog-lg button.close:active::before, +div.journey-js-dialog-lg button.close:active::after { background: var(--journey-js-dialog-close-button-active-x-color) !important; } -div.journey-js-dialog button.close:hover { +div.journey-js-dialog button.close:hover, +div.journey-js-dialog-lg button.close:hover { cursor: pointer; border: var(--journey-js-border-size) solid var(--journey-js-dialog-close-button-hover-border-color); background-color: var(--journey-js-dialog-close-button-hover-background-color); } -div.journey-js-dialog button.close:hover::before, div.journey-js-dialog button.close:hover::after { +div.journey-js-dialog button.close:hover::before, div.journey-js-dialog button.close:hover::after, +div.journey-js-dialog-lg button.close:hover::before, +div.journey-js-dialog-lg button.close:hover::after { background: var(--journey-js-dialog-close-button-hover-x-color); } @@ -179,18 +206,22 @@ div.journey-js-dialog button.close:hover::before, div.journey-js-dialog button.c Journey.js - Dialog - Progress Dots ------------------------------------------------------------------------- */ -div.journey-js-dialog div.progress-dots { +div.journey-js-dialog div.progress-dots, +div.journey-js-dialog-lg div.progress-dots { margin-top: var(--journey-js-spacing); margin-bottom: var(--journey-js-spacing); text-align: center; } div.journey-js-dialog div.progress-dots div.dot, -div.journey-js-dialog div.progress-dots div.dot-active { +div.journey-js-dialog div.progress-dots div.dot-active, +div.journey-js-dialog-lg div.progress-dots div.dot, +div.journey-js-dialog-lg div.progress-dots div.dot-active { margin: 2.5px; display: inline-block; padding: 0 !important; } -div.journey-js-dialog div.progress-dots div.dot { +div.journey-js-dialog div.progress-dots div.dot, +div.journey-js-dialog-lg div.progress-dots div.dot { border-radius: 50%; height: 10px; width: 10px; @@ -198,18 +229,21 @@ div.journey-js-dialog div.progress-dots div.dot { border: var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color); transition: var(--journey-js-transition); } -div.journey-js-dialog div.progress-dots div.dot:active { +div.journey-js-dialog div.progress-dots div.dot:active, +div.journey-js-dialog-lg div.progress-dots div.dot:active { background-color: var(--journey-js-dialog-button-active-background-color) !important; border: var(--journey-js-border-size) solid var(--journey-js-dialog-button-active-border-color) !important; color: var(--journey-js-color-white) !important; } -div.journey-js-dialog div.progress-dots div.dot:hover { +div.journey-js-dialog div.progress-dots div.dot:hover, +div.journey-js-dialog-lg div.progress-dots div.dot:hover { cursor: pointer; background-color: var(--journey-js-dialog-button-hover-background-color); border: var(--journey-js-border-size) solid var(--journey-js-dialog-button-hover-border-color); color: var(--journey-js-color-white) !important; } -div.journey-js-dialog div.progress-dots div.dot-number { +div.journey-js-dialog div.progress-dots div.dot-number, +div.journey-js-dialog-lg div.progress-dots div.dot-number { height: 25px !important; width: 25px !important; padding: 3px; @@ -221,7 +255,8 @@ div.journey-js-dialog div.progress-dots div.dot-number { border-radius: 50% !important; color: var(--journey-js-color-gray) !important; } -div.journey-js-dialog div.progress-dots div.dot-active { +div.journey-js-dialog div.progress-dots div.dot-active, +div.journey-js-dialog-lg div.progress-dots div.dot-active { position: relative; transition: var(--journey-js-transition); transition-property: width; @@ -232,7 +267,8 @@ div.journey-js-dialog div.progress-dots div.dot-active { border: var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color); color: var(--journey-js-color-white) !important; } -div.journey-js-dialog div.progress-dots div.dot-active::after { +div.journey-js-dialog div.progress-dots div.dot-active::after, +div.journey-js-dialog-lg div.progress-dots div.dot-active::after { content: ""; position: absolute; width: 15px; @@ -248,7 +284,8 @@ div.journey-js-dialog div.progress-dots div.dot-active::after { Journey.js - Dialog - Progress Bar ------------------------------------------------------------------------- */ -div.journey-js-dialog div.progress-bar { +div.journey-js-dialog div.progress-bar, +div.journey-js-dialog-lg div.progress-bar { border-radius: var(--journey-js-border-radius); margin-top: var(--journey-js-spacing); margin-bottom: var(--journey-js-spacing); @@ -257,7 +294,8 @@ div.journey-js-dialog div.progress-bar { text-wrap: nowrap; overflow: hidden; } -div.journey-js-dialog div.progress-bar div.progress-bar-percentage { +div.journey-js-dialog div.progress-bar div.progress-bar-percentage, +div.journey-js-dialog-lg div.progress-bar div.progress-bar-percentage { min-height: 10px; background-color: var(--journey-js-dialog-button-border-color); transition: var(--journey-js-transition); @@ -266,7 +304,8 @@ div.journey-js-dialog div.progress-bar div.progress-bar-percentage { padding: 0 !important; margin: 0 !important; } -div.journey-js-dialog div.progress-bar div.progress-bar-percentage p.progress-bar-percentage-text { +div.journey-js-dialog div.progress-bar div.progress-bar-percentage p.progress-bar-percentage-text, +div.journey-js-dialog-lg div.progress-bar div.progress-bar-percentage p.progress-bar-percentage-text { padding: calc(var(--journey-js-spacing) / 2) !important; font-size: smaller; margin: 0 !important; @@ -278,33 +317,42 @@ div.journey-js-dialog div.progress-bar div.progress-bar-percentage p.progress-ba Journey.js - Dialog - CheckBox ------------------------------------------------------------------------- */ -div.journey-js-dialog div.checkbox-container { +div.journey-js-dialog div.checkbox-container, +div.journey-js-dialog-lg div.checkbox-container { margin-top: var(--journey-js-spacing); margin-bottom: var(--journey-js-spacing); } -div.journey-js-dialog div.checkbox-container label.checkbox { +div.journey-js-dialog div.checkbox-container label.checkbox, +div.journey-js-dialog-lg div.checkbox-container label.checkbox { display: inline-block; position: relative; padding-left: 25px; color: var(--journey-js-color-white); } -div.journey-js-dialog div.checkbox-container label.checkbox input { +div.journey-js-dialog div.checkbox-container label.checkbox input, +div.journey-js-dialog-lg div.checkbox-container label.checkbox input { display: none !important; } -div.journey-js-dialog div.checkbox-container label.checkbox input:checked ~ span.check-mark { +div.journey-js-dialog div.checkbox-container label.checkbox input:checked ~ span.check-mark, +div.journey-js-dialog-lg div.checkbox-container label.checkbox input:checked ~ span.check-mark { background-color: var(--journey-js-checkbox-background-color-checked); border: var(--journey-js-border-size) solid var(--journey-js-checkbox-border-color-checked); } -div.journey-js-dialog div.checkbox-container label.checkbox input:checked ~ span.check-mark::before { +div.journey-js-dialog div.checkbox-container label.checkbox input:checked ~ span.check-mark::before, +div.journey-js-dialog-lg div.checkbox-container label.checkbox input:checked ~ span.check-mark::before { display: block; } -div.journey-js-dialog div.checkbox-container label.checkbox input:disabled ~ span.check-mark, div.journey-js-dialog div.checkbox-container label.checkbox input:disabled ~ span.text { +div.journey-js-dialog div.checkbox-container label.checkbox input:disabled ~ span.check-mark, div.journey-js-dialog div.checkbox-container label.checkbox input:disabled ~ span.text, +div.journey-js-dialog-lg div.checkbox-container label.checkbox input:disabled ~ span.check-mark, +div.journey-js-dialog-lg div.checkbox-container label.checkbox input:disabled ~ span.text { opacity: 0.5; } -div.journey-js-dialog div.checkbox-container label.checkbox input:disabled ~ span.check-mark { +div.journey-js-dialog div.checkbox-container label.checkbox input:disabled ~ span.check-mark, +div.journey-js-dialog-lg div.checkbox-container label.checkbox input:disabled ~ span.check-mark { border: var(--journey-js-border-size) solid var(--journey-js-color-black) !important; } -div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark { +div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark, +div.journey-js-dialog-lg div.checkbox-container label.checkbox span.check-mark { position: absolute; top: 0.5px; left: 0; @@ -315,7 +363,8 @@ div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark { border: var(--journey-js-border-size) solid var(--journey-js-checkbox-border-color); transition: var(--journey-js-transition); } -div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark::before { +div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark::before, +div.journey-js-dialog-lg div.checkbox-container label.checkbox span.check-mark::before { content: ""; transform: rotate(45deg); position: absolute; @@ -327,7 +376,8 @@ div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark::bef border: solid var(--journey-js-color-white); border-width: 0 2.5px 2.5px 0; } -div.journey-js-dialog div.checkbox-container label.checkbox:hover span.check-mark { +div.journey-js-dialog div.checkbox-container label.checkbox:hover span.check-mark, +div.journey-js-dialog-lg div.checkbox-container label.checkbox:hover span.check-mark { border: var(--journey-js-border-size) solid var(--journey-js-checkbox-border-hover-color); } @@ -336,17 +386,21 @@ div.journey-js-dialog div.checkbox-container label.checkbox:hover span.check-mar Journey.js - Dialog - Buttons ------------------------------------------------------------------------- */ -div.journey-js-dialog div.buttons { +div.journey-js-dialog div.buttons, +div.journey-js-dialog-lg div.buttons { margin-top: calc(var(--journey-js-spacing) * 2); text-align: right; border-top: var(--journey-js-border-size) dotted var(--journey-js-dialog-button-border-color); padding-top: var(--journey-js-spacing); } -div.journey-js-dialog div.buttons button:first-child { +div.journey-js-dialog div.buttons button:first-child, +div.journey-js-dialog-lg div.buttons button:first-child { margin-left: 0 !important; } div.journey-js-dialog div.buttons button.back, -div.journey-js-dialog div.buttons button.next { +div.journey-js-dialog div.buttons button.next, +div.journey-js-dialog-lg div.buttons button.back, +div.journey-js-dialog-lg div.buttons button.next { border-radius: var(--journey-js-border-radius); background-color: var(--journey-js-dialog-button-background-color); color: var(--journey-js-dialog-button-text-color); @@ -358,27 +412,35 @@ div.journey-js-dialog div.buttons button.next { margin-left: var(--journey-js-spacing); } div.journey-js-dialog div.buttons button.back:not([disabled]):active, -div.journey-js-dialog div.buttons button.next:not([disabled]):active { +div.journey-js-dialog div.buttons button.next:not([disabled]):active, +div.journey-js-dialog-lg div.buttons button.back:not([disabled]):active, +div.journey-js-dialog-lg div.buttons button.next:not([disabled]):active { background-color: var(--journey-js-dialog-button-active-background-color) !important; color: var(--journey-js-dialog-button-active-text-color) !important; border: var(--journey-js-border-size) solid var(--journey-js-dialog-button-active-border-color) !important; } div.journey-js-dialog div.buttons button.back:not([disabled]):hover, -div.journey-js-dialog div.buttons button.next:not([disabled]):hover { +div.journey-js-dialog div.buttons button.next:not([disabled]):hover, +div.journey-js-dialog-lg div.buttons button.back:not([disabled]):hover, +div.journey-js-dialog-lg div.buttons button.next:not([disabled]):hover { cursor: pointer; background-color: var(--journey-js-dialog-button-hover-background-color); color: var(--journey-js-dialog-button-hover-text-color); border: var(--journey-js-border-size) solid var(--journey-js-dialog-button-hover-border-color); } div.journey-js-dialog div.buttons button.back:disabled, -div.journey-js-dialog div.buttons button.next:disabled { +div.journey-js-dialog div.buttons button.next:disabled, +div.journey-js-dialog-lg div.buttons button.back:disabled, +div.journey-js-dialog-lg div.buttons button.next:disabled { background-color: var(--journey-js-dialog-button-disabled-background-color) !important; color: var(--journey-js-color-gray); } -div.journey-js-dialog div.buttons button.back { +div.journey-js-dialog div.buttons button.back, +div.journey-js-dialog-lg div.buttons button.back { float: left; } -div.journey-js-dialog div.buttons button.next { +div.journey-js-dialog div.buttons button.next, +div.journey-js-dialog-lg div.buttons button.next { font-weight: var(--journey-js-title-bold-weight); float: right; } diff --git a/dist/journey.js.css.map b/dist/journey.js.css.map index 9ea385c..cea0f92 100644 --- a/dist/journey.js.css.map +++ b/dist/journey.js.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../src/journey.js.scss","../src/sass/_styles.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA;EAEI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAaA;EACA;EACA;EAGA;EACA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EAGA;EACA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EAGA;EACA;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAMA;EC1GI;EACA;EACA;EACA;EACA;EACA;EAIA;EACA;EDmGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;ECnHA;EACA;;ADqHI;ECtHJ;EACA;;AD2HA;EACI;;AAIA;EACI;;AAIR;EACI;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;;AAIR;EACI;;;AAIR;EACI;EACA;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAOI;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAEA;EAEI;;AAIR;EACI;EACA;EACA;;AAEA;EAEI;;;AAOhB;AAAA;AAAA;AAAA;AAAA;AAOI;EACI;EACA;EACA;;AAEA;AAAA;EAEI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAOhB;AAAA;AAAA;AAAA;AAAA;AAOI;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;;AAOhB;AAAA;AAAA;AAAA;AAAA;AAOI;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAEA;EACI;EACA;;AAGJ;EACI;;AAGJ;EAEI;;AAGJ;EACI;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;;;AAOhB;AAAA;AAAA;AAAA;AAAA;AAOI;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EACI;EACA;EACA;;AAGJ;AAAA;EACI;EACA;EACA;EACA;;AAGJ;AAAA;EACI;EACA;;AAIR;EACI;;AAGJ;EACI;EACA;;;AAMZ;AAAA;AAAA;AAAA;AAAA;AAMA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;IACI;;EAGJ;IACI;;EAGJ;IACI;;;AAKR;AAAA;AAAA;AAAA;AAAA;AAMA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAMA;ECzhBI;EACA;EACA;EACA;EACA;EACA;EAIA;EACA;EDkhBA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAMA;EACI;IACI;;EAEJ;IACI","file":"journey.js.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../src/journey.js.scss","../src/sass/_styles.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA;EAEI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAaA;EACA;EACA;EAGA;EACA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EAGA;EACA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EAGA;EACA;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAMA;AAAA;EC1GI;EACA;EACA;EACA;EACA;EACA;EAIA;EACA;EDoGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;ECnHA;EACA;;ADqHI;AAAA;AAAA;ECtHJ;EACA;;AD2HA;AAAA;EACI;;AAIA;AAAA;EACI;;AAIR;AAAA;EACI;EACA;;AAEA;AAAA;EACI;EACA;;AAGJ;AAAA;EACI;;AAIR;AAAA;EACI;;;AAIR;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAQI;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;AAAA;EACI;;AAGJ;AAAA;EACI;EACA;;AAEA;AAAA;AAAA;EAEI;;AAIR;AAAA;EACI;EACA;EACA;;AAEA;AAAA;AAAA;EAEI;;;AAOhB;AAAA;AAAA;AAAA;AAAA;AAQI;AAAA;EACI;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;EAEI;EACA;EACA;;AAGJ;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EACI;EACA;EACA;;AAGJ;AAAA;EACI;EACA;EACA;EACA;;AAIR;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAOhB;AAAA;AAAA;AAAA;AAAA;AAQI;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EACI;EACA;EACA;EACA;;;AAOhB;AAAA;AAAA;AAAA;AAAA;AAQI;AAAA;EACI;EACA;;AAEA;AAAA;EACI;EACA;EACA;EACA;;AAEA;AAAA;EACI;;AAEA;AAAA;EACI;EACA;;AAGJ;AAAA;EACI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;EACI;;AAIR;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIR;AAAA;EACI;;;AAOhB;AAAA;AAAA;AAAA;AAAA;AAQI;AAAA;EACI;EACA;EACA;EACA;;AAEA;AAAA;EACI;;AAGJ;AAAA;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;EACI;EACA;EACA;;AAGJ;AAAA;AAAA;AAAA;EACI;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;AAAA;EACI;EACA;;AAIR;AAAA;EACI;;AAGJ;AAAA;EACI;EACA;;;AAMZ;AAAA;AAAA;AAAA;AAAA;AAMA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;IACI;;EAGJ;IACI;;EAGJ;IACI;;;AAKR;AAAA;AAAA;AAAA;AAAA;AAMA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAMA;ECtiBI;EACA;EACA;EACA;EACA;EACA;EAIA;EACA;ED+hBA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAMA;EACI;IACI;;EAEJ;IACI","file":"journey.js.css"} \ No newline at end of file diff --git a/dist/journey.js.map b/dist/journey.js.map index 1dd9114..438804a 100644 --- a/dist/journey.js.map +++ b/dist/journey.js.map @@ -1 +1 @@ -{"version":3,"sources":["/Users/williamtroup/Documents/GitHub%20Repos/Journey.js/dist/journey.js"],"names":["Constant","Constant2","JOURNEY_JS_ATTRIBUTE_NAME","DEFAULT_GROUP","Is","Is2","defined","value","definedObject","object","definedBoolean","definedString","definedFunction","definedNumber","definedArray","Array","Default","Default2","getAnyString","defaultValue","getString","getBoolean","getNumber","getFunction","getObject","getArray","getStringOrArray","result2","values","toString","split","length","DomElement","DomElement2","create","type","className","nodeType","toLowerCase","isText","document","createTextNode","createElement","createWithHTML","container","html","element","innerHTML","appendChild","getOffset","left","top","isNaN","offsetLeft","offsetTop","scrollLeft","scrollTop","offsetParent","getScrollPosition","documentElement","clientLeft","clientTop","getStyleValueByName","stylePropertyName","styles","getComputedStyle","style","getPropertyValue","addNode","parent","node","contains","e","console","warn","message","removeNode","removeChild","cancelBubble","preventDefault","stopPropagation","showElementAtMousePosition","pageX","pageY","scrollPosition","display","offsetWidth","window","innerWidth","offsetHeight","innerHeight","showElementBasedOnCondition","condition","createCheckBox","labelText","lineContainer","label","input","checkMark","text","clearElementsByClassName","elements","getElementsByClassName","parentNode","Binding","Binding2","Options","Options2","get","newOptions","options","order","attach","sendClick","alignTop","alignRight","isHint","alignHintToClickPosition","showDisabledBackground","removeHintWhenViewed","group","ignore","moveToNextOnClick","getText","getEvents","title","description","tooltip","events","onEnter","onLeave","onClose","onFinish","onOpen","onStart","onAddStep","onRemoveStep","Config","Config2","newConfiguration","configuration","safeMode","domElementTypes","showCloseButton","shortcutKeysEnabled","showProgressDots","browserUrlParametersEnabled","showProgressDotNumbers","showButtons","showDoNotShowAgain","tooltipDelay","showProgressDotToolTips","closeDialogOnDisabledBackgroundClick","showProgressBar","scrollToElements","dialogMovingEnabled","showProgressBarText","showStepNumbersInTitle","backButtonText","nextButtonText","finishButtonText","closeButtonToolTipText","doNotShowAgainText","objectErrorText","attributeNotValidErrorText","attributeNotSetErrorText","closeDialogConfirmationText","onDoNotShowAgainChange","Trigger","Trigger2","customEvent","triggerFunction","args","apply","slice","call","ToolTip","ToolTip2","_element_ToolTip","_element_ToolTip_Timer","render","body","addEventListener","hide","add","onmousemove","show","setTimeout","clearTimeout","Disabled","Disabled2","Background","Background2","_element_Disabled_Background","onClickFunc","onclick","_configuration","_configuration_ShortcutKeysEnabled","_groups_Current","_groups","_element_Focus_Element_PositionStyle","_element_Dialog","_element_Dialog_Close_Button","_element_Dialog_Title","_element_Dialog_Description","_element_Dialog_CheckBox_Container","_element_Dialog_CheckBox_Input","_element_Dialog_ProgressDots","_element_Dialog_ProgressBar","_element_Dialog_ProgressBar_Percentage","_element_Dialog_ProgressBar_Percentage_Text","_element_Dialog_Buttons","_element_Dialog_Buttons_Back_Button","_element_Dialog_Buttons_Next_Button","_element_Dialog_IsHint","_element_Dialog_Move_Original_X","_element_Dialog_Move_Original_Y","_element_Dialog_Move_IsMoving","_element_Dialog_Move_X","_element_Dialog_Move_Y","setupDefaultGroup","groups","json","keys","position","setupNewGroup","hasOwnProperty","getGroupBindingOptions","isGroupPositionAtEnd","renderDialog","onDialogClose","onchange","checked","onDialogBack","onDialogNext","makeDialogMovable","showConfirmationBox","confirmed","confirm","bindingOptions","_currentView","removeFocusClassFromLastElement","showDialogAndSetPosition","classList","scrollIntoView","lastPositionStyle","disabled","setDialogText","setDialogPosition","buildProcessDots","setProgressBarPosition","click","offset","centerLeft","Math","max","centerTop","callCustomTrigger","remove","removeEventListener","keysLength","keyIndex","buildProgressDot","dot","pixelsPerStage","width","percentageComplete","ceil","onmousedown","onMoveTitleBarMouseDown","onmouseup","onMoveTitleBarMouseUp","oncontextmenu","onMoveDocumentMouseMove","onMoveDocumentMouseLeave","getElements","tagTypes","tagTypesLength","tagTypeIndex","domElements","getElementsByTagName","elementsLength","elementIndex","getElement","sort","hasAttribute","bindingOptionsData","getAttribute","getObjectFromString","parsed","setupElement","error","replace","removeAttribute","push","renderHint","positionStyle","hint","buildDocumentEvents","addEvents","documentFunc","windowFunc","onWindowKeyDown","onWindowResize","_public","isOpen","code","onWindowKeyCodeUp","onWindowKeyCodeDown","getBrowserUrlParameters","url","location","href","urlArguments","getBrowserUrlArguments","sjOrderId","orderId","parseInt","sjShow","urlDataParts","parsedArgs","parsedArgsLength","parsedArgsIndex","parsedArg","objectString","result","JSON","parse","e1","eval","e2","resetDialogPosition","start","isComplete","addDocumentSteps","addStep","removeStep","removed","splice","indexOf","clearSteps","groupName","clearHints","reverseStepOrder","reverse","setConfiguration","configurationHasChanged","newInternalConf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AiB3D,OAAO/B,QAAQE,IAAI+O;AACtC;AACF;YACA,OAAO3C;AACT;QAMA6C,YAAY;YACV,OAAO;AACT;;IAEF;QACEzJ,iBAAiB3D,OAAO/B,QAAQE;QAChCpE,SAAS8I,iBAAiB,qBAAoB;YAC5CsC;YACA/B,SAASE,WAAWX,OAAOgB,gBAAgBkC;YAC3CD;YACArD,QAAQI;YACR+F;YACAuB;YACA,IAAIW,2BAA2B;gBAC7BL,QAAQtH;AACV;AAAA;QAEF,KAAKtL,GAAGE,QAAQiF,OAAOuQ,WAAW;YAChCvQ,OAAOuQ,WAAW9C;AACpB;AACD,MAhBD;AAiBD,EAhqBD","sourcesContent":[null]} \ No newline at end of file +{"version":3,"sources":["/Users/williamtroup/Documents/GitHub%20Repos/Journey.js/dist/journey.js"],"names":["Constant","Constant2","JOURNEY_JS_ATTRIBUTE_NAME","DEFAULT_GROUP","Is","Is2","defined","value","definedObject","object","definedBoolean","definedString","definedFunction","definedNumber","definedArray","Array","Default","Default2","getAnyString","defaultValue","getString","getBoolean","getNumber","getFunction","getObject","getArray","getStringOrArray","result2","values","toString","split","length","DomElement","DomElement2","create","type","className","nodeType","toLowerCase","isText","document","createTextNode","createElement","createWithHTML","container","html","element","innerHTML","appendChild","getOffset","left","top","isNaN","offsetLeft","offsetTop","scrollLeft","scrollTop","offsetParent","getScrollPosition","documentElement","clientLeft","clientTop","getStyleValueByName","stylePropertyName","styles","getComputedStyle","style","getPropertyValue","addNode","parent","node","contains","e","console","warn","message","removeNode","removeChild","cancelBubble","preventDefault","stopPropagation","showElementAtMousePosition","offset","pageX","pageY","scrollPosition","display","offsetWidth","window","innerWidth","offsetHeight","innerHeight","showElementBasedOnCondition","condition","createCheckBox","labelText","lineContainer","label","input","checkMark","text","clearElementsByClassName","elements","getElementsByClassName","parentNode","Binding","Binding2","Options","Options2","get","newOptions","options","order","attach","sendClick","alignTop","alignRight","isHint","alignHintToClickPosition","showDisabledBackground","removeHintWhenViewed","group","ignore","moveToNextOnClick","useLargerDisplay","getText","getEvents","title","description","tooltip","events","onEnter","onLeave","onClose","onFinish","onOpen","onStart","onAddStep","onRemoveStep","Config","Config2","newConfiguration","configuration","safeMode","domElementTypes","showCloseButton","shortcutKeysEnabled","showProgressDots","browserUrlParametersEnabled","showProgressDotNumbers","showButtons","showDoNotShowAgain","tooltipDelay","showProgressDotToolTips","closeDialogOnDisabledBackgroundClick","showProgressBar","scrollToElements","dialogMovingEnabled","showProgressBarText","showStepNumbersInTitle","hintClickPositionOffset","tooltipOffset","backButtonText","nextButtonText","finishButtonText","closeButtonToolTipText","doNotShowAgainText","objectErrorText","attributeNotValidErrorText","attributeNotSetErrorText","closeDialogConfirmationText","onDoNotShowAgainChange","Trigger","Trigger2","customEvent","triggerFunction","args","apply","slice","call","ToolTip","ToolTip2","_element_ToolTip","_element_ToolTip_Timer","render","body","addEventListener","hide","add","onmousemove","show","setTimeout","clearTimeout","Disabled","Disabled2","Background","Background2","_element_Disabled_Background","onClickFunc","onclick","_configuration","_configuration_ShortcutKeysEnabled","_groups_Current","_groups","_element_Focus_Element_PositionStyle","_element_Dialog","_element_Dialog_Close_Button","_element_Dialog_Title","_element_Dialog_Description","_element_Dialog_CheckBox_Container","_element_Dialog_CheckBox_Input","_element_Dialog_ProgressDots","_element_Dialog_ProgressBar","_element_Dialog_ProgressBar_Percentage","_element_Dialog_ProgressBar_Percentage_Text","_element_Dialog_Buttons","_element_Dialog_Buttons_Back_Button","_element_Dialog_Buttons_Next_Button","_element_Dialog_IsHint","_element_Dialog_Move_Original_X","_element_Dialog_Move_Original_Y","_element_Dialog_Move_IsMoving","_element_Dialog_Move_X","_element_Dialog_Move_Y","setupDefaultGroup","groups","json","keys","position","setupNewGroup","hasOwnProperty","getGroupBindingOptions","isGroupPositionAtEnd","renderDialog","onDialogClose","onchange","checked","onDialogBack","onDialogNext","makeDialogMovable","showConfirmationBox","confirmed","confirm","bindingOptions","_currentView","removeFocusClassFromLastElement","showDialogAndSetPosition","classList","scrollIntoView","lastPositionStyle","disabled","setDialogText","setDialogPosition","buildProcessDots","setProgressBarPosition","click","centerLeft","Math","max","centerTop","callCustomTrigger","remove","removeEventListener","keysLength","keyIndex","buildProgressDot","dot","pixelsPerStage","width","percentageComplete","ceil","onmousedown","onMoveTitleBarMouseDown","onmouseup","onMoveTitleBarMouseUp","oncontextmenu","onMoveDocumentMouseMove","onMoveDocumentMouseLeave","getElements","tagTypes","tagTypesLength","tagTypeIndex","domElements","getElementsByTagName","elementsLength","elementIndex","getElement","sort","hasAttribute","bindingOptionsData","getAttribute","getObjectFromString","parsed","setupElement","error","replace","removeAttribute","push","renderHint","positionStyle","hint","buildDocumentEvents","addEvents","documentFunc","windowFunc","onWindowKeyDown","onWindowResize","_public","isOpen","code","onWindowKeyCodeUp","onWindowKeyCodeDown","getBrowserUrlParameters","url","location","href","urlArguments","getBrowserUrlArguments","sjOrderId","orderId","parseInt","sjShow","urlDataParts","parsedArgs","parsedArgsLength","parsedArgsIndex","parsedArg","objectString","result","JSON","parse","e1","eval","e2","resetDialogPosition","start","isComplete","addDocumentSteps","addStep","removeStep","removed","splice","indexOf","clearSteps","groupName","clearHints","reverseStepOrder","reverse","setConfiguration","configurationHasChanged","newInternalConfiguration","propertyName","getVersion","$journey"],"mappings":"AAAA;;AAGA,IAAIA;;AACJ,CAAEC;IACAA,EAAUC,4BAA4B;IACtCD,EAAUE,gBAAgB;AAC3B,EAHD,CAGGH,aAAaA,WAAW,CAAC;;AAG5B,IAAII;;AACJ,CAAEC;IACA,SAASC,EAAQC;QACf,OAAOA,MAAU,QAAQA,WAAe,KAAKA,MAAU;AACzD;IACAF,EAAIC,UAAUA;IACd,SAASE,EAAcC;QACrB,OAAOH,EAAQG,aAAkBA,MAAW;AAC9C;IACAJ,EAAIG,gBAAgBA;IACpB,SAASE,EAAeD;QACtB,OAAOH,EAAQG,aAAkBA,MAAW;AAC9C;IACAJ,EAAIK,iBAAiBA;IACrB,SAASC,EAAcF;QACrB,OAAOH,EAAQG,aA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B;oBACzC,IAAIA,EAAiByF,eAAeyH,MAAiBvJ,eAAe8B,eAAeyH,MAAiBD,EAAyBC,OAAkBlN,EAAiBkN,IAAe;wBAC7KD,EAAyBC,KAAgBlN,EAAiBkN;wBAC1DF,IAA0B;AAC5B;AACF;gBACA,IAAIA,GAAyB;oBAC3BrJ,iBAAiB7D,OAAOhC,QAAQE,IAAIiP;AACtC;AACF;YACA,OAAO3C;AACT;QAMA6C,YAAY;YACV,OAAO;AACT;;IAEF;QACExJ,iBAAiB7D,OAAOhC,QAAQE;QAChCrE,SAASkJ,iBAAiB,qBAAoB;YAC5CsC;YACA/B,SAASE,WAAWX,OAAOgB,gBAAgBkC;YAC3CD;YACArD,QAAQI;YACR8F;YACAuB;YACA,IAAIW,2BAA2B;gBAC7BL,QAAQrH;AACV;AAAA;QAEF,KAAK1L,GAAGE,QAAQkF,OAAOyQ,WAAW;YAChCzQ,OAAOyQ,WAAW9C;AACpB;AACD,MAhBD;AAiBD,EA7qBD","sourcesContent":[null]} \ No newline at end of file diff --git a/dist/journey.js.min.css b/dist/journey.js.min.css index 8b12d09..e4ee2de 100644 --- a/dist/journey.js.min.css +++ b/dist/journey.js.min.css @@ -1 +1 @@ -:root{--journey-js-default-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--journey-js-text-bold-weight: 100;--journey-js-title-bold-weight: 700;--journey-js-tooltip-bold-weight: 300;--journey-js-color-black: #3b3a3a;--journey-js-color-white: #F5F5F5;--journey-js-color-gray: #AAAAAA;--journey-js-color-hint: rgba( 170, 170, 170, 0.5 );--journey-js-dialog-background-color: #002244;--journey-js-dialog-text-color: var(--journey-js-color-white);--journey-js-dialog-border-color: #72A0C1;--journey-js-dialog-button-background-color: #002D62;--journey-js-dialog-button-border-color: #3457D5;--journey-js-dialog-button-text-color: var(--journey-js-color-white);--journey-js-dialog-button-hover-background-color: #007FFF;--journey-js-dialog-button-hover-border-color: var(--journey-js-dialog-button-border-color);--journey-js-dialog-button-hover-text-color: var(--journey-js-dialog-button-text-color);--journey-js-dialog-button-active-background-color: #00b7ff;--journey-js-dialog-button-active-border-color: var(--journey-js-dialog-button-border-color);--journey-js-dialog-button-active-text-color: var(--journey-js-dialog-button-text-color);--journey-js-dialog-button-disabled-background-color: var(--journey-js-dialog-background-color);--journey-js-dialog-close-button-background-color: var(--journey-js-dialog-button-background-color);--journey-js-dialog-close-button-border-color: var(--journey-js-dialog-button-border-color);--journey-js-dialog-close-button-size: 1.1rem;--journey-js-dialog-close-button-x-color: var(--journey-js-color-white);--journey-js-dialog-close-button-hover-background-color: var(--journey-js-dialog-button-hover-background-color);--journey-js-dialog-close-button-hover-x-color: var(--journey-js-dialog-close-button-x-color);--journey-js-dialog-close-button-hover-border-color: var(--journey-js-dialog-close-button-border-color);--journey-js-dialog-close-button-active-background-color: var(--journey-js-dialog-button-active-background-color);--journey-js-dialog-close-button-active-x-color: var(--journey-js-dialog-close-button-x-color);--journey-js-dialog-close-button-active-border-color: var(--journey-js-dialog-close-button-border-color);--journey-js-checkbox-background-color-checked: var(--journey-js-dialog-button-border-color);--journey-js-checkbox-background-color: var(--journey-js-dialog-button-background-color);--journey-js-checkbox-border-color-checked: var(--journey-js-checkbox-background-color-checked);--journey-js-checkbox-border-color: var(--journey-js-dialog-button-border-color);--journey-js-checkbox-border-hover-color: var(--journey-js-dialog-button-hover-background-color);--journey-js-tooltip-background-color: var(--journey-js-dialog-background-color);--journey-js-tooltip-border-color: var(--journey-js-dialog-border-color);--journey-js-tooltip-text-color: var(--journey-js-color-white);--journey-js-border-control-radius: 0.25rem;--journey-js-border-radius: 0.5rem;--journey-js-border-size: 0.5px;--journey-js-spacing: 10px;--journey-js-spacing-font-size: 0.85rem;--journey-js-transition: all .3s;--journey-js-animation-length: 0.5s}div.journey-js-dialog{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;cursor:default;box-sizing:border-box;line-height:normal;font-family:var(--journey-js-default-font);position:absolute;display:none;border-radius:var(--journey-js-border-radius);background-color:var(--journey-js-dialog-background-color);color:var(--journey-js-dialog-text-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-border-color);padding:var(--journey-js-spacing);font-size:var(--journey-js-spacing-font-size);z-index:1001;width:300px;height:auto;transition:var(--journey-js-transition);transition-property:top,left}div.journey-js-dialog *{box-sizing:border-box;line-height:normal}div.journey-js-dialog *::before,div.journey-js-dialog *::after{box-sizing:border-box;line-height:normal}div.journey-js-dialog button{font-family:var(--journey-js-default-font)}div.journey-js-dialog div:first-of-type{padding-right:calc(var(--journey-js-dialog-close-button-size) + var(--journey-js-spacing))}div.journey-js-dialog div.title{font-size:large;margin-bottom:var(--journey-js-spacing)}div.journey-js-dialog div.title span.step-number{font-weight:var(--journey-js-text-bold-weight);margin-right:calc(var(--journey-js-spacing)/2)}div.journey-js-dialog div.title span.title{font-weight:var(--journey-js-title-bold-weight)}div.journey-js-dialog div.description{font-weight:var(--journey-js-text-bold-weight)}div.journey-js-dialog-moving{transition:none !important;transition-property:none !important}div.journey-js-dialog button.close{position:absolute;top:var(--journey-js-spacing);right:var(--journey-js-spacing);width:var(--journey-js-dialog-close-button-size);height:var(--journey-js-dialog-close-button-size);border-radius:.25rem;padding:0;background-color:var(--journey-js-dialog-close-button-background-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-close-button-border-color);transition:var(--journey-js-transition)}div.journey-js-dialog button.close::before,div.journey-js-dialog button.close::after{content:"";width:2px;height:100%;background:var(--journey-js-dialog-close-button-x-color);display:block;transform:rotate(45deg) translateX(0px);position:absolute;left:calc(50% - .5px);top:0}div.journey-js-dialog button.close::after{transform:rotate(-45deg) translateX(0px)}div.journey-js-dialog button.close:active{border:var(--journey-js-border-size) solid var(--journey-js-dialog-close-button-active-border-color) !important;background-color:var(--journey-js-dialog-close-button-active-background-color) !important}div.journey-js-dialog button.close:active::before,div.journey-js-dialog button.close:active::after{background:var(--journey-js-dialog-close-button-active-x-color) !important}div.journey-js-dialog button.close:hover{cursor:pointer;border:var(--journey-js-border-size) solid var(--journey-js-dialog-close-button-hover-border-color);background-color:var(--journey-js-dialog-close-button-hover-background-color)}div.journey-js-dialog button.close:hover::before,div.journey-js-dialog button.close:hover::after{background:var(--journey-js-dialog-close-button-hover-x-color)}div.journey-js-dialog div.progress-dots{margin-top:var(--journey-js-spacing);margin-bottom:var(--journey-js-spacing);text-align:center}div.journey-js-dialog div.progress-dots div.dot,div.journey-js-dialog div.progress-dots div.dot-active{margin:2.5px;display:inline-block;padding:0 !important}div.journey-js-dialog div.progress-dots div.dot{border-radius:50%;height:10px;width:10px;background-color:var(--journey-js-dialog-button-background-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color);transition:var(--journey-js-transition)}div.journey-js-dialog div.progress-dots div.dot:active{background-color:var(--journey-js-dialog-button-active-background-color) !important;border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-active-border-color) !important;color:var(--journey-js-color-white) !important}div.journey-js-dialog div.progress-dots div.dot:hover{cursor:pointer;background-color:var(--journey-js-dialog-button-hover-background-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-hover-border-color);color:var(--journey-js-color-white) !important}div.journey-js-dialog div.progress-dots div.dot-number{height:25px !important;width:25px !important;padding:3px;display:inline-flex;justify-content:center;align-content:center;flex-direction:column;font-size:.8rem;border-radius:50% !important;color:var(--journey-js-color-gray) !important}div.journey-js-dialog div.progress-dots div.dot-active{position:relative;transition:var(--journey-js-transition);transition-property:width;border-radius:10px;height:10px;width:20px;background-color:var(--journey-js-dialog-button-border-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color);color:var(--journey-js-color-white) !important}div.journey-js-dialog div.progress-dots div.dot-active::after{content:"";position:absolute;width:15px;height:1px;background-color:var(--journey-js-dialog-button-border-color);bottom:-5px;left:50%;transform:translate(-50%)}div.journey-js-dialog div.progress-bar{border-radius:var(--journey-js-border-radius);margin-top:var(--journey-js-spacing);margin-bottom:var(--journey-js-spacing);background-color:var(--journey-js-dialog-button-background-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color);text-wrap:nowrap;overflow:hidden}div.journey-js-dialog div.progress-bar div.progress-bar-percentage{min-height:10px;background-color:var(--journey-js-dialog-button-border-color);transition:var(--journey-js-transition);transition-property:width;text-align:center;padding:0 !important;margin:0 !important}div.journey-js-dialog div.progress-bar div.progress-bar-percentage p.progress-bar-percentage-text{padding:calc(var(--journey-js-spacing)/2) !important;font-size:smaller;margin:0 !important;color:var(--journey-js-color-white)}div.journey-js-dialog div.checkbox-container{margin-top:var(--journey-js-spacing);margin-bottom:var(--journey-js-spacing)}div.journey-js-dialog div.checkbox-container label.checkbox{display:inline-block;position:relative;padding-left:25px;color:var(--journey-js-color-white)}div.journey-js-dialog div.checkbox-container label.checkbox input{display:none !important}div.journey-js-dialog div.checkbox-container label.checkbox input:checked~span.check-mark{background-color:var(--journey-js-checkbox-background-color-checked);border:var(--journey-js-border-size) solid var(--journey-js-checkbox-border-color-checked)}div.journey-js-dialog div.checkbox-container label.checkbox input:checked~span.check-mark::before{display:block}div.journey-js-dialog div.checkbox-container label.checkbox input:disabled~span.check-mark,div.journey-js-dialog div.checkbox-container label.checkbox input:disabled~span.text{opacity:.5}div.journey-js-dialog div.checkbox-container label.checkbox input:disabled~span.check-mark{border:var(--journey-js-border-size) solid var(--journey-js-color-black) !important}div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark{position:absolute;top:.5px;left:0;height:15px;width:15px;background-color:var(--journey-js-checkbox-background-color);border-radius:var(--journey-js-border-control-radius);border:var(--journey-js-border-size) solid var(--journey-js-checkbox-border-color);transition:var(--journey-js-transition)}div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark::before{content:"";transform:rotate(45deg);position:absolute;display:none;left:4px;top:.5px;width:6px;height:11px;border:solid var(--journey-js-color-white);border-width:0 2.5px 2.5px 0}div.journey-js-dialog div.checkbox-container label.checkbox:hover span.check-mark{border:var(--journey-js-border-size) solid var(--journey-js-checkbox-border-hover-color)}div.journey-js-dialog div.buttons{margin-top:calc(var(--journey-js-spacing)*2);text-align:right;border-top:var(--journey-js-border-size) dotted var(--journey-js-dialog-button-border-color);padding-top:var(--journey-js-spacing)}div.journey-js-dialog div.buttons button:first-child{margin-left:0 !important}div.journey-js-dialog div.buttons button.back,div.journey-js-dialog div.buttons button.next{border-radius:var(--journey-js-border-radius);background-color:var(--journey-js-dialog-button-background-color);color:var(--journey-js-dialog-button-text-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color);min-width:100px;padding:var(--journey-js-spacing);transition:var(--journey-js-transition);outline:none;margin-left:var(--journey-js-spacing)}div.journey-js-dialog div.buttons button.back:not([disabled]):active,div.journey-js-dialog div.buttons button.next:not([disabled]):active{background-color:var(--journey-js-dialog-button-active-background-color) !important;color:var(--journey-js-dialog-button-active-text-color) !important;border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-active-border-color) !important}div.journey-js-dialog div.buttons button.back:not([disabled]):hover,div.journey-js-dialog div.buttons button.next:not([disabled]):hover{cursor:pointer;background-color:var(--journey-js-dialog-button-hover-background-color);color:var(--journey-js-dialog-button-hover-text-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-hover-border-color)}div.journey-js-dialog div.buttons button.back:disabled,div.journey-js-dialog div.buttons button.next:disabled{background-color:var(--journey-js-dialog-button-disabled-background-color) !important;color:var(--journey-js-color-gray)}div.journey-js-dialog div.buttons button.back{float:left}div.journey-js-dialog div.buttons button.next{font-weight:var(--journey-js-title-bold-weight);float:right}div.journey-js-hint{position:absolute;width:15px;height:15px;border-radius:50%;background-color:var(--journey-js-color-gray);right:-7.5px;top:-7.5px;animation:journey-js-hint-effect 2s infinite;cursor:pointer}@keyframes journey-js-hint-effect{0%{box-shadow:0 0 0 0 var(--journey-js-color-hint)}70%{box-shadow:0 0 0 10px var(--journey-js-color-hint)}100%{box-shadow:0 0 0 0 var(--journey-js-color-hint)}}div.journey-js-disabled-background{z-index:1000;position:fixed;background-color:#000;background-color:rgba(0,0,0,.5);top:0;left:0;height:100%;width:100%}.journey-js-element-focus{z-index:1001 !important}div.journey-js-tooltip{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;cursor:default;box-sizing:border-box;line-height:normal;font-family:var(--journey-js-default-font);animation:fade-in-animation var(--journey-js-animation-length);position:absolute;background-color:var(--journey-js-tooltip-background-color);border:var(--journey-js-border-size) solid var(--journey-js-tooltip-border-color);color:var(--journey-js-tooltip-text-color);border-radius:var(--journey-js-border-radius);z-index:2000;max-width:300px;padding:var(--journey-js-spacing);font-size:var(--journey-js-spacing-font-size);font-weight:var(--journey-js-tooltip-bold-weight);display:none}@keyframes fade-in-animation{0%{opacity:0}100%{opacity:1}} +:root{--journey-js-default-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--journey-js-text-bold-weight: 100;--journey-js-title-bold-weight: 700;--journey-js-tooltip-bold-weight: 300;--journey-js-color-black: #3b3a3a;--journey-js-color-white: #F5F5F5;--journey-js-color-gray: #AAAAAA;--journey-js-color-hint: rgba( 170, 170, 170, 0.5 );--journey-js-dialog-background-color: #002244;--journey-js-dialog-text-color: var(--journey-js-color-white);--journey-js-dialog-border-color: #72A0C1;--journey-js-dialog-button-background-color: #002D62;--journey-js-dialog-button-border-color: #3457D5;--journey-js-dialog-button-text-color: var(--journey-js-color-white);--journey-js-dialog-button-hover-background-color: #007FFF;--journey-js-dialog-button-hover-border-color: var(--journey-js-dialog-button-border-color);--journey-js-dialog-button-hover-text-color: var(--journey-js-dialog-button-text-color);--journey-js-dialog-button-active-background-color: #00b7ff;--journey-js-dialog-button-active-border-color: var(--journey-js-dialog-button-border-color);--journey-js-dialog-button-active-text-color: var(--journey-js-dialog-button-text-color);--journey-js-dialog-button-disabled-background-color: var(--journey-js-dialog-background-color);--journey-js-dialog-close-button-background-color: var(--journey-js-dialog-button-background-color);--journey-js-dialog-close-button-border-color: var(--journey-js-dialog-button-border-color);--journey-js-dialog-close-button-size: 1.1rem;--journey-js-dialog-close-button-x-color: var(--journey-js-color-white);--journey-js-dialog-close-button-hover-background-color: var(--journey-js-dialog-button-hover-background-color);--journey-js-dialog-close-button-hover-x-color: var(--journey-js-dialog-close-button-x-color);--journey-js-dialog-close-button-hover-border-color: var(--journey-js-dialog-close-button-border-color);--journey-js-dialog-close-button-active-background-color: var(--journey-js-dialog-button-active-background-color);--journey-js-dialog-close-button-active-x-color: var(--journey-js-dialog-close-button-x-color);--journey-js-dialog-close-button-active-border-color: var(--journey-js-dialog-close-button-border-color);--journey-js-checkbox-background-color-checked: var(--journey-js-dialog-button-border-color);--journey-js-checkbox-background-color: var(--journey-js-dialog-button-background-color);--journey-js-checkbox-border-color-checked: var(--journey-js-checkbox-background-color-checked);--journey-js-checkbox-border-color: var(--journey-js-dialog-button-border-color);--journey-js-checkbox-border-hover-color: var(--journey-js-dialog-button-hover-background-color);--journey-js-tooltip-background-color: var(--journey-js-dialog-background-color);--journey-js-tooltip-border-color: var(--journey-js-dialog-border-color);--journey-js-tooltip-text-color: var(--journey-js-color-white);--journey-js-border-control-radius: 0.25rem;--journey-js-border-radius: 0.5rem;--journey-js-border-size: 0.5px;--journey-js-spacing: 10px;--journey-js-spacing-font-size: 0.85rem;--journey-js-transition: all .3s;--journey-js-animation-length: 0.5s}div.journey-js-dialog,div.journey-js-dialog-lg{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;cursor:default;box-sizing:border-box;line-height:normal;font-family:var(--journey-js-default-font);position:absolute;display:none;border-radius:var(--journey-js-border-radius);background-color:var(--journey-js-dialog-background-color);color:var(--journey-js-dialog-text-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-border-color);padding:var(--journey-js-spacing);font-size:var(--journey-js-spacing-font-size);z-index:1001;height:auto;transition:var(--journey-js-transition);transition-property:top,left}div.journey-js-dialog *,div.journey-js-dialog-lg *{box-sizing:border-box;line-height:normal}div.journey-js-dialog *::before,div.journey-js-dialog *::after,div.journey-js-dialog-lg *::before,div.journey-js-dialog-lg *::after{box-sizing:border-box;line-height:normal}div.journey-js-dialog button,div.journey-js-dialog-lg button{font-family:var(--journey-js-default-font)}div.journey-js-dialog div:first-of-type,div.journey-js-dialog-lg div:first-of-type{padding-right:calc(var(--journey-js-dialog-close-button-size) + var(--journey-js-spacing))}div.journey-js-dialog div.title,div.journey-js-dialog-lg div.title{font-size:large;margin-bottom:var(--journey-js-spacing)}div.journey-js-dialog div.title span.step-number,div.journey-js-dialog-lg div.title span.step-number{font-weight:var(--journey-js-text-bold-weight);margin-right:calc(var(--journey-js-spacing)/2)}div.journey-js-dialog div.title span.title,div.journey-js-dialog-lg div.title span.title{font-weight:var(--journey-js-title-bold-weight)}div.journey-js-dialog div.description,div.journey-js-dialog-lg div.description{font-weight:var(--journey-js-text-bold-weight)}div.journey-js-dialog{width:300px}div.journey-js-dialog-lg{width:500px}div.journey-js-dialog-moving{transition:none !important;transition-property:none !important}div.journey-js-dialog button.close,div.journey-js-dialog-lg button.close{position:absolute;top:var(--journey-js-spacing);right:var(--journey-js-spacing);width:var(--journey-js-dialog-close-button-size);height:var(--journey-js-dialog-close-button-size);border-radius:.25rem;padding:0;background-color:var(--journey-js-dialog-close-button-background-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-close-button-border-color);transition:var(--journey-js-transition)}div.journey-js-dialog button.close::before,div.journey-js-dialog button.close::after,div.journey-js-dialog-lg button.close::before,div.journey-js-dialog-lg button.close::after{content:"";width:2px;height:100%;background:var(--journey-js-dialog-close-button-x-color);display:block;transform:rotate(45deg) translateX(0px);position:absolute;left:calc(50% - .5px);top:0}div.journey-js-dialog button.close::after,div.journey-js-dialog-lg button.close::after{transform:rotate(-45deg) translateX(0px)}div.journey-js-dialog button.close:active,div.journey-js-dialog-lg button.close:active{border:var(--journey-js-border-size) solid var(--journey-js-dialog-close-button-active-border-color) !important;background-color:var(--journey-js-dialog-close-button-active-background-color) !important}div.journey-js-dialog button.close:active::before,div.journey-js-dialog button.close:active::after,div.journey-js-dialog-lg button.close:active::before,div.journey-js-dialog-lg button.close:active::after{background:var(--journey-js-dialog-close-button-active-x-color) !important}div.journey-js-dialog button.close:hover,div.journey-js-dialog-lg button.close:hover{cursor:pointer;border:var(--journey-js-border-size) solid var(--journey-js-dialog-close-button-hover-border-color);background-color:var(--journey-js-dialog-close-button-hover-background-color)}div.journey-js-dialog button.close:hover::before,div.journey-js-dialog button.close:hover::after,div.journey-js-dialog-lg button.close:hover::before,div.journey-js-dialog-lg button.close:hover::after{background:var(--journey-js-dialog-close-button-hover-x-color)}div.journey-js-dialog div.progress-dots,div.journey-js-dialog-lg div.progress-dots{margin-top:var(--journey-js-spacing);margin-bottom:var(--journey-js-spacing);text-align:center}div.journey-js-dialog div.progress-dots div.dot,div.journey-js-dialog div.progress-dots div.dot-active,div.journey-js-dialog-lg div.progress-dots div.dot,div.journey-js-dialog-lg div.progress-dots div.dot-active{margin:2.5px;display:inline-block;padding:0 !important}div.journey-js-dialog div.progress-dots div.dot,div.journey-js-dialog-lg div.progress-dots div.dot{border-radius:50%;height:10px;width:10px;background-color:var(--journey-js-dialog-button-background-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color);transition:var(--journey-js-transition)}div.journey-js-dialog div.progress-dots div.dot:active,div.journey-js-dialog-lg div.progress-dots div.dot:active{background-color:var(--journey-js-dialog-button-active-background-color) !important;border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-active-border-color) !important;color:var(--journey-js-color-white) !important}div.journey-js-dialog div.progress-dots div.dot:hover,div.journey-js-dialog-lg div.progress-dots div.dot:hover{cursor:pointer;background-color:var(--journey-js-dialog-button-hover-background-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-hover-border-color);color:var(--journey-js-color-white) !important}div.journey-js-dialog div.progress-dots div.dot-number,div.journey-js-dialog-lg div.progress-dots div.dot-number{height:25px !important;width:25px !important;padding:3px;display:inline-flex;justify-content:center;align-content:center;flex-direction:column;font-size:.8rem;border-radius:50% !important;color:var(--journey-js-color-gray) !important}div.journey-js-dialog div.progress-dots div.dot-active,div.journey-js-dialog-lg div.progress-dots div.dot-active{position:relative;transition:var(--journey-js-transition);transition-property:width;border-radius:10px;height:10px;width:20px;background-color:var(--journey-js-dialog-button-border-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color);color:var(--journey-js-color-white) !important}div.journey-js-dialog div.progress-dots div.dot-active::after,div.journey-js-dialog-lg div.progress-dots div.dot-active::after{content:"";position:absolute;width:15px;height:1px;background-color:var(--journey-js-dialog-button-border-color);bottom:-5px;left:50%;transform:translate(-50%)}div.journey-js-dialog div.progress-bar,div.journey-js-dialog-lg div.progress-bar{border-radius:var(--journey-js-border-radius);margin-top:var(--journey-js-spacing);margin-bottom:var(--journey-js-spacing);background-color:var(--journey-js-dialog-button-background-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color);text-wrap:nowrap;overflow:hidden}div.journey-js-dialog div.progress-bar div.progress-bar-percentage,div.journey-js-dialog-lg div.progress-bar div.progress-bar-percentage{min-height:10px;background-color:var(--journey-js-dialog-button-border-color);transition:var(--journey-js-transition);transition-property:width;text-align:center;padding:0 !important;margin:0 !important}div.journey-js-dialog div.progress-bar div.progress-bar-percentage p.progress-bar-percentage-text,div.journey-js-dialog-lg div.progress-bar div.progress-bar-percentage p.progress-bar-percentage-text{padding:calc(var(--journey-js-spacing)/2) !important;font-size:smaller;margin:0 !important;color:var(--journey-js-color-white)}div.journey-js-dialog div.checkbox-container,div.journey-js-dialog-lg div.checkbox-container{margin-top:var(--journey-js-spacing);margin-bottom:var(--journey-js-spacing)}div.journey-js-dialog div.checkbox-container label.checkbox,div.journey-js-dialog-lg div.checkbox-container label.checkbox{display:inline-block;position:relative;padding-left:25px;color:var(--journey-js-color-white)}div.journey-js-dialog div.checkbox-container label.checkbox input,div.journey-js-dialog-lg div.checkbox-container label.checkbox input{display:none !important}div.journey-js-dialog div.checkbox-container label.checkbox input:checked~span.check-mark,div.journey-js-dialog-lg div.checkbox-container label.checkbox input:checked~span.check-mark{background-color:var(--journey-js-checkbox-background-color-checked);border:var(--journey-js-border-size) solid var(--journey-js-checkbox-border-color-checked)}div.journey-js-dialog div.checkbox-container label.checkbox input:checked~span.check-mark::before,div.journey-js-dialog-lg div.checkbox-container label.checkbox input:checked~span.check-mark::before{display:block}div.journey-js-dialog div.checkbox-container label.checkbox input:disabled~span.check-mark,div.journey-js-dialog div.checkbox-container label.checkbox input:disabled~span.text,div.journey-js-dialog-lg div.checkbox-container label.checkbox input:disabled~span.check-mark,div.journey-js-dialog-lg div.checkbox-container label.checkbox input:disabled~span.text{opacity:.5}div.journey-js-dialog div.checkbox-container label.checkbox input:disabled~span.check-mark,div.journey-js-dialog-lg div.checkbox-container label.checkbox input:disabled~span.check-mark{border:var(--journey-js-border-size) solid var(--journey-js-color-black) !important}div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark,div.journey-js-dialog-lg div.checkbox-container label.checkbox span.check-mark{position:absolute;top:.5px;left:0;height:15px;width:15px;background-color:var(--journey-js-checkbox-background-color);border-radius:var(--journey-js-border-control-radius);border:var(--journey-js-border-size) solid var(--journey-js-checkbox-border-color);transition:var(--journey-js-transition)}div.journey-js-dialog div.checkbox-container label.checkbox span.check-mark::before,div.journey-js-dialog-lg div.checkbox-container label.checkbox span.check-mark::before{content:"";transform:rotate(45deg);position:absolute;display:none;left:4px;top:.5px;width:6px;height:11px;border:solid var(--journey-js-color-white);border-width:0 2.5px 2.5px 0}div.journey-js-dialog div.checkbox-container label.checkbox:hover span.check-mark,div.journey-js-dialog-lg div.checkbox-container label.checkbox:hover span.check-mark{border:var(--journey-js-border-size) solid var(--journey-js-checkbox-border-hover-color)}div.journey-js-dialog div.buttons,div.journey-js-dialog-lg div.buttons{margin-top:calc(var(--journey-js-spacing)*2);text-align:right;border-top:var(--journey-js-border-size) dotted var(--journey-js-dialog-button-border-color);padding-top:var(--journey-js-spacing)}div.journey-js-dialog div.buttons button:first-child,div.journey-js-dialog-lg div.buttons button:first-child{margin-left:0 !important}div.journey-js-dialog div.buttons button.back,div.journey-js-dialog div.buttons button.next,div.journey-js-dialog-lg div.buttons button.back,div.journey-js-dialog-lg div.buttons button.next{border-radius:var(--journey-js-border-radius);background-color:var(--journey-js-dialog-button-background-color);color:var(--journey-js-dialog-button-text-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-border-color);min-width:100px;padding:var(--journey-js-spacing);transition:var(--journey-js-transition);outline:none;margin-left:var(--journey-js-spacing)}div.journey-js-dialog div.buttons button.back:not([disabled]):active,div.journey-js-dialog div.buttons button.next:not([disabled]):active,div.journey-js-dialog-lg div.buttons button.back:not([disabled]):active,div.journey-js-dialog-lg div.buttons button.next:not([disabled]):active{background-color:var(--journey-js-dialog-button-active-background-color) !important;color:var(--journey-js-dialog-button-active-text-color) !important;border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-active-border-color) !important}div.journey-js-dialog div.buttons button.back:not([disabled]):hover,div.journey-js-dialog div.buttons button.next:not([disabled]):hover,div.journey-js-dialog-lg div.buttons button.back:not([disabled]):hover,div.journey-js-dialog-lg div.buttons button.next:not([disabled]):hover{cursor:pointer;background-color:var(--journey-js-dialog-button-hover-background-color);color:var(--journey-js-dialog-button-hover-text-color);border:var(--journey-js-border-size) solid var(--journey-js-dialog-button-hover-border-color)}div.journey-js-dialog div.buttons button.back:disabled,div.journey-js-dialog div.buttons button.next:disabled,div.journey-js-dialog-lg div.buttons button.back:disabled,div.journey-js-dialog-lg div.buttons button.next:disabled{background-color:var(--journey-js-dialog-button-disabled-background-color) !important;color:var(--journey-js-color-gray)}div.journey-js-dialog div.buttons button.back,div.journey-js-dialog-lg div.buttons button.back{float:left}div.journey-js-dialog div.buttons button.next,div.journey-js-dialog-lg div.buttons button.next{font-weight:var(--journey-js-title-bold-weight);float:right}div.journey-js-hint{position:absolute;width:15px;height:15px;border-radius:50%;background-color:var(--journey-js-color-gray);right:-7.5px;top:-7.5px;animation:journey-js-hint-effect 2s infinite;cursor:pointer}@keyframes journey-js-hint-effect{0%{box-shadow:0 0 0 0 var(--journey-js-color-hint)}70%{box-shadow:0 0 0 10px var(--journey-js-color-hint)}100%{box-shadow:0 0 0 0 var(--journey-js-color-hint)}}div.journey-js-disabled-background{z-index:1000;position:fixed;background-color:#000;background-color:rgba(0,0,0,.5);top:0;left:0;height:100%;width:100%}.journey-js-element-focus{z-index:1001 !important}div.journey-js-tooltip{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;cursor:default;box-sizing:border-box;line-height:normal;font-family:var(--journey-js-default-font);animation:fade-in-animation var(--journey-js-animation-length);position:absolute;background-color:var(--journey-js-tooltip-background-color);border:var(--journey-js-border-size) solid var(--journey-js-tooltip-border-color);color:var(--journey-js-tooltip-text-color);border-radius:var(--journey-js-border-radius);z-index:2000;max-width:300px;padding:var(--journey-js-spacing);font-size:var(--journey-js-spacing-font-size);font-weight:var(--journey-js-tooltip-bold-weight);display:none}@keyframes fade-in-animation{0%{opacity:0}100%{opacity:1}} diff --git a/dist/journey.min.js b/dist/journey.min.js index 62ec179..f0510c6 100644 --- a/dist/journey.min.js +++ b/dist/journey.min.js @@ -1 +1 @@ -"use strict";var Constant,Constant2,Is,Default,DomElement,Binding,Config,Trigger,ToolTip,Disabled;Constant2=Constant||(Constant={}),Constant2.JOURNEY_JS_ATTRIBUTE_NAME="data-journey-js",Constant2.DEFAULT_GROUP="default",(e=>{function t(e){return null!=e&&""!==e}function o(e){return t(e)&&"object"==typeof e}e.defined=t,e.definedObject=o,e.definedBoolean=function(e){return t(e)&&"boolean"==typeof e},e.definedString=function(e){return t(e)&&"string"==typeof e},e.definedFunction=function(e){return t(e)&&"function"==typeof e},e.definedNumber=function(e){return t(e)&&"number"==typeof e},e.definedArray=function(e){return o(e)&&e instanceof Array}})(Is||(Is={})),(e=>{function t(e,t){return Is.definedArray(e)?e:t}e.getAnyString=function(e,t){return"string"==typeof e?e:t},e.getString=function(e,t){return Is.definedString(e)?e:t},e.getBoolean=function(e,t){return Is.definedBoolean(e)?e:t},e.getNumber=function(e,t){return Is.definedNumber(e)?e:t},e.getFunction=function(e,t){return Is.definedFunction(e)?e:t},e.getObject=function(e,t){return Is.definedObject(e)?e:t},e.getArray=t,e.getStringOrArray=function(e,o){let n=o;if(Is.definedString(e)){const t=e.toString().split(" ");0===t.length?e=o:n=t}else n=t(e,o);return n}})(Default||(Default={})),(e=>{function t(e,t=""){const o=e.toLowerCase();let n="text"===o?document.createTextNode(""):document.createElement(o);return Is.defined(t)&&(n.className=t),n}function o(){const e=document.documentElement;return{left:e.scrollLeft-(e.clientLeft||0),top:e.scrollTop-(e.clientTop||0)}}e.create=t,e.createWithHTML=function(e,o,n,i){const r=t(o,n);return r.innerHTML=i,e.appendChild(r),r},e.getOffset=function(e){const t={left:0,top:0};for(;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t.left+=e.offsetLeft-e.scrollLeft,t.top+=e.offsetTop-e.scrollTop,e=e.offsetParent;return t},e.getScrollPosition=o,e.getStyleValueByName=function(e,t){return getComputedStyle(e).getPropertyValue(t)},e.addNode=function(e,t){try{e.contains(t)||e.appendChild(t)}catch(e){console.warn(e.message)}},e.removeNode=function(e,t){try{e.contains(t)&&e.removeChild(t)}catch(e){console.warn(e.message)}},e.cancelBubble=function(e){e.preventDefault(),e.stopPropagation()},e.showElementAtMousePosition=function(e,t){let n=e.pageX,i=e.pageY;const r=o();t.style.display="block",n+t.offsetWidth>window.innerWidth?n-=t.offsetWidth:n++,i+t.offsetHeight>window.innerHeight?i-=t.offsetHeight:i++,n{let t;(t=e.Options||(e.Options={})).get=function(e){let t=Default.getObject(e,{});return t.order=Default.getNumber(t.order,0),t.attach=Default.getBoolean(t.attach,!0),t.sendClick=Default.getBoolean(t.sendClick,!1),t.alignTop=Default.getBoolean(t.alignTop,!1),t.alignRight=Default.getBoolean(t.alignRight,!1),t.isHint=Default.getBoolean(t.isHint,!1),t.alignHintToClickPosition=Default.getBoolean(t.alignHintToClickPosition,!1),t.showDisabledBackground=Default.getBoolean(t.showDisabledBackground,!0),t.removeHintWhenViewed=Default.getBoolean(t.removeHintWhenViewed,!1),t.group=Default.getString(t.group,Constant.DEFAULT_GROUP),t.ignore=Default.getBoolean(t.ignore,!1),t.moveToNextOnClick=Default.getBoolean(t.moveToNextOnClick,!1),t=function(e){return e.title=Default.getString(e.title,""),e.description=Default.getString(e.description,""),e.tooltip=Default.getString(e.tooltip,""),e}(t),t=function(e){return e.events=Default.getObject(e.events,{}),e.events.onEnter=Default.getFunction(e.events.onEnter,null),e.events.onLeave=Default.getFunction(e.events.onLeave,null),e.events.onClose=Default.getFunction(e.events.onClose,null),e.events.onFinish=Default.getFunction(e.events.onFinish,null),e.events.onOpen=Default.getFunction(e.events.onOpen,null),e.events.onStart=Default.getFunction(e.events.onStart,null),e.events.onAddStep=Default.getFunction(e.events.onAddStep,null),e.events.onRemoveStep=Default.getFunction(e.events.onRemoveStep,null),e}(t),t}})(Binding||(Binding={})),(e=>{let t;(t=e.Options||(e.Options={})).get=function(e=null){let t=Default.getObject(e,{});return t.safeMode=Default.getBoolean(t.safeMode,!0),t.domElementTypes=Default.getStringOrArray(t.domElementTypes,["*"]),t.showCloseButton=Default.getBoolean(t.showCloseButton,!0),t.shortcutKeysEnabled=Default.getBoolean(t.shortcutKeysEnabled,!0),t.showProgressDots=Default.getBoolean(t.showProgressDots,!0),t.browserUrlParametersEnabled=Default.getBoolean(t.browserUrlParametersEnabled,!0),t.showProgressDotNumbers=Default.getBoolean(t.showProgressDotNumbers,!1),t.showButtons=Default.getBoolean(t.showButtons,!0),t.showDoNotShowAgain=Default.getBoolean(t.showDoNotShowAgain,!1),t.tooltipDelay=Default.getNumber(t.tooltipDelay,750),t.showProgressDotToolTips=Default.getBoolean(t.showProgressDotToolTips,!0),t.closeDialogOnDisabledBackgroundClick=Default.getBoolean(t.closeDialogOnDisabledBackgroundClick,!1),t.showProgressBar=Default.getBoolean(t.showProgressBar,!1),t.scrollToElements=Default.getBoolean(t.scrollToElements,!1),t.dialogMovingEnabled=Default.getBoolean(t.dialogMovingEnabled,!1),t.showProgressBarText=Default.getBoolean(t.showProgressBarText,!1),t.showStepNumbersInTitle=Default.getBoolean(t.showStepNumbersInTitle,!1),t=function(e){return e.text=Default.getObject(e.text,{}),e.text.backButtonText=Default.getAnyString(e.text.backButtonText,"Back"),e.text.nextButtonText=Default.getAnyString(e.text.nextButtonText,"Next"),e.text.finishButtonText=Default.getAnyString(e.text.finishButtonText,"Finish"),e.text.closeButtonToolTipText=Default.getAnyString(e.text.closeButtonToolTipText,"Close"),e.text.doNotShowAgainText=Default.getAnyString(e.text.doNotShowAgainText,"Do not show again"),e.text.objectErrorText=Default.getAnyString(e.text.objectErrorText,"Errors in object: {{error_1}}, {{error_2}}"),e.text.attributeNotValidErrorText=Default.getAnyString(e.text.attributeNotValidErrorText,"The attribute '{{attribute_name}}' is not a valid object."),e.text.attributeNotSetErrorText=Default.getAnyString(e.text.attributeNotSetErrorText,"The attribute '{{attribute_name}}' has not been set correctly."),e.text.closeDialogConfirmationText=Default.getAnyString(e.text.closeDialogConfirmationText,""),e}(t),t=function(e){return e.events=Default.getObject(e.events,{}),e.events.onDoNotShowAgainChange=Default.getFunction(e.events.onDoNotShowAgainChange,null),e}(t),t}})(Config||(Config={})),(Trigger||(Trigger={})).customEvent=function(e,...t){Is.definedFunction(e)&&e.apply(null,[].slice.call(t,0))},(e=>{let t=null,o=0;function n(e,n,r){DomElement.cancelBubble(e),i(),o=setTimeout((()=>{t.innerHTML=n,t.style.display="block",DomElement.showElementAtMousePosition(e,t)}),r.tooltipDelay)}function i(){Is.defined(t)&&(0!==o&&(clearTimeout(o),o=0),"block"===t.style.display&&(t.style.display="none"))}e.render=function(){Is.defined(t)||(t=DomElement.create("div","journey-js-tooltip"),t.style.display="none",document.body.appendChild(t),document.body.addEventListener("mousemove",(()=>{i()})),document.addEventListener("scroll",(()=>{i()})))},e.add=function(e,t,o){null!==e&&(e.onmousemove=e=>{n(e,t,o)})},e.show=n,e.hide=i})(ToolTip||(ToolTip={})),(e=>{let t;(e=>{let t;e.render=function(e,o){t=DomElement.create("div","journey-js-disabled-background"),t.onclick=()=>{e.closeDialogOnDisabledBackgroundClick&&o()}},e.show=function(){DomElement.addNode(document.body,t)},e.hide=function(){DomElement.removeNode(document.body,t)}})(t=e.Background||(e.Background={}))})(Disabled||(Disabled={})),(()=>{let _configuration={},_configuration_ShortcutKeysEnabled=!0,_groups_Current=Constant.DEFAULT_GROUP,_groups={},_element_Focus_Element_PositionStyle="",_element_Dialog=null,_element_Dialog_Close_Button=null,_element_Dialog_Title=null,_element_Dialog_Description=null,_element_Dialog_CheckBox_Container=null,_element_Dialog_CheckBox_Input=null,_element_Dialog_ProgressDots=null,_element_Dialog_ProgressBar=null,_element_Dialog_ProgressBar_Percentage=null,_element_Dialog_ProgressBar_Percentage_Text=null,_element_Dialog_Buttons=null,_element_Dialog_Buttons_Back_Button=null,_element_Dialog_Buttons_Next_Button=null,_element_Dialog_IsHint=!1,_element_Dialog_Move_Original_X=0,_element_Dialog_Move_Original_Y=0,_element_Dialog_Move_IsMoving=!1,_element_Dialog_Move_X=0,_element_Dialog_Move_Y=0;function setupDefaultGroup(e=null){_groups=Default.getObject(e,{}),_groups[Constant.DEFAULT_GROUP]={json:{},keys:[],position:0}}function setupNewGroup(e){_groups.hasOwnProperty(e)||(_groups[e]={json:{},keys:[],position:0})}function getGroupBindingOptions(){return _groups[_groups_Current].json[_groups[_groups_Current].keys[_groups[_groups_Current].position]]}function isGroupPositionAtEnd(){return _groups[_groups_Current].position===_groups[_groups_Current].keys.length-1}function renderDialog(){_element_Dialog=DomElement.create("div","journey-js-dialog"),_element_Dialog.style.display="none",document.body.appendChild(_element_Dialog),_element_Dialog_Close_Button=DomElement.create("button","close"),_element_Dialog.appendChild(_element_Dialog_Close_Button),_element_Dialog_Close_Button.onclick=()=>{onDialogClose()},ToolTip.add(_element_Dialog_Close_Button,_configuration.text.closeButtonToolTipText,_configuration),_element_Dialog_Title=DomElement.create("div","title"),_element_Dialog.appendChild(_element_Dialog_Title),_element_Dialog_Description=DomElement.create("div","description"),_element_Dialog.appendChild(_element_Dialog_Description),_element_Dialog_CheckBox_Container=DomElement.create("div","checkbox-container"),_element_Dialog.appendChild(_element_Dialog_CheckBox_Container),_element_Dialog_CheckBox_Input=DomElement.createCheckBox(_element_Dialog_CheckBox_Container,_configuration.text.doNotShowAgainText),_element_Dialog_CheckBox_Input.onchange=()=>{_configuration.showDoNotShowAgain&&Trigger.customEvent(_configuration.events.onDoNotShowAgainChange,_element_Dialog_CheckBox_Input.checked)},_element_Dialog_ProgressDots=DomElement.create("div","progress-dots"),_element_Dialog.appendChild(_element_Dialog_ProgressDots),_element_Dialog_ProgressBar=DomElement.create("div","progress-bar"),_element_Dialog.appendChild(_element_Dialog_ProgressBar),_element_Dialog_ProgressBar_Percentage=DomElement.create("div","progress-bar-percentage"),_element_Dialog_ProgressBar.appendChild(_element_Dialog_ProgressBar_Percentage),_element_Dialog_ProgressBar_Percentage_Text=DomElement.create("p","progress-bar-percentage-text"),_element_Dialog_ProgressBar_Percentage.appendChild(_element_Dialog_ProgressBar_Percentage_Text),_element_Dialog_Buttons=DomElement.create("div","buttons"),_element_Dialog.appendChild(_element_Dialog_Buttons),_element_Dialog_Buttons_Back_Button=DomElement.create("button","back"),_element_Dialog_Buttons_Back_Button.onclick=onDialogBack,_element_Dialog_Buttons.appendChild(_element_Dialog_Buttons_Back_Button),_element_Dialog_Buttons_Next_Button=DomElement.create("button","next"),_element_Dialog_Buttons_Next_Button.onclick=onDialogNext,_element_Dialog_Buttons.appendChild(_element_Dialog_Buttons_Next_Button),makeDialogMovable()}function onDialogClose(e=!0){let t=!1;if(t=!Is.definedString(_configuration.text.closeDialogConfirmationText)||!e||confirm(_configuration.text.closeDialogConfirmationText),t){const e=getGroupBindingOptions();Is.defined(e)&&Is.defined(e._currentView.element)&&Trigger.customEvent(e.events.onClose,e._currentView.element),removeFocusClassFromLastElement(!1),Disabled.Background.hide(),ToolTip.hide(),_element_Dialog.style.display="none"}}function onDialogBack(){_groups[_groups_Current].position>0&&(removeFocusClassFromLastElement(),_groups[_groups_Current].position--,showDialogAndSetPosition())}function onDialogNext(){if(isGroupPositionAtEnd()){const e=getGroupBindingOptions();onDialogClose(!1),Trigger.customEvent(e.events.onFinish,e._currentView.element)}else removeFocusClassFromLastElement(),_groups[_groups_Current].position++,showDialogAndSetPosition()}function showDialogAndSetPosition(){const e=getGroupBindingOptions();if(Is.defined(e)&&Is.defined(e._currentView.element)){e.showDisabledBackground?Disabled.Background.show():Disabled.Background.hide(),ToolTip.hide(),_element_Dialog_Close_Button.style.display=_configuration.showCloseButton?"block":"none",_configuration_ShortcutKeysEnabled=!0,e._currentView.element.classList.add("journey-js-element-focus"),_configuration.scrollToElements&&e._currentView.element.scrollIntoView();const t=DomElement.getStyleValueByName(e._currentView.element,"position");""!==t&&"static"===t.toLowerCase()&&(_element_Focus_Element_PositionStyle=t,e._currentView.element.style.position="relative"),DomElement.showElementBasedOnCondition(_element_Dialog_CheckBox_Container,_configuration.showDoNotShowAgain),DomElement.showElementBasedOnCondition(_element_Dialog_ProgressDots,_configuration.showProgressDots&&_groups[_groups_Current].keys.length>1),DomElement.showElementBasedOnCondition(_element_Dialog_ProgressBar,_configuration.showProgressBar&&_groups[_groups_Current].keys.length>1),DomElement.showElementBasedOnCondition(_element_Dialog_ProgressBar_Percentage_Text,_configuration.showProgressBarText),DomElement.showElementBasedOnCondition(_element_Dialog_Buttons,_configuration.showButtons),_element_Dialog_Buttons_Back_Button.innerHTML=_configuration.text.backButtonText,_element_Dialog_Buttons_Back_Button.disabled=0===_groups[_groups_Current].position,_groups[_groups_Current].position>=_groups[_groups_Current].keys.length-1?_element_Dialog_Buttons_Next_Button.innerHTML=_configuration.text.finishButtonText:_element_Dialog_Buttons_Next_Button.innerHTML=_configuration.text.nextButtonText,setDialogText(e),setDialogPosition(null,e),buildProcessDots(),setProgressBarPosition(),Trigger.customEvent(e.events.onEnter,e._currentView.element),e.sendClick&&e._currentView.element.click(),e.moveToNextOnClick&&e._currentView.element.addEventListener("click",onDialogNext)}}function setDialogText(e){_element_Dialog_Title.innerHTML="",_configuration.showStepNumbersInTitle&&DomElement.createWithHTML(_element_Dialog_Title,"span","step-number",`${e.order.toString()}.`),Is.definedString(e.title)?DomElement.createWithHTML(_element_Dialog_Title,"span","title",e.title):DomElement.createWithHTML(_element_Dialog_Title,"span","title",""),Is.definedString(e.description)?_element_Dialog_Description.innerHTML=e.description:_element_Dialog_Description.innerHTML=""}function setDialogPosition(e,t){if("block"!==_element_Dialog.style.display&&(_element_Dialog.style.display="block",Trigger.customEvent(t.events.onOpen,t._currentView.element)),0===_groups[_groups_Current].position&&Trigger.customEvent(t.events.onStart,t._currentView.element),_element_Dialog_IsHint=!0===t.isHint,t.attach||t.isHint)if(t.isHint&&t.alignHintToClickPosition)DomElement.showElementAtMousePosition(e,_element_Dialog);else{const e=DomElement.getOffset(t._currentView.element);let o=e.top+t._currentView.element.offsetHeight,n=e.left;(n+_element_Dialog.offsetWidth>window.innerWidth||t.alignRight)&&(n-=_element_Dialog.offsetWidth,n+=t._currentView.element.offsetWidth),(o+_element_Dialog.offsetHeight>window.innerHeight||t.alignTop)&&(o-=_element_Dialog.offsetHeight+t._currentView.element.offsetHeight),_element_Dialog.style.top=`${o}px`,_element_Dialog.style.left=`${n}px`}else{const e=DomElement.getScrollPosition(),t=Math.max(0,(window.innerWidth-_element_Dialog.offsetWidth)/2+e.left),o=Math.max(0,(window.innerHeight-_element_Dialog.offsetHeight)/2+e.top);_element_Dialog.style.left=`${t}px`,_element_Dialog.style.top=`${o}px`}}function removeFocusClassFromLastElement(e=!0){const t=getGroupBindingOptions();Is.defined(t)&&Is.defined(t._currentView.element)&&(t._currentView.element.classList.remove("journey-js-element-focus"),t.moveToNextOnClick&&t._currentView.element.removeEventListener("click",onDialogNext),Is.defined(_element_Focus_Element_PositionStyle)&&(t._currentView.element.style.position=_element_Focus_Element_PositionStyle),e&&Trigger.customEvent(t.events.onLeave,t._currentView.element))}function buildProcessDots(){if(_element_Dialog_ProgressDots.innerHTML="",_configuration.showProgressDots){const e=_groups[_groups_Current].keys.length;for(let t=0;t{removeFocusClassFromLastElement(),_groups[_groups_Current].position=e,showDialogAndSetPosition()}),_element_Dialog_ProgressDots.appendChild(n),_configuration.showProgressDotToolTips&&(Is.definedString(o.tooltip)?ToolTip.add(n,o.tooltip,_configuration):ToolTip.add(n,o.title,_configuration)),_configuration.showProgressDotNumbers&&(n.classList.add("dot-number"),n.innerHTML=(e+1).toString())}function setProgressBarPosition(){if(_configuration.showProgressBar){const e=_element_Dialog_ProgressBar.offsetWidth/_groups[_groups_Current].keys.length,t=(_groups[_groups_Current].position+1)*e,o=Math.ceil((_groups[_groups_Current].position+1)/_groups[_groups_Current].keys.length*100);_element_Dialog_ProgressBar_Percentage.style.width=`${t}px`,_element_Dialog_ProgressBar_Percentage_Text.innerHTML=`${o}%`}}function makeDialogMovable(){_element_Dialog_Title.onmousedown=onMoveTitleBarMouseDown,_element_Dialog_Title.onmouseup=onMoveTitleBarMouseUp,_element_Dialog_Title.oncontextmenu=onMoveTitleBarMouseUp,document.body.addEventListener("mousemove",onMoveDocumentMouseMove),document.body.addEventListener("mouseleave",onMoveDocumentMouseLeave)}function onMoveTitleBarMouseDown(e){_element_Dialog_Move_IsMoving||_element_Dialog_IsHint||!_configuration.dialogMovingEnabled||(_element_Dialog.classList.add("journey-js-dialog-moving"),_element_Dialog_Move_IsMoving=!0,_element_Dialog_Move_X=e.pageX-_element_Dialog.offsetLeft,_element_Dialog_Move_Y=e.pageY-_element_Dialog.offsetTop,_element_Dialog_Move_Original_X=_element_Dialog.offsetLeft,_element_Dialog_Move_Original_Y=_element_Dialog.offsetTop)}function onMoveTitleBarMouseUp(){_element_Dialog_Move_IsMoving&&(_element_Dialog_Move_IsMoving=!1,_element_Dialog_Move_Original_X=0,_element_Dialog_Move_Original_Y=0,_element_Dialog.className="journey-js-dialog")}function onMoveDocumentMouseMove(e){_element_Dialog_Move_IsMoving&&(_element_Dialog.style.left=e.pageX-_element_Dialog_Move_X+"px",_element_Dialog.style.top=e.pageY-_element_Dialog_Move_Y+"px")}function onMoveDocumentMouseLeave(){_element_Dialog_Move_IsMoving&&(_element_Dialog.style.left=`${_element_Dialog_Move_Original_X}px`,_element_Dialog.style.top=`${_element_Dialog_Move_Original_Y}px`,_element_Dialog_Move_IsMoving=!1,_element_Dialog_Move_Original_X=0,_element_Dialog_Move_Original_Y=0,_element_Dialog.className="journey-js-dialog")}function getElements(){const e=_configuration.domElementTypes,t=e.length;for(let o=0;o{DomElement.cancelBubble(t),_element_Dialog_CheckBox_Container.style.display="none",_element_Dialog_ProgressDots.style.display="none",_element_Dialog_ProgressBar.style.display="none",_element_Dialog_Buttons.style.display="none",_configuration_ShortcutKeysEnabled=!1,setDialogText(e),setDialogPosition(t,e),e.removeHintWhenViewed&&DomElement.clearElementsByClassName(e._currentView.element,"journey-js-hint")}}function buildDocumentEvents(e=!0){const t=e?document.addEventListener:document.removeEventListener,o=e?window.addEventListener:window.removeEventListener;_configuration.shortcutKeysEnabled&&t("keydown",onWindowKeyDown),o("resize",onWindowResize)}function onWindowKeyDown(e){_public.isOpen()&&_configuration.shortcutKeysEnabled&&("Escape"===e.code?(e.preventDefault(),onDialogClose()):_configuration_ShortcutKeysEnabled&&("ArrowLeft"===e.code?(e.preventDefault(),onDialogBack()):"ArrowRight"===e.code?(e.preventDefault(),onDialogNext()):"ArrowUp"===e.code?(e.preventDefault(),onWindowKeyCodeUp()):"ArrowDown"===e.code&&(e.preventDefault(),onWindowKeyCodeDown())))}function onWindowResize(){_public.isOpen()&&showDialogAndSetPosition()}function onWindowKeyCodeUp(){0!==_groups[_groups_Current].position&&(removeFocusClassFromLastElement(),_groups[_groups_Current].position=0,showDialogAndSetPosition())}function onWindowKeyCodeDown(){_groups[_groups_Current].position!==_groups[_groups_Current].keys.length-1&&(removeFocusClassFromLastElement(),_groups[_groups_Current].position=_groups[_groups_Current].keys.length-1,showDialogAndSetPosition())}function getBrowserUrlParameters(){let e=!1;if(_configuration.browserUrlParametersEnabled){const t=getBrowserUrlArguments(window.location.href);if(Is.defined(t.sjOrderId)){const e=parseInt(t.sjOrderId,10);!isNaN(e)&&e<=_groups[_groups_Current].keys.length-1&&(_groups[_groups_Current].position=e)}Is.defined(t.sjShow)&&(e="true"===t.sjShow)}return e}function getBrowserUrlArguments(e){const t={},o=e.split("?");if(o.length>1){const e=o[1].split("&"),n=e.length;for(let o=0;o=_groups[_groups_Current].keys.length-1},addDocumentSteps:function(){return getElements(),_public},addStep:function(e,t){return Is.definedObject(e)&&Is.definedObject(t)&&(setupElement(e,Binding.Options.get(t)),_groups[_groups_Current].keys.sort(),resetDialogPosition()),_public},removeStep:function(e){if(Is.definedObject(e)){let t=!1;for(let o in _groups)if(_groups.hasOwnProperty(o))for(let n in _groups[o].json)if(_groups[o].json.hasOwnProperty(n)){const i=_groups[o].json[n];if(i._currentView.element===e){Trigger.customEvent(i.events.onRemoveStep,i._currentView.element),_groups[o].keys.splice(_groups[o].keys.indexOf(i.order),1),delete _groups[o].json[i.order],_groups[o].keys.sort(),t=!0;break}}t?resetDialogPosition():DomElement.clearElementsByClassName(e,"journey-js-hint")}return _public},clearSteps:function(e=""){resetDialogPosition();for(let t in _groups)if(_groups.hasOwnProperty(t)&&(!Is.definedString(e)||e===t))for(let e in _groups[t].json)if(_groups[t].json.hasOwnProperty(e)){const o=_groups[t].json[e];Trigger.customEvent(o.events.onRemoveStep,o._currentView.element)}return Is.definedString(e)?_groups.hasOwnProperty(e)&&delete _groups[e]:_groups={},Is.definedString(e)&&e!==Constant.DEFAULT_GROUP||setupDefaultGroup(_groups),_public},clearHints:function(){return DomElement.clearElementsByClassName(document.body,"journey-js-hint"),_public},reverseStepOrder:function(){return _groups[_groups_Current].keys.reverse(),resetDialogPosition(),_public},setConfiguration:function(e){if(Is.definedObject(e)){let t=!1;const o=_configuration;for(let n in e)e.hasOwnProperty(n)&&_configuration.hasOwnProperty(n)&&o[n]!==e[n]&&(o[n]=e[n],t=!0);t&&(_configuration=Config.Options.get(o))}return _public},getVersion:function(){return"2.1.0"}};_configuration=Config.Options.get(),document.addEventListener("DOMContentLoaded",(()=>{setupDefaultGroup(),Disabled.Background.render(_configuration,onDialogClose),renderDialog(),ToolTip.render(),getElements(),buildDocumentEvents(),getBrowserUrlParameters()&&_public.show()})),Is.defined(window.$journey)||(window.$journey=_public)})(); \ No newline at end of file +"use strict";var Constant,Constant2,Is,Default,DomElement,Binding,Config,Trigger,ToolTip,Disabled;Constant2=Constant||(Constant={}),Constant2.JOURNEY_JS_ATTRIBUTE_NAME="data-journey-js",Constant2.DEFAULT_GROUP="default",(e=>{function t(e){return null!=e&&""!==e}function o(e){return t(e)&&"object"==typeof e}e.defined=t,e.definedObject=o,e.definedBoolean=function(e){return t(e)&&"boolean"==typeof e},e.definedString=function(e){return t(e)&&"string"==typeof e},e.definedFunction=function(e){return t(e)&&"function"==typeof e},e.definedNumber=function(e){return t(e)&&"number"==typeof e},e.definedArray=function(e){return o(e)&&e instanceof Array}})(Is||(Is={})),(e=>{function t(e,t){return Is.definedArray(e)?e:t}e.getAnyString=function(e,t){return"string"==typeof e?e:t},e.getString=function(e,t){return Is.definedString(e)?e:t},e.getBoolean=function(e,t){return Is.definedBoolean(e)?e:t},e.getNumber=function(e,t){return Is.definedNumber(e)?e:t},e.getFunction=function(e,t){return Is.definedFunction(e)?e:t},e.getObject=function(e,t){return Is.definedObject(e)?e:t},e.getArray=t,e.getStringOrArray=function(e,o){let n=o;if(Is.definedString(e)){const t=e.toString().split(" ");0===t.length?e=o:n=t}else n=t(e,o);return n}})(Default||(Default={})),(e=>{function t(e,t=""){const o=e.toLowerCase();let n="text"===o?document.createTextNode(""):document.createElement(o);return Is.defined(t)&&(n.className=t),n}function o(){const e=document.documentElement;return{left:e.scrollLeft-(e.clientLeft||0),top:e.scrollTop-(e.clientTop||0)}}e.create=t,e.createWithHTML=function(e,o,n,i){const r=t(o,n);return r.innerHTML=i,e.appendChild(r),r},e.getOffset=function(e){const t={left:0,top:0};for(;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t.left+=e.offsetLeft-e.scrollLeft,t.top+=e.offsetTop-e.scrollTop,e=e.offsetParent;return t},e.getScrollPosition=o,e.getStyleValueByName=function(e,t){return getComputedStyle(e).getPropertyValue(t)},e.addNode=function(e,t){try{e.contains(t)||e.appendChild(t)}catch(e){console.warn(e.message)}},e.removeNode=function(e,t){try{e.contains(t)&&e.removeChild(t)}catch(e){console.warn(e.message)}},e.cancelBubble=function(e){e.preventDefault(),e.stopPropagation()},e.showElementAtMousePosition=function(e,t,n){let i=e.pageX,r=e.pageY;const l=o();t.style.display="block",i+t.offsetWidth>window.innerWidth?i-=t.offsetWidth+n:(i++,i+=n),r+t.offsetHeight>window.innerHeight?r-=t.offsetHeight+n:(r++,r+=n),i{let t;(t=e.Options||(e.Options={})).get=function(e){let t=Default.getObject(e,{});return t.order=Default.getNumber(t.order,0),t.attach=Default.getBoolean(t.attach,!0),t.sendClick=Default.getBoolean(t.sendClick,!1),t.alignTop=Default.getBoolean(t.alignTop,!1),t.alignRight=Default.getBoolean(t.alignRight,!1),t.isHint=Default.getBoolean(t.isHint,!1),t.alignHintToClickPosition=Default.getBoolean(t.alignHintToClickPosition,!1),t.showDisabledBackground=Default.getBoolean(t.showDisabledBackground,!0),t.removeHintWhenViewed=Default.getBoolean(t.removeHintWhenViewed,!1),t.group=Default.getString(t.group,Constant.DEFAULT_GROUP),t.ignore=Default.getBoolean(t.ignore,!1),t.moveToNextOnClick=Default.getBoolean(t.moveToNextOnClick,!1),t.offset=Default.getNumber(t.offset,0),t.useLargerDisplay=Default.getBoolean(t.useLargerDisplay,!1),t=function(e){return e.title=Default.getString(e.title,""),e.description=Default.getString(e.description,""),e.tooltip=Default.getString(e.tooltip,""),e}(t),t=function(e){return e.events=Default.getObject(e.events,{}),e.events.onEnter=Default.getFunction(e.events.onEnter,null),e.events.onLeave=Default.getFunction(e.events.onLeave,null),e.events.onClose=Default.getFunction(e.events.onClose,null),e.events.onFinish=Default.getFunction(e.events.onFinish,null),e.events.onOpen=Default.getFunction(e.events.onOpen,null),e.events.onStart=Default.getFunction(e.events.onStart,null),e.events.onAddStep=Default.getFunction(e.events.onAddStep,null),e.events.onRemoveStep=Default.getFunction(e.events.onRemoveStep,null),e}(t),t}})(Binding||(Binding={})),(e=>{let t;(t=e.Options||(e.Options={})).get=function(e=null){let t=Default.getObject(e,{});return t.safeMode=Default.getBoolean(t.safeMode,!0),t.domElementTypes=Default.getStringOrArray(t.domElementTypes,["*"]),t.showCloseButton=Default.getBoolean(t.showCloseButton,!0),t.shortcutKeysEnabled=Default.getBoolean(t.shortcutKeysEnabled,!0),t.showProgressDots=Default.getBoolean(t.showProgressDots,!0),t.browserUrlParametersEnabled=Default.getBoolean(t.browserUrlParametersEnabled,!0),t.showProgressDotNumbers=Default.getBoolean(t.showProgressDotNumbers,!1),t.showButtons=Default.getBoolean(t.showButtons,!0),t.showDoNotShowAgain=Default.getBoolean(t.showDoNotShowAgain,!1),t.tooltipDelay=Default.getNumber(t.tooltipDelay,750),t.showProgressDotToolTips=Default.getBoolean(t.showProgressDotToolTips,!0),t.closeDialogOnDisabledBackgroundClick=Default.getBoolean(t.closeDialogOnDisabledBackgroundClick,!1),t.showProgressBar=Default.getBoolean(t.showProgressBar,!1),t.scrollToElements=Default.getBoolean(t.scrollToElements,!1),t.dialogMovingEnabled=Default.getBoolean(t.dialogMovingEnabled,!1),t.showProgressBarText=Default.getBoolean(t.showProgressBarText,!1),t.showStepNumbersInTitle=Default.getBoolean(t.showStepNumbersInTitle,!1),t.hintClickPositionOffset=Default.getNumber(t.hintClickPositionOffset,0),t.tooltipOffset=Default.getNumber(t.tooltipOffset,0),t=function(e){return e.text=Default.getObject(e.text,{}),e.text.backButtonText=Default.getAnyString(e.text.backButtonText,"Back"),e.text.nextButtonText=Default.getAnyString(e.text.nextButtonText,"Next"),e.text.finishButtonText=Default.getAnyString(e.text.finishButtonText,"Finish"),e.text.closeButtonToolTipText=Default.getAnyString(e.text.closeButtonToolTipText,"Close"),e.text.doNotShowAgainText=Default.getAnyString(e.text.doNotShowAgainText,"Do not show again"),e.text.objectErrorText=Default.getAnyString(e.text.objectErrorText,"Errors in object: {{error_1}}, {{error_2}}"),e.text.attributeNotValidErrorText=Default.getAnyString(e.text.attributeNotValidErrorText,"The attribute '{{attribute_name}}' is not a valid object."),e.text.attributeNotSetErrorText=Default.getAnyString(e.text.attributeNotSetErrorText,"The attribute '{{attribute_name}}' has not been set correctly."),e.text.closeDialogConfirmationText=Default.getAnyString(e.text.closeDialogConfirmationText,""),e}(t),t=function(e){return e.events=Default.getObject(e.events,{}),e.events.onDoNotShowAgainChange=Default.getFunction(e.events.onDoNotShowAgainChange,null),e}(t),t}})(Config||(Config={})),(Trigger||(Trigger={})).customEvent=function(e,...t){Is.definedFunction(e)&&e.apply(null,[].slice.call(t,0))},(e=>{let t=null,o=0;function n(e,n,r){DomElement.cancelBubble(e),i(),o=setTimeout((()=>{t.innerHTML=n,t.style.display="block",DomElement.showElementAtMousePosition(e,t,r.tooltipOffset)}),r.tooltipDelay)}function i(){Is.defined(t)&&(0!==o&&(clearTimeout(o),o=0),"block"===t.style.display&&(t.style.display="none"))}e.render=function(){Is.defined(t)||(t=DomElement.create("div","journey-js-tooltip"),t.style.display="none",document.body.appendChild(t),document.body.addEventListener("mousemove",(()=>i())),document.addEventListener("scroll",(()=>i())))},e.add=function(e,t,o){null!==e&&(e.onmousemove=e=>n(e,t,o))},e.show=n,e.hide=i})(ToolTip||(ToolTip={})),(e=>{let t;(e=>{let t;e.render=function(e,o){t=DomElement.create("div","journey-js-disabled-background"),t.onclick=()=>{e.closeDialogOnDisabledBackgroundClick&&o()}},e.show=function(){DomElement.addNode(document.body,t)},e.hide=function(){DomElement.removeNode(document.body,t)}})(t=e.Background||(e.Background={}))})(Disabled||(Disabled={})),(()=>{let _configuration={},_configuration_ShortcutKeysEnabled=!0,_groups_Current=Constant.DEFAULT_GROUP,_groups={},_element_Focus_Element_PositionStyle="",_element_Dialog=null,_element_Dialog_Close_Button=null,_element_Dialog_Title=null,_element_Dialog_Description=null,_element_Dialog_CheckBox_Container=null,_element_Dialog_CheckBox_Input=null,_element_Dialog_ProgressDots=null,_element_Dialog_ProgressBar=null,_element_Dialog_ProgressBar_Percentage=null,_element_Dialog_ProgressBar_Percentage_Text=null,_element_Dialog_Buttons=null,_element_Dialog_Buttons_Back_Button=null,_element_Dialog_Buttons_Next_Button=null,_element_Dialog_IsHint=!1,_element_Dialog_Move_Original_X=0,_element_Dialog_Move_Original_Y=0,_element_Dialog_Move_IsMoving=!1,_element_Dialog_Move_X=0,_element_Dialog_Move_Y=0;function setupDefaultGroup(e=null){_groups=Default.getObject(e,{}),_groups[Constant.DEFAULT_GROUP]={json:{},keys:[],position:0}}function setupNewGroup(e){_groups.hasOwnProperty(e)||(_groups[e]={json:{},keys:[],position:0})}function getGroupBindingOptions(){return _groups[_groups_Current].json[_groups[_groups_Current].keys[_groups[_groups_Current].position]]}function isGroupPositionAtEnd(){return _groups[_groups_Current].position===_groups[_groups_Current].keys.length-1}function renderDialog(){_element_Dialog=DomElement.create("div","journey-js-dialog"),_element_Dialog.style.display="none",document.body.appendChild(_element_Dialog),_element_Dialog_Close_Button=DomElement.create("button","close"),_element_Dialog_Close_Button.onclick=()=>onDialogClose(),_element_Dialog.appendChild(_element_Dialog_Close_Button),ToolTip.add(_element_Dialog_Close_Button,_configuration.text.closeButtonToolTipText,_configuration),_element_Dialog_Title=DomElement.create("div","title"),_element_Dialog.appendChild(_element_Dialog_Title),_element_Dialog_Description=DomElement.create("div","description"),_element_Dialog.appendChild(_element_Dialog_Description),_element_Dialog_CheckBox_Container=DomElement.create("div","checkbox-container"),_element_Dialog.appendChild(_element_Dialog_CheckBox_Container),_element_Dialog_CheckBox_Input=DomElement.createCheckBox(_element_Dialog_CheckBox_Container,_configuration.text.doNotShowAgainText),_element_Dialog_CheckBox_Input.onchange=()=>{_configuration.showDoNotShowAgain&&Trigger.customEvent(_configuration.events.onDoNotShowAgainChange,_element_Dialog_CheckBox_Input.checked)},_element_Dialog_ProgressDots=DomElement.create("div","progress-dots"),_element_Dialog.appendChild(_element_Dialog_ProgressDots),_element_Dialog_ProgressBar=DomElement.create("div","progress-bar"),_element_Dialog.appendChild(_element_Dialog_ProgressBar),_element_Dialog_ProgressBar_Percentage=DomElement.create("div","progress-bar-percentage"),_element_Dialog_ProgressBar.appendChild(_element_Dialog_ProgressBar_Percentage),_element_Dialog_ProgressBar_Percentage_Text=DomElement.create("p","progress-bar-percentage-text"),_element_Dialog_ProgressBar_Percentage.appendChild(_element_Dialog_ProgressBar_Percentage_Text),_element_Dialog_Buttons=DomElement.create("div","buttons"),_element_Dialog.appendChild(_element_Dialog_Buttons),_element_Dialog_Buttons_Back_Button=DomElement.create("button","back"),_element_Dialog_Buttons_Back_Button.onclick=onDialogBack,_element_Dialog_Buttons.appendChild(_element_Dialog_Buttons_Back_Button),_element_Dialog_Buttons_Next_Button=DomElement.create("button","next"),_element_Dialog_Buttons_Next_Button.onclick=onDialogNext,_element_Dialog_Buttons.appendChild(_element_Dialog_Buttons_Next_Button),makeDialogMovable()}function onDialogClose(e=!0){let t=!1;if(t=!Is.definedString(_configuration.text.closeDialogConfirmationText)||!e||confirm(_configuration.text.closeDialogConfirmationText),t){const e=getGroupBindingOptions();Is.defined(e)&&Is.defined(e._currentView.element)&&Trigger.customEvent(e.events.onClose,e._currentView.element),removeFocusClassFromLastElement(!1),Disabled.Background.hide(),ToolTip.hide(),_element_Dialog.style.display="none"}}function onDialogBack(){_groups[_groups_Current].position>0&&(removeFocusClassFromLastElement(),_groups[_groups_Current].position--,showDialogAndSetPosition())}function onDialogNext(){if(isGroupPositionAtEnd()){const e=getGroupBindingOptions();onDialogClose(!1),Trigger.customEvent(e.events.onFinish,e._currentView.element)}else removeFocusClassFromLastElement(),_groups[_groups_Current].position++,showDialogAndSetPosition()}function showDialogAndSetPosition(){const e=getGroupBindingOptions();if(Is.defined(e)&&Is.defined(e._currentView.element)){e.showDisabledBackground?Disabled.Background.show():Disabled.Background.hide(),ToolTip.hide(),_element_Dialog_Close_Button.style.display=_configuration.showCloseButton?"block":"none",_configuration_ShortcutKeysEnabled=!0,e._currentView.element.classList.add("journey-js-element-focus"),_configuration.scrollToElements&&e._currentView.element.scrollIntoView();const t=DomElement.getStyleValueByName(e._currentView.element,"position");""!==t&&"static"===t.toLowerCase()&&(_element_Focus_Element_PositionStyle=t,e._currentView.element.style.position="relative"),DomElement.showElementBasedOnCondition(_element_Dialog_CheckBox_Container,_configuration.showDoNotShowAgain),DomElement.showElementBasedOnCondition(_element_Dialog_ProgressDots,_configuration.showProgressDots&&_groups[_groups_Current].keys.length>1),DomElement.showElementBasedOnCondition(_element_Dialog_ProgressBar,_configuration.showProgressBar&&_groups[_groups_Current].keys.length>1),DomElement.showElementBasedOnCondition(_element_Dialog_ProgressBar_Percentage_Text,_configuration.showProgressBarText),DomElement.showElementBasedOnCondition(_element_Dialog_Buttons,_configuration.showButtons),_element_Dialog_Buttons_Back_Button.innerHTML=_configuration.text.backButtonText,_element_Dialog_Buttons_Back_Button.disabled=0===_groups[_groups_Current].position,_groups[_groups_Current].position>=_groups[_groups_Current].keys.length-1?_element_Dialog_Buttons_Next_Button.innerHTML=_configuration.text.finishButtonText:_element_Dialog_Buttons_Next_Button.innerHTML=_configuration.text.nextButtonText,setDialogText(e),setDialogPosition(null,e),buildProcessDots(),setProgressBarPosition(),Trigger.customEvent(e.events.onEnter,e._currentView.element),e.sendClick&&e._currentView.element.click(),e.moveToNextOnClick&&e._currentView.element.addEventListener("click",onDialogNext)}}function setDialogText(e){_element_Dialog_Title.innerHTML="",_configuration.showStepNumbersInTitle&&DomElement.createWithHTML(_element_Dialog_Title,"span","step-number",`${e.order.toString()}.`),Is.definedString(e.title)?DomElement.createWithHTML(_element_Dialog_Title,"span","title",e.title):DomElement.createWithHTML(_element_Dialog_Title,"span","title",""),Is.definedString(e.description)?_element_Dialog_Description.innerHTML=e.description:_element_Dialog_Description.innerHTML=""}function setDialogPosition(e,t){if(_element_Dialog_IsHint=!0===t.isHint,_element_Dialog_IsHint?_element_Dialog.className="journey-js-dialog":t.useLargerDisplay&&"journey-js-dialog"===_element_Dialog.className?_element_Dialog.className="journey-js-dialog-lg":t.useLargerDisplay||"journey-js-dialog-lg"!==_element_Dialog.className||(_element_Dialog.className="journey-js-dialog"),"block"!==_element_Dialog.style.display&&(_element_Dialog.style.display="block",Trigger.customEvent(t.events.onOpen,t._currentView.element)),0===_groups[_groups_Current].position&&Trigger.customEvent(t.events.onStart,t._currentView.element),t.attach||t.isHint)if(t.isHint&&t.alignHintToClickPosition)DomElement.showElementAtMousePosition(e,_element_Dialog,_configuration.hintClickPositionOffset);else{const e=DomElement.getOffset(t._currentView.element);let o=e.top+t._currentView.element.offsetHeight,n=e.left;n+_element_Dialog.offsetWidth>window.innerWidth||t.alignRight?(n-=_element_Dialog.offsetWidth,n+=t._currentView.element.offsetWidth,n-=t.offset):n+=t.offset,o+_element_Dialog.offsetHeight>window.innerHeight||t.alignTop?(o-=_element_Dialog.offsetHeight+t._currentView.element.offsetHeight,o-=t.offset):o+=t.offset,_element_Dialog.style.top=`${o}px`,_element_Dialog.style.left=`${n}px`}else{const e=DomElement.getScrollPosition(),t=Math.max(0,(window.innerWidth-_element_Dialog.offsetWidth)/2+e.left),o=Math.max(0,(window.innerHeight-_element_Dialog.offsetHeight)/2+e.top);_element_Dialog.style.left=`${t}px`,_element_Dialog.style.top=`${o}px`}}function removeFocusClassFromLastElement(e=!0){const t=getGroupBindingOptions();Is.defined(t)&&Is.defined(t._currentView.element)&&(t._currentView.element.classList.remove("journey-js-element-focus"),t.moveToNextOnClick&&t._currentView.element.removeEventListener("click",onDialogNext),Is.defined(_element_Focus_Element_PositionStyle)&&(t._currentView.element.style.position=_element_Focus_Element_PositionStyle),e&&Trigger.customEvent(t.events.onLeave,t._currentView.element))}function buildProcessDots(){if(_element_Dialog_ProgressDots.innerHTML="",_configuration.showProgressDots){const e=_groups[_groups_Current].keys.length;for(let t=0;t{removeFocusClassFromLastElement(),_groups[_groups_Current].position=e,showDialogAndSetPosition()}),_element_Dialog_ProgressDots.appendChild(n),_configuration.showProgressDotToolTips&&(Is.definedString(o.tooltip)?ToolTip.add(n,o.tooltip,_configuration):ToolTip.add(n,o.title,_configuration)),_configuration.showProgressDotNumbers&&(n.classList.add("dot-number"),n.innerHTML=(e+1).toString())}function setProgressBarPosition(){if(_configuration.showProgressBar){const e=_element_Dialog_ProgressBar.offsetWidth/_groups[_groups_Current].keys.length,t=(_groups[_groups_Current].position+1)*e,o=Math.ceil((_groups[_groups_Current].position+1)/_groups[_groups_Current].keys.length*100);_element_Dialog_ProgressBar_Percentage.style.width=`${t}px`,_element_Dialog_ProgressBar_Percentage_Text.innerHTML=`${o}%`}}function makeDialogMovable(){_element_Dialog_Title.onmousedown=onMoveTitleBarMouseDown,_element_Dialog_Title.onmouseup=onMoveTitleBarMouseUp,_element_Dialog_Title.oncontextmenu=onMoveTitleBarMouseUp,document.body.addEventListener("mousemove",onMoveDocumentMouseMove),document.body.addEventListener("mouseleave",onMoveDocumentMouseLeave)}function onMoveTitleBarMouseDown(e){_element_Dialog_Move_IsMoving||_element_Dialog_IsHint||!_configuration.dialogMovingEnabled||(_element_Dialog.classList.add("journey-js-dialog-moving"),_element_Dialog_Move_IsMoving=!0,_element_Dialog_Move_X=e.pageX-_element_Dialog.offsetLeft,_element_Dialog_Move_Y=e.pageY-_element_Dialog.offsetTop,_element_Dialog_Move_Original_X=_element_Dialog.offsetLeft,_element_Dialog_Move_Original_Y=_element_Dialog.offsetTop)}function onMoveTitleBarMouseUp(){_element_Dialog_Move_IsMoving&&(_element_Dialog_Move_IsMoving=!1,_element_Dialog_Move_Original_X=0,_element_Dialog_Move_Original_Y=0,_element_Dialog.className="journey-js-dialog")}function onMoveDocumentMouseMove(e){_element_Dialog_Move_IsMoving&&(_element_Dialog.style.left=e.pageX-_element_Dialog_Move_X+"px",_element_Dialog.style.top=e.pageY-_element_Dialog_Move_Y+"px")}function onMoveDocumentMouseLeave(){_element_Dialog_Move_IsMoving&&(_element_Dialog.style.left=`${_element_Dialog_Move_Original_X}px`,_element_Dialog.style.top=`${_element_Dialog_Move_Original_Y}px`,_element_Dialog_Move_IsMoving=!1,_element_Dialog_Move_Original_X=0,_element_Dialog_Move_Original_Y=0,_element_Dialog.className="journey-js-dialog")}function getElements(){const e=_configuration.domElementTypes,t=e.length;for(let o=0;o{DomElement.cancelBubble(t),_element_Dialog_CheckBox_Container.style.display="none",_element_Dialog_ProgressDots.style.display="none",_element_Dialog_ProgressBar.style.display="none",_element_Dialog_Buttons.style.display="none",_configuration_ShortcutKeysEnabled=!1,setDialogText(e),setDialogPosition(t,e),e.removeHintWhenViewed&&DomElement.clearElementsByClassName(e._currentView.element,"journey-js-hint")}}function buildDocumentEvents(e=!0){const t=e?document.addEventListener:document.removeEventListener,o=e?window.addEventListener:window.removeEventListener;_configuration.shortcutKeysEnabled&&t("keydown",onWindowKeyDown),o("resize",onWindowResize)}function onWindowKeyDown(e){_public.isOpen()&&_configuration.shortcutKeysEnabled&&("Escape"===e.code?(e.preventDefault(),onDialogClose()):_configuration_ShortcutKeysEnabled&&("ArrowLeft"===e.code?(e.preventDefault(),onDialogBack()):"ArrowRight"===e.code?(e.preventDefault(),onDialogNext()):"ArrowUp"===e.code?(e.preventDefault(),onWindowKeyCodeUp()):"ArrowDown"===e.code&&(e.preventDefault(),onWindowKeyCodeDown())))}function onWindowResize(){_public.isOpen()&&showDialogAndSetPosition()}function onWindowKeyCodeUp(){0!==_groups[_groups_Current].position&&(removeFocusClassFromLastElement(),_groups[_groups_Current].position=0,showDialogAndSetPosition())}function onWindowKeyCodeDown(){_groups[_groups_Current].position!==_groups[_groups_Current].keys.length-1&&(removeFocusClassFromLastElement(),_groups[_groups_Current].position=_groups[_groups_Current].keys.length-1,showDialogAndSetPosition())}function getBrowserUrlParameters(){let e=!1;if(_configuration.browserUrlParametersEnabled){const t=getBrowserUrlArguments(window.location.href);if(Is.defined(t.sjOrderId)){const e=parseInt(t.sjOrderId,10);!isNaN(e)&&e<=_groups[_groups_Current].keys.length-1&&(_groups[_groups_Current].position=e)}Is.defined(t.sjShow)&&(e="true"===t.sjShow)}return e}function getBrowserUrlArguments(e){const t={},o=e.split("?");if(o.length>1){const e=o[1].split("&"),n=e.length;for(let o=0;o=_groups[_groups_Current].keys.length-1},addDocumentSteps:function(){return getElements(),_public},addStep:function(e,t){return Is.definedObject(e)&&Is.definedObject(t)&&(setupElement(e,Binding.Options.get(t)),_groups[_groups_Current].keys.sort(),resetDialogPosition()),_public},removeStep:function(e){if(Is.definedObject(e)){let t=!1;for(let o in _groups)if(_groups.hasOwnProperty(o))for(let n in _groups[o].json)if(_groups[o].json.hasOwnProperty(n)){const i=_groups[o].json[n];if(i._currentView.element===e){Trigger.customEvent(i.events.onRemoveStep,i._currentView.element),_groups[o].keys.splice(_groups[o].keys.indexOf(i.order),1),delete _groups[o].json[i.order],_groups[o].keys.sort(),t=!0;break}}t?resetDialogPosition():DomElement.clearElementsByClassName(e,"journey-js-hint")}return _public},clearSteps:function(e=""){resetDialogPosition();for(let t in _groups)if(_groups.hasOwnProperty(t)&&(!Is.definedString(e)||e===t))for(let e in _groups[t].json)if(_groups[t].json.hasOwnProperty(e)){const o=_groups[t].json[e];Trigger.customEvent(o.events.onRemoveStep,o._currentView.element)}return Is.definedString(e)?_groups.hasOwnProperty(e)&&delete _groups[e]:_groups={},Is.definedString(e)&&e!==Constant.DEFAULT_GROUP||setupDefaultGroup(_groups),_public},clearHints:function(){return DomElement.clearElementsByClassName(document.body,"journey-js-hint"),_public},reverseStepOrder:function(){return _groups[_groups_Current].keys.reverse(),resetDialogPosition(),_public},setConfiguration:function(e){if(Is.definedObject(e)){let t=!1;const o=_configuration;for(let n in e)e.hasOwnProperty(n)&&_configuration.hasOwnProperty(n)&&o[n]!==e[n]&&(o[n]=e[n],t=!0);t&&(_configuration=Config.Options.get(o))}return _public},getVersion:function(){return"2.2.0"}};_configuration=Config.Options.get(),document.addEventListener("DOMContentLoaded",(()=>{setupDefaultGroup(),Disabled.Background.render(_configuration,onDialogClose),renderDialog(),ToolTip.render(),getElements(),buildDocumentEvents(),getBrowserUrlParameters()&&_public.show()})),Is.defined(window.$journey)||(window.$journey=_public)})(); \ No newline at end of file diff --git a/dist/translations/journey.translations.af.js b/dist/translations/journey.translations.af.js index 29b248e..7a5e66a 100644 --- a/dist/translations/journey.translations.af.js +++ b/dist/translations/journey.translations.af.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Afrikaans | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Afrikaans | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Terug", diff --git a/dist/translations/journey.translations.ar.js b/dist/translations/journey.translations.ar.js index d1d5016..3441b9a 100644 --- a/dist/translations/journey.translations.ar.js +++ b/dist/translations/journey.translations.ar.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Arabic | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Arabic | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "خلف", diff --git a/dist/translations/journey.translations.be.js b/dist/translations/journey.translations.be.js index f3c868b..67e8351 100644 --- a/dist/translations/journey.translations.be.js +++ b/dist/translations/journey.translations.be.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Belarusian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Belarusian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Назад", diff --git a/dist/translations/journey.translations.bg.js b/dist/translations/journey.translations.bg.js index a584488..88d831b 100644 --- a/dist/translations/journey.translations.bg.js +++ b/dist/translations/journey.translations.bg.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Bulgarian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Bulgarian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "обратно", diff --git a/dist/translations/journey.translations.bn.js b/dist/translations/journey.translations.bn.js index 5024899..dcebfa8 100644 --- a/dist/translations/journey.translations.bn.js +++ b/dist/translations/journey.translations.bn.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Bengali | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Bengali | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "পেছনে", diff --git a/dist/translations/journey.translations.ca.js b/dist/translations/journey.translations.ca.js index 8020c21..92cb50b 100644 --- a/dist/translations/journey.translations.ca.js +++ b/dist/translations/journey.translations.ca.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Catalan | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Catalan | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "esquena", diff --git a/dist/translations/journey.translations.da.js b/dist/translations/journey.translations.da.js index a87d43c..a8d218e 100644 --- a/dist/translations/journey.translations.da.js +++ b/dist/translations/journey.translations.da.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Danish | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Danish | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Tilbage", diff --git a/dist/translations/journey.translations.de.js b/dist/translations/journey.translations.de.js index 688a184..c625330 100644 --- a/dist/translations/journey.translations.de.js +++ b/dist/translations/journey.translations.de.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - German | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - German | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Zurück", diff --git a/dist/translations/journey.translations.el.js b/dist/translations/journey.translations.el.js index fb4d42f..0b2bf1e 100644 --- a/dist/translations/journey.translations.el.js +++ b/dist/translations/journey.translations.el.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Greek | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Greek | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Πίσω", diff --git a/dist/translations/journey.translations.en.js b/dist/translations/journey.translations.en.js index 7e03893..7df3b98 100644 --- a/dist/translations/journey.translations.en.js +++ b/dist/translations/journey.translations.en.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - English | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - English | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Back", diff --git a/dist/translations/journey.translations.eo.js b/dist/translations/journey.translations.eo.js index eecfc94..a4d1c8a 100644 --- a/dist/translations/journey.translations.eo.js +++ b/dist/translations/journey.translations.eo.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Esperanto | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Esperanto | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Reen", diff --git a/dist/translations/journey.translations.es.js b/dist/translations/journey.translations.es.js index 7afc0d0..051cbd2 100644 --- a/dist/translations/journey.translations.es.js +++ b/dist/translations/journey.translations.es.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Spanish | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Spanish | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Atrás", diff --git a/dist/translations/journey.translations.et.js b/dist/translations/journey.translations.et.js index 08e722c..40d6290 100644 --- a/dist/translations/journey.translations.et.js +++ b/dist/translations/journey.translations.et.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Estonian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Estonian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "tagasi", diff --git a/dist/translations/journey.translations.fa.js b/dist/translations/journey.translations.fa.js index aa49319..5885593 100644 --- a/dist/translations/journey.translations.fa.js +++ b/dist/translations/journey.translations.fa.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Farsi | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Farsi | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "بازگشت", diff --git a/dist/translations/journey.translations.fi.js b/dist/translations/journey.translations.fi.js index 689a665..d83db00 100644 --- a/dist/translations/journey.translations.fi.js +++ b/dist/translations/journey.translations.fi.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Finnish | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Finnish | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Takaisin", diff --git a/dist/translations/journey.translations.fr.js b/dist/translations/journey.translations.fr.js index 59885ac..3a1e9a7 100644 --- a/dist/translations/journey.translations.fr.js +++ b/dist/translations/journey.translations.fr.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - French | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - French | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Dos", diff --git a/dist/translations/journey.translations.fy.js b/dist/translations/journey.translations.fy.js index ea39281..ec7624c 100644 --- a/dist/translations/journey.translations.fy.js +++ b/dist/translations/journey.translations.fy.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Frisian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Frisian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Efter", diff --git a/dist/translations/journey.translations.ga.js b/dist/translations/journey.translations.ga.js index d9ec4b8..6db580b 100644 --- a/dist/translations/journey.translations.ga.js +++ b/dist/translations/journey.translations.ga.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Irish | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Irish | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Ar ais", diff --git a/dist/translations/journey.translations.gl.js b/dist/translations/journey.translations.gl.js index ee33407..c3d2b32 100644 --- a/dist/translations/journey.translations.gl.js +++ b/dist/translations/journey.translations.gl.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Galician | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Galician | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "De volta", diff --git a/dist/translations/journey.translations.he.js b/dist/translations/journey.translations.he.js index d2a1539..ccb3ddc 100644 --- a/dist/translations/journey.translations.he.js +++ b/dist/translations/journey.translations.he.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Hebrew | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Hebrew | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "חזור", diff --git a/dist/translations/journey.translations.hi.js b/dist/translations/journey.translations.hi.js index 34cd55e..92c5a93 100644 --- a/dist/translations/journey.translations.hi.js +++ b/dist/translations/journey.translations.hi.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Hindi | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Hindi | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "पीछे", diff --git a/dist/translations/journey.translations.hu.js b/dist/translations/journey.translations.hu.js index 27e7912..a0449a7 100644 --- a/dist/translations/journey.translations.hu.js +++ b/dist/translations/journey.translations.hu.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Hungarian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Hungarian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Vissza", diff --git a/dist/translations/journey.translations.hy.js b/dist/translations/journey.translations.hy.js index d3d8920..09e095a 100644 --- a/dist/translations/journey.translations.hy.js +++ b/dist/translations/journey.translations.hy.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Armenian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Armenian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Ետ", diff --git a/dist/translations/journey.translations.id.js b/dist/translations/journey.translations.id.js index 7c39cba..eae331a 100644 --- a/dist/translations/journey.translations.id.js +++ b/dist/translations/journey.translations.id.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Indonesian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Indonesian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Kembali", diff --git a/dist/translations/journey.translations.is.js b/dist/translations/journey.translations.is.js index 4dce2b9..5a45a7f 100644 --- a/dist/translations/journey.translations.is.js +++ b/dist/translations/journey.translations.is.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Icelandic | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Icelandic | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Til baka", diff --git a/dist/translations/journey.translations.it.js b/dist/translations/journey.translations.it.js index 10287ca..d31678b 100644 --- a/dist/translations/journey.translations.it.js +++ b/dist/translations/journey.translations.it.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Italian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Italian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Indietro", diff --git a/dist/translations/journey.translations.ja.js b/dist/translations/journey.translations.ja.js index 16c402c..f2ce3b9 100644 --- a/dist/translations/journey.translations.ja.js +++ b/dist/translations/journey.translations.ja.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Japanese | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Japanese | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "戻る", diff --git a/dist/translations/journey.translations.ka.js b/dist/translations/journey.translations.ka.js index b47d9ce..ad9ad9d 100644 --- a/dist/translations/journey.translations.ka.js +++ b/dist/translations/journey.translations.ka.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Georgian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Georgian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "უკან", diff --git a/dist/translations/journey.translations.ko.js b/dist/translations/journey.translations.ko.js index aa76960..933d479 100644 --- a/dist/translations/journey.translations.ko.js +++ b/dist/translations/journey.translations.ko.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Korean | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Korean | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "뒤쪽에", diff --git a/dist/translations/journey.translations.lb.js b/dist/translations/journey.translations.lb.js index 88e5d0c..7d34bf2 100644 --- a/dist/translations/journey.translations.lb.js +++ b/dist/translations/journey.translations.lb.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Luxembourgish | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Luxembourgish | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Zréck", diff --git a/dist/translations/journey.translations.lt.js b/dist/translations/journey.translations.lt.js index aebd0b8..c4a350f 100644 --- a/dist/translations/journey.translations.lt.js +++ b/dist/translations/journey.translations.lt.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Lithuanian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Lithuanian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Atgal", diff --git a/dist/translations/journey.translations.lv.js b/dist/translations/journey.translations.lv.js index dec8a23..268e42c 100644 --- a/dist/translations/journey.translations.lv.js +++ b/dist/translations/journey.translations.lv.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Latvian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Latvian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Atpakaļ", diff --git a/dist/translations/journey.translations.ms.js b/dist/translations/journey.translations.ms.js index 9bd979d..5bd27ce 100644 --- a/dist/translations/journey.translations.ms.js +++ b/dist/translations/journey.translations.ms.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Malay | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Malay | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "belakang", diff --git a/dist/translations/journey.translations.ne.js b/dist/translations/journey.translations.ne.js index 12b0950..249856d 100644 --- a/dist/translations/journey.translations.ne.js +++ b/dist/translations/journey.translations.ne.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Nepali | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Nepali | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "पछाडि", diff --git a/dist/translations/journey.translations.nl.js b/dist/translations/journey.translations.nl.js index 23fc5bc..76dde6f 100644 --- a/dist/translations/journey.translations.nl.js +++ b/dist/translations/journey.translations.nl.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Dutch | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Dutch | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Rug", diff --git a/dist/translations/journey.translations.no.js b/dist/translations/journey.translations.no.js index fbd2ac1..d85429c 100644 --- a/dist/translations/journey.translations.no.js +++ b/dist/translations/journey.translations.no.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Norwegian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Norwegian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Tilbake", diff --git a/dist/translations/journey.translations.pl.js b/dist/translations/journey.translations.pl.js index ef249db..997acec 100644 --- a/dist/translations/journey.translations.pl.js +++ b/dist/translations/journey.translations.pl.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Portuguese | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Portuguese | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Z powrotem", diff --git a/dist/translations/journey.translations.pt.js b/dist/translations/journey.translations.pt.js index a1f98c7..2e13bd8 100644 --- a/dist/translations/journey.translations.pt.js +++ b/dist/translations/journey.translations.pt.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Polish | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Polish | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Voltar", diff --git a/dist/translations/journey.translations.ro.js b/dist/translations/journey.translations.ro.js index af87a76..ff37780 100644 --- a/dist/translations/journey.translations.ro.js +++ b/dist/translations/journey.translations.ro.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Romanian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Romanian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Înapoi", diff --git a/dist/translations/journey.translations.si.js b/dist/translations/journey.translations.si.js index 119708c..2e0c124 100644 --- a/dist/translations/journey.translations.si.js +++ b/dist/translations/journey.translations.si.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Sinhalese | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Sinhalese | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "ආපසු", diff --git a/dist/translations/journey.translations.sk.js b/dist/translations/journey.translations.sk.js index 8e80c6c..0fca67e 100644 --- a/dist/translations/journey.translations.sk.js +++ b/dist/translations/journey.translations.sk.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Slovak | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Slovak | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "späť", diff --git a/dist/translations/journey.translations.sl.js b/dist/translations/journey.translations.sl.js index 0d29555..696d5fc 100644 --- a/dist/translations/journey.translations.sl.js +++ b/dist/translations/journey.translations.sl.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Slovenian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Slovenian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Nazaj", diff --git a/dist/translations/journey.translations.sv.js b/dist/translations/journey.translations.sv.js index de0fe90..fb18469 100644 --- a/dist/translations/journey.translations.sv.js +++ b/dist/translations/journey.translations.sv.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Swedish | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Swedish | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Tillbaka", diff --git a/dist/translations/journey.translations.ta.js b/dist/translations/journey.translations.ta.js index 593eedf..35f50ae 100644 --- a/dist/translations/journey.translations.ta.js +++ b/dist/translations/journey.translations.ta.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Tamil | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Tamil | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "மீண்டும்", diff --git a/dist/translations/journey.translations.te.js b/dist/translations/journey.translations.te.js index f754886..96845ea 100644 --- a/dist/translations/journey.translations.te.js +++ b/dist/translations/journey.translations.te.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Telugu | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Telugu | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "వెనుకకు", diff --git a/dist/translations/journey.translations.th.js b/dist/translations/journey.translations.th.js index 31120dd..96fe7b5 100644 --- a/dist/translations/journey.translations.th.js +++ b/dist/translations/journey.translations.th.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Thai | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Thai | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "กลับ", diff --git a/dist/translations/journey.translations.tl.js b/dist/translations/journey.translations.tl.js index af6539f..79280cd 100644 --- a/dist/translations/journey.translations.tl.js +++ b/dist/translations/journey.translations.tl.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Tagalog | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Tagalog | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Bumalik", diff --git a/dist/translations/journey.translations.tr.js b/dist/translations/journey.translations.tr.js index 9da7a23..0a3a384 100644 --- a/dist/translations/journey.translations.tr.js +++ b/dist/translations/journey.translations.tr.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Turkish | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Turkish | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Geri", diff --git a/dist/translations/journey.translations.uk.js b/dist/translations/journey.translations.uk.js index c0f2c92..60c5ab8 100644 --- a/dist/translations/journey.translations.uk.js +++ b/dist/translations/journey.translations.uk.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Ukrainian | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Ukrainian | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "Назад", diff --git a/dist/translations/journey.translations.zh-tw.js b/dist/translations/journey.translations.zh-tw.js index d5c769e..f88936c 100644 --- a/dist/translations/journey.translations.zh-tw.js +++ b/dist/translations/journey.translations.zh-tw.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Taiwanese | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Taiwanese | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "後退", diff --git a/dist/translations/journey.translations.zh.js b/dist/translations/journey.translations.zh.js index 2420b4e..24e4809 100644 --- a/dist/translations/journey.translations.zh.js +++ b/dist/translations/journey.translations.zh.js @@ -1,4 +1,4 @@ -/*! Journey.js v2.1.0 - Chinese (simplified) | (c) Bunoon 2024 | MIT License */ +/*! Journey.js v2.2.0 - Chinese (simplified) | (c) Bunoon 2024 | MIT License */ $journey.setConfiguration( { "text": { "backButtonText": "后退", diff --git a/journey.js.nuspec b/journey.js.nuspec index c219cb7..67eac3d 100644 --- a/journey.js.nuspec +++ b/journey.js.nuspec @@ -2,7 +2,7 @@ jJourney.js - 2.1.0 + 2.2.0 Journey.js A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! William Troup @@ -15,6 +15,6 @@ William Troup - + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 9d69388..5d7409d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,19 @@ { "name": "jjourney.js", - "version": "2.1.0", + "version": "2.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "jjourney.js", - "version": "2.1.0", + "version": "2.2.0", "license": "MIT", "devDependencies": { - "@swc/core": "^1.7.0", - "sass": "^1.77.8", - "terser": "^5.31.3", - "tsup": "^8.2.0", - "typescript": "^5.5.3" + "@swc/core": "^1.7.23", + "sass": "^1.78.0", + "terser": "^5.31.6", + "tsup": "^8.2.4", + "typescript": "^5.5.4" } }, "node_modules/@esbuild/aix-ppc64": { @@ -556,9 +556,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.1.tgz", - "integrity": "sha512-lncuC4aHicncmbORnx+dUaAgzee9cm/PbIqgWz1PpXuwc+sa1Ct83tnqUDy/GFKleLiN7ZIeytM6KJ4cAn1SxA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.2.tgz", + "integrity": "sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==", "cpu": [ "arm" ], @@ -570,9 +570,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.1.tgz", - "integrity": "sha512-F/tkdw0WSs4ojqz5Ovrw5r9odqzFjb5LIgHdHZG65dFI1lWTWRVy32KDJLKRISHgJvqUeUhdIvy43fX41znyDg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.2.tgz", + "integrity": "sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==", "cpu": [ "arm64" ], @@ -584,9 +584,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.1.tgz", - "integrity": "sha512-vk+ma8iC1ebje/ahpxpnrfVQJibTMyHdWpOGZ3JpQ7Mgn/3QNHmPq7YwjZbIE7km73dH5M1e6MRRsnEBW7v5CQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.2.tgz", + "integrity": "sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==", "cpu": [ "arm64" ], @@ -598,9 +598,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.1.tgz", - "integrity": "sha512-IgpzXKauRe1Tafcej9STjSSuG0Ghu/xGYH+qG6JwsAUxXrnkvNHcq/NL6nz1+jzvWAnQkuAJ4uIwGB48K9OCGA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.2.tgz", + "integrity": "sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==", "cpu": [ "x64" ], @@ -612,9 +612,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.1.tgz", - "integrity": "sha512-P9bSiAUnSSM7EmyRK+e5wgpqai86QOSv8BwvkGjLwYuOpaeomiZWifEos517CwbG+aZl1T4clSE1YqqH2JRs+g==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.2.tgz", + "integrity": "sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==", "cpu": [ "arm" ], @@ -626,9 +626,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.1.tgz", - "integrity": "sha512-5RnjpACoxtS+aWOI1dURKno11d7krfpGDEn19jI8BuWmSBbUC4ytIADfROM1FZrFhQPSoP+KEa3NlEScznBTyQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.2.tgz", + "integrity": "sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==", "cpu": [ "arm" ], @@ -640,9 +640,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.1.tgz", - "integrity": "sha512-8mwmGD668m8WaGbthrEYZ9CBmPug2QPGWxhJxh/vCgBjro5o96gL04WLlg5BA233OCWLqERy4YUzX3bJGXaJgQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.2.tgz", + "integrity": "sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==", "cpu": [ "arm64" ], @@ -654,9 +654,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.1.tgz", - "integrity": "sha512-dJX9u4r4bqInMGOAQoGYdwDP8lQiisWb9et+T84l2WXk41yEej8v2iGKodmdKimT8cTAYt0jFb+UEBxnPkbXEQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.2.tgz", + "integrity": "sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==", "cpu": [ "arm64" ], @@ -668,9 +668,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.1.tgz", - "integrity": "sha512-V72cXdTl4EI0x6FNmho4D502sy7ed+LuVW6Ym8aI6DRQ9hQZdp5sj0a2usYOlqvFBNKQnLQGwmYnujo2HvjCxQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.2.tgz", + "integrity": "sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==", "cpu": [ "ppc64" ], @@ -682,9 +682,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.1.tgz", - "integrity": "sha512-f+pJih7sxoKmbjghrM2RkWo2WHUW8UbfxIQiWo5yeCaCM0TveMEuAzKJte4QskBp1TIinpnRcxkquY+4WuY/tg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.2.tgz", + "integrity": "sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==", "cpu": [ "riscv64" ], @@ -696,9 +696,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.1.tgz", - "integrity": "sha512-qb1hMMT3Fr/Qz1OKovCuUM11MUNLUuHeBC2DPPAWUYYUAOFWaxInaTwTQmc7Fl5La7DShTEpmYwgdt2hG+4TEg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.2.tgz", + "integrity": "sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==", "cpu": [ "s390x" ], @@ -710,9 +710,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.1.tgz", - "integrity": "sha512-7O5u/p6oKUFYjRbZkL2FLbwsyoJAjyeXHCU3O4ndvzg2OFO2GinFPSJFGbiwFDaCFc+k7gs9CF243PwdPQFh5g==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.2.tgz", + "integrity": "sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==", "cpu": [ "x64" ], @@ -724,9 +724,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.1.tgz", - "integrity": "sha512-pDLkYITdYrH/9Cv/Vlj8HppDuLMDUBmgsM0+N+xLtFd18aXgM9Nyqupb/Uw+HeidhfYg2lD6CXvz6CjoVOaKjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.2.tgz", + "integrity": "sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==", "cpu": [ "x64" ], @@ -738,9 +738,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.1.tgz", - "integrity": "sha512-W2ZNI323O/8pJdBGil1oCauuCzmVd9lDmWBBqxYZcOqWD6aWqJtVBQ1dFrF4dYpZPks6F+xCZHfzG5hYlSHZ6g==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.2.tgz", + "integrity": "sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==", "cpu": [ "arm64" ], @@ -752,9 +752,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.1.tgz", - "integrity": "sha512-ELfEX1/+eGZYMaCIbK4jqLxO1gyTSOIlZr6pbC4SRYFaSIDVKOnZNMdoZ+ON0mrFDp4+H5MhwNC1H/AhE3zQLg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.2.tgz", + "integrity": "sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==", "cpu": [ "ia32" ], @@ -766,9 +766,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.1.tgz", - "integrity": "sha512-yjk2MAkQmoaPYCSu35RLJ62+dz358nE83VfTePJRp8CG7aMg25mEJYpXFiD+NcevhX8LxD5OP5tktPXnXN7GDw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.2.tgz", + "integrity": "sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==", "cpu": [ "x64" ], @@ -780,15 +780,15 @@ ] }, "node_modules/@swc/core": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.7.0.tgz", - "integrity": "sha512-d4vMzH6ICllDwlPuhset2h8gu/USHdbyfJim+2hQEdxC0UONtfpmu38XBgNqRjStrji1Q5M10jfeUZL3cu1i8g==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.7.23.tgz", + "integrity": "sha512-VDNkpDvDlreGh2E3tlDj8B3piiuLhhQA/7rIVZpiLUvG1YpucAa6N7iDXA7Gc/+Hah8spaCg/qvEaBkCmcIYCQ==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "@swc/counter": "^0.1.3", - "@swc/types": "^0.1.9" + "@swc/types": "^0.1.12" }, "engines": { "node": ">=10" @@ -798,16 +798,16 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.7.0", - "@swc/core-darwin-x64": "1.7.0", - "@swc/core-linux-arm-gnueabihf": "1.7.0", - "@swc/core-linux-arm64-gnu": "1.7.0", - "@swc/core-linux-arm64-musl": "1.7.0", - "@swc/core-linux-x64-gnu": "1.7.0", - "@swc/core-linux-x64-musl": "1.7.0", - "@swc/core-win32-arm64-msvc": "1.7.0", - "@swc/core-win32-ia32-msvc": "1.7.0", - "@swc/core-win32-x64-msvc": "1.7.0" + "@swc/core-darwin-arm64": "1.7.23", + "@swc/core-darwin-x64": "1.7.23", + "@swc/core-linux-arm-gnueabihf": "1.7.23", + "@swc/core-linux-arm64-gnu": "1.7.23", + "@swc/core-linux-arm64-musl": "1.7.23", + "@swc/core-linux-x64-gnu": "1.7.23", + "@swc/core-linux-x64-musl": "1.7.23", + "@swc/core-win32-arm64-msvc": "1.7.23", + "@swc/core-win32-ia32-msvc": "1.7.23", + "@swc/core-win32-x64-msvc": "1.7.23" }, "peerDependencies": { "@swc/helpers": "*" @@ -819,9 +819,9 @@ } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.0.tgz", - "integrity": "sha512-2ylhM7f0HwUwLrFYZAe/dse8PCbPsYcJS3Dt7Q8NT3PUn7vy6QOMxNcOPPuDrnmaXqQQO3oxdmRapguTxaat9g==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.23.tgz", + "integrity": "sha512-yyOHPfti6yKlQulfVWMt7BVKst+SyEZYCWuQSGMn1KgmNCH/bYufRWfQXIhkGSj44ZkEepJmsJ8tDyIb4k5WyA==", "cpu": [ "arm64" ], @@ -836,9 +836,9 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.7.0.tgz", - "integrity": "sha512-SgVnN4gT1Rb9YfTkp4FCUITqSs7Yj0uB2SUciu5CV3HuGvS5YXCUzh+KrwpLFtx8NIgivISKcNnb41mJi98X8Q==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.7.23.tgz", + "integrity": "sha512-GzqHwQ0Y1VyjdI/bBKFX2GKm5HD3PIB6OhuAQtWZMTtEr2yIrlT0YK2T+XKh7oIg31JwxGBeQdBk3KTI7DARmQ==", "cpu": [ "x64" ], @@ -853,9 +853,9 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.0.tgz", - "integrity": "sha512-+Z9Dayart1iKJQEJJ9N/KS4z5EdXJE3WPFikY0jonKTo4Dd8RuyVz5yLvqcIMeVdz/SwximATaL6iJXw7hZS9A==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.23.tgz", + "integrity": "sha512-qwX4gB41OS6/OZkHcpTqLFGsdmvoZyffnJIlgB/kZKwH3lfeJWzv6vx57zXtNpM/t7GoQEe0VZUVdmNjxSxBZw==", "cpu": [ "arm" ], @@ -870,9 +870,9 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.0.tgz", - "integrity": "sha512-UnLrCiZ1EI4shznJn0xP6DLgsXUSwtfsdgHhGYCrvbgVBBve3S9iFgVFEB3SPl7Q/TdowNbrN4zHU0oChfiNfw==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.23.tgz", + "integrity": "sha512-TsrbUZdMaUwzI7+g/8rHPLWbntMKYSu5Bn5IBSqVKPeyqaXxNnlIUnWXgXcUcRAc+T+Y8ADfr7EiFz9iz5DuSA==", "cpu": [ "arm64" ], @@ -887,9 +887,9 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.0.tgz", - "integrity": "sha512-H724UANA+ptsfwKRr9mnaDa9cb5fw0oFysiGKTgb3DMYcgk3Od0jMTnXVPFSVpo7FlmyxeC9K8ueUPBOoOK6XA==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.23.tgz", + "integrity": "sha512-JEdtwdthazKq4PBz53KSubwwK8MvqODAihGSAzc8u3Unq4ojcvaS8b0CwLBeD+kTQ78HpxOXTt3DsFIxpgaCAA==", "cpu": [ "arm64" ], @@ -904,9 +904,9 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.0.tgz", - "integrity": "sha512-SY3HA0K0Dpqt1HIfMLGpwL4hd4UaL2xHP5oZXPlRQPhUDZrbb4PbI3ZJnh66c63eL4ZR8EJ+HRFI0Alx5p69Zw==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.23.tgz", + "integrity": "sha512-V51gFPWaVAHbI1yg9ahsoya3aB4uawye3SZ5uQWgcP7wdCdiv60dw4F5nuPJf5Z1oXD3U/BslXuamv8Oh9vXqQ==", "cpu": [ "x64" ], @@ -921,9 +921,9 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.0.tgz", - "integrity": "sha512-cEJ2ebtV1v/5Ilb55E05J6F5SrHKQWzUttIhR5Mkayyo+yvPslcpByuFC3D+J7X1ebziTOBpWuMpUdjLfh3SMQ==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.23.tgz", + "integrity": "sha512-BBqQi4+UdeRqag3yM4IJjaHG4yc1o3l9ksENHToE0o/u2DT0FY5+K/DiYGZLC1JHbSFzNqRCYsa7DIzRtZ0A1A==", "cpu": [ "x64" ], @@ -938,9 +938,9 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.0.tgz", - "integrity": "sha512-ecQOOmzEssz+m0pR4xDYCGuvn3E/l0nQ3tk5jp1NA1lsAy4bMV0YbYCHjptYvWL/UjhIerIp3IlCJ8x5DodSog==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.23.tgz", + "integrity": "sha512-JPk6pvCKncL6bXG7p+NLZf8PWx4FakVvKNdwGeMrYunb+yk1IZf7qf9LJk8+GDGF5QviDXPs8opZrTrfsW80fA==", "cpu": [ "arm64" ], @@ -955,9 +955,9 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.0.tgz", - "integrity": "sha512-gz81seZkRn3zMnVOc7L5k6F4vQC82gIxmHiL+GedK+A37XI/X26AASU3zxvORnqQbwQYXQ+AEVckxBmFlz3v2g==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.23.tgz", + "integrity": "sha512-2Whxi8d+bLQBzJcQ5qYPHlk02YYVGsMVav0fWk+FnX2z1QRREIu1L1xvrpi7gBpjXp6BIU40ya8GiKeekNT2bg==", "cpu": [ "ia32" ], @@ -972,9 +972,9 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.0.tgz", - "integrity": "sha512-b5Fd1xEOw9uqBpj2lqsaR4Iq9UhiL84hNDcEsi6DQA7Y1l85waQAslTbS0E4/pJ1PISAs0jW0zIGLco1eaWBOg==", + "version": "1.7.23", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.23.tgz", + "integrity": "sha512-82fARk4/yJ40kwWKY/gdKDisPdtgJE9jgpl/vkNG3alyJxrCzuNM7+CtiKoYbXLeqM8GQTS3wlvCaJu9oQ8dag==", "cpu": [ "x64" ], @@ -996,9 +996,9 @@ "license": "Apache-2.0" }, "node_modules/@swc/types": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.9.tgz", - "integrity": "sha512-qKnCno++jzcJ4lM4NTfYifm1EFSCeIfKiAHAfkENZAV5Kl9PjJIyd2yeeVv6c/2CckuLyv2NmRC5pv6pm2WQBg==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.12.tgz", + "integrity": "sha512-wBJA+SdtkbFhHjTMYH+dEH1y4VpfGdAc2Kw/LK09i9bXd/K6j6PkDcFCEzb6iVfZMkPRrl/q0e3toqTAJdkIVA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -1849,6 +1849,13 @@ "node": ">=8" } }, + "node_modules/picocolors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "dev": true, + "license": "ISC" + }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", @@ -1981,9 +1988,9 @@ } }, "node_modules/rollup": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.1.tgz", - "integrity": "sha512-Elx2UT8lzxxOXMpy5HWQGZqkrQOtrVDDa/bm9l10+U4rQnVzbL/LgZ4NOM1MPIDyHk69W4InuYDF5dzRh4Kw1A==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.2.tgz", + "integrity": "sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==", "dev": true, "license": "MIT", "dependencies": { @@ -1997,22 +2004,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.18.1", - "@rollup/rollup-android-arm64": "4.18.1", - "@rollup/rollup-darwin-arm64": "4.18.1", - "@rollup/rollup-darwin-x64": "4.18.1", - "@rollup/rollup-linux-arm-gnueabihf": "4.18.1", - "@rollup/rollup-linux-arm-musleabihf": "4.18.1", - "@rollup/rollup-linux-arm64-gnu": "4.18.1", - "@rollup/rollup-linux-arm64-musl": "4.18.1", - "@rollup/rollup-linux-powerpc64le-gnu": "4.18.1", - "@rollup/rollup-linux-riscv64-gnu": "4.18.1", - "@rollup/rollup-linux-s390x-gnu": "4.18.1", - "@rollup/rollup-linux-x64-gnu": "4.18.1", - "@rollup/rollup-linux-x64-musl": "4.18.1", - "@rollup/rollup-win32-arm64-msvc": "4.18.1", - "@rollup/rollup-win32-ia32-msvc": "4.18.1", - "@rollup/rollup-win32-x64-msvc": "4.18.1", + "@rollup/rollup-android-arm-eabi": "4.21.2", + "@rollup/rollup-android-arm64": "4.21.2", + "@rollup/rollup-darwin-arm64": "4.21.2", + "@rollup/rollup-darwin-x64": "4.21.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.21.2", + "@rollup/rollup-linux-arm-musleabihf": "4.21.2", + "@rollup/rollup-linux-arm64-gnu": "4.21.2", + "@rollup/rollup-linux-arm64-musl": "4.21.2", + "@rollup/rollup-linux-powerpc64le-gnu": "4.21.2", + "@rollup/rollup-linux-riscv64-gnu": "4.21.2", + "@rollup/rollup-linux-s390x-gnu": "4.21.2", + "@rollup/rollup-linux-x64-gnu": "4.21.2", + "@rollup/rollup-linux-x64-musl": "4.21.2", + "@rollup/rollup-win32-arm64-msvc": "4.21.2", + "@rollup/rollup-win32-ia32-msvc": "4.21.2", + "@rollup/rollup-win32-x64-msvc": "4.21.2", "fsevents": "~2.3.2" } }, @@ -2041,9 +2048,9 @@ } }, "node_modules/sass": { - "version": "1.77.8", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.8.tgz", - "integrity": "sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ==", + "version": "1.78.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.78.0.tgz", + "integrity": "sha512-AaIqGSrjo5lA2Yg7RvFZrlXDBCp3nV4XP73GrLGvdRWWwk+8H3l0SDvq/5bA4eF+0RFPLuWUk3E+P1U/YqnpsQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2277,9 +2284,9 @@ } }, "node_modules/terser": { - "version": "5.31.3", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.3.tgz", - "integrity": "sha512-pAfYn3NIZLyZpa83ZKigvj6Rn9c/vd5KfYGX7cN1mnzqgDcxWvrU5ZtAfIKhEXz9nRecw4z3LXkjaq96/qZqAA==", + "version": "5.31.6", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.6.tgz", + "integrity": "sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -2359,9 +2366,9 @@ "license": "Apache-2.0" }, "node_modules/tsup": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.2.0.tgz", - "integrity": "sha512-XoarnVlfXxbv8ODHtxUq8D2XPc9luX+pamnp1kHSKLknKCDcX0Rkc21NHdbpugH6hKoNiETXypKKVgVu46vVRg==", + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.2.4.tgz", + "integrity": "sha512-akpCPePnBnC/CXgRrcy72ZSntgIEUa1jN0oJbbvpALWKNOz1B7aM+UVDWGRGIO/T/PZugAESWDJUAb5FD48o8Q==", "dev": true, "license": "MIT", "dependencies": { @@ -2374,9 +2381,10 @@ "execa": "^5.1.1", "globby": "^11.1.0", "joycon": "^3.1.1", + "picocolors": "^1.0.1", "postcss-load-config": "^6.0.1", "resolve-from": "^5.0.0", - "rollup": "^4.18.1", + "rollup": "^4.19.0", "source-map": "0.8.0-beta.0", "sucrase": "^3.35.0", "tree-kill": "^1.2.2" @@ -2423,9 +2431,9 @@ } }, "node_modules/typescript": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", - "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 93bb613..98c585b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "jjourney.js", "title": "Journey.js", "description": "A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps!", - "version": "2.1.0", + "version": "2.2.0", "homepage": "https://www.william-troup.com/journey-js/", "author": { "name": "Bunoon" @@ -39,10 +39,10 @@ "build-sass-minimized": "sass src/journey.js.scss dist/journey.js.min.css --style=compressed --no-source-map" }, "devDependencies": { - "@swc/core": "^1.7.0", - "sass": "^1.77.8", - "terser": "^5.31.3", - "tsup": "^8.2.0", - "typescript": "^5.5.3" + "@swc/core": "^1.7.23", + "sass": "^1.78.0", + "terser": "^5.31.6", + "tsup": "^8.2.4", + "typescript": "^5.5.4" } } diff --git a/src/journey.js.scss b/src/journey.js.scss index 6071644..212cc30 100644 --- a/src/journey.js.scss +++ b/src/journey.js.scss @@ -1,5 +1,5 @@ /* - * Journey.js Library v2.1.0 + * Journey.js Library v2.2.0 * * Copyright 2024 Bunoon * Released under the MIT License @@ -105,7 +105,8 @@ ------------------------------------------------------------------------- */ -div.journey-js-dialog { +div.journey-js-dialog, +div.journey-js-dialog-lg { @include no-selection-allowed; @include box-sizing; font-family: var(--journey-js-default-font); @@ -118,7 +119,6 @@ div.journey-js-dialog { padding: var(--journey-js-spacing); font-size: var(--journey-js-spacing-font-size); z-index: 1001; - width: 300px; height: auto; transition: var(--journey-js-transition); transition-property: top, left; @@ -161,6 +161,14 @@ div.journey-js-dialog { } } +div.journey-js-dialog { + width: 300px; +} + +div.journey-js-dialog-lg { + width: 500px; +} + div.journey-js-dialog-moving { transition: none !important; transition-property: none !important; @@ -173,7 +181,8 @@ div.journey-js-dialog-moving { ------------------------------------------------------------------------- */ -div.journey-js-dialog { +div.journey-js-dialog, +div.journey-js-dialog-lg { button.close { position: absolute; top: var(--journey-js-spacing); @@ -233,7 +242,8 @@ div.journey-js-dialog { ------------------------------------------------------------------------- */ -div.journey-js-dialog { +div.journey-js-dialog, +div.journey-js-dialog-lg { div.progress-dots { margin-top: var(--journey-js-spacing); margin-bottom: var(--journey-js-spacing); @@ -313,7 +323,8 @@ div.journey-js-dialog { ------------------------------------------------------------------------- */ -div.journey-js-dialog { +div.journey-js-dialog, +div.journey-js-dialog-lg { div.progress-bar { border-radius: var(--journey-js-border-radius); margin-top: var(--journey-js-spacing); @@ -349,7 +360,8 @@ div.journey-js-dialog { ------------------------------------------------------------------------- */ -div.journey-js-dialog { +div.journey-js-dialog, +div.journey-js-dialog-lg { div.checkbox-container { margin-top: var(--journey-js-spacing); margin-bottom: var(--journey-js-spacing); @@ -421,7 +433,8 @@ div.journey-js-dialog { ------------------------------------------------------------------------- */ -div.journey-js-dialog { +div.journey-js-dialog, +div.journey-js-dialog-lg { div.buttons { margin-top: calc( var(--journey-js-spacing) * 2 ); text-align: right; diff --git a/src/journey.ts b/src/journey.ts index 4595fbe..abcbe23 100644 --- a/src/journey.ts +++ b/src/journey.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file journey.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 @@ -127,12 +127,9 @@ type Groups = Record onDialogClose(); _element_Dialog.appendChild( _element_Dialog_Close_Button ); - _element_Dialog_Close_Button.onclick = () => { - onDialogClose(); - }; - ToolTip.add( _element_Dialog_Close_Button, _configuration.text!.closeButtonToolTipText!, _configuration ); _element_Dialog_Title = DomElement.create( "div", "title" ); @@ -308,6 +305,19 @@ type Groups = Record window.innerWidth || bindingOptions.alignRight ) { left -= _element_Dialog.offsetWidth; left += bindingOptions._currentView.element.offsetWidth; + left -= bindingOptions.offset!; + + } else { + left += bindingOptions.offset!; } if ( top + _element_Dialog.offsetHeight > window.innerHeight || bindingOptions.alignTop ) { top -= ( _element_Dialog.offsetHeight + bindingOptions._currentView.element.offsetHeight ); + top -= bindingOptions.offset!; + + } else { + top += bindingOptions.offset!; } _element_Dialog.style.top = `${top}px`; @@ -969,7 +985,7 @@ type Groups = Record { - hide(); - } ); - - document.addEventListener( "scroll", () => { - hide(); - } ); + document.body.addEventListener( "mousemove", () => hide() ); + document.addEventListener( "scroll", () => hide() ); } } export function add( element: HTMLElement, text: string, configuration: Configuration ) : void { if ( element !== null ) { - element.onmousemove = ( e: MouseEvent ) => { - show( e, text, configuration ); - }; + element.onmousemove = ( e: MouseEvent ) => show( e, text, configuration ); } } @@ -53,7 +45,7 @@ export namespace ToolTip { _element_ToolTip.innerHTML = text; _element_ToolTip.style.display = "block"; - DomElement.showElementAtMousePosition( e, _element_ToolTip ); + DomElement.showElementAtMousePosition( e, _element_ToolTip, configuration.tooltipOffset! ); }, configuration.tooltipDelay ); } diff --git a/src/ts/area/trigger.ts b/src/ts/area/trigger.ts index 5d5a403..ff55b2b 100644 --- a/src/ts/area/trigger.ts +++ b/src/ts/area/trigger.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file trigger.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 diff --git a/src/ts/constant.ts b/src/ts/constant.ts index af8eae8..7adcba4 100644 --- a/src/ts/constant.ts +++ b/src/ts/constant.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file constant.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 @@ -12,6 +12,6 @@ export namespace Constant { - export const JOURNEY_JS_ATTRIBUTE_NAME = "data-journey-js"; + export const JOURNEY_JS_ATTRIBUTE_NAME: string = "data-journey-js"; export const DEFAULT_GROUP: string = "default"; } \ No newline at end of file diff --git a/src/ts/data/default.ts b/src/ts/data/default.ts index 2917600..e71c9cc 100644 --- a/src/ts/data/default.ts +++ b/src/ts/data/default.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file default.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 diff --git a/src/ts/data/enum.ts b/src/ts/data/enum.ts index 16ece69..65cd768 100644 --- a/src/ts/data/enum.ts +++ b/src/ts/data/enum.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file enum.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 diff --git a/src/ts/data/is.ts b/src/ts/data/is.ts index d6ec6b0..e103fb7 100644 --- a/src/ts/data/is.ts +++ b/src/ts/data/is.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file is.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 diff --git a/src/ts/dom/dom.ts b/src/ts/dom/dom.ts index 3900fd1..8b7d801 100644 --- a/src/ts/dom/dom.ts +++ b/src/ts/dom/dom.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file dom.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 @@ -100,7 +100,7 @@ export namespace DomElement { e.stopPropagation(); } - export function showElementAtMousePosition( e: MouseEvent, element: HTMLElement ) : void { + export function showElementAtMousePosition( e: any, element: HTMLElement, offset: number ) : void { let left: number = e.pageX; let top: number = e.pageY; const scrollPosition: Position = getScrollPosition(); @@ -108,15 +108,17 @@ export namespace DomElement { element.style.display = "block"; if ( left + element.offsetWidth > window.innerWidth ) { - left -= element.offsetWidth; + left -= ( element.offsetWidth + offset ); } else { left++; + left += offset; } if ( top + element.offsetHeight > window.innerHeight ) { - top -= element.offsetHeight; + top -= ( element.offsetHeight + offset ); } else { top++; + top += offset; } if ( left < scrollPosition.left ) { diff --git a/src/ts/options/binding.ts b/src/ts/options/binding.ts index 5ed1325..54e390d 100644 --- a/src/ts/options/binding.ts +++ b/src/ts/options/binding.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file binding.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 @@ -33,6 +33,8 @@ export namespace Binding { options.group = Default.getString( options.group, Constant.DEFAULT_GROUP ); options.ignore = Default.getBoolean( options.ignore, false ); options.moveToNextOnClick = Default.getBoolean( options.moveToNextOnClick, false ); + options.offset = Default.getNumber( options.offset, 0 ); + options.useLargerDisplay = Default.getBoolean( options.useLargerDisplay, false ); options = getText( options ); options = getEvents( options ); diff --git a/src/ts/options/config.ts b/src/ts/options/config.ts index 715f0bb..c85368f 100644 --- a/src/ts/options/config.ts +++ b/src/ts/options/config.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file config.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 @@ -37,6 +37,8 @@ export namespace Config { configuration.dialogMovingEnabled = Default.getBoolean( configuration.dialogMovingEnabled, false ); configuration.showProgressBarText = Default.getBoolean( configuration.showProgressBarText, false ); configuration.showStepNumbersInTitle = Default.getBoolean( configuration.showStepNumbersInTitle, false ); + configuration.hintClickPositionOffset = Default.getNumber( configuration.hintClickPositionOffset, 0 ); + configuration.tooltipOffset = Default.getNumber( configuration.tooltipOffset, 0 ); configuration = getText( configuration ); configuration = getEvents( configuration ); diff --git a/src/ts/type.ts b/src/ts/type.ts index e912120..6a55852 100644 --- a/src/ts/type.ts +++ b/src/ts/type.ts @@ -4,7 +4,7 @@ * A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps! * * @file type.ts - * @version v2.1.0 + * @version v2.2.0 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 @@ -34,6 +34,8 @@ export type Configuration = { dialogMovingEnabled?: boolean; showProgressBarText?: boolean; showStepNumbersInTitle?: boolean; + hintClickPositionOffset?: number; + tooltipOffset?: number; text?: ConfigurationText; events?: ConfigurationEvents; }; @@ -71,6 +73,8 @@ export type BindingOptions = { tooltip?: string; ignore?: boolean; moveToNextOnClick?: boolean; + offset?: number; + useLargerDisplay?: boolean; events?: BindingOptionsEvents; }; diff --git a/test/journey.js.basic.html b/test/journey.js.basic.html index 7cb0ae5..86c5732 100644 --- a/test/journey.js.basic.html +++ b/test/journey.js.basic.html @@ -17,7 +17,7 @@

Journey.js - Basic

- + diff --git a/test/journey.js.bootstrap.html b/test/journey.js.bootstrap.html index a9319d6..26d6459 100644 --- a/test/journey.js.bootstrap.html +++ b/test/journey.js.bootstrap.html @@ -19,7 +19,7 @@

Journey.js - Bootstrap

Journey Step Buttons:

- + diff --git a/test/journey.js.close-confirmation.html b/test/journey.js.close-confirmation.html index 2ea5fd2..cd417af 100644 --- a/test/journey.js.close-confirmation.html +++ b/test/journey.js.close-confirmation.html @@ -17,7 +17,7 @@

Journey.js - Close Confirmation

- + diff --git a/test/journey.js.min.html b/test/journey.js.min.html index bfd1cc8..68fb2c0 100644 --- a/test/journey.js.min.html +++ b/test/journey.js.min.html @@ -17,7 +17,7 @@

Journey.js - Minimized

- + diff --git a/test/journey.js.translations.html b/test/journey.js.translations.html index aa057c2..e9846fa 100644 --- a/test/journey.js.translations.html +++ b/test/journey.js.translations.html @@ -18,7 +18,7 @@

Journey.js - Translations

- + diff --git a/tsconfig.json b/tsconfig.json index 363f865..3f89529 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2016", + "target": "ES2020", "module": "ESNext", "moduleResolution": "node", "declaration": true, @@ -10,7 +10,9 @@ "skipLibCheck": true, "removeComments": true, "sourceMap": true, - "strict": true + "strict": true, + "noImplicitReturns": true, + "noImplicitAny": true }, "include": [ "src/**/*.ts"