Subversion Repositories oidplus

Rev

Rev 1407 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1407 Rev 1466
Line 1... Line 1...
1
/*!
1
/*!
2
  * Bootstrap v5.3.2 (https://getbootstrap.com/)
2
  * Bootstrap v5.3.3 (https://getbootstrap.com/)
3
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
3
  * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
  */
5
  */
6
import * as Popper from '@popperjs/core';
6
import * as Popper from '@popperjs/core';
7
 
7
 
8
/**
8
/**
Line 204... Line 204...
204
 * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation
204
 * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation
205
 */
205
 */
206
const reflow = element => {
206
const reflow = element => {
207
  element.offsetHeight; // eslint-disable-line no-unused-expressions
207
  element.offsetHeight; // eslint-disable-line no-unused-expressions
208
};
208
};
209
 
-
 
210
const getjQuery = () => {
209
const getjQuery = () => {
211
  if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {
210
  if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {
212
    return window.jQuery;
211
    return window.jQuery;
213
  }
212
  }
214
  return null;
213
  return null;
Line 642... Line 641...
642
 
641
 
643
/**
642
/**
644
 * Constants
643
 * Constants
645
 */
644
 */
646
 
645
 
647
const VERSION = '5.3.2';
646
const VERSION = '5.3.3';
648
 
647
 
649
/**
648
/**
650
 * Class definition
649
 * Class definition
651
 */
650
 */
652
 
651
 
Line 723... Line 722...
723
 
722
 
724
    // Just in case some CMS puts out a full URL with the anchor appended
723
    // Just in case some CMS puts out a full URL with the anchor appended
725
    if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
724
    if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
726
      hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
725
      hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
727
    }
726
    }
728
    selector = hrefAttribute && hrefAttribute !== '#' ? parseSelector(hrefAttribute.trim()) : null;
727
    selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
729
  }
728
  }
730
  return selector;
729
  return selector ? selector.split(',').map(sel => parseSelector(sel)).join(',') : null;
731
};
730
};
732
const SelectorEngine = {
731
const SelectorEngine = {
733
  find(selector, element = document.documentElement) {
732
  find(selector, element = document.documentElement) {
734
    return [].concat(...Element.prototype.querySelectorAll.call(element, selector));
733
    return [].concat(...Element.prototype.querySelectorAll.call(element, selector));
735
  },
734
  },
Line 2071... Line 2070...
2071
  isAnimated: false,
2070
  isAnimated: false,
2072
  isVisible: true,
2071
  isVisible: true,
2073
  // if false, we use the backdrop helper without adding any element to the dom
2072
  // if false, we use the backdrop helper without adding any element to the dom
2074
  rootElement: 'body' // give the choice to place backdrop under different elements
2073
  rootElement: 'body' // give the choice to place backdrop under different elements
2075
};
2074
};
2076
 
-
 
2077
const DefaultType$8 = {
2075
const DefaultType$8 = {
2078
  className: 'string',
2076
  className: 'string',
2079
  clickCallback: '(function|null)',
2077
  clickCallback: '(function|null)',
2080
  isAnimated: 'boolean',
2078
  isAnimated: 'boolean',
2081
  isVisible: 'boolean',
2079
  isVisible: 'boolean',
Line 2196... Line 2194...
2196
const TAB_NAV_BACKWARD = 'backward';
2194
const TAB_NAV_BACKWARD = 'backward';
2197
const Default$7 = {
2195
const Default$7 = {
2198
  autofocus: true,
2196
  autofocus: true,
2199
  trapElement: null // The element to trap focus inside of
2197
  trapElement: null // The element to trap focus inside of
2200
};
2198
};
2201
 
-
 
2202
const DefaultType$7 = {
2199
const DefaultType$7 = {
2203
  autofocus: 'boolean',
2200
  autofocus: 'boolean',
2204
  trapElement: 'element'
2201
  trapElement: 'element'
2205
};
2202
};
2206
 
2203
 
Line 2923... Line 2920...
2923
  area: [],
2920
  area: [],
2924
  b: [],
2921
  b: [],
2925
  br: [],
2922
  br: [],
2926
  col: [],
2923
  col: [],
2927
  code: [],
2924
  code: [],
-
 
2925
  dd: [],
2928
  div: [],
2926
  div: [],
-
 
2927
  dl: [],
-
 
2928
  dt: [],
2929
  em: [],
2929
  em: [],
2930
  hr: [],
2930
  hr: [],
2931
  h1: [],
2931
  h1: [],
2932
  h2: [],
2932
  h2: [],
2933
  h3: [],
2933
  h3: [],