Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ribajs/bs4

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribajs/bs4 - npm Package Compare versions

Comparing version 1.9.0-beta.2 to 1.9.0-beta.3

dist/components/bs4-tagged-image/bs4-tagged-image.component.d.ts

28

dist/binders/bs4-dropdown.binder.js

@@ -8,19 +8,19 @@ import { DropdownService } from "../services/dropdown.service";

name: "bs4-",
bind(el) {
this.customData = {
toggler: (el.classList.contains("dropdown-toggle")
? el
: el.querySelector(".dropdown-toggle")) || el,
};
},
routine(el, option = {}) {
let toggler;
if (el.classList.contains("dropdown-toggle")) {
toggler = el;
if (this.customData.dropdownService) {
this.customData.dropdownService.dispose();
this.customData.toggler.removeEventListener("click", this.customData.dropdownService.toggle);
}
else {
toggler = el.querySelector(".dropdown-toggle");
}
if (!toggler) {
toggler = el;
}
const dropdownService = new DropdownService(toggler, option);
toggler.addEventListener("click", () => {
dropdownService.toggle();
});
this.customData.dropdownService = new DropdownService(this.customData.toggler, option);
this.customData.dropdownService.toggle = this.customData.dropdownService.toggle.bind(this.customData.dropdownService);
this.customData.toggler.addEventListener("click", this.customData.dropdownService.toggle);
},
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LWRyb3Bkb3duLmJpbmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9iaW5kZXJzL2JzNC1kcm9wZG93bi5iaW5kZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBRS9EOzs7R0FHRztBQUNILE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBbUI7SUFDNUMsSUFBSSxFQUFFLE1BQU07SUFDWix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element is in the viewport
* @param elem The element
* @return Returns true if element is in the viewport
*/
this.customData.isInViewport = (elem) => {
if (!elem) {
return false;
}
const distance = elem.getBoundingClientRect();
this.customData.offsetTop = Number(el.dataset.offset || 0);
this.customData.offsetBottom = Number(el.dataset.offsetBottom || 0);
return (distance.top + distance.height >= this.customData.offsetBottom &&
distance.bottom - distance.height <= this.customData.offsetTop);
};
this.customData.onScroll = () => {
const target = this.customData.target;
const className = this.customData.className;
if (!this.customData.target) {
return;
}
this.customData = {
onScroll: function () {
const target = this.customData.target;
const className = this.customData.className;
if (!this.customData.target) {
return;
}
/**
* Because we are looking if the element is in viewport we should use the parent wrapper instead of header elements
*/
// if (target.tagName === 'H1' || target.tagName === 'H2' || target.tagName === 'H3' || target.tagName === 'H4' || target.tagName === 'H5' || target.tagName === 'H6') {
// if (target.parentElement.tagName === 'SECTION') {
// target = target.parentElement;
// }
// }
if (this.customData.isInViewport(target)) {
el.classList.add(className);
if (el.type === "radio") {
el.checked = true;
}
}
else {
el.classList.remove(className);
if (el.type === "radio") {
el.checked = false;
}
}
},
/**
* Because we are looking if the element is in viewport we should use the parent wrapper instead of header elements
* Determine if an element is in the viewport
* @param elem The element
* @return Returns true if element is in the viewport
*/
// if (target.tagName === 'H1' || target.tagName === 'H2' || target.tagName === 'H3' || target.tagName === 'H4' || target.tagName === 'H5' || target.tagName === 'H6') {
// if (target.parentElement.tagName === 'SECTION') {
// target = target.parentElement;
// }
// }
if (this.customData.isInViewport(target)) {
el.classList.add(className);
if (el.type === "radio") {
el.checked = true;
isInViewport: function (elem) {
if (!elem) {
return false;
}
}
else {
el.classList.remove(className);
if (el.type === "radio") {
el.checked = false;
}
}
const distance = elem.getBoundingClientRect();
this.customData.offsetTop = Number(el.dataset.offset || 0);
this.customData.offsetBottom = Number(el.dataset.offsetBottom || 0);
return (distance.top + distance.height >= this.customData.offsetBottom &&
distance.bottom - distance.height <= this.customData.offsetTop);
},
};
window.addEventListener("scroll", debounce(this.customData.onScroll.bind(this)), { passive: true });
this.customData.isInViewport = this.customData.isInViewport.bind(this);
this.customData.onScroll = debounce(this.customData.onScroll.bind(this));
window.addEventListener("scroll", this.customData.onScroll, {
passive: true,
});
this.customData.onScroll();

@@ -62,5 +67,5 @@ },

unbind() {
window.removeEventListener("scroll", debounce(this.customData.onScroll.bind(this)));
window.removeEventListener("scroll", this.customData.onScroll);
},
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LXNjcm9sbHNweS1jbGFzcy5iaW5kZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYmluZGVycy9iczQtc2Nyb2xsc3B5LWNsYXNzLmJpbmRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFFckQ7OztHQUdHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQW1CO0lBQ2xELElBQUksRUFBRSxpQkFBaUI7SUFDdkIsSUFBSSxDQUFDLEVBQWU7UUFDbEIsSUFBSSxDQUFDLFVBQVUsR0FBRyxFQUFFLENBQUM7UUFDckI7Ozs7V0FJRztRQUNILElBQUksQ0FBQyxVQUFVLENBQUMsWUFBWSxHQUFHLENBQUMsSUFBYSxFQUFXLEVBQUU7WUFDeEQsSUFBSSxDQUFDLElBQUksRUFBRTtnQkFDVCxPQUFPLEtBQUssQ0FBQzthQUNkO1lBQ0QsTUFBTSxRQUFRLEdBQUcsSUFBSSxDQUFDLHFCQUFxQixFQUFFLENBQUM7WUFDOUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxTQUFTLEdBQUcsTUFBTSxDQUFDLEVBQUUsQ0FBQyxPQUFPLENBQUMsTUFBTSxJQUFJLENBQUMsQ0FBQyxDQUFDO1lBQzNELElBQUksQ0FBQyxVQUFVLENBQUMsWUFBWSxHQUFHLE1BQU0sQ0FBQyx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RQUV6RSxNQUFNLENBQUMsZ0JBQWdCLENBQUMsUUFBUSxFQUFFLElBQUksQ0FBQyxVQUFVLENBQUMsUUFBUSxFQUFFO1lBQzFELE9BQU8sRUFBRSxJQUFJO1NBQ2QsQ0FBQyxDQUFDO1FBQ0gsSUFBSSxDQUFDLFVBQVUsQ0FBQyxRQUFRLEVBQUUsQ0FBQztJQUM3QixDQUFDO0lBQ0QsT0FBTyxDQUFDLEVBQWUsRUFBRSxjQUFzQjtRQUM3QyxNQUFNLHNCQUFzQixHQUFHLGNBQWMsQ0FBQyxPQUFPLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQy9ELElBQUksQ0FBQyxVQUFVLENBQUMsTUFBTSxHQUFHLFFBQVEsQ0FBQyxjQUFjLENBQUMsc0JBQXNCLENBQUMsQ0FBQztRQUN6RSxJQUFJLENBQUMsVUFBVSxDQUFDLFNBQVMsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBVyxDQUFDO0lBQ3JELENBQUM7SUFDRCxNQUFNO1FBQ0osTUFBTSxDQUFDLG1CQUFtQixDQUFDLFFBQVEsRUFBRSxJQUFJLENBQUMsVUFBVSxDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBQ2pFLENBQUM7Q0FDRixDQUFDIn0=

@@ -5,17 +5,18 @@ import { EventDispatcher } from "@ribajs/core";

name: "show-toast-on-*",
onEvent(event) {
console.debug("[show-toast-on-*] event.detail:", event.detail);
this.customData.toastData.$event = event;
this.customData.toastData.$context = this.view.models;
console.debug(this.customData.toastData);
const toastData = new Toast(this.customData.toastData);
const notificationDispatcher = new EventDispatcher(toastData.channel || "toast");
notificationDispatcher.trigger("show-notification", toastData);
},
bind(el) {
this.customData = {};
this.customData = {
onEvent(event) {
console.debug("[show-toast-on-*] event.detail:", event.detail);
this.customData.toastData.$event = event;
this.customData.toastData.$context = this.view.models;
console.debug(this.customData.toastData);
const toastData = new Toast(this.customData.toastData);
const notificationDispatcher = new EventDispatcher(toastData.channel || "toast");
notificationDispatcher.trigger("show-notification", toastData);
},
};
const eventName = this.args[0];
// assign onEvent to bound version so we can remove the DOM Element listener later without problems
this.binder.onEvent = this.binder.onEvent.bind(this);
el.addEventListener(eventName, this.binder.onEvent);
this.customData.onEvent = this.customData.onEvent.bind(this);
el.addEventListener(eventName, this.customData.onEvent);
},

@@ -30,5 +31,5 @@ routine(el, toastData) {

const eventName = this.args[0];
el.removeEventListener(eventName, this.binder.onEvent);
el.removeEventListener(eventName, this.customData.onEvent);
},
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LXNob3ctdG9hc3Qtb24uYmluZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2JpbmRlcnMvYnM0LXNob3ctdG9hc3Qtb24uYmluZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBVSxlQUFlLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDdkQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBRW5ELE1BQU0sQ0FBQyxNQUFNLHNCQUFzQixHQUFrQjtJQUNuRCxJQUFJLEVBQUUsaUJBQWlCO0lBQ3ZCLE9BQU8sQ0FBQyxLQUFrQjtRQUN4QixPQUFPLENBQUMsS0FBSyxDQUFDLGlDQUFpQyxFQUFFLEtBQUssQ0FBQyxNQUFNLENBQUMsQ0FBQztRQUMvRCxJQUFJLENBQUMsVUFBVSxDQUFDLFNBQVMsQ0FBQyxNQUFNLEdBQUcsS0FBSyxDQUFDO1FBQ3pDLElBQUksQ0FBQyxVQUFVLENBQUMsU0FBUyxDQUFDLFFBQVEsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQztRQUN0RCxPQUFPLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxVQUFVLENBQUMsU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apse-on-*",
collapseServices: [],
targets: null,
onEvent(event) {
const self = (this.binder || this);
event.preventDefault();
// console.debug('[toggleCollapseOnEventBinder] onEvent', self.collapseServices);
self.collapseServices.forEach((collapseService) => {
collapseService.toggle();
});
bind(el) {
this.customData = {
targets: new Map(),
onEvent(event) {
event.preventDefault();
// eslint-disable-next-line @typescript-eslint/no-unused-vars
for (const collapseService of this.targets.values()) {
collapseService.toggle();
}
},
};
this.customData.onEvent = this.customData.onEvent.bind(this.customData);
if (this.args === null) {
throw new Error("args is null");
}
const eventName = this.args[0];
el.addEventListener(eventName, this.customData.onEvent);
},
bind() {
/**/
},
unbind() {
const self = (this.binder || this);
const eventName = this.args[0];
this.el.removeEventListener(eventName, self.onEvent.bind(this));
this.el.removeEventListener(eventName, this.customData.onEvent);
},
routine(el, targetSelector) {
if (this.args === null) {
throw new Error("args is null");
}
const self = (this.binder || this);
const eventName = this.args[0];
self.targets = document.querySelectorAll(targetSelector);
if (self.targets.length <= 0) {
const newTargets = Array.from(document.querySelectorAll(targetSelector));
if (newTargets.length <= 0) {
console.warn(`[toggleCollapseOnEventBinder] No element with selector "${targetSelector}" found.`);
}
self.targets.forEach((target) => {
self.collapseServices.push(new CollapseService(target, [el], { toggle: false }));
});
el.addEventListener(eventName, self.onEvent.bind(this));
// eslint-disable-next-line @typescript-eslint/no-unused-vars
for (const target of this.customData.targets.keys()) {
if (!newTargets.find((x) => x === target)) {
this.customData.targets.get(target).dispose();
this.customData.targets.delete(target);
}
}
for (const target of newTargets) {
if (!this.customData.targets.has(target)) {
this.customData.targets.set(target, new CollapseService(target, [el], { toggle: false }));
}
}
// onStateChange();
},
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LXRvZ2dsZS1jb2xsYXBzZS1vbi1ldmVudC5iaW5kZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYmluZGVycy9iczQtdG9nZ2xlLWNvbGxhc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R0FBRyxDQUFDLE1BQU0sQ0FBQyxFQUFFO2dCQUN4QyxJQUFJLENBQUMsVUFBVSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQ3pCLE1BQU0sRUFDTixJQUFJLGVBQWUsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsQ0FBQyxDQUNyRCxDQUFDO2FBQ0g7U0FDRjtRQUNELG1CQUFtQjtJQUNyQixDQUFDO0NBQ0YsQ0FBQyJ9

@@ -5,11 +5,15 @@ import { scrollTo } from "@ribajs/utils/src/dom";

bind(el) {
this.customData = {};
this.customData.onEvent = (event) => {
const offset = Number(el.dataset.offset || 0);
const scrollElement = el.dataset.scrollElement
? document.querySelector(el.dataset.scrollElement)
: window;
scrollTo(this.customData.target, offset, scrollElement);
event.preventDefault();
this.customData = {
onEvent: function (event) {
const offset = Number(el.dataset.offset || 0);
const scrollElement = el.dataset.scrollElement
? document.querySelector(el.dataset.scrollElement)
: window;
if (this.customData.target) {
scrollTo(this.customData.target, offset, scrollElement);
event.preventDefault();
}
},
};
this.customData.onEvent = this.customData.onEvent.bind(this);
const eventName = this.args[0];

@@ -19,8 +23,3 @@ el.addEventListener(eventName, this.customData.onEvent);

routine(el, targetSelector) {
if (this.args === null) {
throw new Error("args is null");
}
const eventName = this.args[0];
this.customData.target = document.querySelector(targetSelector);
el.addEventListener(eventName, this.customData.onEvent);
},

@@ -32,2 +31,2 @@ unbind(el) {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsLXRvLW9uLWV2ZW50LmJpbmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9iaW5kZXJzL3Njcm9sbC10by1vbi1ldmVudC5iaW5kZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFFBQ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FBRSxJQUFJLENBQUMsVUFBVSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBQzdELENBQUM7Q0FDRixDQUFDIn0=

@@ -8,3 +8,3 @@ import { Component } from "@ribajs/core";

animationClass: "btn-animation-start",
onClick: this.onClick,
onClick: this.onClick.bind(this),
};

@@ -39,7 +39,9 @@ // console.debug('constructor', this);

return super.init(observedAttributes).then((view) => {
this.el.addEventListener("webkitAnimationStart", this.onStartAnimation.bind(this));
this.el.addEventListener("animationstart", this.onStartAnimation.bind(this));
this.el.addEventListener("webkitAnimationEnd", this.onEndAnimation.bind(this));
this.el.addEventListener("animationend", this.onEndAnimation.bind(this));
this.el.addEventListener("click", this.onClick.bind(this));
this.onStartAnimation = this.onStartAnimation.bind(this);
this.el.addEventListener("webkitAnimationStart", this.onStartAnimation);
this.el.addEventListener("animationstart", this.onStartAnimation);
this.onEndAnimation = this.onEndAnimation.bind(this);
this.el.addEventListener("webkitAnimationEnd", this.onEndAnimation);
this.el.addEventListener("animationend", this.onEndAnimation);
this.el.addEventListener("click", this.scope.onClick);
return view;

@@ -65,7 +67,7 @@ });

super.disconnectedCallback();
this.el.removeEventListener("webkitAnimationStart", this.onStartAnimation.bind(this));
this.el.removeEventListener("animationstart", this.onStartAnimation.bind(this));
this.el.removeEventListener("webkitAnimationEnd", this.onEndAnimation.bind(this));
this.el.removeEventListener("animationend", this.onEndAnimation.bind(this));
this.el.removeEventListener("click", this.onClick.bind(this));
this.el.removeEventListener("webkitAnimationStart", this.onStartAnimation);
this.el.removeEventListener("animationstart", this.onStartAnimation);
this.el.removeEventListener("webkitAnimationEnd", this.onEndAnimation);
this.el.removeEventListener("animationend", this.onEndAnimation);
this.el.removeEventListener("click", this.scope.onClick);
}

@@ -77,2 +79,2 @@ template() {

Bs4ButtonComponent.tagName = "bs4-button";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2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JBQTBDLEVBQzFDLElBQUksQ0FBQyxnQkFBZ0IsQ0FDdEIsQ0FBQztRQUNGLElBQUksQ0FBQyxFQUFFLENBQUMsbUJBQW1CLENBQUMsZ0JBQWdCLEVBQUUsSUFBSSxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFDckUsSUFBSSxDQUFDLEVBQUUsQ0FBQyxtQkFBbUIsQ0FDekIsb0JBQXNDLEVBQ3RDLElBQUksQ0FBQyxjQUFjLENBQ3BCLENBQUM7UUFDRixJQUFJLENBQUMsRUFBRSxDQUFDLG1CQUFtQixDQUFDLGNBQWMsRUFBRSxJQUFJLENBQUMsY0FBYyxDQUFDLENBQUM7UUFDakUsSUFBSSxDQUFDLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQyxPQUFPLEVBQUUsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUMzRCxDQUFDO0lBRVMsUUFBUTtRQUNoQixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7O0FBOUdhLDBCQUFPLEdBQUcsWUFBWSxDQUFDIn0=

@@ -59,2 +59,4 @@ import { Component, HttpMethod, HttpDataType } from "@ribajs/core";

protected addEventListeners(): void;
protected removeEventListeners(): void;
private enableSubmit;
protected requiredAttributes(): string[];

@@ -61,0 +63,0 @@ protected beforeBind(): Promise<void>;

@@ -12,2 +12,3 @@ import { Component, HttpService } from "@ribajs/core";

this.scope = this.getDefaultScope();
this.enableSubmit = this.enableSubmit.bind(this);
}

@@ -49,7 +50,11 @@ static get observedAttributes() {

if (this.scope.disableSubmitUntilChange) {
this.el.addEventListener("input", () => {
this.scope.submitDisabled = false;
});
this.el.addEventListener("input", this.enableSubmit);
}
}
removeEventListeners() {
this.el.removeEventListener("input", this.enableSubmit);
}
enableSubmit() {
this.scope.submitDisabled = false;
}
requiredAttributes() {

@@ -215,2 +220,2 @@ return [];

Bs4FormComponent.tagName = "bs4-form";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9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sT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUM7SUFDaEMsQ0FBQztJQUVTLFFBQVE7UUFDaEIsTUFBTSxNQUFNLEdBQUcsSUFBSSxDQUFDLEVBQUUsQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLENBQUM7UUFDN0MsSUFBSSxNQUFNLElBQUksTUFBTSxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUU7WUFDL0IsSUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7WUFDckIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGtCQUFrQixDQUFDLENBQUM7WUFDOUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxZQUFZLENBQUMsWUFBWSxFQUFFLEVBQUUsQ0FBQyxDQUFDO1NBQzVDO2FBQU07WUFDTCxPQUFPLENBQUMsSUFBSSxDQUFDLGlDQUFpQyxDQUFDLENBQUM7U0FDakQ7SUFDSCxDQUFDO0lBRVMsUUFBUTtRQUNoQixJQUFJLGlCQUFpQixDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsRUFBRTtZQUM5QixJQUFJLENBQUMsUUFBUSxFQUFFLENBQUM7WUFDaEIsT0FBTyxJQUFJLENBQUM7U0FDYjthQUFNO1lBQ0wsT0FBTyxRQUFRLENBQUM7U0FDakI7SUFDSCxDQUFDOztBQXZRYSx3QkFBTyxHQUFHLFVBQVUsQ0FBQyJ9

@@ -11,5 +11,5 @@ import { Component } from "@ribajs/core";

this.scope = {
onHidden: this.onHidden,
onHidden: this.onHidden.bind(this),
index: -1,
dismiss: this.dismiss,
dismiss: this.dismiss.bind(this),
};

@@ -46,3 +46,3 @@ }

// Call onHidden on hidden event once
modalEl.addEventListener(EVENT_HIDDEN, this.onHidden.bind(this), {
modalEl.addEventListener(EVENT_HIDDEN, this.scope.onHidden, {
once: true,

@@ -74,2 +74,2 @@ });

Bs4ModalItemCompon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ENBQUMsS0FBSyxDQUFDLEtBQUssRUFDaEIsSUFBSSxDQUFDLEtBQUssQ0FBQyxLQUFLLENBQ2pCLENBQUM7U0FDSDtJQUNILENBQUM7SUFDUyxRQUFRO1FBQ2hCLE9BQU8sUUFBUSxDQUFDO0lBQ2xCLENBQUM7O0FBekZhLDZCQUFPLEdBQUcsZ0JBQWdCLENBQUMifQ==

@@ -6,4 +6,3 @@ import { Component, EventDispatcher } from "@ribajs/core";

protected scope: any;
protected collapseElements: NodeListOf<HTMLElement> | HTMLElement[];
protected collapseServices: CollapseService[];
protected collapseTargets: Map<HTMLElement, CollapseService>;
protected routerEvents?: EventDispatcher;

@@ -18,4 +17,4 @@ static get observedAttributes(): string[];

protected setCollapseElement(): void;
protected addCollapseEventListeners(): void;
protected removeCollapseEventListeners(): void;
protected disposeCollapseTargets(): void;
protected disposeCollapseTarget(collapseElement: HTMLElement): void;
protected disconnectedCallback(): void;

@@ -22,0 +21,0 @@ protected onStateChange(): void;

@@ -13,4 +13,3 @@ import { Component, EventDispatcher } from "@ribajs/core";

};
this.collapseElements = [];
this.collapseServices = [];
this.collapseTargets = new Map();
this.onStateChange = this.onStateChange.bind(this);

@@ -26,3 +25,3 @@ }

toggle(event) {
for (const collapseService of this.collapseServices) {
for (const collapseService of this.collapseTargets.values()) {
collapseService.toggle();

@@ -36,3 +35,3 @@ }

show(event) {
for (const collapseService of this.collapseServices) {
for (const collapseService of this.collapseTargets.values()) {
collapseService.show();

@@ -46,3 +45,3 @@ }

hide(event) {
for (const collapseService of this.collapseServices) {
for (const collapseService of this.collapseTargets.values()) {
collapseService.hide();

@@ -64,34 +63,36 @@ }

setCollapseElement() {
// Remove old event listeners
this.removeCollapseEventListeners();
this.collapseElements =
this.el.querySelectorAll(this.scope.collapseSelector) || [];
// Add new event listeners
this.addCollapseEventListeners();
if (this.collapseElements) {
for (const collapseElement of Array.from(this.collapseElements)) {
this.collapseServices.push(new CollapseService(collapseElement, [this.el], { toggle: false }));
const collapseElements = Array.from(this.el.querySelectorAll(this.scope.collapseSelector) || []);
// remove old collapse targets
for (const collapseElement of this.collapseTargets.keys()) {
if (!collapseElements.find((ce) => ce === collapseElement)) {
this.disposeCollapseTarget(collapseElement);
}
}
this.hide();
}
addCollapseEventListeners() {
if (this.collapseElements) {
this.collapseElements.forEach((collapseElement) => {
// add new collapse targets
for (const collapseElement of collapseElements) {
if (!this.collapseTargets.has(collapseElement)) {
this.collapseTargets.set(collapseElement, new CollapseService(collapseElement, [this.el], { toggle: false }));
collapseElement.addEventListener(EVENT_SHOWN, this.onStateChange);
collapseElement.addEventListener(EVENT_HIDDEN, this.onStateChange);
});
}
}
this.hide();
}
removeCollapseEventListeners() {
if (this.collapseElements) {
this.collapseElements.forEach((collapseElement) => {
collapseElement.removeEventListener(EVENT_SHOWN, this.onStateChange.bind(this));
collapseElement.removeEventListener(EVENT_HIDDEN, this.onStateChange.bind(this));
});
disposeCollapseTargets() {
for (const collapseElement of this.collapseTargets.keys()) {
this.disposeCollapseTarget(collapseElement);
}
}
disposeCollapseTarget(collapseElement) {
const collapseService = this.collapseTargets.get(collapseElement);
if (collapseService) {
collapseService.dispose();
}
this.collapseTargets.delete(collapseElement);
collapseElement.removeEventListener(EVENT_SHOWN, this.onStateChange);
collapseElement.removeEventListener(EVENT_HIDDEN, this.onStateChange);
}
disconnectedCallback() {
super.disconnectedCallback();
this.removeCollapseEventListeners();
this.disposeCollapseTargets();
if (this.routerEvents) {

@@ -102,3 +103,6 @@ this.routerEvents.off("newPageReady", this.onNewPageReady, this);

onStateChange() {
this.scope.isCollapsed = !!this.collapseServices[0]?.isCollapsed();
this.scope.isCollapsed = this.collapseTargets
.entries()
.next()
.value[0]?.isCollapsed();
if (this.scope.isCollapsed) {

@@ -127,2 +131,2 @@ this.el.classList.add(CLASS_NAME_COLLAPSED);

Bs4NavbarComponent.tagName = "bs4-navbar";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LW5hdmJh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Event = this.onExternalCloseEvent.bind(this);
}

@@ -162,8 +164,8 @@ static get observedAttributes() {

addEventListeners() {
this.el.addEventListener("open", this.onExternalOpenEvent.bind(this));
this.el.addEventListener("close", this.onExternalCloseEvent.bind(this));
this.el.addEventListener("open", this.onExternalOpenEvent);
this.el.addEventListener("close", this.onExternalCloseEvent);
}
removeEventListeners() {
this.el.removeEventListener("open", this.onExternalOpenEvent.bind(this));
this.el.removeEventListener("close", this.onExternalOpenEvent.bind(this));
this.el.removeEventListener("open", this.onExternalOpenEvent);
this.el.removeEventListener("close", this.onExternalOpenEvent);
}

@@ -298,2 +300,2 @@ getURLForShare() {

Bs4ShareComponent.count = 0;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LXNoYXJlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2JzNC1zaGFyZS9iczQtc2hhcmUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDekMsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQy9DLE9BQU8sUUFBUSxNQUFNLDRCQUE0QixDQUFDO0FBQ2xELE9BQU8sYUFBYSxNQUFNLHdCQUF3QixDQUFDO0FBRW5ELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDOUMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUE4QzFEOzs7Ozs7Ozs7R0FTRztBQUNILE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxTQUFTO0lBd0I5QyxZQUFZLE9BQXFCO1FBQy9CLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztRQXRCVixXQUFNLEdB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, EventDispatcher } from "@ribajs/core";

protected connectedCallback(): void;
protected onToggle(): void;
protected initToggleButtonEventDispatcher(): void;

@@ -79,0 +78,0 @@ protected initRouterEventDispatcher(): void;

@@ -27,2 +27,4 @@ import { Component, EventDispatcher } from "@ribajs/core";

};
// assign this to bound version, so we can remove window EventListener later without problem
this.onEnvironmentChanges = this.onEnvironmentChanges.bind(this);
}

@@ -75,4 +77,2 @@ static get observedAttributes() {

this.style = window.getComputedStyle(this.el);
// assign this to bound version, so we can remove window EventListener later without problem
this.onEnvironmentChanges = this.onEnvironmentChanges.bind(this);
window.addEventListener("resize", this.onEnvironmentChanges, false);

@@ -82,12 +82,9 @@ // inital

}
onToggle() {
this.toggle();
}
initToggleButtonEventDispatcher() {
if (this.toggleButtonEvents) {
this.toggleButtonEvents.off("toggle");
this.toggleButtonEvents.off("init");
this.toggleButtonEvents.off("toggle", this.toggle, this);
this.toggleButtonEvents.off("init", this.triggerState, this);
}
this.toggleButtonEvents = new EventDispatcher("bs4-toggle-button:" + this.scope.id);
this.toggleButtonEvents.on("toggle", this.onToggle, this);
this.toggleButtonEvents.on("toggle", this.toggle, this);
this.toggleButtonEvents.on("init", this.triggerState, this);

@@ -241,5 +238,4 @@ }

super.disconnectedCallback();
this.toggleButtonEvents?.off("init", this.triggerState.bind(this));
this.toggleButtonEvents?.off("toggle", this.onToggle.bind(this));
this.toggleButtonEvents?.off("init", this.triggerState.bind(this));
this.toggleButtonEvents?.off("init", this.triggerState, this);
this.toggleButtonEvents?.off("toggle", this.toggle, this);
this.routerEvents.off("newPageReady", this.onEnvironmentChanges, this);

@@ -256,2 +252,2 @@ window.removeEventListener("resize", this.onEnvironmentChanges, false);

Bs4SidebarComponent.tagName = "bs4-sidebar";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LXNpZGViYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2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N0IsSUFBSSxDQUFDLGtCQUFrQixFQUFFLEdBQUcsQ0FBQyxNQUFNLEVBQUUsSUFBSSxDQUFDLFlBQVksRUFBRSxJQUFJLENBQUMsQ0FBQztRQUM5RCxJQUFJLENBQUMsa0JBQWtCLEVBQUUsR0FBRyxDQUFDLFFBQVEsRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLElBQUksQ0FBQyxDQUFDO1FBQzFELElBQUksQ0FBQyxZQUFZLENBQUMsR0FBRyxDQUFDLGNBQWMsRUFBRSxJQUFJLENBQUMsb0JBQW9CLEVBQUUsSUFBSSxDQUFDLENBQUM7UUFDdkUsTUFBTSxDQUFDLG1CQUFtQixDQUFDLFFBQVEsRUFBRSxJQUFJLENBQUMsb0JBQW9CLEVBQUUsS0FBSyxDQUFDLENBQUM7SUFDekUsQ0FBQztJQUVTLFFBQVE7UUFDaEIsSUFBSSxDQUFDLGlCQUFpQixDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsRUFBRTtZQUMvQixPQUFPLENBQUMsSUFBSSxDQUNWLG1IQUFtSCxDQUNwSCxDQUFDO1NBQ0g7UUFDRCxPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7O0FBalVhLDJCQUFPLEdBQUcsYUFBYSxDQUFDIn0=

@@ -47,2 +47,3 @@ import { TemplatesComponent } from "../templates/templates.component";

protected connectedCallback(): void;
protected disconnectedCallback(): void;
protected setElements(): void;

@@ -49,0 +50,0 @@ protected resizeTabsArray(newSize: number): void;

@@ -41,2 +41,3 @@ import { handleizeFormatter } from "@ribajs/core";

};
this.onResizeEventHandler = throttle(this.setHeight.bind(this));
}

@@ -164,5 +165,2 @@ static get observedAttributes() {

}
if (event) {
event.preventDefault();
}
}

@@ -195,2 +193,10 @@ activateFirstTab() {

}
disconnectedCallback() {
if (this.tabs) {
this.tabs.forEach((tab) => {
tab.removeEventListener("shown.bs.tab", this.onTabShownEventHandler);
});
}
window.removeEventListener("resize", this.onResizeEventHandler);
}
setElements() {

@@ -237,9 +243,6 @@ this.tabs = this.el.querySelectorAll('[role="tab"]');

}
const onResize = () => {
throttle(this.onResizeEventHandler.bind(this))();
};
if (this.scope.optionTabsAutoHeight) {
window.removeEventListener("resize", onResize);
window.addEventListener("resize", onResize);
this.onResizeEventHandler();
window.removeEventListener("resize", this.onResizeEventHandler);
window.addEventListener("resize", this.onResizeEventHandler);
this.setHeight();
}

@@ -316,2 +319,2 @@ }

Bs4TabsComponent.tagName = "bs4-tabs";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LXRhYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvYnM0LXRhYnMvYnM0LXRhYnMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxrQkFBa0IsRUFBZSxNQUFNLGNBQWMsQ0FBQztBQUMvRCxPQUFPLGtCQUFrQixNQUFNLHNDQUFzQyxDQUFDO0FBQ3RFLE9BQU8sZ0JBQWdCLE1BQU0sb0NBQW9DLENBQUM7QUFDbEUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDMUQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDdEUsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBRXJELE1BQU0sU0FBUyxHQUFHLGtCQUFrQixDQUFDLElBQW1CLENBQUM7QUFvQnpELE1BQU0sT0FBTyxnQkFBaUIsU0FBUSxrQkFBa0I7SUEwR3RELFlBQVksT0FBcUI7UUFDL0IsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBeEdQLHVCQUFrQixHQUFHO1lBQzdCO2dCQUNFLElBQUksRUFBRSxPQUFPO2dCQUNiLFFBQVEsRUFBRSxJQ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idden.bind(this),
index: -1,
dismiss: this.dismiss,
dismiss: this.dismiss.bind(this),
toast: undefined,

@@ -46,3 +46,3 @@ };

// Call onHidden on hidden event once
toastEl.addEventListener(EVENT_HIDDEN, this.onHidden.bind(this), {
toastEl.addEventListener(EVENT_HIDDEN, this.scope.onHidden, {
once: true,

@@ -73,2 +73,2 @@ });

Bs4ToastItemComponent.tagName = "bs4-toast-item";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnM0LXRvYXN0LWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvYnM0LXRvYXN0LWl0ZW0vYnM0LXRvYXN0LWl0ZW0uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFekMsT0FBTyxRQUFRLE1BQU0saUNBQWlDLENBQUM7QUFFdkQsT0FBTyxFQUFFLFlBQVksRUFBRSxZQUFZLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUUxRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQVk1RCxNQUFNLE9BQU8scUJBQXNCLFNBQVEsU0FBUztJQXVCbEQsWUFBWSxPQUFxQjtRQUMvQixLQUFLLENBQUMsT0FBTyxDQUFDLENBQUM7UUFyQlYsV0FBTSxHQUFHLEtBQUssQ0FBQztRQUNaLGFBQVEsR0FBRyxJQUFJLENBQUM7UUFZaEIsVUFBSyxHQUFVO1lBQ3ZCLFFBQVEsRUFBRSxJQUFJLENBQUMsUUFBUTtZQUN2QixLQUFLLEVBQUUsQ0FBQyxDQUFDO1lBQ1QsT0FBTyxFQUFFLElBQUksQ0FBQyxPQUFPO1lBQ3JCLEtBQUssRUFBRSxTQUFTO1NBQ2pCLENBQUM7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BQVEsQ0FBQztJQUNsQixDQUFDOztBQWpGYSw2QkFBTyxHQUFHLGdCQUFnQixDQUFDIn0=

@@ -18,1 +18,2 @@ export { Bs4DropdownComponent } from "./bs4-dropdown/bs4-dropdown.component";

export { Bs4ModalItemComponent } from "./bs4-modal-item/bs4-modal-item.component";
export { Bs4TaggedImageComponent } from "./bs4-tagged-image/bs4-tagged-image.component";

@@ -18,2 +18,3 @@ export { Bs4DropdownComponent } from "./bs4-dropdown/bs4-dropdown.component";

export { Bs4ModalItemComponent } from "./bs4-modal-item/bs4-modal-item.component";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUNoRixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUN2RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUNoRixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNwRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUMxRSxPQUFPLEVBQUUscUJB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ztBQUNqRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUNoRixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNwRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUMxRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUNoRixPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxpREFBaUQsQ0FBQztBQUMzRixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUN2RSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSxtRUFBbUUsQ0FBQztBQUN0SCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUNsRixPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUNsRixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSwrQ0FBK0MsQ0FBQyJ9

@@ -11,1 +11,2 @@ export * from "./carousel-class-name";

export * from "./tooltip-options";
export * from "./tagged-image-tag";

@@ -11,2 +11,3 @@ export * from "./carousel-class-name";

export * from "./tooltip-options";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJmYWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLFNBQVMsQ0FBQztBQUN4QixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxtQkFBbUIsQ0FBQyJ9
export * from "./tagged-image-tag";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJmYWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLFNBQVMsQ0FBQztBQUN4QixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLG9CQUFvQixDQUFDIn0=
import { CarouselOption } from "../interfaces/carousel-option";
import { CarouselDirection } from "../interfaces/carousel-direction";
/**

@@ -9,12 +8,12 @@ * ------------------------------------------------------------------------

declare class CarouselService {
private _items;
private _interval;
private _activeElement;
private _isPaused;
private _isSliding;
private _config;
private _element;
private _indicatorsElement;
private _touchSupported;
private _pointerEvent;
private items;
private interval;
private activeElement;
private isPaused;
private isSliding;
private config;
private element;
private indicatorsElement;
private touchSupported;
private pointerEvent;
touchTimeout: number | null;

@@ -28,17 +27,23 @@ touchStartX: number;

prev(): void;
pause(event?: (TouchEvent & MouseEvent & PointerEvent) | boolean): void;
pause(event?: Event): void;
cycle(event?: Event | (TouchEvent & MouseEvent & PointerEvent) | boolean): void;
to(index: number): void;
dispose(): void;
_getConfig(config: CarouselOption): CarouselOption;
_handleSwipe(): void;
_addEventListeners(): void;
_addTouchEventListeners(): void;
_keydown(event: KeyboardEvent): void;
_getItemIndex(element?: HTMLElement): number;
_getItemByDirection(direction: CarouselDirection, activeElement: HTMLElement): HTMLElement;
_triggerSlideEvent(relatedTarget: HTMLElement, eventDirectionName: CarouselDirection): CustomEvent<any>;
_setActiveIndicatorElement(element: HTMLElement): void;
_slide(direction: CarouselDirection, element?: HTMLElement): void;
private getConfig;
private handleSwipe;
private addEventListeners;
private addTouchEventListeners;
private removeEventListeners;
private removeTouchEventListeners;
private onTouchStart;
private onTouchMove;
private onTouchEnd;
private preventDrag;
private keydown;
private getItemIndex;
private getItemByDirection;
private triggerSlideEvent;
private setActiveIndicatorElement;
private slide;
}
export default CarouselService;

@@ -7,5 +7,5 @@ /**

*/
import { TRANSITION_END, Utils } from "./utils.service";
import { TRANSITION_END, typeCheckConfig, makeArray, reflow, getTransitionDurationFromElement, emulateTransitionEnd, isVisible, triggerTransitionEnd, } from "./utils.service";
import EventHandler from "./dom/event-handler";
import SelectorEngine from "./dom/selector-engine";
import { findOne, find } from "./dom/selector-engine";
/**

@@ -91,28 +91,20 @@ * ------------------------------------------------------------------------

constructor(element, config) {
this._items = null;
this._interval = null;
this._activeElement = null;
this._isPaused = false;
this._isSliding = false;
this.items = null;
this.interval = null;
this.activeElement = null;
this.isPaused = false;
this.isSliding = false;
this.touchTimeout = null;
this.touchStartX = 0;
this.touchDeltaX = 0;
this._items = null;
this._interval = null;
this._activeElement = null;
this._isPaused = false;
this._isSliding = false;
this.touchTimeout = null;
this.touchStartX = 0;
this.touchDeltaX = 0;
this._config = this._getConfig(config);
this._element = element;
this._indicatorsElement =
SelectorEngine.findOne(Selector.INDICATORS, this._element) || null;
this._touchSupported =
this.config = this.getConfig(config);
this.element = element;
this.indicatorsElement =
findOne(Selector.INDICATORS, this.element) || null;
this.touchSupported =
"ontouchstart" in document.documentElement ||
navigator.maxTouchPoints > 0;
this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent);
this.pointerEvent = !!(window.PointerEvent || window.MSPointerEvent);
console.debug("CarouselService", this);
this._addEventListeners();
this.addEventListeners();
}

@@ -125,4 +117,4 @@ // Getters

next() {
if (!this._isSliding) {
this._slide(Direction.NEXT);
if (!this.isSliding) {
this.slide(Direction.NEXT);
}

@@ -133,3 +125,3 @@ }

// or the carousel or its parent isn't visible
if (!document.hidden && Utils.isVisible(this._element)) {
if (!document.hidden && isVisible(this.element)) {
this.next();

@@ -139,4 +131,4 @@ }

prev() {
if (!this._isSliding) {
this._slide(Direction.PREV);
if (!this.isSliding) {
this.slide(Direction.PREV);
}

@@ -146,38 +138,38 @@ }

if (!event) {
this._isPaused = true;
this.isPaused = true;
}
if (SelectorEngine.findOne(Selector.NEXT_PREV, this._element)) {
Utils.triggerTransitionEnd(this._element);
if (findOne(Selector.NEXT_PREV, this.element)) {
triggerTransitionEnd(this.element);
this.cycle(true);
}
clearInterval(this._interval || undefined);
this._interval = null;
clearInterval(this.interval || undefined);
this.interval = null;
}
cycle(event) {
if (!event) {
this._isPaused = false;
this.isPaused = false;
}
if (this._interval) {
clearInterval(this._interval);
this._interval = null;
if (this.interval) {
clearInterval(this.interval);
this.interval = null;
}
if (this._config && this._config.interval && !this._isPaused) {
this._interval = window.setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval);
if (this.config && this.config.interval && !this.isPaused) {
this.interval = window.setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this.config.interval);
}
}
to(index) {
if (this._items === null) {
if (this.items === null) {
throw new Error("No items found!");
}
this._activeElement =
SelectorEngine.findOne(Selector.ACTIVE_ITEM, this._element) || null;
if (this._activeElement === null) {
this.activeElement =
findOne(Selector.ACTIVE_ITEM, this.element) || null;
if (this.activeElement === null) {
throw new Error("Active element not found!");
}
const activeIndex = this._getItemIndex(this._activeElement);
if (index > this._items.length - 1 || index < 0) {
const activeIndex = this.getItemIndex(this.activeElement);
if (index > this.items.length - 1 || index < 0) {
return;
}
if (this._isSliding) {
EventHandler.one(this._element, Event.SLID, () => this.to(index));
if (this.isSliding) {
EventHandler.one(this.element, Event.SLID, () => this.to(index));
return;

@@ -191,17 +183,11 @@ }

const direction = index > activeIndex ? Direction.NEXT : Direction.PREV;
this._slide(direction, this._items[index]);
this.slide(direction, this.items[index]);
}
dispose() {
// EventHandler.off(this._element, EVENT_KEY)
// this._items = null
// this._config = null
// this._element = null
// this._interval = null
// this._isPaused = null
// this._isSliding = null
// this._activeElement = null
// this._indicatorsElement = null
this.removeEventListeners();
clearTimeout(this.touchTimeout || undefined);
clearInterval(this.interval || undefined);
}
// Private
_getConfig(config) {
getConfig(config) {
config = {

@@ -211,6 +197,6 @@ ...Default,

};
Utils.typeCheckConfig(NAME, config, DefaultType);
typeCheckConfig(NAME, config, DefaultType);
return config;
}
_handleSwipe() {
handleSwipe() {
const absDeltax = Math.abs(this.touchDeltaX);

@@ -231,69 +217,107 @@ if (absDeltax <= SWIPE_THRESHOLD) {

}
_addEventListeners() {
if (this._config.keyboard) {
EventHandler.on(this._element, Event.KEYDOWN, (event) => this._keydown(event));
addEventListeners() {
this.keydown = this.keydown.bind(this);
this.pause = this.pause.bind(this);
this.cycle = this.cycle.bind(this);
if (this.config.keyboard) {
EventHandler.on(this.element, Event.KEYDOWN, this.keydown);
}
if (this._config.pause === "hover") {
EventHandler.on(this._element, Event.MOUSEENTER, (event) => this.pause(event));
EventHandler.on(this._element, Event.MOUSELEAVE, (event) => this.cycle(event));
if (this.config.pause === "hover") {
EventHandler.on(this.element, Event.MOUSEENTER, this.pause);
EventHandler.on(this.element, Event.MOUSELEAVE, this.cycle);
}
if (this._config.touch && this._touchSupported) {
this._addTouchEventListeners();
if (this.config.touch && this.touchSupported) {
this.addTouchEventListeners();
}
}
_addTouchEventListeners() {
const start = (event) => {
if (this._pointerEvent &&
PointerType[event.pointerType.toUpperCase()]) {
this.touchStartX = event.clientX;
}
else if (!this._pointerEvent) {
this.touchStartX = event.touches[0].clientX;
}
};
const move = (event) => {
// ensure swiping with one touch and not pinching
if (event.touches && event.touches.length > 1) {
this.touchDeltaX = 0;
}
else {
this.touchDeltaX = event.touches[0].clientX - this.touchStartX;
}
};
const end = (event) => {
if (this._pointerEvent &&
PointerType[event.pointerType.toUpperCase()]) {
this.touchDeltaX = event.clientX - this.touchStartX;
}
this._handleSwipe();
if (this._config.pause === "hover") {
// If it's a touch-enabled device, mouseenter/leave are fired as
// part of the mouse compatibility events on first tap - the carousel
// would stop cycling until user tapped out of it;
// here, we listen for touchend, explicitly pause the carousel
// (as if it's the second time we tap on it, mouseenter compat event
// is NOT fired) and after a timeout (to allow for mouse compatibility
// events to fire) we explicitly restart cycling
this.pause();
if (this.touchTimeout) {
clearTimeout(this.touchTimeout);
}
this.touchTimeout = setTimeout((event) => this.cycle(event), TOUCHEVENT_COMPAT_WAIT + (this._config.interval || 0));
}
};
Utils.makeArray(SelectorEngine.find(Selector.ITEM_IMG, this._element)).forEach((itemImg) => {
EventHandler.on(itemImg, Event.DRAG_START, (event) => event.preventDefault());
addTouchEventListeners() {
this.onTouchStart = this.onTouchStart.bind(this);
this.onTouchMove = this.onTouchMove.bind(this);
this.onTouchEnd = this.onTouchEnd.bind(this);
makeArray(find(Selector.ITEM_IMG, this.element)).forEach((itemImg) => {
EventHandler.on(itemImg, Event.DRAG_START, this.preventDrag);
});
if (this._pointerEvent) {
EventHandler.on(this._element, Event.POINTERDOWN, (event) => start(event));
EventHandler.on(this._element, Event.POINTERUP, (event) => end(event));
this._element.classList.add(ClassName.POINTER_EVENT);
if (this.pointerEvent) {
EventHandler.on(this.element, Event.POINTERDOWN, this.onTouchStart);
EventHandler.on(this.element, Event.POINTERUP, this.onTouchEnd);
this.element.classList.add(ClassName.POINTER_EVENT);
}
else {
EventHandler.on(this._element, Event.TOUCHSTART, (event) => start(event));
EventHandler.on(this._element, Event.TOUCHMOVE, (event) => move(event));
EventHandler.on(this._element, Event.TOUCHEND, (event) => end(event));
EventHandler.on(this.element, Event.TOUCHSTART, this.onTouchStart);
EventHandler.on(this.element, Event.TOUCHMOVE, this.onTouchMove);
EventHandler.on(this.element, Event.TOUCHEND, this.onTouchEnd);
}
}
_keydown(event) {
removeEventListeners() {
if (this.config.keyboard) {
EventHandler.off(this.element, Event.KEYDOWN, this.keydown);
}
if (this.config.pause === "hover") {
EventHandler.off(this.element, Event.MOUSEENTER, this.pause);
EventHandler.off(this.element, Event.MOUSELEAVE, this.cycle);
}
this.removeTouchEventListeners();
}
removeTouchEventListeners() {
makeArray(find(Selector.ITEM_IMG, this.element)).forEach((itemImg) => {
EventHandler.off(itemImg, Event.DRAG_START, this.preventDrag);
});
if (this.pointerEvent) {
EventHandler.off(this.element, Event.POINTERDOWN, this.onTouchStart);
EventHandler.off(this.element, Event.POINTERUP, this.onTouchEnd);
this.element.classList.add(ClassName.POINTER_EVENT);
}
else {
EventHandler.off(this.element, Event.TOUCHSTART, this.onTouchStart);
EventHandler.off(this.element, Event.TOUCHMOVE, this.onTouchMove);
EventHandler.off(this.element, Event.TOUCHEND, this.onTouchEnd);
}
}
onTouchStart(e) {
const event = e;
if (this.pointerEvent &&
PointerType[event.pointerType.toUpperCase()]) {
this.touchStartX = event.clientX;
}
else if (!this.pointerEvent) {
this.touchStartX = event.touches[0].clientX;
}
}
onTouchMove(e) {
const event = e;
// ensure swiping with one touch and not pinching
if (event.touches && event.touches.length > 1) {
this.touchDeltaX = 0;
}
else {
this.touchDeltaX = event.touches[0].clientX - this.touchStartX;
}
}
onTouchEnd(e) {
const event = e;
if (this.pointerEvent &&
PointerType[event.pointerType.toUpperCase()]) {
this.touchDeltaX = event.clientX - this.touchStartX;
}
this.handleSwipe();
if (this.config.pause === "hover") {
// If it's a touch-enabled device, mouseenter/leave are fired as
// part of the mouse compatibility events on first tap - the carousel
// would stop cycling until user tapped out of it;
// here, we listen for touchend, explicitly pause the carousel
// (as if it's the second time we tap on it, mouseenter compat event
// is NOT fired) and after a timeout (to allow for mouse compatibility
// events to fire) we explicitly restart cycling
this.pause();
if (this.touchTimeout) {
clearTimeout(this.touchTimeout);
}
this.touchTimeout = setTimeout((event) => this.cycle(event), TOUCHEVENT_COMPAT_WAIT + (this.config.interval || 0));
}
}
preventDrag(event) {
event.preventDefault();
}
keydown(e) {
const event = e;
if (event.target?.tagName &&

@@ -315,14 +339,14 @@ /input|textarea/i.test(event.target.tagName)) {

}
_getItemIndex(element) {
getItemIndex(element) {
if (!element) {
return -1;
}
this._items =
this.items =
element && element.parentNode
? Utils.makeArray(SelectorEngine.find(Selector.ITEM, element.parentNode))
? makeArray(find(Selector.ITEM, element.parentNode))
: [];
return this._items.indexOf(element);
return this.items.indexOf(element);
}
_getItemByDirection(direction, activeElement) {
if (this._items === null) {
getItemByDirection(direction, activeElement) {
if (this.items === null) {
throw new Error("No items found!");

@@ -332,19 +356,19 @@ }

const isPrevDirection = direction === Direction.PREV;
const activeIndex = this._getItemIndex(activeElement);
const lastItemIndex = this._items.length - 1;
const activeIndex = this.getItemIndex(activeElement);
const lastItemIndex = this.items.length - 1;
const isGoingToWrap = (isPrevDirection && activeIndex === 0) ||
(isNextDirection && activeIndex === lastItemIndex);
if (isGoingToWrap && !this._config.wrap) {
if (isGoingToWrap && !this.config.wrap) {
return activeElement;
}
const delta = direction === Direction.PREV ? -1 : 1;
const itemIndex = (activeIndex + delta) % this._items.length;
const itemIndex = (activeIndex + delta) % this.items.length;
return itemIndex === -1
? this._items[this._items.length - 1]
: this._items[itemIndex];
? this.items[this.items.length - 1]
: this.items[itemIndex];
}
_triggerSlideEvent(relatedTarget, eventDirectionName) {
const targetIndex = this._getItemIndex(relatedTarget);
const fromIndex = this._getItemIndex(SelectorEngine.findOne(Selector.ACTIVE_ITEM, this._element) || null);
return EventHandler.trigger(this._element, Event.SLIDE, {
triggerSlideEvent(relatedTarget, eventDirectionName) {
const targetIndex = this.getItemIndex(relatedTarget);
const fromIndex = this.getItemIndex(findOne(Selector.ACTIVE_ITEM, this.element) || null);
return EventHandler.trigger(this.element, Event.SLIDE, {
relatedTarget,

@@ -356,9 +380,9 @@ direction: eventDirectionName,

}
_setActiveIndicatorElement(element) {
if (this._indicatorsElement) {
const indicators = SelectorEngine.find(Selector.ACTIVE, this._indicatorsElement);
setActiveIndicatorElement(element) {
if (this.indicatorsElement) {
const indicators = find(Selector.ACTIVE, this.indicatorsElement);
for (let i = 0; i < indicators.length; i++) {
indicators[i].classList.remove(ClassName.ACTIVE);
}
const nextIndicator = this._indicatorsElement.children[this._getItemIndex(element)];
const nextIndicator = this.indicatorsElement.children[this.getItemIndex(element)];
if (nextIndicator) {

@@ -369,12 +393,12 @@ nextIndicator.classList.add(ClassName.ACTIVE);

}
_slide(direction, element) {
const activeElement = SelectorEngine.findOne(Selector.ACTIVE_ITEM, this._element);
const activeElementIndex = this._getItemIndex(activeElement);
slide(direction, element) {
const activeElement = findOne(Selector.ACTIVE_ITEM, this.element);
const activeElementIndex = this.getItemIndex(activeElement);
const nextElement = element ||
(activeElement && this._getItemByDirection(direction, activeElement));
(activeElement && this.getItemByDirection(direction, activeElement));
if (!nextElement) {
throw new Error("Next element not found!");
}
const nextElementIndex = this._getItemIndex(nextElement);
const isCycling = Boolean(this._interval);
const nextElementIndex = this.getItemIndex(nextElement);
const isCycling = Boolean(this.interval);
let directionalClassName;

@@ -394,6 +418,6 @@ let orderClassName;

if (nextElement && nextElement.classList.contains(ClassName.ACTIVE)) {
this._isSliding = false;
this.isSliding = false;
return;
}
const slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);
const slideEvent = this.triggerSlideEvent(nextElement, eventDirectionName);
if (slideEvent.defaultPrevented) {

@@ -406,10 +430,10 @@ return;

}
this._isSliding = true;
this.isSliding = true;
if (isCycling) {
this.pause();
}
this._setActiveIndicatorElement(nextElement);
if (this._element.classList.contains(ClassName.SLIDE)) {
this.setActiveIndicatorElement(nextElement);
if (this.element.classList.contains(ClassName.SLIDE)) {
nextElement.classList.add(orderClassName);
Utils.reflow(nextElement);
reflow(nextElement);
activeElement.classList.add(directionalClassName);

@@ -419,11 +443,11 @@ nextElement.classList.add(directionalClassName);

if (nextElementInterval) {
this._config.defaultInterval =
this._config.defaultInterval || this._config.interval;
this._config.interval = nextElementInterval;
this.config.defaultInterval =
this.config.defaultInterval || this.config.interval;
this.config.interval = nextElementInterval;
}
else {
this._config.interval =
this._config.defaultInterval || this._config.interval;
this.config.interval =
this.config.defaultInterval || this.config.interval;
}
const transitionDuration = Utils.getTransitionDurationFromElement(activeElement);
const transitionDuration = getTransitionDurationFromElement(activeElement);
EventHandler.one(activeElement, TRANSITION_END, () => {

@@ -436,5 +460,5 @@ nextElement.classList.remove(directionalClassName);

activeElement.classList.remove(directionalClassName);
this._isSliding = false;
this.isSliding = false;
setTimeout(() => {
EventHandler.trigger(this._element, Event.SLID, {
EventHandler.trigger(this.element, Event.SLID, {
relatedTarget: nextElement,

@@ -447,3 +471,3 @@ direction: eventDirectionName,

});
Utils.emulateTransitionEnd(activeElement, transitionDuration);
emulateTransitionEnd(activeElement, transitionDuration);
}

@@ -453,4 +477,4 @@ else {

nextElement.classList.add(ClassName.ACTIVE);
this._isSliding = false;
EventHandler.trigger(this._element, Event.SLID, {
this.isSliding = false;
EventHandler.trigger(this.element, Event.SLID, {
relatedTarget: nextElement,

@@ -468,2 +492,2 @@ direction: eventDirectionName,

export default CarouselService;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2Fyb3VzZWwuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2aWNlcy9jYXJvdXNlbC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBOzs7OztHQUt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yQixDQUFDLENBQUM7U0FDSjtRQUVELElBQUksU0FBUyxFQUFFO1lBQ2IsSUFBSSxDQUFDLEtBQUssRUFBRSxDQUFDO1NBQ2Q7SUFDSCxDQUFDO0NBQ0Y7QUFFRCxlQUFlLGVBQWUsQ0FBQyJ9

@@ -100,3 +100,2 @@ /**

static _clearMenus(): void;
static _getParentFromElement(element: Element): HTMLElement;
private _element;

@@ -118,3 +117,3 @@ private _popper;

*/
private clouseOnClickOutsite;
private closeOnClickOutside;
private _getConfig;

@@ -121,0 +120,0 @@ private _getMenuElement;

@@ -90,3 +90,4 @@ import Popper from "popper.js"; // /dist/umd/popper

this._inNavbar = this._detectNavbar();
this.clouseOnClickOutsite(DropdownService._getParentFromElement(this._element));
this.outsideClickListener = this.outsideClickListener.bind(this);
this.closeOnClickOutside();
}

@@ -127,3 +128,3 @@ // Getters

}
const parent = DropdownService._getParentFromElement(triggerCloseElement);
const parent = triggerCloseElement.parentElement;
if (parent && parent.classList.contains(CLASSNAME.SHOW)) {

@@ -137,8 +138,2 @@ parent.classList.remove(CLASSNAME.SHOW);

}
static _getParentFromElement(element) {
if (!element.parentElement) {
throw new Error("Parent element not found!");
}
return element.parentElement;
}
// Public

@@ -152,3 +147,3 @@ close() {

};
const parent = DropdownService._getParentFromElement(this._element);
const parent = this._element.parentElement;
if (!this._menu.classList.contains(CLASSNAME.SHOW)) {

@@ -167,3 +162,3 @@ this._menu.classList.add(CLASSNAME.SHOW);

}
const parent = DropdownService._getParentFromElement(this._element);
const parent = this._element.parentElement;
const isActive = this._menu.classList.contains(CLASSNAME.SHOW);

@@ -185,3 +180,2 @@ DropdownService._clearMenus();

}
this.clouseOnClickOutsite(DropdownService._getParentFromElement(this._element));
// Disable totally Popper.js for Dropdown in Navbar

@@ -215,3 +209,2 @@ if (!this._inNavbar) {

}
this.clouseOnClickOutsite(DropdownService._getParentFromElement(this._element));
this._element.focus();

@@ -235,2 +228,3 @@ this._element.setAttribute("aria-expanded", "true");

}
document.removeEventListener("click", this.outsideClickListener);
}

@@ -244,7 +238,8 @@ update() {

// Private
outsideClickListener(element, event) {
outsideClickListener(event) {
const target = event.target || event.srcElement || event.currentTarget;
if (target && !element.contains(target)) {
const parent = this._element.parentElement;
if (target && !parent.contains(target)) {
this.close();
document.removeEventListener("click", this.outsideClickListener.bind(this, element));
document.removeEventListener("click", this.outsideClickListener);
}

@@ -256,4 +251,6 @@ }

*/
clouseOnClickOutsite(element) {
document.addEventListener("click", this.outsideClickListener.bind(this, element));
closeOnClickOutside() {
if (this._element.parentElement) {
document.addEventListener("click", this.outsideClickListener);
}
}

@@ -271,3 +268,3 @@ _getConfig(config) {

if (!this._menu) {
const parent = DropdownService._getParentFromElement(this._element);
const parent = this._element.parentElement;
if (parent) {

@@ -345,2 +342,2 @@ const menu = parent.querySelector(SELECTOR.MENU);

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2aWNlcy9kcm9wZG93bi5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sTUFBTSxNQUFNLFdBQVcsQ0FBQyxDQUFDLG1CQUFtQjtBQUNuRCxPQUFPLEVBQUUsU0FBUyxFQUFFLGVBQWUsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzdEOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxNQUFNLENBQUMsTUFBTSxJQUFJLEdBQUcsVUFBVSxDQUFDO0FBQy9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxPQUFPLENBQUM7QUFDL0IsTUFBTSxDQUFDLE1BQU0sUUFBUSxHQUFHLGFBQWEsQ0FBQztBQUN0QyxNQUFNLENBQUMsTUFBTSxTQUFTLEdBQUcsSUFBSSxRQUFRLEVBQUUsQ0FBQztBQUN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QUFTLEVBQUUsRUFBRTtnQkFDNUIsSUFBSSxDQUFDLE9BQU8sR0FBRztvQkFDYixHQUFHLElBQUksQ0FBQyxPQUFPO29CQUNmLEdBQUcsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksRUFBRSxDQUFDO2lCQUM3QyxDQUFDO2dCQUNGLE9BQU8sSUFBSSxDQUFDO1lBQ2QsQ0FBQyxDQUFDO1NBQ0g7YUFBTTtZQUNMLFVBQVUsQ0FBQyxNQUFNLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUM7U0FDekM7UUFFRCxNQUFNLFlBQVksR0FBRztZQUNuQixTQUFTLEVBQUUsSUFBSSxDQUFDLGFBQWEsRUFBUztZQUN0QyxTQUFTLEVBQUU7Z0JBQ1QsTUFBTSxFQUFFLFVBQVU7Z0JBQ2xCLElBQUksRUFBRTtvQkFDSixPQUFPLEVBQUUsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJO2lCQUMzQjtnQkFDRCxlQUFlLEVBQUU7b0JBQ2YsaUJBQWlCLEVBQUUsSUFBSSxDQUFDLE9BQU8sQ0FBQyxRQUFRO2lCQUN6QzthQUNLO1NBQ1QsQ0FBQztRQUVGLGdEQUFnRDtRQUNoRCxJQUFJLElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTyxLQUFLLFFBQVEsRUFBRTtZQUNyQyxZQUFZLENBQUMsU0FBUyxDQUFDLFVBQVUsR0FBRztnQkFDbEMsT0FBTyxFQUFFLEtBQUs7YUFDZixDQUFDO1NBQ0g7UUFDRCxPQUFPLFlBQVksQ0FBQztJQUN0QixDQUFDO0NBQ0YifQ==
{
"name": "@ribajs/bs4",
"description": "Bootstrap 4 module for Riba.js",
"version": "1.9.0-beta.2",
"version": "1.9.0-beta.3",
"author": "Pascal Garber <pascal@artandcode.studio>",

@@ -49,21 +49,21 @@ "contributors": [],

"devDependencies": {
"@babel/cli": "^7.12.0",
"@babel/core": "^7.12.0",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-proposal-optional-chaining": "^7.12.0",
"@babel/plugin-syntax-export-default-from": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.12.0",
"@babel/preset-env": "^7.12.0",
"@babel/preset-typescript": "^7.12.0",
"@babel/runtime": "^7.12.0",
"@babel/runtime-corejs3": "^7.12.0",
"@ribajs/eslint-config": "1.9.0-beta.2",
"@ribajs/tsconfig": "1.9.0-beta.2",
"@ribajs/types": "1.9.0-beta.2",
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
"@babel/plugin-syntax-export-default-from": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@babel/runtime": "^7.12.1",
"@babel/runtime-corejs3": "^7.12.1",
"@ribajs/eslint-config": "1.9.0-beta.3",
"@ribajs/tsconfig": "1.9.0-beta.3",
"@ribajs/types": "1.9.0-beta.3",
"@types/jest": "^26.0.15",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"@yarnpkg/pnpify": "^2.3.3",
"babel-jest": "^26.5.2",
"babel-jest": "^26.6.1",
"babel-loader": "^8.1.0",

@@ -73,17 +73,17 @@ "babel-plugin-array-includes": "^2.0.3",

"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
"eslint-config-prettier": "^6.14.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.5.3",
"jest": "^26.6.1",
"jest-extended": "^0.11.5",
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"ts-jest": "^26.4.2",
"typescript": "^4.0.3",
"webpack": "^5.1.2",
"webpack-cli": "^4.0.0"
"webpack": "^5.2.0",
"webpack-cli": "^4.1.0"
},
"dependencies": {
"@ribajs/cache": "1.9.0-beta.2",
"@ribajs/core": "1.9.0-beta.2",
"@ribajs/extras": "1.9.0-beta.2",
"@ribajs/utils": "1.9.0-beta.2",
"@ribajs/cache": "1.9.0-beta.3",
"@ribajs/core": "1.9.0-beta.3",
"@ribajs/extras": "1.9.0-beta.3",
"@ribajs/utils": "1.9.0-beta.3",
"bootstrap": "^4.5.3",

@@ -90,0 +90,0 @@ "popper.js": "^1.16.1"

@@ -10,20 +10,30 @@ import { Binder } from "@ribajs/core";

name: "bs4-",
bind(el: HTMLElement) {
this.customData = {
toggler:
(el.classList.contains("dropdown-toggle")
? el
: el.querySelector(".dropdown-toggle")) || el,
};
},
routine(el: HTMLElement, option: any = {}) {
let toggler: HTMLButtonElement;
if (el.classList.contains("dropdown-toggle")) {
toggler = el as HTMLButtonElement;
} else {
toggler = el.querySelector(".dropdown-toggle") as HTMLButtonElement;
if (this.customData.dropdownService) {
this.customData.dropdownService.dispose();
this.customData.toggler.removeEventListener(
"click",
this.customData.dropdownService.toggle
);
}
if (!toggler) {
toggler = el as HTMLButtonElement;
}
const dropdownService = new DropdownService(toggler, option);
toggler.addEventListener("click", () => {
dropdownService.toggle();
});
this.customData.dropdownService = new DropdownService(
this.customData.toggler,
option
);
this.customData.dropdownService.toggle = this.customData.dropdownService.toggle.bind(
this.customData.dropdownService
);
this.customData.toggler.addEventListener(
"click",
this.customData.dropdownService.toggle
);
},
};

@@ -11,54 +11,55 @@ import { Binder } from "@ribajs/core";

bind(el: HTMLElement) {
this.customData = {};
/**
* Determine if an element is in the viewport
* @param elem The element
* @return Returns true if element is in the viewport
*/
this.customData.isInViewport = (elem: Element): boolean => {
if (!elem) {
return false;
}
const distance = elem.getBoundingClientRect();
this.customData.offsetTop = Number(el.dataset.offset || 0);
this.customData.offsetBottom = Number(el.dataset.offsetBottom || 0);
return (
distance.top + distance.height >= this.customData.offsetBottom &&
distance.bottom - distance.height <= this.customData.offsetTop
);
};
this.customData = {
onScroll: function () {
const target = this.customData.target;
const className = this.customData.className;
if (!this.customData.target) {
return;
}
this.customData.onScroll = () => {
const target = this.customData.target;
const className = this.customData.className;
if (!this.customData.target) {
return;
}
/**
* Because we are looking if the element is in viewport we should use the parent wrapper instead of header elements
*/
// if (target.tagName === 'H1' || target.tagName === 'H2' || target.tagName === 'H3' || target.tagName === 'H4' || target.tagName === 'H5' || target.tagName === 'H6') {
// if (target.parentElement.tagName === 'SECTION') {
// target = target.parentElement;
// }
// }
if (this.customData.isInViewport(target)) {
el.classList.add(className);
if ((el as HTMLInputElement).type === "radio") {
(el as HTMLInputElement).checked = true;
}
} else {
el.classList.remove(className);
if ((el as HTMLInputElement).type === "radio") {
(el as HTMLInputElement).checked = false;
}
}
},
/**
* Because we are looking if the element is in viewport we should use the parent wrapper instead of header elements
* Determine if an element is in the viewport
* @param elem The element
* @return Returns true if element is in the viewport
*/
// if (target.tagName === 'H1' || target.tagName === 'H2' || target.tagName === 'H3' || target.tagName === 'H4' || target.tagName === 'H5' || target.tagName === 'H6') {
// if (target.parentElement.tagName === 'SECTION') {
// target = target.parentElement;
// }
// }
if (this.customData.isInViewport(target)) {
el.classList.add(className);
if ((el as HTMLInputElement).type === "radio") {
(el as HTMLInputElement).checked = true;
isInViewport: function (elem: Element) {
if (!elem) {
return false;
}
} else {
el.classList.remove(className);
if ((el as HTMLInputElement).type === "radio") {
(el as HTMLInputElement).checked = false;
}
}
const distance = elem.getBoundingClientRect();
this.customData.offsetTop = Number(el.dataset.offset || 0);
this.customData.offsetBottom = Number(el.dataset.offsetBottom || 0);
return (
distance.top + distance.height >= this.customData.offsetBottom &&
distance.bottom - distance.height <= this.customData.offsetTop
);
},
};
window.addEventListener(
"scroll",
debounce(this.customData.onScroll.bind(this)),
{ passive: true }
);
this.customData.isInViewport = this.customData.isInViewport.bind(this);
this.customData.onScroll = debounce(this.customData.onScroll.bind(this));
window.addEventListener("scroll", this.customData.onScroll, {
passive: true,
});
this.customData.onScroll();

@@ -72,7 +73,4 @@ },

unbind() {
window.removeEventListener(
"scroll",
debounce(this.customData.onScroll.bind(this))
);
window.removeEventListener("scroll", this.customData.onScroll);
},
};

@@ -6,19 +6,20 @@ import { Binder, EventDispatcher } from "@ribajs/core";

name: "show-toast-on-*",
onEvent(event: CustomEvent) {
console.debug("[show-toast-on-*] event.detail:", event.detail);
this.customData.toastData.$event = event;
this.customData.toastData.$context = this.view.models;
console.debug(this.customData.toastData);
const toastData: Toast = new Toast(this.customData.toastData);
const notificationDispatcher = new EventDispatcher(
toastData.channel || "toast"
);
notificationDispatcher.trigger("show-notification", toastData);
},
bind(el: HTMLUnknownElement) {
this.customData = {};
this.customData = {
onEvent(event: CustomEvent) {
console.debug("[show-toast-on-*] event.detail:", event.detail);
this.customData.toastData.$event = event;
this.customData.toastData.$context = this.view.models;
console.debug(this.customData.toastData);
const toastData: Toast = new Toast(this.customData.toastData);
const notificationDispatcher = new EventDispatcher(
toastData.channel || "toast"
);
notificationDispatcher.trigger("show-notification", toastData);
},
};
const eventName = this.args[0] as string;
// assign onEvent to bound version so we can remove the DOM Element listener later without problems
this.binder.onEvent = this.binder.onEvent.bind(this);
el.addEventListener(eventName, this.binder.onEvent);
this.customData.onEvent = this.customData.onEvent.bind(this);
el.addEventListener(eventName, this.customData.onEvent);
},

@@ -33,4 +34,4 @@ routine(el: HTMLUnknownElement, toastData: Toast) {

const eventName = this.args[0] as string;
el.removeEventListener(eventName, this.binder.onEvent);
el.removeEventListener(eventName, this.customData.onEvent);
},
};

@@ -16,30 +16,30 @@ import { Binder } from "@ribajs/core";

name: "bs4-toggle-collapse-on-*",
collapseServices: [] as CollapseService[],
targets: null,
onEvent(event: Event) {
const self = (this.binder || this) as Bs4CollapseOnEventBinder;
event.preventDefault();
// console.debug('[toggleCollapseOnEventBinder] onEvent', self.collapseServices);
self.collapseServices.forEach((collapseService) => {
collapseService.toggle();
});
bind(el: HTMLElement) {
this.customData = {
targets: new Map<HTMLElement, CollapseService>(),
onEvent(event: Event) {
event.preventDefault();
// eslint-disable-next-line @typescript-eslint/no-unused-vars
for (const collapseService of this.targets.values()) {
collapseService.toggle();
}
},
};
this.customData.onEvent = this.customData.onEvent.bind(this.customData);
if (this.args === null) {
throw new Error("args is null");
}
const eventName = this.args[0] as string;
el.addEventListener(eventName, this.customData.onEvent);
},
bind() {
/**/
},
unbind() {
const self = (this.binder || this) as Bs4CollapseOnEventBinder;
const eventName = this.args[0] as string;
this.el.removeEventListener(eventName, self.onEvent.bind(this));
this.el.removeEventListener(eventName, this.customData.onEvent);
},
routine(el: HTMLElement, targetSelector: string) {
if (this.args === null) {
throw new Error("args is null");
}
const self = (this.binder || this) as Bs4CollapseOnEventBinder;
const eventName = this.args[0] as string;
const newTargets = Array.from(
document.querySelectorAll<HTMLElement>(targetSelector)
);
self.targets = document.querySelectorAll<HTMLElement>(targetSelector);
if (self.targets.length <= 0) {
if (newTargets.length <= 0) {
console.warn(

@@ -50,12 +50,20 @@ `[toggleCollapseOnEventBinder] No element with selector "${targetSelector}" found.`

self.targets.forEach((target) => {
self.collapseServices.push(
new CollapseService(target, [el], { toggle: false })
);
});
// eslint-disable-next-line @typescript-eslint/no-unused-vars
for (const target of this.customData.targets.keys()) {
if (!newTargets.find((x) => x === target)) {
this.customData.targets.get(target).dispose();
this.customData.targets.delete(target);
}
}
el.addEventListener(eventName, self.onEvent.bind(this));
for (const target of newTargets) {
if (!this.customData.targets.has(target)) {
this.customData.targets.set(
target,
new CollapseService(target, [el], { toggle: false })
);
}
}
// onStateChange();
},
};

@@ -7,11 +7,15 @@ import { Binder } from "@ribajs/core";

bind(el: HTMLUnknownElement) {
this.customData = {};
this.customData.onEvent = (event: Event) => {
const offset = Number(el.dataset.offset || 0);
const scrollElement = el.dataset.scrollElement
? document.querySelector(el.dataset.scrollElement)
: window;
scrollTo(this.customData.target, offset, scrollElement);
event.preventDefault();
this.customData = {
onEvent: function (event: Event) {
const offset = Number(el.dataset.offset || 0);
const scrollElement = el.dataset.scrollElement
? document.querySelector(el.dataset.scrollElement)
: window;
if (this.customData.target) {
scrollTo(this.customData.target, offset, scrollElement);
event.preventDefault();
}
},
};
this.customData.onEvent = this.customData.onEvent.bind(this);
const eventName = this.args[0] as string;

@@ -21,8 +25,3 @@ el.addEventListener(eventName, this.customData.onEvent);

routine(el: HTMLUnknownElement, targetSelector: string) {
if (this.args === null) {
throw new Error("args is null");
}
const eventName = this.args[0] as string;
this.customData.target = document.querySelector(targetSelector);
el.addEventListener(eventName, this.customData.onEvent);
},

@@ -29,0 +28,0 @@ unbind(el: HTMLElement) {

@@ -19,3 +19,3 @@ import { Component } from "@ribajs/core";

animationClass: "btn-animation-start",
onClick: this.onClick,
onClick: this.onClick.bind(this),
};

@@ -57,16 +57,15 @@

return super.init(observedAttributes).then((view) => {
this.onStartAnimation = this.onStartAnimation.bind(this);
this.el.addEventListener(
"webkitAnimationStart" as "animationstart",
this.onStartAnimation.bind(this)
this.onStartAnimation
);
this.el.addEventListener("animationstart", this.onStartAnimation);
this.onEndAnimation = this.onEndAnimation.bind(this);
this.el.addEventListener(
"animationstart",
this.onStartAnimation.bind(this)
);
this.el.addEventListener(
"webkitAnimationEnd" as "animationend",
this.onEndAnimation.bind(this)
this.onEndAnimation
);
this.el.addEventListener("animationend", this.onEndAnimation.bind(this));
this.el.addEventListener("click", this.onClick.bind(this));
this.el.addEventListener("animationend", this.onEndAnimation);
this.el.addEventListener("click", this.scope.onClick);
return view;

@@ -109,14 +108,11 @@ });

"webkitAnimationStart" as "animationstart",
this.onStartAnimation.bind(this)
this.onStartAnimation
);
this.el.removeEventListener("animationstart", this.onStartAnimation);
this.el.removeEventListener(
"animationstart",
this.onStartAnimation.bind(this)
);
this.el.removeEventListener(
"webkitAnimationEnd" as "animationend",
this.onEndAnimation.bind(this)
this.onEndAnimation
);
this.el.removeEventListener("animationend", this.onEndAnimation.bind(this));
this.el.removeEventListener("click", this.onClick.bind(this));
this.el.removeEventListener("animationend", this.onEndAnimation);
this.el.removeEventListener("click", this.scope.onClick);
}

@@ -123,0 +119,0 @@

@@ -103,2 +103,3 @@ import { Component, HttpService, HttpMethod, HttpDataType } from "@ribajs/core";

super(element);
this.enableSubmit = this.enableSubmit.bind(this);
}

@@ -114,8 +115,14 @@

if (this.scope.disableSubmitUntilChange) {
this.el.addEventListener("input", () => {
this.scope.submitDisabled = false;
});
this.el.addEventListener("input", this.enableSubmit);
}
}
protected removeEventListeners() {
this.el.removeEventListener("input", this.enableSubmit);
}
private enableSubmit() {
this.scope.submitDisabled = false;
}
protected requiredAttributes(): string[] {

@@ -122,0 +129,0 @@ return [];

@@ -36,5 +36,5 @@ import { Component } from "@ribajs/core";

protected scope: Scope = {
onHidden: this.onHidden,
onHidden: this.onHidden.bind(this),
index: -1,
dismiss: this.dismiss,
dismiss: this.dismiss.bind(this),
};

@@ -75,3 +75,3 @@

// Call onHidden on hidden event once
modalEl.addEventListener(EVENT_HIDDEN, this.onHidden.bind(this), {
modalEl.addEventListener(EVENT_HIDDEN, this.scope.onHidden, {
once: true,

@@ -78,0 +78,0 @@ });

@@ -20,4 +20,3 @@ import { Component, EventDispatcher } from "@ribajs/core";

protected collapseElements: NodeListOf<HTMLElement> | HTMLElement[] = [];
protected collapseServices: CollapseService[] = [];
protected collapseTargets: Map<HTMLElement, CollapseService> = new Map();
protected routerEvents?: EventDispatcher;

@@ -40,3 +39,3 @@

public toggle(event?: Event) {
for (const collapseService of this.collapseServices) {
for (const collapseService of this.collapseTargets.values()) {
collapseService.toggle();

@@ -52,3 +51,3 @@ }

public show(event?: Event) {
for (const collapseService of this.collapseServices) {
for (const collapseService of this.collapseTargets.values()) {
collapseService.show();

@@ -63,3 +62,3 @@ }

public hide(event?: Event) {
for (const collapseService of this.collapseServices) {
for (const collapseService of this.collapseTargets.values()) {
collapseService.hide();

@@ -86,16 +85,22 @@ }

protected setCollapseElement() {
// Remove old event listeners
this.removeCollapseEventListeners();
const collapseElements = Array.from(
this.el.querySelectorAll<HTMLElement>(this.scope.collapseSelector) || []
);
this.collapseElements =
this.el.querySelectorAll<HTMLElement>(this.scope.collapseSelector) || [];
// remove old collapse targets
for (const collapseElement of this.collapseTargets.keys()) {
if (!collapseElements.find((ce) => ce === collapseElement)) {
this.disposeCollapseTarget(collapseElement);
}
}
// Add new event listeners
this.addCollapseEventListeners();
if (this.collapseElements) {
for (const collapseElement of Array.from(this.collapseElements)) {
this.collapseServices.push(
// add new collapse targets
for (const collapseElement of collapseElements) {
if (!this.collapseTargets.has(collapseElement)) {
this.collapseTargets.set(
collapseElement,
new CollapseService(collapseElement, [this.el], { toggle: false })
);
collapseElement.addEventListener(EVENT_SHOWN, this.onStateChange);
collapseElement.addEventListener(EVENT_HIDDEN, this.onStateChange);
}

@@ -107,24 +112,16 @@ }

protected addCollapseEventListeners() {
if (this.collapseElements) {
this.collapseElements.forEach((collapseElement: HTMLElement) => {
collapseElement.addEventListener(EVENT_SHOWN, this.onStateChange);
collapseElement.addEventListener(EVENT_HIDDEN, this.onStateChange);
});
protected disposeCollapseTargets() {
for (const collapseElement of this.collapseTargets.keys()) {
this.disposeCollapseTarget(collapseElement);
}
}
protected removeCollapseEventListeners() {
if (this.collapseElements) {
this.collapseElements.forEach((collapseElement: HTMLElement) => {
collapseElement.removeEventListener(
EVENT_SHOWN,
this.onStateChange.bind(this)
);
collapseElement.removeEventListener(
EVENT_HIDDEN,
this.onStateChange.bind(this)
);
});
protected disposeCollapseTarget(collapseElement: HTMLElement) {
const collapseService = this.collapseTargets.get(collapseElement);
if (collapseService) {
collapseService.dispose();
}
this.collapseTargets.delete(collapseElement);
collapseElement.removeEventListener(EVENT_SHOWN, this.onStateChange);
collapseElement.removeEventListener(EVENT_HIDDEN, this.onStateChange);
}

@@ -134,3 +131,3 @@

super.disconnectedCallback();
this.removeCollapseEventListeners();
this.disposeCollapseTargets();
if (this.routerEvents) {

@@ -142,3 +139,6 @@ this.routerEvents.off("newPageReady", this.onNewPageReady, this);

protected onStateChange() {
this.scope.isCollapsed = !!this.collapseServices[0]?.isCollapsed();
this.scope.isCollapsed = this.collapseTargets
.entries()
.next()
.value[0]?.isCollapsed();

@@ -145,0 +145,0 @@ if (this.scope.isCollapsed) {

@@ -92,2 +92,4 @@ import { Component } from "@ribajs/core";

Bs4ShareComponent.count++;
this.onExternalOpenEvent = this.onExternalOpenEvent.bind(this);
this.onExternalCloseEvent = this.onExternalCloseEvent.bind(this);
}

@@ -235,9 +237,9 @@

protected addEventListeners() {
this.el.addEventListener("open", this.onExternalOpenEvent.bind(this));
this.el.addEventListener("close", this.onExternalCloseEvent.bind(this));
this.el.addEventListener("open", this.onExternalOpenEvent);
this.el.addEventListener("close", this.onExternalCloseEvent);
}
protected removeEventListeners() {
this.el.removeEventListener("open", this.onExternalOpenEvent.bind(this));
this.el.removeEventListener("close", this.onExternalOpenEvent.bind(this));
this.el.removeEventListener("open", this.onExternalOpenEvent);
this.el.removeEventListener("close", this.onExternalOpenEvent);
}

@@ -244,0 +246,0 @@

@@ -127,2 +127,4 @@ import { Component, EventDispatcher } from "@ribajs/core";

super(element);
// assign this to bound version, so we can remove window EventListener later without problem
this.onEnvironmentChanges = this.onEnvironmentChanges.bind(this);
}

@@ -165,4 +167,2 @@

this.style = window.getComputedStyle(this.el);
// assign this to bound version, so we can remove window EventListener later without problem
this.onEnvironmentChanges = this.onEnvironmentChanges.bind(this);
window.addEventListener("resize", this.onEnvironmentChanges, false);

@@ -173,10 +173,6 @@ // inital

protected onToggle() {
this.toggle();
}
protected initToggleButtonEventDispatcher() {
if (this.toggleButtonEvents) {
this.toggleButtonEvents.off("toggle");
this.toggleButtonEvents.off("init");
this.toggleButtonEvents.off("toggle", this.toggle, this);
this.toggleButtonEvents.off("init", this.triggerState, this);
}

@@ -186,3 +182,3 @@ this.toggleButtonEvents = new EventDispatcher(

);
this.toggleButtonEvents.on("toggle", this.onToggle, this);
this.toggleButtonEvents.on("toggle", this.toggle, this);
this.toggleButtonEvents.on("init", this.triggerState, this);

@@ -394,5 +390,4 @@ }

super.disconnectedCallback();
this.toggleButtonEvents?.off("init", this.triggerState.bind(this));
this.toggleButtonEvents?.off("toggle", this.onToggle.bind(this));
this.toggleButtonEvents?.off("init", this.triggerState.bind(this));
this.toggleButtonEvents?.off("init", this.triggerState, this);
this.toggleButtonEvents?.off("toggle", this.toggle, this);
this.routerEvents.off("newPageReady", this.onEnvironmentChanges, this);

@@ -399,0 +394,0 @@ window.removeEventListener("resize", this.onEnvironmentChanges, false);

@@ -136,2 +136,3 @@ import { handleizeFormatter, FormatterFn } from "@ribajs/core";

super(element);
this.onResizeEventHandler = throttle(this.setHeight.bind(this));
}

@@ -203,6 +204,2 @@

}
if (event) {
event.preventDefault();
}
}

@@ -249,2 +246,11 @@

protected disconnectedCallback() {
if (this.tabs) {
this.tabs.forEach((tab) => {
tab.removeEventListener("shown.bs.tab", this.onTabShownEventHandler);
});
}
window.removeEventListener("resize", this.onResizeEventHandler);
}
protected setElements() {

@@ -298,10 +304,6 @@ this.tabs = this.el.querySelectorAll('[role="tab"]');

const onResize = () => {
throttle(this.onResizeEventHandler.bind(this))();
};
if (this.scope.optionTabsAutoHeight) {
window.removeEventListener("resize", onResize);
window.addEventListener("resize", onResize);
this.onResizeEventHandler();
window.removeEventListener("resize", this.onResizeEventHandler);
window.addEventListener("resize", this.onResizeEventHandler);
this.setHeight();
}

@@ -308,0 +310,0 @@ }

@@ -36,5 +36,5 @@ import { Component } from "@ribajs/core";

protected scope: Scope = {
onHidden: this.onHidden,
onHidden: this.onHidden.bind(this),
index: -1,
dismiss: this.dismiss,
dismiss: this.dismiss.bind(this),
toast: undefined,

@@ -75,3 +75,3 @@ };

// Call onHidden on hidden event once
toastEl.addEventListener(EVENT_HIDDEN, this.onHidden.bind(this), {
toastEl.addEventListener(EVENT_HIDDEN, this.scope.onHidden, {
once: true,

@@ -78,0 +78,0 @@ });

@@ -18,1 +18,2 @@ export { Bs4DropdownComponent } from "./bs4-dropdown/bs4-dropdown.component";

export { Bs4ModalItemComponent } from "./bs4-modal-item/bs4-modal-item.component";
export { Bs4TaggedImageComponent } from "./bs4-tagged-image/bs4-tagged-image.component";

@@ -11,1 +11,2 @@ export * from "./carousel-class-name";

export * from "./tooltip-options";
export * from "./tagged-image-tag";

@@ -12,5 +12,14 @@ import { CarouselOption } from "../interfaces/carousel-option";

import { TRANSITION_END, Utils } from "./utils.service";
import {
TRANSITION_END,
typeCheckConfig,
makeArray,
reflow,
getTransitionDurationFromElement,
emulateTransitionEnd,
isVisible,
triggerTransitionEnd,
} from "./utils.service";
import EventHandler from "./dom/event-handler";
import SelectorEngine from "./dom/selector-engine";
import { findOne, find } from "./dom/selector-engine";

@@ -105,13 +114,13 @@ /**

class CarouselService {
private _items: HTMLElement[] | null = null;
private _interval: number | null = null;
private _activeElement: HTMLElement | null = null;
private _isPaused = false;
private _isSliding = false;
private items: HTMLElement[] | null = null;
private interval: number | null = null;
private activeElement: HTMLElement | null = null;
private isPaused = false;
private isSliding = false;
private _config: CarouselOption;
private _element: HTMLElement;
private _indicatorsElement: HTMLElement | null;
private _touchSupported: boolean;
private _pointerEvent: boolean;
private config: CarouselOption;
private element: HTMLElement;
private indicatorsElement: HTMLElement | null;
private touchSupported: boolean;
private pointerEvent: boolean;

@@ -123,26 +132,14 @@ public touchTimeout: number | null = null;

constructor(element: HTMLElement, config: CarouselOption) {
this._items = null;
this._interval = null;
this._activeElement = null;
this._isPaused = false;
this._isSliding = false;
this.touchTimeout = null;
this.touchStartX = 0;
this.touchDeltaX = 0;
this._config = this._getConfig(config);
this._element = element;
this._indicatorsElement =
(SelectorEngine.findOne(
Selector.INDICATORS,
this._element
) as HTMLElement) || null;
this._touchSupported =
this.config = this.getConfig(config);
this.element = element;
this.indicatorsElement =
(findOne(Selector.INDICATORS, this.element) as HTMLElement) || null;
this.touchSupported =
"ontouchstart" in document.documentElement ||
navigator.maxTouchPoints > 0;
this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent);
this.pointerEvent = !!(window.PointerEvent || window.MSPointerEvent);
console.debug("CarouselService", this);
this._addEventListeners();
this.addEventListeners();
}

@@ -159,4 +156,4 @@

next() {
if (!this._isSliding) {
this._slide(Direction.NEXT);
if (!this.isSliding) {
this.slide(Direction.NEXT);
}

@@ -168,3 +165,3 @@ }

// or the carousel or its parent isn't visible
if (!document.hidden && Utils.isVisible(this._element)) {
if (!document.hidden && isVisible(this.element)) {
this.next();

@@ -175,19 +172,19 @@ }

prev() {
if (!this._isSliding) {
this._slide(Direction.PREV);
if (!this.isSliding) {
this.slide(Direction.PREV);
}
}
pause(event?: (TouchEvent & MouseEvent & PointerEvent) | boolean) {
pause(event?: Event) {
if (!event) {
this._isPaused = true;
this.isPaused = true;
}
if (SelectorEngine.findOne(Selector.NEXT_PREV, this._element)) {
Utils.triggerTransitionEnd(this._element);
if (findOne(Selector.NEXT_PREV, this.element)) {
triggerTransitionEnd(this.element);
this.cycle(true);
}
clearInterval(this._interval || undefined);
this._interval = null;
clearInterval(this.interval || undefined);
this.interval = null;
}

@@ -197,16 +194,16 @@

if (!event) {
this._isPaused = false;
this.isPaused = false;
}
if (this._interval) {
clearInterval(this._interval);
this._interval = null;
if (this.interval) {
clearInterval(this.interval);
this.interval = null;
}
if (this._config && this._config.interval && !this._isPaused) {
this._interval = window.setInterval(
if (this.config && this.config.interval && !this.isPaused) {
this.interval = window.setInterval(
(document.visibilityState ? this.nextWhenVisible : this.next).bind(
this
),
this._config.interval
this.config.interval
);

@@ -217,21 +214,18 @@ }

to(index: number) {
if (this._items === null) {
if (this.items === null) {
throw new Error("No items found!");
}
this._activeElement =
(SelectorEngine.findOne(
Selector.ACTIVE_ITEM,
this._element
) as HTMLElement) || null;
if (this._activeElement === null) {
this.activeElement =
(findOne(Selector.ACTIVE_ITEM, this.element) as HTMLElement) || null;
if (this.activeElement === null) {
throw new Error("Active element not found!");
}
const activeIndex = this._getItemIndex(this._activeElement);
const activeIndex = this.getItemIndex(this.activeElement);
if (index > this._items.length - 1 || index < 0) {
if (index > this.items.length - 1 || index < 0) {
return;
}
if (this._isSliding) {
EventHandler.one(this._element, Event.SLID, () => this.to(index));
if (this.isSliding) {
EventHandler.one(this.element, Event.SLID, () => this.to(index));
return;

@@ -249,15 +243,9 @@ }

this._slide(direction, this._items[index]);
this.slide(direction, this.items[index]);
}
dispose() {
// EventHandler.off(this._element, EVENT_KEY)
// this._items = null
// this._config = null
// this._element = null
// this._interval = null
// this._isPaused = null
// this._isSliding = null
// this._activeElement = null
// this._indicatorsElement = null
this.removeEventListeners();
clearTimeout(this.touchTimeout || undefined);
clearInterval(this.interval || undefined);
}

@@ -267,3 +255,3 @@

_getConfig(config: CarouselOption) {
private getConfig(config: CarouselOption) {
config = {

@@ -273,7 +261,7 @@ ...Default,

} as CarouselOption;
Utils.typeCheckConfig(NAME, config, DefaultType);
typeCheckConfig(NAME, config, DefaultType);
return config;
}
_handleSwipe() {
private handleSwipe() {
const absDeltax = Math.abs(this.touchDeltaX);

@@ -300,105 +288,128 @@

_addEventListeners() {
if (this._config.keyboard) {
EventHandler.on(this._element, Event.KEYDOWN, (event) =>
this._keydown(event as KeyboardEvent)
);
private addEventListeners() {
this.keydown = this.keydown.bind(this);
this.pause = this.pause.bind(this);
this.cycle = this.cycle.bind(this);
if (this.config.keyboard) {
EventHandler.on(this.element, Event.KEYDOWN, this.keydown);
}
if (this._config.pause === "hover") {
EventHandler.on(this._element, Event.MOUSEENTER, (event: Event) =>
this.pause(event as TouchEvent & MouseEvent & PointerEvent)
);
EventHandler.on(this._element, Event.MOUSELEAVE, (event: Event) =>
this.cycle(event)
);
if (this.config.pause === "hover") {
EventHandler.on(this.element, Event.MOUSEENTER, this.pause);
EventHandler.on(this.element, Event.MOUSELEAVE, this.cycle);
}
if (this._config.touch && this._touchSupported) {
this._addTouchEventListeners();
if (this.config.touch && this.touchSupported) {
this.addTouchEventListeners();
}
}
_addTouchEventListeners() {
const start = (event: TouchEvent & MouseEvent & PointerEvent) => {
if (
this._pointerEvent &&
PointerType[event.pointerType.toUpperCase() as "TOUCH" | "PEN"]
) {
this.touchStartX = event.clientX;
} else if (!this._pointerEvent) {
this.touchStartX = event.touches[0].clientX;
}
};
private addTouchEventListeners() {
this.onTouchStart = this.onTouchStart.bind(this);
this.onTouchMove = this.onTouchMove.bind(this);
this.onTouchEnd = this.onTouchEnd.bind(this);
makeArray(find(Selector.ITEM_IMG, this.element)).forEach((itemImg) => {
EventHandler.on(itemImg, Event.DRAG_START, this.preventDrag);
});
const move = (event: TouchEvent & MouseEvent & PointerEvent) => {
// ensure swiping with one touch and not pinching
if (event.touches && event.touches.length > 1) {
this.touchDeltaX = 0;
} else {
this.touchDeltaX = event.touches[0].clientX - this.touchStartX;
}
};
if (this.pointerEvent) {
EventHandler.on(this.element, Event.POINTERDOWN, this.onTouchStart);
EventHandler.on(this.element, Event.POINTERUP, this.onTouchEnd);
const end = (event: TouchEvent & MouseEvent & PointerEvent) => {
if (
this._pointerEvent &&
PointerType[event.pointerType.toUpperCase() as "TOUCH" | "PEN"]
) {
this.touchDeltaX = event.clientX - this.touchStartX;
}
this.element.classList.add(ClassName.POINTER_EVENT);
} else {
EventHandler.on(this.element, Event.TOUCHSTART, this.onTouchStart);
EventHandler.on(this.element, Event.TOUCHMOVE, this.onTouchMove);
EventHandler.on(this.element, Event.TOUCHEND, this.onTouchEnd);
}
}
this._handleSwipe();
if (this._config.pause === "hover") {
// If it's a touch-enabled device, mouseenter/leave are fired as
// part of the mouse compatibility events on first tap - the carousel
// would stop cycling until user tapped out of it;
// here, we listen for touchend, explicitly pause the carousel
// (as if it's the second time we tap on it, mouseenter compat event
// is NOT fired) and after a timeout (to allow for mouse compatibility
// events to fire) we explicitly restart cycling
private removeEventListeners() {
if (this.config.keyboard) {
EventHandler.off(this.element, Event.KEYDOWN, this.keydown);
}
this.pause();
if (this.touchTimeout) {
clearTimeout(this.touchTimeout);
}
if (this.config.pause === "hover") {
EventHandler.off(this.element, Event.MOUSEENTER, this.pause);
EventHandler.off(this.element, Event.MOUSELEAVE, this.cycle);
}
this.touchTimeout = setTimeout(
(event: TouchEvent & MouseEvent & PointerEvent) => this.cycle(event),
TOUCHEVENT_COMPAT_WAIT + (this._config.interval || 0)
);
}
};
this.removeTouchEventListeners();
}
Utils.makeArray(
SelectorEngine.find(Selector.ITEM_IMG, this._element)
).forEach((itemImg) => {
EventHandler.on(itemImg, Event.DRAG_START, (event: Event) =>
event.preventDefault()
);
private removeTouchEventListeners() {
makeArray(find(Selector.ITEM_IMG, this.element)).forEach((itemImg) => {
EventHandler.off(itemImg, Event.DRAG_START, this.preventDrag);
});
if (this.pointerEvent) {
EventHandler.off(this.element, Event.POINTERDOWN, this.onTouchStart);
EventHandler.off(this.element, Event.POINTERUP, this.onTouchEnd);
if (this._pointerEvent) {
EventHandler.on(this._element, Event.POINTERDOWN, (event: Event) =>
start(event as TouchEvent & MouseEvent & PointerEvent)
);
EventHandler.on(this._element, Event.POINTERUP, (event: Event) =>
end(event as TouchEvent & MouseEvent & PointerEvent)
);
this.element.classList.add(ClassName.POINTER_EVENT);
} else {
EventHandler.off(this.element, Event.TOUCHSTART, this.onTouchStart);
EventHandler.off(this.element, Event.TOUCHMOVE, this.onTouchMove);
EventHandler.off(this.element, Event.TOUCHEND, this.onTouchEnd);
}
}
this._element.classList.add(ClassName.POINTER_EVENT);
private onTouchStart(e: Event) {
const event = e as TouchEvent & MouseEvent & PointerEvent;
if (
this.pointerEvent &&
PointerType[event.pointerType.toUpperCase() as "TOUCH" | "PEN"]
) {
this.touchStartX = event.clientX;
} else if (!this.pointerEvent) {
this.touchStartX = event.touches[0].clientX;
}
}
private onTouchMove(e: Event) {
const event = e as TouchEvent & MouseEvent & PointerEvent;
// ensure swiping with one touch and not pinching
if (event.touches && event.touches.length > 1) {
this.touchDeltaX = 0;
} else {
EventHandler.on(this._element, Event.TOUCHSTART, (event: Event) =>
start(event as TouchEvent & MouseEvent & PointerEvent)
this.touchDeltaX = event.touches[0].clientX - this.touchStartX;
}
}
private onTouchEnd(e: Event) {
const event = e as TouchEvent & MouseEvent & PointerEvent;
if (
this.pointerEvent &&
PointerType[event.pointerType.toUpperCase() as "TOUCH" | "PEN"]
) {
this.touchDeltaX = event.clientX - this.touchStartX;
}
this.handleSwipe();
if (this.config.pause === "hover") {
// If it's a touch-enabled device, mouseenter/leave are fired as
// part of the mouse compatibility events on first tap - the carousel
// would stop cycling until user tapped out of it;
// here, we listen for touchend, explicitly pause the carousel
// (as if it's the second time we tap on it, mouseenter compat event
// is NOT fired) and after a timeout (to allow for mouse compatibility
// events to fire) we explicitly restart cycling
this.pause();
if (this.touchTimeout) {
clearTimeout(this.touchTimeout);
}
this.touchTimeout = setTimeout(
(event: TouchEvent & MouseEvent & PointerEvent) => this.cycle(event),
TOUCHEVENT_COMPAT_WAIT + (this.config.interval || 0)
);
EventHandler.on(this._element, Event.TOUCHMOVE, (event: Event) =>
move(event as TouchEvent & MouseEvent & PointerEvent)
);
EventHandler.on(this._element, Event.TOUCHEND, (event: Event) =>
end(event as TouchEvent & MouseEvent & PointerEvent)
);
}
}
_keydown(event: KeyboardEvent) {
private preventDrag(event: Event) {
event.preventDefault();
}
private keydown(e: Event) {
const event = e as KeyboardEvent;
if (

@@ -424,24 +435,19 @@ (event.target as any)?.tagName &&

_getItemIndex(element?: HTMLElement) {
private getItemIndex(element?: HTMLElement) {
if (!element) {
return -1;
}
this._items =
this.items =
element && element.parentNode
? Utils.makeArray(
SelectorEngine.find(
Selector.ITEM,
element.parentNode as HTMLElement
)
)
? makeArray(find(Selector.ITEM, element.parentNode as HTMLElement))
: [];
return this._items.indexOf(element);
return this.items.indexOf(element);
}
_getItemByDirection(
private getItemByDirection(
direction: CarouselDirection,
activeElement: HTMLElement
) {
if (this._items === null) {
if (this.items === null) {
throw new Error("No items found!");

@@ -451,4 +457,4 @@ }

const isPrevDirection = direction === Direction.PREV;
const activeIndex = this._getItemIndex(activeElement);
const lastItemIndex = this._items.length - 1;
const activeIndex = this.getItemIndex(activeElement);
const lastItemIndex = this.items.length - 1;
const isGoingToWrap =

@@ -458,3 +464,3 @@ (isPrevDirection && activeIndex === 0) ||

if (isGoingToWrap && !this._config.wrap) {
if (isGoingToWrap && !this.config.wrap) {
return activeElement;

@@ -464,22 +470,19 @@ }

const delta = direction === Direction.PREV ? -1 : 1;
const itemIndex = (activeIndex + delta) % this._items.length;
const itemIndex = (activeIndex + delta) % this.items.length;
return itemIndex === -1
? this._items[this._items.length - 1]
: this._items[itemIndex];
? this.items[this.items.length - 1]
: this.items[itemIndex];
}
_triggerSlideEvent(
private triggerSlideEvent(
relatedTarget: HTMLElement,
eventDirectionName: CarouselDirection
) {
const targetIndex = this._getItemIndex(relatedTarget);
const fromIndex = this._getItemIndex(
(SelectorEngine.findOne(
Selector.ACTIVE_ITEM,
this._element
) as HTMLElement) || null
const targetIndex = this.getItemIndex(relatedTarget);
const fromIndex = this.getItemIndex(
(findOne(Selector.ACTIVE_ITEM, this.element) as HTMLElement) || null
);
return EventHandler.trigger(this._element, Event.SLIDE, {
return EventHandler.trigger(this.element, Event.SLIDE, {
relatedTarget,

@@ -492,8 +495,5 @@ direction: eventDirectionName,

_setActiveIndicatorElement(element: HTMLElement) {
if (this._indicatorsElement) {
const indicators = SelectorEngine.find(
Selector.ACTIVE,
this._indicatorsElement
);
private setActiveIndicatorElement(element: HTMLElement) {
if (this.indicatorsElement) {
const indicators = find(Selector.ACTIVE, this.indicatorsElement);
for (let i = 0; i < indicators.length; i++) {

@@ -503,4 +503,4 @@ indicators[i].classList.remove(ClassName.ACTIVE);

const nextIndicator = this._indicatorsElement.children[
this._getItemIndex(element)
const nextIndicator = this.indicatorsElement.children[
this.getItemIndex(element)
];

@@ -514,11 +514,10 @@

_slide(direction: CarouselDirection, element?: HTMLElement) {
const activeElement = SelectorEngine.findOne(
Selector.ACTIVE_ITEM,
this._element
) as HTMLElement | undefined;
const activeElementIndex = this._getItemIndex(activeElement);
private slide(direction: CarouselDirection, element?: HTMLElement) {
const activeElement = findOne(Selector.ACTIVE_ITEM, this.element) as
| HTMLElement
| undefined;
const activeElementIndex = this.getItemIndex(activeElement);
const nextElement =
element ||
(activeElement && this._getItemByDirection(direction, activeElement));
(activeElement && this.getItemByDirection(direction, activeElement));

@@ -529,4 +528,4 @@ if (!nextElement) {

const nextElementIndex = this._getItemIndex(nextElement);
const isCycling = Boolean(this._interval);
const nextElementIndex = this.getItemIndex(nextElement);
const isCycling = Boolean(this.interval);

@@ -548,7 +547,7 @@ let directionalClassName: CarouselClassName;

if (nextElement && nextElement.classList.contains(ClassName.ACTIVE)) {
this._isSliding = false;
this.isSliding = false;
return;
}
const slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);
const slideEvent = this.triggerSlideEvent(nextElement, eventDirectionName);
if (slideEvent.defaultPrevented) {

@@ -563,3 +562,3 @@ return;

this._isSliding = true;
this.isSliding = true;

@@ -570,8 +569,8 @@ if (isCycling) {

this._setActiveIndicatorElement(nextElement);
this.setActiveIndicatorElement(nextElement);
if (this._element.classList.contains(ClassName.SLIDE)) {
if (this.element.classList.contains(ClassName.SLIDE)) {
nextElement.classList.add(orderClassName);
Utils.reflow(nextElement);
reflow(nextElement);

@@ -586,11 +585,11 @@ activeElement.classList.add(directionalClassName);

if (nextElementInterval) {
this._config.defaultInterval =
this._config.defaultInterval || this._config.interval;
this._config.interval = nextElementInterval;
this.config.defaultInterval =
this.config.defaultInterval || this.config.interval;
this.config.interval = nextElementInterval;
} else {
this._config.interval =
this._config.defaultInterval || this._config.interval;
this.config.interval =
this.config.defaultInterval || this.config.interval;
}
const transitionDuration = Utils.getTransitionDurationFromElement(
const transitionDuration = getTransitionDurationFromElement(
activeElement

@@ -608,6 +607,6 @@ );

this._isSliding = false;
this.isSliding = false;
setTimeout(() => {
EventHandler.trigger(this._element, Event.SLID, {
EventHandler.trigger(this.element, Event.SLID, {
relatedTarget: nextElement,

@@ -621,3 +620,3 @@ direction: eventDirectionName,

Utils.emulateTransitionEnd(activeElement, transitionDuration);
emulateTransitionEnd(activeElement, transitionDuration);
} else {

@@ -627,4 +626,4 @@ activeElement.classList.remove(ClassName.ACTIVE);

this._isSliding = false;
EventHandler.trigger(this._element, Event.SLID, {
this.isSliding = false;
EventHandler.trigger(this.element, Event.SLID, {
relatedTarget: nextElement,

@@ -631,0 +630,0 @@ direction: eventDirectionName,

@@ -147,3 +147,3 @@ import Popper from "popper.js"; // /dist/umd/popper

const parent = DropdownService._getParentFromElement(triggerCloseElement);
const parent = triggerCloseElement.parentElement;

@@ -162,9 +162,2 @@ if (parent && parent.classList.contains(CLASSNAME.SHOW)) {

public static _getParentFromElement(element: Element) {
if (!element.parentElement) {
throw new Error("Parent element not found!");
}
return element.parentElement;
}
private _element: HTMLButtonElement | HTMLAnchorElement;

@@ -182,5 +175,4 @@ private _popper: any | /* Popper */ null; // TODO Popper namcespace error

this._inNavbar = this._detectNavbar();
this.clouseOnClickOutsite(
DropdownService._getParentFromElement(this._element)
);
this.outsideClickListener = this.outsideClickListener.bind(this);
this.closeOnClickOutside();
}

@@ -199,3 +191,3 @@

const parent = DropdownService._getParentFromElement(this._element);
const parent = this._element.parentElement;

@@ -222,3 +214,3 @@ if (!this._menu.classList.contains(CLASSNAME.SHOW)) {

const parent = DropdownService._getParentFromElement(this._element);
const parent = this._element.parentElement;
const isActive = this._menu.classList.contains(CLASSNAME.SHOW);

@@ -245,6 +237,2 @@

this.clouseOnClickOutsite(
DropdownService._getParentFromElement(this._element)
);
// Disable totally Popper.js for Dropdown in Navbar

@@ -288,6 +276,2 @@ if (!this._inNavbar) {

this.clouseOnClickOutsite(
DropdownService._getParentFromElement(this._element)
);
this._element.focus();

@@ -314,2 +298,3 @@ this._element.setAttribute("aria-expanded", "true");

}
document.removeEventListener("click", this.outsideClickListener);
}

@@ -326,10 +311,8 @@

private outsideClickListener(element: Element, event: Event) {
private outsideClickListener(event: Event) {
const target = event.target || event.srcElement || event.currentTarget;
if (target && !element.contains(target as Node)) {
const parent = this._element.parentElement as Element;
if (target && !parent.contains(target as Node)) {
this.close();
document.removeEventListener(
"click",
this.outsideClickListener.bind(this, element)
);
document.removeEventListener("click", this.outsideClickListener);
}

@@ -342,7 +325,6 @@ }

*/
private clouseOnClickOutsite(element: Element) {
document.addEventListener(
"click",
this.outsideClickListener.bind(this, element)
);
private closeOnClickOutside() {
if (this._element.parentElement) {
document.addEventListener("click", this.outsideClickListener);
}
}

@@ -364,3 +346,3 @@

if (!this._menu) {
const parent = DropdownService._getParentFromElement(this._element);
const parent = this._element.parentElement;
if (parent) {

@@ -367,0 +349,0 @@ const menu = parent.querySelector(SELECTOR.MENU);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc