You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31842 lines
1.5 MiB
31842 lines
1.5 MiB
/*!
|
|
* BootstrapVue 2.19.0
|
|
*
|
|
* @link https://bootstrap-vue.org
|
|
* @source https://github.com/bootstrap-vue/bootstrap-vue
|
|
* @copyright (c) 2016-2020 BootstrapVue
|
|
* @license MIT
|
|
* https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE
|
|
*/
|
|
|
|
import Vue from 'vue';
|
|
import { mergeData } from 'vue-functional-data-merge';
|
|
import Popper from 'popper.js';
|
|
import { Wormhole, PortalTarget, Portal } from 'portal-vue';
|
|
|
|
function _typeof(obj) {
|
|
"@babel/helpers - typeof";
|
|
|
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
_typeof = function (obj) {
|
|
return typeof obj;
|
|
};
|
|
} else {
|
|
_typeof = function (obj) {
|
|
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
};
|
|
}
|
|
|
|
return _typeof(obj);
|
|
}
|
|
|
|
function _classCallCheck(instance, Constructor) {
|
|
if (!(instance instanceof Constructor)) {
|
|
throw new TypeError("Cannot call a class as a function");
|
|
}
|
|
}
|
|
|
|
function _defineProperties(target, props) {
|
|
for (var i = 0; i < props.length; i++) {
|
|
var descriptor = props[i];
|
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
descriptor.configurable = true;
|
|
if ("value" in descriptor) descriptor.writable = true;
|
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
}
|
|
}
|
|
|
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
return Constructor;
|
|
}
|
|
|
|
function _defineProperty(obj, key, value) {
|
|
if (key in obj) {
|
|
Object.defineProperty(obj, key, {
|
|
value: value,
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true
|
|
});
|
|
} else {
|
|
obj[key] = value;
|
|
}
|
|
|
|
return obj;
|
|
}
|
|
|
|
function ownKeys(object, enumerableOnly) {
|
|
var keys = Object.keys(object);
|
|
|
|
if (Object.getOwnPropertySymbols) {
|
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
if (enumerableOnly) symbols = symbols.filter(function (sym) {
|
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
});
|
|
keys.push.apply(keys, symbols);
|
|
}
|
|
|
|
return keys;
|
|
}
|
|
|
|
function _objectSpread2(target) {
|
|
for (var i = 1; i < arguments.length; i++) {
|
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
|
|
if (i % 2) {
|
|
ownKeys(Object(source), true).forEach(function (key) {
|
|
_defineProperty(target, key, source[key]);
|
|
});
|
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
} else {
|
|
ownKeys(Object(source)).forEach(function (key) {
|
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
});
|
|
}
|
|
}
|
|
|
|
return target;
|
|
}
|
|
|
|
function _inherits(subClass, superClass) {
|
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
throw new TypeError("Super expression must either be null or a function");
|
|
}
|
|
|
|
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
constructor: {
|
|
value: subClass,
|
|
writable: true,
|
|
configurable: true
|
|
}
|
|
});
|
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
}
|
|
|
|
function _getPrototypeOf(o) {
|
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
};
|
|
return _getPrototypeOf(o);
|
|
}
|
|
|
|
function _setPrototypeOf(o, p) {
|
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
o.__proto__ = p;
|
|
return o;
|
|
};
|
|
|
|
return _setPrototypeOf(o, p);
|
|
}
|
|
|
|
function _isNativeReflectConstruct() {
|
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
if (Reflect.construct.sham) return false;
|
|
if (typeof Proxy === "function") return true;
|
|
|
|
try {
|
|
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
return true;
|
|
} catch (e) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
function _construct(Parent, args, Class) {
|
|
if (_isNativeReflectConstruct()) {
|
|
_construct = Reflect.construct;
|
|
} else {
|
|
_construct = function _construct(Parent, args, Class) {
|
|
var a = [null];
|
|
a.push.apply(a, args);
|
|
var Constructor = Function.bind.apply(Parent, a);
|
|
var instance = new Constructor();
|
|
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
return instance;
|
|
};
|
|
}
|
|
|
|
return _construct.apply(null, arguments);
|
|
}
|
|
|
|
function _isNativeFunction(fn) {
|
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
}
|
|
|
|
function _wrapNativeSuper(Class) {
|
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
|
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
|
|
if (typeof Class !== "function") {
|
|
throw new TypeError("Super expression must either be null or a function");
|
|
}
|
|
|
|
if (typeof _cache !== "undefined") {
|
|
if (_cache.has(Class)) return _cache.get(Class);
|
|
|
|
_cache.set(Class, Wrapper);
|
|
}
|
|
|
|
function Wrapper() {
|
|
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
}
|
|
|
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
constructor: {
|
|
value: Wrapper,
|
|
enumerable: false,
|
|
writable: true,
|
|
configurable: true
|
|
}
|
|
});
|
|
return _setPrototypeOf(Wrapper, Class);
|
|
};
|
|
|
|
return _wrapNativeSuper(Class);
|
|
}
|
|
|
|
function _assertThisInitialized(self) {
|
|
if (self === void 0) {
|
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
}
|
|
|
|
return self;
|
|
}
|
|
|
|
function _possibleConstructorReturn(self, call) {
|
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
return call;
|
|
}
|
|
|
|
return _assertThisInitialized(self);
|
|
}
|
|
|
|
function _createSuper(Derived) {
|
|
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
|
|
return function _createSuperInternal() {
|
|
var Super = _getPrototypeOf(Derived),
|
|
result;
|
|
|
|
if (hasNativeReflectConstruct) {
|
|
var NewTarget = _getPrototypeOf(this).constructor;
|
|
|
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
} else {
|
|
result = Super.apply(this, arguments);
|
|
}
|
|
|
|
return _possibleConstructorReturn(this, result);
|
|
};
|
|
}
|
|
|
|
function _superPropBase(object, property) {
|
|
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
|
object = _getPrototypeOf(object);
|
|
if (object === null) break;
|
|
}
|
|
|
|
return object;
|
|
}
|
|
|
|
function _get(target, property, receiver) {
|
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
_get = Reflect.get;
|
|
} else {
|
|
_get = function _get(target, property, receiver) {
|
|
var base = _superPropBase(target, property);
|
|
|
|
if (!base) return;
|
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
|
|
if (desc.get) {
|
|
return desc.get.call(receiver);
|
|
}
|
|
|
|
return desc.value;
|
|
};
|
|
}
|
|
|
|
return _get(target, property, receiver || target);
|
|
}
|
|
|
|
function _slicedToArray(arr, i) {
|
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
}
|
|
|
|
function _toConsumableArray(arr) {
|
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
}
|
|
|
|
function _arrayWithoutHoles(arr) {
|
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
}
|
|
|
|
function _arrayWithHoles(arr) {
|
|
if (Array.isArray(arr)) return arr;
|
|
}
|
|
|
|
function _iterableToArray(iter) {
|
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
|
}
|
|
|
|
function _iterableToArrayLimit(arr, i) {
|
|
if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
|
|
var _arr = [];
|
|
var _n = true;
|
|
var _d = false;
|
|
var _e = undefined;
|
|
|
|
try {
|
|
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
|
_arr.push(_s.value);
|
|
|
|
if (i && _arr.length === i) break;
|
|
}
|
|
} catch (err) {
|
|
_d = true;
|
|
_e = err;
|
|
} finally {
|
|
try {
|
|
if (!_n && _i["return"] != null) _i["return"]();
|
|
} finally {
|
|
if (_d) throw _e;
|
|
}
|
|
}
|
|
|
|
return _arr;
|
|
}
|
|
|
|
function _unsupportedIterableToArray(o, minLen) {
|
|
if (!o) return;
|
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
if (n === "Map" || n === "Set") return Array.from(o);
|
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
}
|
|
|
|
function _arrayLikeToArray(arr, len) {
|
|
if (len == null || len > arr.length) len = arr.length;
|
|
|
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
|
|
return arr2;
|
|
}
|
|
|
|
function _nonIterableSpread() {
|
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
}
|
|
|
|
function _nonIterableRest() {
|
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
}
|
|
|
|
var NAME = 'BvConfig';
|
|
var PROP_NAME = '$bvConfig';
|
|
var DEFAULT_BREAKPOINT = ['xs', 'sm', 'md', 'lg', 'xl'];
|
|
|
|
/**
|
|
* Utilities to get information about the current environment
|
|
*/
|
|
// --- Constants ---
|
|
var hasWindowSupport = typeof window !== 'undefined';
|
|
var hasDocumentSupport = typeof document !== 'undefined';
|
|
var hasNavigatorSupport = typeof navigator !== 'undefined';
|
|
var hasPromiseSupport = typeof Promise !== 'undefined';
|
|
/* istanbul ignore next: JSDOM always returns false */
|
|
|
|
var hasMutationObserverSupport = typeof MutationObserver !== 'undefined' || typeof WebKitMutationObserver !== 'undefined' || typeof MozMutationObserver !== 'undefined';
|
|
var isBrowser = hasWindowSupport && hasDocumentSupport && hasNavigatorSupport; // Browser type sniffing
|
|
|
|
var userAgent = isBrowser ? window.navigator.userAgent.toLowerCase() : '';
|
|
var isJSDOM = userAgent.indexOf('jsdom') > 0;
|
|
var isIE = /msie|trident/.test(userAgent); // Determine if the browser supports the option passive for events
|
|
|
|
var hasPassiveEventSupport = function () {
|
|
var passiveEventSupported = false;
|
|
|
|
if (isBrowser) {
|
|
try {
|
|
var options = {
|
|
get passive() {
|
|
// This function will be called when the browser
|
|
// attempts to access the passive property.
|
|
|
|
/* istanbul ignore next: will never be called in JSDOM */
|
|
passiveEventSupported = true;
|
|
}
|
|
|
|
};
|
|
window.addEventListener('test', options, options);
|
|
window.removeEventListener('test', options, options);
|
|
} catch (err) {
|
|
/* istanbul ignore next: will never be called in JSDOM */
|
|
passiveEventSupported = false;
|
|
}
|
|
}
|
|
|
|
return passiveEventSupported;
|
|
}();
|
|
var hasTouchSupport = isBrowser && ('ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0);
|
|
var hasPointerEventSupport = isBrowser && Boolean(window.PointerEvent || window.MSPointerEvent);
|
|
/* istanbul ignore next: JSDOM only checks for 'IntersectionObserver' */
|
|
|
|
var hasIntersectionObserverSupport = isBrowser && 'IntersectionObserver' in window && 'IntersectionObserverEntry' in window && // Edge 15 and UC Browser lack support for `isIntersecting`
|
|
// but we an use intersectionRatio > 0 instead
|
|
// 'isIntersecting' in window.IntersectionObserverEntry.prototype &&
|
|
'intersectionRatio' in window.IntersectionObserverEntry.prototype; // --- Getters ---
|
|
|
|
var getEnv = function getEnv(key) {
|
|
var fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
var env = typeof process !== 'undefined' && process ? process.env || {} : {};
|
|
|
|
if (!key) {
|
|
/* istanbul ignore next */
|
|
return env;
|
|
}
|
|
|
|
return env[key] || fallback;
|
|
};
|
|
var getNoWarn = function getNoWarn() {
|
|
return getEnv('BOOTSTRAP_VUE_NO_WARN') || getEnv('NODE_ENV') === 'production';
|
|
};
|
|
|
|
var w = hasWindowSupport ? window : {};
|
|
var Element$1 = hasWindowSupport ? w.Element : /*#__PURE__*/function (_Object) {
|
|
_inherits(Element, _Object);
|
|
|
|
var _super = _createSuper(Element);
|
|
|
|
function Element() {
|
|
_classCallCheck(this, Element);
|
|
|
|
return _super.apply(this, arguments);
|
|
}
|
|
|
|
return Element;
|
|
}( /*#__PURE__*/_wrapNativeSuper(Object));
|
|
var HTMLElement = hasWindowSupport ? w.HTMLElement : /*#__PURE__*/function (_Element) {
|
|
_inherits(HTMLElement, _Element);
|
|
|
|
var _super2 = _createSuper(HTMLElement);
|
|
|
|
function HTMLElement() {
|
|
_classCallCheck(this, HTMLElement);
|
|
|
|
return _super2.apply(this, arguments);
|
|
}
|
|
|
|
return HTMLElement;
|
|
}(Element$1);
|
|
var SVGElement = hasWindowSupport ? w.SVGElement : /*#__PURE__*/function (_Element2) {
|
|
_inherits(SVGElement, _Element2);
|
|
|
|
var _super3 = _createSuper(SVGElement);
|
|
|
|
function SVGElement() {
|
|
_classCallCheck(this, SVGElement);
|
|
|
|
return _super3.apply(this, arguments);
|
|
}
|
|
|
|
return SVGElement;
|
|
}(Element$1);
|
|
var File = hasWindowSupport ? w.File : /*#__PURE__*/function (_Object2) {
|
|
_inherits(File, _Object2);
|
|
|
|
var _super4 = _createSuper(File);
|
|
|
|
function File() {
|
|
_classCallCheck(this, File);
|
|
|
|
return _super4.apply(this, arguments);
|
|
}
|
|
|
|
return File;
|
|
}( /*#__PURE__*/_wrapNativeSuper(Object));
|
|
|
|
var toType = function toType(val) {
|
|
return _typeof(val);
|
|
};
|
|
var toRawType = function toRawType(val) {
|
|
return Object.prototype.toString.call(val).slice(8, -1);
|
|
};
|
|
var isUndefined = function isUndefined(val) {
|
|
return val === undefined;
|
|
};
|
|
var isNull = function isNull(val) {
|
|
return val === null;
|
|
};
|
|
var isUndefinedOrNull = function isUndefinedOrNull(val) {
|
|
return isUndefined(val) || isNull(val);
|
|
};
|
|
var isFunction = function isFunction(val) {
|
|
return toType(val) === 'function';
|
|
};
|
|
var isBoolean = function isBoolean(val) {
|
|
return toType(val) === 'boolean';
|
|
};
|
|
var isString = function isString(val) {
|
|
return toType(val) === 'string';
|
|
};
|
|
var isNumber = function isNumber(val) {
|
|
return toType(val) === 'number';
|
|
}; // Is a value number like (i.e. a number or a number as string)
|
|
|
|
var isNumeric = function isNumeric(value) {
|
|
return !isNaN(parseInt(value, 10));
|
|
};
|
|
var isArray = function isArray(val) {
|
|
return Array.isArray(val);
|
|
}; // Quick object check
|
|
// This is primarily used to tell Objects from primitive values
|
|
// when we know the value is a JSON-compliant type
|
|
// Note object could be a complex type like array, Date, etc.
|
|
|
|
var isObject = function isObject(obj) {
|
|
return obj !== null && _typeof(obj) === 'object';
|
|
}; // Strict object type check
|
|
// Only returns true for plain JavaScript objects
|
|
|
|
var isPlainObject = function isPlainObject(obj) {
|
|
return Object.prototype.toString.call(obj) === '[object Object]';
|
|
};
|
|
var isDate = function isDate(val) {
|
|
return val instanceof Date;
|
|
};
|
|
var isEvent = function isEvent(val) {
|
|
return val instanceof Event;
|
|
};
|
|
var isFile = function isFile(val) {
|
|
return val instanceof File;
|
|
};
|
|
var isRegExp = function isRegExp(val) {
|
|
return toRawType(val) === 'RegExp';
|
|
};
|
|
var isPromise = function isPromise(val) {
|
|
return !isUndefinedOrNull(val) && isFunction(val.then) && isFunction(val.catch);
|
|
};
|
|
|
|
var assign = function assign() {
|
|
return Object.assign.apply(Object, arguments);
|
|
};
|
|
var create = function create(proto, optionalProps) {
|
|
return Object.create(proto, optionalProps);
|
|
};
|
|
var defineProperties = function defineProperties(obj, props) {
|
|
return Object.defineProperties(obj, props);
|
|
};
|
|
var defineProperty = function defineProperty(obj, prop, descriptor) {
|
|
return Object.defineProperty(obj, prop, descriptor);
|
|
};
|
|
var getOwnPropertyNames = function getOwnPropertyNames(obj) {
|
|
return Object.getOwnPropertyNames(obj);
|
|
};
|
|
var keys = function keys(obj) {
|
|
return Object.keys(obj);
|
|
}; // --- "Instance" ---
|
|
|
|
var hasOwnProperty = function hasOwnProperty(obj, prop) {
|
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
};
|
|
var toString = function toString(obj) {
|
|
return Object.prototype.toString.call(obj);
|
|
}; // --- Utilities ---
|
|
|
|
/**
|
|
* Shallow copy an object. If the passed in object
|
|
* is null or undefined, returns an empty object
|
|
*/
|
|
|
|
var clone = function clone(obj) {
|
|
return _objectSpread2({}, obj);
|
|
};
|
|
/**
|
|
* Return a shallow copy of object with the specified properties only
|
|
* @link https://gist.github.com/bisubus/2da8af7e801ffd813fab7ac221aa7afc
|
|
*/
|
|
|
|
var pick = function pick(obj, props) {
|
|
return keys(obj).filter(function (key) {
|
|
return props.indexOf(key) !== -1;
|
|
}).reduce(function (result, key) {
|
|
return _objectSpread2(_objectSpread2({}, result), {}, _defineProperty({}, key, obj[key]));
|
|
}, {});
|
|
};
|
|
/**
|
|
* Return a shallow copy of object with the specified properties omitted
|
|
* @link https://gist.github.com/bisubus/2da8af7e801ffd813fab7ac221aa7afc
|
|
*/
|
|
|
|
var omit = function omit(obj, props) {
|
|
return keys(obj).filter(function (key) {
|
|
return props.indexOf(key) === -1;
|
|
}).reduce(function (result, key) {
|
|
return _objectSpread2(_objectSpread2({}, result), {}, _defineProperty({}, key, obj[key]));
|
|
}, {});
|
|
};
|
|
/**
|
|
* Merges two object deeply together
|
|
* @link https://gist.github.com/Salakar/1d7137de9cb8b704e48a
|
|
*/
|
|
|
|
var mergeDeep = function mergeDeep(target, source) {
|
|
if (isObject(target) && isObject(source)) {
|
|
keys(source).forEach(function (key) {
|
|
if (isObject(source[key])) {
|
|
if (!target[key] || !isObject(target[key])) {
|
|
target[key] = source[key];
|
|
}
|
|
|
|
mergeDeep(target[key], source[key]);
|
|
} else {
|
|
assign(target, _defineProperty({}, key, source[key]));
|
|
}
|
|
});
|
|
}
|
|
|
|
return target;
|
|
};
|
|
/**
|
|
* Convenience method to create a read-only descriptor
|
|
*/
|
|
|
|
var readonlyDescriptor = function readonlyDescriptor() {
|
|
return {
|
|
enumerable: true,
|
|
configurable: false,
|
|
writable: false
|
|
};
|
|
};
|
|
|
|
var cloneDeep = function cloneDeep(obj) {
|
|
var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : obj;
|
|
|
|
if (isArray(obj)) {
|
|
return obj.reduce(function (result, val) {
|
|
return [].concat(_toConsumableArray(result), [cloneDeep(val, val)]);
|
|
}, []);
|
|
}
|
|
|
|
if (isPlainObject(obj)) {
|
|
return keys(obj).reduce(function (result, key) {
|
|
return _objectSpread2(_objectSpread2({}, result), {}, _defineProperty({}, key, cloneDeep(obj[key], obj[key])));
|
|
}, {});
|
|
}
|
|
|
|
return defaultValue;
|
|
};
|
|
|
|
// --- General ---
|
|
var RX_ARRAY_NOTATION = /\[(\d+)]/g;
|
|
var RX_DIGITS = /^\d+$/;
|
|
var RX_EXTENSION = /^\..+/;
|
|
var RX_HASH = /^#/;
|
|
var RX_HASH_ID = /^#[A-Za-z]+[\w\-:.]*$/;
|
|
var RX_HTML_TAGS = /(<([^>]+)>)/gi;
|
|
var RX_HYPHENATE = /\B([A-Z])/g;
|
|
var RX_LOWER_UPPER = /([a-z])([A-Z])/g;
|
|
var RX_NUMBER = /^[0-9]*\.?[0-9]+$/;
|
|
var RX_PLUS = /\+/g;
|
|
var RX_REGEXP_REPLACE = /[-/\\^$*+?.()|[\]{}]/g;
|
|
var RX_SPACES = /[\s\uFEFF\xA0]+/g;
|
|
var RX_SPACE_SPLIT = /\s+/;
|
|
var RX_STAR = /\/\*$/;
|
|
var RX_START_SPACE_WORD = /(\s|^)(\w)/g;
|
|
var RX_TRIM_LEFT = /^\s+/;
|
|
var RX_UNDERSCORE = /_/g;
|
|
var RX_UN_KEBAB = /-(\w)/g; // --- Date ---
|
|
// Loose YYYY-MM-DD matching, ignores any appended time inforation
|
|
// Matches '1999-12-20', '1999-1-1', '1999-01-20T22:51:49.118Z', '1999-01-02 13:00:00'
|
|
|
|
var RX_DATE = /^\d+-\d\d?-\d\d?(?:\s|T|$)/; // Used to split off the date parts of the YYYY-MM-DD string
|
|
|
|
var RX_DATE_SPLIT = /-|\s|T/; // Time string RegEx (optional seconds)
|
|
|
|
var RX_TIME = /^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/; // --- URL ---
|
|
// HREFs must end with a hash followed by at least one non-hash character
|
|
|
|
var RX_HREF = /^.*(#[^#]+)$/;
|
|
var RX_ENCODED_COMMA = /%2C/g;
|
|
var RX_ENCODE_REVERSE = /[!'()*]/g;
|
|
var RX_QUERY_START = /^(\?|#|&)/; // --- Aspect ---
|
|
|
|
var RX_ASPECT = /^\d+(\.\d*)?[/:]\d+(\.\d*)?$/;
|
|
var RX_ASPECT_SEPARATOR = /[/:]/; // --- Grid ---
|
|
|
|
var RX_COL_CLASS = /^col-/; // --- Icon ---
|
|
|
|
var RX_ICON_PREFIX = /^BIcon/; // --- Locale ---
|
|
|
|
var RX_STRIP_LOCALE_MODS = /-u-.+/;
|
|
|
|
var identity = function identity(x) {
|
|
return x;
|
|
};
|
|
|
|
/**
|
|
* Get property defined by dot/array notation in string, returns undefined if not found
|
|
*
|
|
* @link https://gist.github.com/jeneg/9767afdcca45601ea44930ea03e0febf#gistcomment-1935901
|
|
*
|
|
* @param {Object} obj
|
|
* @param {string|Array} path
|
|
* @return {*}
|
|
*/
|
|
|
|
var getRaw = function getRaw(obj, path) {
|
|
var defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
// Handle array of path values
|
|
path = isArray(path) ? path.join('.') : path; // If no path or no object passed
|
|
|
|
if (!path || !isObject(obj)) {
|
|
return defaultValue;
|
|
} // Handle edge case where user has dot(s) in top-level item field key
|
|
// See https://github.com/bootstrap-vue/bootstrap-vue/issues/2762
|
|
// Switched to `in` operator vs `hasOwnProperty` to handle obj.prototype getters
|
|
// https://github.com/bootstrap-vue/bootstrap-vue/issues/3463
|
|
|
|
|
|
if (path in obj) {
|
|
return obj[path];
|
|
} // Handle string array notation (numeric indices only)
|
|
|
|
|
|
path = String(path).replace(RX_ARRAY_NOTATION, '.$1');
|
|
var steps = path.split('.').filter(identity); // Handle case where someone passes a string of only dots
|
|
|
|
if (steps.length === 0) {
|
|
return defaultValue;
|
|
} // Traverse path in object to find result
|
|
// Switched to `in` operator vs `hasOwnProperty` to handle obj.prototype getters
|
|
// https://github.com/bootstrap-vue/bootstrap-vue/issues/3463
|
|
|
|
|
|
return steps.every(function (step) {
|
|
return isObject(obj) && step in obj && !isUndefinedOrNull(obj = obj[step]);
|
|
}) ? obj : isNull(obj) ? null : defaultValue;
|
|
};
|
|
/**
|
|
* Get property defined by dot/array notation in string.
|
|
*
|
|
* @link https://gist.github.com/jeneg/9767afdcca45601ea44930ea03e0febf#gistcomment-1935901
|
|
*
|
|
* @param {Object} obj
|
|
* @param {string|Array} path
|
|
* @param {*} defaultValue (optional)
|
|
* @return {*}
|
|
*/
|
|
|
|
var get = function get(obj, path) {
|
|
var defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
var val = getRaw(obj, path);
|
|
return isUndefinedOrNull(val) ? defaultValue : val;
|
|
};
|
|
|
|
/**
|
|
* Log a warning message to the console with BootstrapVue formatting
|
|
* @param {string} message
|
|
*/
|
|
|
|
var warn = function warn(message)
|
|
/* istanbul ignore next */
|
|
{
|
|
var source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
|
|
if (!getNoWarn()) {
|
|
console.warn("[BootstrapVue warn]: ".concat(source ? "".concat(source, " - ") : '').concat(message));
|
|
}
|
|
};
|
|
/**
|
|
* Warn when no Promise support is given
|
|
* @param {string} source
|
|
* @returns {boolean} warned
|
|
*/
|
|
|
|
var warnNotClient = function warnNotClient(source) {
|
|
/* istanbul ignore else */
|
|
if (isBrowser) {
|
|
return false;
|
|
} else {
|
|
warn("".concat(source, ": Can not be called during SSR."));
|
|
return true;
|
|
}
|
|
};
|
|
/**
|
|
* Warn when no Promise support is given
|
|
* @param {string} source
|
|
* @returns {boolean} warned
|
|
*/
|
|
|
|
var warnNoPromiseSupport = function warnNoPromiseSupport(source) {
|
|
/* istanbul ignore else */
|
|
if (hasPromiseSupport) {
|
|
return false;
|
|
} else {
|
|
warn("".concat(source, ": Requires Promise support."));
|
|
return true;
|
|
}
|
|
};
|
|
/**
|
|
* Warn when no MutationObserver support is given
|
|
* @param {string} source
|
|
* @returns {boolean} warned
|
|
*/
|
|
|
|
var warnNoMutationObserverSupport = function warnNoMutationObserverSupport(source) {
|
|
/* istanbul ignore else */
|
|
if (hasMutationObserverSupport) {
|
|
return false;
|
|
} else {
|
|
warn("".concat(source, ": Requires MutationObserver support."));
|
|
return true;
|
|
}
|
|
};
|
|
|
|
var BvConfig = /*#__PURE__*/function () {
|
|
function BvConfig() {
|
|
_classCallCheck(this, BvConfig);
|
|
|
|
this.$_config = {};
|
|
} // Method to merge in user config parameters
|
|
|
|
|
|
_createClass(BvConfig, [{
|
|
key: "setConfig",
|
|
value: function setConfig() {
|
|
var _this = this;
|
|
|
|
var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
|
|
/* istanbul ignore next */
|
|
if (!isPlainObject(config)) {
|
|
return;
|
|
}
|
|
|
|
var configKeys = getOwnPropertyNames(config);
|
|
configKeys.forEach(function (key) {
|
|
/* istanbul ignore next */
|
|
var subConfig = config[key];
|
|
|
|
if (key === 'breakpoints') {
|
|
/* istanbul ignore if */
|
|
if (!isArray(subConfig) || subConfig.length < 2 || subConfig.some(function (b) {
|
|
return !isString(b) || b.length === 0;
|
|
})) {
|
|
warn('"breakpoints" must be an array of at least 2 breakpoint names', NAME);
|
|
} else {
|
|
_this.$_config[key] = cloneDeep(subConfig);
|
|
}
|
|
} else if (isPlainObject(subConfig)) {
|
|
// Component prop defaults
|
|
_this.$_config[key] = getOwnPropertyNames(subConfig).reduce(function (config, prop) {
|
|
if (!isUndefined(subConfig[prop])) {
|
|
config[prop] = cloneDeep(subConfig[prop]);
|
|
}
|
|
|
|
return config;
|
|
}, _this.$_config[key] || {});
|
|
}
|
|
});
|
|
} // Clear the config
|
|
|
|
}, {
|
|
key: "resetConfig",
|
|
value: function resetConfig() {
|
|
this.$_config = {};
|
|
} // Returns a deep copy of the user config
|
|
|
|
}, {
|
|
key: "getConfig",
|
|
value: function getConfig() {
|
|
return cloneDeep(this.$_config);
|
|
} // Returns a deep copy of the config value
|
|
|
|
}, {
|
|
key: "getConfigValue",
|
|
value: function getConfigValue(key) {
|
|
var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
|
return cloneDeep(getRaw(this.$_config, key, defaultValue));
|
|
}
|
|
}]);
|
|
|
|
return BvConfig;
|
|
}(); // Method for applying a global config
|
|
|
|
|
|
var setConfig = function setConfig() {
|
|
var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
var Vue$1 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Vue;
|
|
// Ensure we have a `$bvConfig` Object on the Vue prototype
|
|
// We set on Vue and OurVue just in case consumer has not set an alias of `vue`
|
|
Vue$1.prototype[PROP_NAME] = Vue.prototype[PROP_NAME] = Vue$1.prototype[PROP_NAME] || Vue.prototype[PROP_NAME] || new BvConfig(); // Apply the config values
|
|
|
|
Vue$1.prototype[PROP_NAME].setConfig(config);
|
|
}; // Method for resetting the user config
|
|
|
|
/**
|
|
* Checks if there are multiple instances of Vue, and warns (once) about possible issues.
|
|
* @param {object} Vue
|
|
*/
|
|
|
|
var checkMultipleVue = function () {
|
|
var checkMultipleVueWarned = false;
|
|
var MULTIPLE_VUE_WARNING = ['Multiple instances of Vue detected!', 'You may need to set up an alias for Vue in your bundler config.', 'See: https://bootstrap-vue.org/docs#using-module-bundlers'].join('\n');
|
|
return function (Vue$1) {
|
|
/* istanbul ignore next */
|
|
if (!checkMultipleVueWarned && Vue !== Vue$1 && !isJSDOM) {
|
|
warn(MULTIPLE_VUE_WARNING);
|
|
}
|
|
|
|
checkMultipleVueWarned = true;
|
|
};
|
|
}();
|
|
/**
|
|
* Plugin install factory function.
|
|
* @param {object} { components, directives }
|
|
* @returns {function} plugin install function
|
|
*/
|
|
|
|
var installFactory = function installFactory() {
|
|
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
components = _ref.components,
|
|
directives = _ref.directives,
|
|
plugins = _ref.plugins;
|
|
|
|
var install = function install(Vue) {
|
|
var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
if (install.installed) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
install.installed = true;
|
|
checkMultipleVue(Vue);
|
|
setConfig(config, Vue);
|
|
registerComponents(Vue, components);
|
|
registerDirectives(Vue, directives);
|
|
registerPlugins(Vue, plugins);
|
|
};
|
|
|
|
install.installed = false;
|
|
return install;
|
|
};
|
|
/**
|
|
* Plugin install factory function (no plugin config option).
|
|
* @param {object} { components, directives }
|
|
* @returns {function} plugin install function
|
|
*/
|
|
|
|
var installFactoryNoConfig = function installFactoryNoConfig() {
|
|
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
components = _ref2.components,
|
|
directives = _ref2.directives,
|
|
plugins = _ref2.plugins;
|
|
|
|
var install = function install(Vue) {
|
|
if (install.installed) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
install.installed = true;
|
|
checkMultipleVue(Vue);
|
|
registerComponents(Vue, components);
|
|
registerDirectives(Vue, directives);
|
|
registerPlugins(Vue, plugins);
|
|
};
|
|
|
|
install.installed = false;
|
|
return install;
|
|
};
|
|
/**
|
|
* Plugin object factory function.
|
|
* @param {object} { components, directives, plugins }
|
|
* @returns {object} plugin install object
|
|
*/
|
|
|
|
var pluginFactory = function pluginFactory() {
|
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
var extend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
return _objectSpread2(_objectSpread2({}, extend), {}, {
|
|
install: installFactory(options)
|
|
});
|
|
};
|
|
/**
|
|
* Plugin object factory function (no config option).
|
|
* @param {object} { components, directives, plugins }
|
|
* @returns {object} plugin install object
|
|
*/
|
|
|
|
var pluginFactoryNoConfig = function pluginFactoryNoConfig() {
|
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
var extend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
return _objectSpread2(_objectSpread2({}, extend), {}, {
|
|
install: installFactoryNoConfig(options)
|
|
});
|
|
};
|
|
/**
|
|
* Load a group of plugins.
|
|
* @param {object} Vue
|
|
* @param {object} Plugin definitions
|
|
*/
|
|
|
|
var registerPlugins = function registerPlugins(Vue) {
|
|
var plugins = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
for (var plugin in plugins) {
|
|
if (plugin && plugins[plugin]) {
|
|
Vue.use(plugins[plugin]);
|
|
}
|
|
}
|
|
};
|
|
/**
|
|
* Load a component.
|
|
* @param {object} Vue
|
|
* @param {string} Component name
|
|
* @param {object} Component definition
|
|
*/
|
|
|
|
var registerComponent = function registerComponent(Vue, name, def) {
|
|
if (Vue && name && def) {
|
|
Vue.component(name, def);
|
|
}
|
|
};
|
|
/**
|
|
* Load a group of components.
|
|
* @param {object} Vue
|
|
* @param {object} Object of component definitions
|
|
*/
|
|
|
|
var registerComponents = function registerComponents(Vue) {
|
|
var components = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
for (var component in components) {
|
|
registerComponent(Vue, component, components[component]);
|
|
}
|
|
};
|
|
/**
|
|
* Load a directive.
|
|
* @param {object} Vue
|
|
* @param {string} Directive name
|
|
* @param {object} Directive definition
|
|
*/
|
|
|
|
var registerDirective = function registerDirective(Vue, name, def) {
|
|
if (Vue && name && def) {
|
|
// Ensure that any leading V is removed from the
|
|
// name, as Vue adds it automatically
|
|
Vue.directive(name.replace(/^VB/, 'B'), def);
|
|
}
|
|
};
|
|
/**
|
|
* Load a group of directives.
|
|
* @param {object} Vue
|
|
* @param {object} Object of directive definitions
|
|
*/
|
|
|
|
var registerDirectives = function registerDirectives(Vue) {
|
|
var directives = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
for (var directive in directives) {
|
|
registerDirective(Vue, directive, directives[directive]);
|
|
}
|
|
};
|
|
|
|
var NAME_ALERT = 'BAlert';
|
|
var NAME_ASPECT = 'BAspect';
|
|
var NAME_AVATAR = 'BAvatar';
|
|
var NAME_AVATAR_GROUP = 'BAvatarGroup';
|
|
var NAME_BADGE = 'BBadge';
|
|
var NAME_BREADCRUMB = 'BBreadcrumb';
|
|
var NAME_BREADCRUMB_ITEM = 'BBreadcrumbItem';
|
|
var NAME_BREADCRUMB_LINK = 'BBreadcrumbLink';
|
|
var NAME_BUTTON = 'BButton';
|
|
var NAME_BUTTON_CLOSE = 'BButtonClose';
|
|
var NAME_BUTTON_GROUP = 'BButtonGroup';
|
|
var NAME_BUTTON_TOOLBAR = 'BButtonToolbar';
|
|
var NAME_CALENDAR = 'BCalendar';
|
|
var NAME_CARD = 'BCard';
|
|
var NAME_CARD_BODY = 'BCardBody';
|
|
var NAME_CARD_FOOTER = 'BCardFooter';
|
|
var NAME_CARD_GROUP = 'BCardGroup';
|
|
var NAME_CARD_HEADER = 'BCardHeader';
|
|
var NAME_CARD_IMG = 'BCardImg';
|
|
var NAME_CARD_IMG_LAZY = 'BCardImgLazy';
|
|
var NAME_CARD_SUB_TITLE = 'BCardSubTitle';
|
|
var NAME_CARD_TEXT = 'BCardText';
|
|
var NAME_CARD_TITLE = 'BCardTitle';
|
|
var NAME_CAROUSEL = 'BCarousel';
|
|
var NAME_CAROUSEL_SLIDE = 'BCarouselSlide';
|
|
var NAME_COL = 'BCol';
|
|
var NAME_COLLAPSE = 'BCollapse';
|
|
var NAME_COLLAPSE_HELPER = 'BVCollapse';
|
|
var NAME_CONTAINER = 'BContainer';
|
|
var NAME_DROPDOWN = 'BDropdown';
|
|
var NAME_DROPDOWN_DIVIDER = 'BDropdownDivider';
|
|
var NAME_DROPDOWN_FORM = 'BDropdownForm';
|
|
var NAME_DROPDOWN_GROUP = 'BDropdownGroup';
|
|
var NAME_DROPDOWN_HEADER = 'BDropdownHeader';
|
|
var NAME_DROPDOWN_ITEM = 'BDropdownItem';
|
|
var NAME_DROPDOWN_ITEM_BUTTON = 'BDropdownItemButton';
|
|
var NAME_DROPDOWN_TEXT = 'BDropdownText';
|
|
var NAME_EMBED = 'BEmbed';
|
|
var NAME_FORM = 'BForm';
|
|
var NAME_FORM_BUTTON_LABEL_CONTROL = 'BVFormBtnLabelControl';
|
|
var NAME_FORM_CHECKBOX = 'BFormCheckbox';
|
|
var NAME_FORM_CHECKBOX_GROUP = 'BFormCheckboxGroup';
|
|
var NAME_FORM_DATALIST = 'BFormDatalist';
|
|
var NAME_FORM_DATEPICKER = 'BFormDatepicker';
|
|
var NAME_FORM_FILE = 'BFormFile';
|
|
var NAME_FORM_GROUP = 'BFormGroup';
|
|
var NAME_FORM_INPUT = 'BFormInput';
|
|
var NAME_FORM_INVALID_FEEDBACK = 'BFormInvalidFeedback';
|
|
var NAME_FORM_RADIO = 'BFormRadio';
|
|
var NAME_FORM_RADIO_GROUP = 'BFormRadioGroup';
|
|
var NAME_FORM_RATING = 'BFormRating';
|
|
var NAME_FORM_RATING_STAR = 'BVFormRatingStar';
|
|
var NAME_FORM_ROW = 'BFormRow';
|
|
var NAME_FORM_SELECT = 'BFormSelect';
|
|
var NAME_FORM_SELECT_OPTION = 'BFormSelectOption';
|
|
var NAME_FORM_SELECT_OPTION_GROUP = 'BFormSelectOptionGroup';
|
|
var NAME_FORM_SPINBUTTON = 'BFormSpinbutton';
|
|
var NAME_FORM_TAG = 'BFormTag';
|
|
var NAME_FORM_TAGS = 'BFormTags';
|
|
var NAME_FORM_TEXT = 'BFormText';
|
|
var NAME_FORM_TEXTAREA = 'BFormTextarea';
|
|
var NAME_FORM_TIMEPICKER = 'BFormTimepicker';
|
|
var NAME_FORM_VALID_FEEDBACK = 'BFormValidFeedback';
|
|
var NAME_ICON = 'BIcon';
|
|
var NAME_ICONSTACK = 'BIconstack';
|
|
var NAME_ICON_BASE = 'BIconBase';
|
|
var NAME_IMG = 'BImg';
|
|
var NAME_IMG_LAZY = 'BImgLazy';
|
|
var NAME_INPUT_GROUP = 'BInputGroup';
|
|
var NAME_INPUT_GROUP_ADDON = 'BInputGroupAddon';
|
|
var NAME_INPUT_GROUP_APPEND = 'BInputGroupAppend';
|
|
var NAME_INPUT_GROUP_PREPEND = 'BInputGroupPrepend';
|
|
var NAME_INPUT_GROUP_TEXT = 'BInputGroupText';
|
|
var NAME_JUMBOTRON = 'BJumbotron';
|
|
var NAME_LINK = 'BLink';
|
|
var NAME_LIST_GROUP = 'BListGroup';
|
|
var NAME_LIST_GROUP_ITEM = 'BListGroupItem';
|
|
var NAME_MEDIA = 'BMedia';
|
|
var NAME_MEDIA_ASIDE = 'BMediaAside';
|
|
var NAME_MEDIA_BODY = 'BMediaBody';
|
|
var NAME_MODAL = 'BModal';
|
|
var NAME_MSG_BOX = 'BMsgBox';
|
|
var NAME_NAV = 'BNav';
|
|
var NAME_NAVBAR = 'BNavbar';
|
|
var NAME_NAVBAR_BRAND = 'BNavbarBrand';
|
|
var NAME_NAVBAR_NAV = 'BNavbarNav';
|
|
var NAME_NAVBAR_TOGGLE = 'BNavbarToggle';
|
|
var NAME_NAV_FORM = 'BNavForm';
|
|
var NAME_NAV_ITEM = 'BNavItem';
|
|
var NAME_NAV_ITEM_DROPDOWN = 'BNavItemDropdown';
|
|
var NAME_NAV_TEXT = 'BNavText';
|
|
var NAME_OVERLAY = 'BOverlay';
|
|
var NAME_PAGINATION = 'BPagination';
|
|
var NAME_PAGINATION_NAV = 'BPaginationNav';
|
|
var NAME_POPOVER = 'BPopover';
|
|
var NAME_POPOVER_HELPER = 'BVPopover';
|
|
var NAME_POPOVER_TEMPLATE = 'BVPopoverTemplate';
|
|
var NAME_POPPER = 'BVPopper';
|
|
var NAME_PROGRESS = 'BProgress';
|
|
var NAME_PROGRESS_BAR = 'BProgressBar';
|
|
var NAME_ROW = 'BRow';
|
|
var NAME_SIDEBAR = 'BSidebar';
|
|
var NAME_SKELETON = 'BSkeleton';
|
|
var NAME_SKELETON_ICON = 'BSkeletonIcon';
|
|
var NAME_SKELETON_IMG = 'BSkeletonImg';
|
|
var NAME_SKELETON_TABLE = 'BSkeletonTable';
|
|
var NAME_SKELETON_WRAPPER = 'BSkeletonWrapper';
|
|
var NAME_SPINNER = 'BSpinner';
|
|
var NAME_TAB = 'BTab';
|
|
var NAME_TABLE = 'BTable';
|
|
var NAME_TABLE_CELL = 'BTableCell';
|
|
var NAME_TABLE_LITE = 'BTableLite';
|
|
var NAME_TABLE_SIMPLE = 'BTableSimple';
|
|
var NAME_TABS = 'BTabs';
|
|
var NAME_TAB_BUTTON_HELPER = 'BVTabButton';
|
|
var NAME_TBODY = 'BTbody';
|
|
var NAME_TFOOT = 'BTfoot';
|
|
var NAME_TH = 'BTh';
|
|
var NAME_THEAD = 'BThead';
|
|
var NAME_TIME = 'BTime';
|
|
var NAME_TOAST = 'BToast';
|
|
var NAME_TOASTER = 'BToaster';
|
|
var NAME_TOAST_POP = 'BVToastPop';
|
|
var NAME_TOOLTIP = 'BTooltip';
|
|
var NAME_TOOLTIP_HELPER = 'BVTooltip';
|
|
var NAME_TOOLTIP_TEMPLATE = 'BVTooltipTemplate';
|
|
var NAME_TR = 'BTr';
|
|
var NAME_TRANSITION = 'BVTransition';
|
|
var NAME_TRANSPORTER_SINGLE = 'BTransporterSingle';
|
|
var NAME_TRANSPORTER_TARGET_SINGLE = 'BTransporterTargetSingle';
|
|
|
|
var memoize = function memoize(fn) {
|
|
var cache = create(null);
|
|
return function () {
|
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
args[_key] = arguments[_key];
|
|
}
|
|
|
|
var argsKey = JSON.stringify(args);
|
|
return cache[argsKey] = cache[argsKey] || fn.apply(null, args);
|
|
};
|
|
};
|
|
|
|
var VueProto = Vue.prototype; // --- Getter methods ---
|
|
|
|
var getConfigValue = function getConfigValue(key) {
|
|
var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
|
var bvConfig = VueProto[PROP_NAME];
|
|
return bvConfig ? bvConfig.getConfigValue(key, defaultValue) : cloneDeep(defaultValue);
|
|
}; // Method to grab a config value for a particular component
|
|
|
|
var getComponentConfig = function getComponentConfig(key) {
|
|
var propKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
var defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
// Return the particular config value for key if specified,
|
|
// otherwise we return the full config (or an empty object if not found)
|
|
return propKey ? getConfigValue("".concat(key, ".").concat(propKey), defaultValue) : getConfigValue(key, {});
|
|
}; // Get all breakpoint names
|
|
|
|
var getBreakpoints = function getBreakpoints() {
|
|
return getConfigValue('breakpoints', DEFAULT_BREAKPOINT);
|
|
}; // Private method for caching breakpoint names
|
|
|
|
var _getBreakpointsCached = memoize(function () {
|
|
return getBreakpoints();
|
|
}); // Get all breakpoint names (cached)
|
|
|
|
|
|
var getBreakpointsCached = function getBreakpointsCached() {
|
|
return cloneDeep(_getBreakpointsCached());
|
|
}; // Get breakpoints with the smallest breakpoint set as ''
|
|
// Useful for components that create breakpoint specific props
|
|
|
|
var getBreakpointsUpCached = memoize(function () {
|
|
var breakpoints = getBreakpointsCached();
|
|
breakpoints[0] = '';
|
|
return breakpoints;
|
|
}); // Get breakpoints with the largest breakpoint set as ''
|
|
// Replaces the current `default` key of each prop with a `getComponentConfig()`
|
|
// call that falls back to the current default value of the prop
|
|
|
|
var makePropsConfigurable = function makePropsConfigurable(props, componentKey) {
|
|
return keys(props).reduce(function (result, prop) {
|
|
var currentProp = props[prop];
|
|
var defaultValue = currentProp.default;
|
|
result[prop] = _objectSpread2(_objectSpread2({}, cloneDeep(currentProp)), {}, {
|
|
default: function _default() {
|
|
return getComponentConfig(componentKey, prop, isFunction(defaultValue) ? defaultValue() : defaultValue);
|
|
}
|
|
});
|
|
return result;
|
|
}, {});
|
|
};
|
|
|
|
// --- Static ---
|
|
var from = function from() {
|
|
return Array.from.apply(Array, arguments);
|
|
}; // --- Instance ---
|
|
|
|
var arrayIncludes = function arrayIncludes(array, value) {
|
|
return array.indexOf(value) !== -1;
|
|
};
|
|
var concat = function concat() {
|
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
args[_key] = arguments[_key];
|
|
}
|
|
|
|
return Array.prototype.concat.apply([], args);
|
|
}; // --- Utilities ---
|
|
|
|
var createAndFillArray = function createAndFillArray(size, value) {
|
|
return Array(size).fill(value);
|
|
};
|
|
var flatten = function flatten(array) {
|
|
return array.reduce(function (result, item) {
|
|
return result.concat(item);
|
|
}, []);
|
|
};
|
|
var flattenDeep = function flattenDeep(array) {
|
|
return array.reduce(function (result, item) {
|
|
return result.concat(Array.isArray(item) ? flattenDeep(item) : item);
|
|
}, []);
|
|
};
|
|
|
|
// Number utilities
|
|
// Converts a value (string, number, etc.) to an integer number
|
|
// Assumes radix base 10
|
|
var toInteger = function toInteger(value) {
|
|
var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : NaN;
|
|
var integer = parseInt(value, 10);
|
|
return isNaN(integer) ? defaultValue : integer;
|
|
}; // Converts a value (string, number, etc.) to a number
|
|
|
|
var toFloat = function toFloat(value) {
|
|
var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : NaN;
|
|
var float = parseFloat(value);
|
|
return isNaN(float) ? defaultValue : float;
|
|
}; // Converts a value (string, number, etc.) to a string
|
|
// representation with `precision` digits after the decimal
|
|
// Returns the string 'NaN' if the value cannot be converted
|
|
|
|
var toFixed = function toFixed(val, precision) {
|
|
return toFloat(val).toFixed(toInteger(precision, 0));
|
|
};
|
|
|
|
// String utilities
|
|
// Converts PascalCase or camelCase to kebab-case
|
|
|
|
var kebabCase = function kebabCase(str) {
|
|
return str.replace(RX_HYPHENATE, '-$1').toLowerCase();
|
|
}; // Converts a kebab-case or camelCase string to PascalCase
|
|
|
|
var pascalCase = function pascalCase(str) {
|
|
str = kebabCase(str).replace(RX_UN_KEBAB, function (_, c) {
|
|
return c ? c.toUpperCase() : '';
|
|
});
|
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
}; // Converts a string, including strings in camelCase or snake_case, into Start Case
|
|
// It keeps original single quote and hyphen in the word
|
|
// https://github.com/UrbanCompass/to-start-case
|
|
|
|
var startCase = function startCase(str) {
|
|
return str.replace(RX_UNDERSCORE, ' ').replace(RX_LOWER_UPPER, function (str, $1, $2) {
|
|
return $1 + ' ' + $2;
|
|
}).replace(RX_START_SPACE_WORD, function (str, $1, $2) {
|
|
return $1 + $2.toUpperCase();
|
|
});
|
|
}; // Lowercases the first letter of a string and returns a new string
|
|
|
|
var lowerFirst = function lowerFirst(str) {
|
|
str = isString(str) ? str.trim() : String(str);
|
|
return str.charAt(0).toLowerCase() + str.slice(1);
|
|
}; // Uppercases the first letter of a string and returns a new string
|
|
|
|
var upperFirst = function upperFirst(str) {
|
|
str = isString(str) ? str.trim() : String(str);
|
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
}; // Escape characters to be used in building a regular expression
|
|
|
|
var escapeRegExp = function escapeRegExp(str) {
|
|
return str.replace(RX_REGEXP_REPLACE, '\\$&');
|
|
}; // Convert a value to a string that can be rendered
|
|
// `undefined`/`null` will be converted to `''`
|
|
// Plain objects and arrays will be JSON stringified
|
|
|
|
var toString$1 = function toString(val) {
|
|
var spaces = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
|
return isUndefinedOrNull(val) ? '' : isArray(val) || isPlainObject(val) && val.toString === Object.prototype.toString ? JSON.stringify(val, null, spaces) : String(val);
|
|
}; // Remove leading white space from a string
|
|
|
|
var trimLeft = function trimLeft(str) {
|
|
return toString$1(str).replace(RX_TRIM_LEFT, '');
|
|
}; // Remove Trailing white space from a string
|
|
|
|
var trim = function trim(str) {
|
|
return toString$1(str).trim();
|
|
}; // Lower case a string
|
|
|
|
var lowerCase = function lowerCase(str) {
|
|
return toString$1(str).toLowerCase();
|
|
}; // Upper case a string
|
|
|
|
var TABABLE_SELECTOR = ['button', '[href]:not(.disabled)', 'input', 'select', 'textarea', '[tabindex]', '[contenteditable]'].map(function (s) {
|
|
return "".concat(s, ":not(:disabled):not([disabled])");
|
|
}).join(', ');
|
|
var w$1 = hasWindowSupport ? window : {};
|
|
var d = hasDocumentSupport ? document : {};
|
|
var elProto = typeof Element !== 'undefined' ? Element.prototype : {}; // --- Normalization utils ---
|
|
// See: https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill
|
|
|
|
/* istanbul ignore next */
|
|
|
|
var matchesEl = elProto.matches || elProto.msMatchesSelector || elProto.webkitMatchesSelector; // See: https://developer.mozilla.org/en-US/docs/Web/API/Element/closest
|
|
|
|
/* istanbul ignore next */
|
|
|
|
var closestEl = elProto.closest || function (sel) {
|
|
var el = this;
|
|
|
|
do {
|
|
// Use our "patched" matches function
|
|
if (matches(el, sel)) {
|
|
return el;
|
|
}
|
|
|
|
el = el.parentElement || el.parentNode;
|
|
} while (!isNull(el) && el.nodeType === Node.ELEMENT_NODE);
|
|
|
|
return null;
|
|
}; // `requestAnimationFrame()` convenience method
|
|
|
|
/* istanbul ignore next: JSDOM always returns the first option */
|
|
|
|
var requestAF = w$1.requestAnimationFrame || w$1.webkitRequestAnimationFrame || w$1.mozRequestAnimationFrame || w$1.msRequestAnimationFrame || w$1.oRequestAnimationFrame || // Fallback, but not a true polyfill
|
|
// Only needed for Opera Mini
|
|
|
|
/* istanbul ignore next */
|
|
function (cb) {
|
|
return setTimeout(cb, 16);
|
|
};
|
|
var MutationObs = w$1.MutationObserver || w$1.WebKitMutationObserver || w$1.MozMutationObserver || null; // --- Utils ---
|
|
// Remove a node from DOM
|
|
|
|
var removeNode = function removeNode(el) {
|
|
return el && el.parentNode && el.parentNode.removeChild(el);
|
|
}; // Determine if an element is an HTML element
|
|
|
|
var isElement = function isElement(el) {
|
|
return !!(el && el.nodeType === Node.ELEMENT_NODE);
|
|
}; // Get the currently active HTML element
|
|
|
|
var getActiveElement = function getActiveElement() {
|
|
var excludes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
var activeElement = d.activeElement;
|
|
return activeElement && !excludes.some(function (el) {
|
|
return el === activeElement;
|
|
}) ? activeElement : null;
|
|
}; // Returns `true` if a tag's name equals `name`
|
|
|
|
var isTag = function isTag(tag, name) {
|
|
return toString$1(tag).toLowerCase() === toString$1(name).toLowerCase();
|
|
}; // Determine if an HTML element is the currently active element
|
|
|
|
var isActiveElement = function isActiveElement(el) {
|
|
return isElement(el) && el === getActiveElement();
|
|
}; // Determine if an HTML element is visible - Faster than CSS check
|
|
|
|
var isVisible = function isVisible(el) {
|
|
if (!isElement(el) || !el.parentNode || !contains(d.body, el)) {
|
|
// Note this can fail for shadow dom elements since they
|
|
// are not a direct descendant of document.body
|
|
return false;
|
|
}
|
|
|
|
if (getStyle(el, 'display') === 'none') {
|
|
// We do this check to help with vue-test-utils when using v-show
|
|
|
|
/* istanbul ignore next */
|
|
return false;
|
|
} // All browsers support getBoundingClientRect(), except JSDOM as it returns all 0's for values :(
|
|
// So any tests that need isVisible will fail in JSDOM
|
|
// Except when we override the getBCR prototype in some tests
|
|
|
|
|
|
var bcr = getBCR(el);
|
|
return !!(bcr && bcr.height > 0 && bcr.width > 0);
|
|
}; // Determine if an element is disabled
|
|
|
|
var isDisabled = function isDisabled(el) {
|
|
return !isElement(el) || el.disabled || hasAttr(el, 'disabled') || hasClass(el, 'disabled');
|
|
}; // Cause/wait-for an element to reflow its content (adjusting its height/width)
|
|
|
|
var reflow = function reflow(el) {
|
|
// Requesting an elements offsetHight will trigger a reflow of the element content
|
|
|
|
/* istanbul ignore next: reflow doesn't happen in JSDOM */
|
|
return isElement(el) && el.offsetHeight;
|
|
}; // Select all elements matching selector. Returns `[]` if none found
|
|
|
|
var selectAll = function selectAll(selector, root) {
|
|
return from((isElement(root) ? root : d).querySelectorAll(selector));
|
|
}; // Select a single element, returns `null` if not found
|
|
|
|
var select = function select(selector, root) {
|
|
return (isElement(root) ? root : d).querySelector(selector) || null;
|
|
}; // Determine if an element matches a selector
|
|
|
|
var matches = function matches(el, selector) {
|
|
return isElement(el) ? matchesEl.call(el, selector) : false;
|
|
}; // Finds closest element matching selector. Returns `null` if not found
|
|
|
|
var closest = function closest(selector, root) {
|
|
var includeRoot = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
|
|
if (!isElement(root)) {
|
|
return null;
|
|
}
|
|
|
|
var el = closestEl.call(root, selector); // Native closest behaviour when `includeRoot` is truthy,
|
|
// else emulate jQuery closest and return `null` if match is
|
|
// the passed in root element when `includeRoot` is falsey
|
|
|
|
return includeRoot ? el : el === root ? null : el;
|
|
}; // Returns true if the parent element contains the child element
|
|
|
|
var contains = function contains(parent, child) {
|
|
return parent && isFunction(parent.contains) ? parent.contains(child) : false;
|
|
}; // Get an element given an ID
|
|
|
|
var getById = function getById(id) {
|
|
return d.getElementById(/^#/.test(id) ? id.slice(1) : id) || null;
|
|
}; // Add a class to an element
|
|
|
|
var addClass = function addClass(el, className) {
|
|
// We are checking for `el.classList` existence here since IE 11
|
|
// returns `undefined` for some elements (e.g. SVG elements)
|
|
// See https://github.com/bootstrap-vue/bootstrap-vue/issues/2713
|
|
if (className && isElement(el) && el.classList) {
|
|
el.classList.add(className);
|
|
}
|
|
}; // Remove a class from an element
|
|
|
|
var removeClass = function removeClass(el, className) {
|
|
// We are checking for `el.classList` existence here since IE 11
|
|
// returns `undefined` for some elements (e.g. SVG elements)
|
|
// See https://github.com/bootstrap-vue/bootstrap-vue/issues/2713
|
|
if (className && isElement(el) && el.classList) {
|
|
el.classList.remove(className);
|
|
}
|
|
}; // Test if an element has a class
|
|
|
|
var hasClass = function hasClass(el, className) {
|
|
// We are checking for `el.classList` existence here since IE 11
|
|
// returns `undefined` for some elements (e.g. SVG elements)
|
|
// See https://github.com/bootstrap-vue/bootstrap-vue/issues/2713
|
|
if (className && isElement(el) && el.classList) {
|
|
return el.classList.contains(className);
|
|
}
|
|
|
|
return false;
|
|
}; // Set an attribute on an element
|
|
|
|
var setAttr = function setAttr(el, attr, value) {
|
|
if (attr && isElement(el)) {
|
|
el.setAttribute(attr, value);
|
|
}
|
|
}; // Remove an attribute from an element
|
|
|
|
var removeAttr = function removeAttr(el, attr) {
|
|
if (attr && isElement(el)) {
|
|
el.removeAttribute(attr);
|
|
}
|
|
}; // Get an attribute value from an element
|
|
// Returns `null` if not found
|
|
|
|
var getAttr = function getAttr(el, attr) {
|
|
return attr && isElement(el) ? el.getAttribute(attr) : null;
|
|
}; // Determine if an attribute exists on an element
|
|
// Returns `true` or `false`, or `null` if element not found
|
|
|
|
var hasAttr = function hasAttr(el, attr) {
|
|
return attr && isElement(el) ? el.hasAttribute(attr) : null;
|
|
}; // Set an style property on an element
|
|
|
|
var setStyle = function setStyle(el, prop, value) {
|
|
if (prop && isElement(el)) {
|
|
el.style[prop] = value;
|
|
}
|
|
}; // Remove an style property from an element
|
|
|
|
var removeStyle = function removeStyle(el, prop) {
|
|
if (prop && isElement(el)) {
|
|
el.style[prop] = '';
|
|
}
|
|
}; // Get an style property value from an element
|
|
// Returns `null` if not found
|
|
|
|
var getStyle = function getStyle(el, prop) {
|
|
return prop && isElement(el) ? el.style[prop] || null : null;
|
|
}; // Return the Bounding Client Rect of an element
|
|
// Returns `null` if not an element
|
|
|
|
/* istanbul ignore next: getBoundingClientRect() doesn't work in JSDOM */
|
|
|
|
var getBCR = function getBCR(el) {
|
|
return isElement(el) ? el.getBoundingClientRect() : null;
|
|
}; // Get computed style object for an element
|
|
|
|
/* istanbul ignore next: getComputedStyle() doesn't work in JSDOM */
|
|
|
|
var getCS = function getCS(el) {
|
|
return hasWindowSupport && isElement(el) ? w$1.getComputedStyle(el) : {};
|
|
}; // Returns a `Selection` object representing the range of text selected
|
|
// Returns `null` if no window support is given
|
|
|
|
/* istanbul ignore next: getSelection() doesn't work in JSDOM */
|
|
|
|
var getSel = function getSel() {
|
|
return hasWindowSupport && w$1.getSelection ? w$1.getSelection() : null;
|
|
}; // Return an element's offset with respect to document element
|
|
// https://j11y.io/jquery/#v=git&fn=jQuery.fn.offset
|
|
|
|
var offset = function offset(el)
|
|
/* istanbul ignore next: getBoundingClientRect(), getClientRects() doesn't work in JSDOM */
|
|
{
|
|
var _offset = {
|
|
top: 0,
|
|
left: 0
|
|
};
|
|
|
|
if (!isElement(el) || el.getClientRects().length === 0) {
|
|
return _offset;
|
|
}
|
|
|
|
var bcr = getBCR(el);
|
|
|
|
if (bcr) {
|
|
var win = el.ownerDocument.defaultView;
|
|
_offset.top = bcr.top + win.pageYOffset;
|
|
_offset.left = bcr.left + win.pageXOffset;
|
|
}
|
|
|
|
return _offset;
|
|
}; // Return an element's offset with respect to to its offsetParent
|
|
// https://j11y.io/jquery/#v=git&fn=jQuery.fn.position
|
|
|
|
var position = function position(el)
|
|
/* istanbul ignore next: getBoundingClientRect() doesn't work in JSDOM */
|
|
{
|
|
var _offset = {
|
|
top: 0,
|
|
left: 0
|
|
};
|
|
|
|
if (!isElement(el)) {
|
|
return _offset;
|
|
}
|
|
|
|
var parentOffset = {
|
|
top: 0,
|
|
left: 0
|
|
};
|
|
var elStyles = getCS(el);
|
|
|
|
if (elStyles.position === 'fixed') {
|
|
_offset = getBCR(el) || _offset;
|
|
} else {
|
|
_offset = offset(el);
|
|
var doc = el.ownerDocument;
|
|
var offsetParent = el.offsetParent || doc.documentElement;
|
|
|
|
while (offsetParent && (offsetParent === doc.body || offsetParent === doc.documentElement) && getCS(offsetParent).position === 'static') {
|
|
offsetParent = offsetParent.parentNode;
|
|
}
|
|
|
|
if (offsetParent && offsetParent !== el && offsetParent.nodeType === Node.ELEMENT_NODE) {
|
|
parentOffset = offset(offsetParent);
|
|
var offsetParentStyles = getCS(offsetParent);
|
|
parentOffset.top += toFloat(offsetParentStyles.borderTopWidth, 0);
|
|
parentOffset.left += toFloat(offsetParentStyles.borderLeftWidth, 0);
|
|
}
|
|
}
|
|
|
|
return {
|
|
top: _offset.top - parentOffset.top - toFloat(elStyles.marginTop, 0),
|
|
left: _offset.left - parentOffset.left - toFloat(elStyles.marginLeft, 0)
|
|
};
|
|
}; // Find all tabable elements in the given element
|
|
// Assumes users have not used `tabindex` > `0` on elements
|
|
|
|
var getTabables = function getTabables() {
|
|
var rootEl = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document;
|
|
return selectAll(TABABLE_SELECTOR, rootEl).filter(isVisible).filter(function (el) {
|
|
return el.tabIndex > -1 && !el.disabled;
|
|
});
|
|
}; // Attempt to focus an element, and return `true` if successful
|
|
|
|
var attemptFocus = function attemptFocus(el) {
|
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
try {
|
|
el.focus(options);
|
|
} catch (_unused) {}
|
|
|
|
return isActiveElement(el);
|
|
}; // Attempt to blur an element, and return `true` if successful
|
|
|
|
var attemptBlur = function attemptBlur(el) {
|
|
try {
|
|
el.blur();
|
|
} catch (_unused2) {}
|
|
|
|
return !isActiveElement(el);
|
|
};
|
|
|
|
var NO_FADE_PROPS = {
|
|
name: '',
|
|
enterClass: '',
|
|
enterActiveClass: '',
|
|
enterToClass: 'show',
|
|
leaveClass: 'show',
|
|
leaveActiveClass: '',
|
|
leaveToClass: ''
|
|
};
|
|
|
|
var FADE_PROPS = _objectSpread2(_objectSpread2({}, NO_FADE_PROPS), {}, {
|
|
enterActiveClass: 'fade',
|
|
leaveActiveClass: 'fade'
|
|
}); // @vue/component
|
|
|
|
|
|
var BVTransition = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TRANSITION,
|
|
functional: true,
|
|
props: {
|
|
noFade: {
|
|
// Only applicable to the built in transition
|
|
// Has no effect if `trans-props` provided
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
appear: {
|
|
// Has no effect if `trans-props` provided
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
mode: {
|
|
// Can be overridden by user supplied trans-props
|
|
type: String // default: undefined
|
|
|
|
},
|
|
// For user supplied transitions (if needed)
|
|
transProps: {
|
|
type: Object,
|
|
default: null
|
|
}
|
|
},
|
|
render: function render(h, _ref) {
|
|
var children = _ref.children,
|
|
data = _ref.data,
|
|
props = _ref.props;
|
|
var transProps = props.transProps;
|
|
|
|
if (!isPlainObject(transProps)) {
|
|
transProps = props.noFade ? NO_FADE_PROPS : FADE_PROPS;
|
|
|
|
if (props.appear) {
|
|
// Default the appear classes to equal the enter classes
|
|
transProps = _objectSpread2(_objectSpread2({}, transProps), {}, {
|
|
appear: true,
|
|
appearClass: transProps.enterClass,
|
|
appearActiveClass: transProps.enterActiveClass,
|
|
appearToClass: transProps.enterToClass
|
|
});
|
|
}
|
|
}
|
|
|
|
transProps = _objectSpread2(_objectSpread2({
|
|
mode: props.mode
|
|
}, transProps), {}, {
|
|
// We always need `css` true
|
|
css: true
|
|
});
|
|
return h('transition', // Any transition event listeners will get merged here
|
|
mergeData(data, {
|
|
props: transProps
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var SLOT_NAME_APPEND = 'append';
|
|
var SLOT_NAME_BUTTON_CONTENT = 'button-content';
|
|
var SLOT_NAME_DEFAULT = 'default';
|
|
var SLOT_NAME_DESCRIPTION = 'description';
|
|
var SLOT_NAME_FIRST = 'first';
|
|
var SLOT_NAME_FOOTER = 'footer';
|
|
var SLOT_NAME_HEADER = 'header';
|
|
var SLOT_NAME_LABEL = 'label';
|
|
var SLOT_NAME_LEAD = 'lead';
|
|
var SLOT_NAME_PREPEND = 'prepend';
|
|
var SLOT_NAME_TEXT = 'text';
|
|
var SLOT_NAME_TITLE = 'title';
|
|
|
|
// In functional components, `slots` is a function so it must be called
|
|
// first before passing to the below methods. `scopedSlots` is always an
|
|
// object and may be undefined (for Vue < 2.6.x)
|
|
|
|
/**
|
|
* Returns true if either scoped or unscoped named slot exists
|
|
*
|
|
* @param {String, Array} name or name[]
|
|
* @param {Object} scopedSlots
|
|
* @param {Object} slots
|
|
* @returns {Array|undefined} VNodes
|
|
*/
|
|
|
|
var hasNormalizedSlot = function hasNormalizedSlot(names) {
|
|
var $scopedSlots = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
var $slots = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
// Ensure names is an array
|
|
names = concat(names).filter(identity); // Returns true if the either a $scopedSlot or $slot exists with the specified name
|
|
|
|
return names.some(function (name) {
|
|
return $scopedSlots[name] || $slots[name];
|
|
});
|
|
};
|
|
/**
|
|
* Returns VNodes for named slot either scoped or unscoped
|
|
*
|
|
* @param {String, Array} name or name[]
|
|
* @param {String} scope
|
|
* @param {Object} scopedSlots
|
|
* @param {Object} slots
|
|
* @returns {Array|undefined} VNodes
|
|
*/
|
|
|
|
|
|
var normalizeSlot = function normalizeSlot(names) {
|
|
var scope = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
var $scopedSlots = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
var $slots = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
// Ensure names is an array
|
|
names = concat(names).filter(identity);
|
|
var slot;
|
|
|
|
for (var i = 0; i < names.length && !slot; i++) {
|
|
var name = names[i];
|
|
slot = $scopedSlots[name] || $slots[name];
|
|
} // Note: in Vue 2.6.x, all named slots are also scoped slots
|
|
|
|
|
|
return isFunction(slot) ? slot(scope) : slot;
|
|
}; // Named exports
|
|
|
|
var normalizeSlotMixin = {
|
|
methods: {
|
|
hasNormalizedSlot: function hasNormalizedSlot$1() {
|
|
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : SLOT_NAME_DEFAULT;
|
|
// Returns true if the either a $scopedSlot or $slot exists with the specified name
|
|
// `name` can be a string name or an array of names
|
|
return hasNormalizedSlot(name, this.$scopedSlots, this.$slots);
|
|
},
|
|
normalizeSlot: function normalizeSlot$1() {
|
|
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : SLOT_NAME_DEFAULT;
|
|
var scope = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
// Returns an array of rendered VNodes if slot found.
|
|
// Returns undefined if not found.
|
|
// `name` can be a string name or an array of names
|
|
var vNodes = normalizeSlot(name, scope, this.$scopedSlots, this.$slots);
|
|
|
|
return vNodes ? concat(vNodes) : vNodes;
|
|
}
|
|
}
|
|
};
|
|
|
|
// Normalize event options based on support of passive option
|
|
// Exported only for testing purposes
|
|
|
|
var parseEventOptions = function parseEventOptions(options) {
|
|
/* istanbul ignore else: can't test in JSDOM, as it supports passive */
|
|
if (hasPassiveEventSupport) {
|
|
return isObject(options) ? options : {
|
|
capture: !!options || false
|
|
};
|
|
} else {
|
|
// Need to translate to actual Boolean value
|
|
return !!(isObject(options) ? options.capture : options);
|
|
}
|
|
}; // Attach an event listener to an element
|
|
|
|
var eventOn = function eventOn(el, evtName, handler, options) {
|
|
if (el && el.addEventListener) {
|
|
el.addEventListener(evtName, handler, parseEventOptions(options));
|
|
}
|
|
}; // Remove an event listener from an element
|
|
|
|
var eventOff = function eventOff(el, evtName, handler, options) {
|
|
if (el && el.removeEventListener) {
|
|
el.removeEventListener(evtName, handler, parseEventOptions(options));
|
|
}
|
|
}; // Utility method to add/remove a event listener based on first argument (boolean)
|
|
// It passes all other arguments to the `eventOn()` or `eventOff` method
|
|
|
|
var eventOnOff = function eventOnOff(on) {
|
|
var method = on ? eventOn : eventOff;
|
|
|
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
args[_key - 1] = arguments[_key];
|
|
}
|
|
|
|
method.apply(void 0, args);
|
|
}; // Utility method to prevent the default event handling and propagation
|
|
|
|
var stopEvent = function stopEvent(evt) {
|
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
_ref$preventDefault = _ref.preventDefault,
|
|
preventDefault = _ref$preventDefault === void 0 ? true : _ref$preventDefault,
|
|
_ref$propagation = _ref.propagation,
|
|
propagation = _ref$propagation === void 0 ? true : _ref$propagation,
|
|
_ref$immediatePropaga = _ref.immediatePropagation,
|
|
immediatePropagation = _ref$immediatePropaga === void 0 ? false : _ref$immediatePropaga;
|
|
|
|
if (preventDefault) {
|
|
evt.preventDefault();
|
|
}
|
|
|
|
if (propagation) {
|
|
evt.stopPropagation();
|
|
}
|
|
|
|
if (immediatePropagation) {
|
|
evt.stopImmediatePropagation();
|
|
}
|
|
};
|
|
|
|
var props = makePropsConfigurable({
|
|
content: {
|
|
type: String,
|
|
default: '×'
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
ariaLabel: {
|
|
type: String,
|
|
default: 'Close'
|
|
},
|
|
textVariant: {
|
|
type: String // `textVariant` is `undefined` to inherit the current text color
|
|
// default: undefined
|
|
|
|
}
|
|
}, NAME_BUTTON_CLOSE); // @vue/component
|
|
|
|
var BButtonClose = /*#__PURE__*/Vue.extend({
|
|
name: NAME_BUTTON_CLOSE,
|
|
functional: true,
|
|
props: props,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
slots = _ref.slots,
|
|
scopedSlots = _ref.scopedSlots;
|
|
var $slots = slots();
|
|
var $scopedSlots = scopedSlots || {};
|
|
var componentData = {
|
|
staticClass: 'close',
|
|
class: _defineProperty({}, "text-".concat(props.textVariant), props.textVariant),
|
|
attrs: {
|
|
type: 'button',
|
|
disabled: props.disabled,
|
|
'aria-label': props.ariaLabel ? String(props.ariaLabel) : null
|
|
},
|
|
on: {
|
|
click: function click(evt) {
|
|
// Ensure click on button HTML content is also disabled
|
|
|
|
/* istanbul ignore if: bug in JSDOM still emits click on inner element */
|
|
if (props.disabled && isEvent(evt)) {
|
|
stopEvent(evt);
|
|
}
|
|
}
|
|
}
|
|
}; // Careful not to override the default slot with innerHTML
|
|
|
|
if (!hasNormalizedSlot(SLOT_NAME_DEFAULT, $scopedSlots, $slots)) {
|
|
componentData.domProps = {
|
|
innerHTML: props.content
|
|
};
|
|
}
|
|
|
|
return h('button', mergeData(data, componentData), normalizeSlot(SLOT_NAME_DEFAULT, {}, $scopedSlots, $slots));
|
|
}
|
|
});
|
|
|
|
var parseCountDown = function parseCountDown(show) {
|
|
if (show === '' || isBoolean(show)) {
|
|
return 0;
|
|
}
|
|
|
|
show = toInteger(show, 0);
|
|
return show > 0 ? show : 0;
|
|
}; // Convert `show` value to a boolean
|
|
|
|
|
|
var parseShow = function parseShow(show) {
|
|
if (show === '' || show === true) {
|
|
return true;
|
|
}
|
|
|
|
if (toInteger(show, 0) < 1) {
|
|
// Boolean will always return false for the above comparison
|
|
return false;
|
|
}
|
|
|
|
return !!show;
|
|
}; // @vue/component
|
|
|
|
|
|
var BAlert = /*#__PURE__*/Vue.extend({
|
|
name: NAME_ALERT,
|
|
mixins: [normalizeSlotMixin],
|
|
model: {
|
|
prop: 'show',
|
|
event: 'input'
|
|
},
|
|
props: makePropsConfigurable({
|
|
variant: {
|
|
type: String,
|
|
default: 'info'
|
|
},
|
|
dismissible: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
dismissLabel: {
|
|
type: String,
|
|
default: 'Close'
|
|
},
|
|
show: {
|
|
type: [Boolean, Number, String],
|
|
default: false
|
|
},
|
|
fade: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_ALERT),
|
|
data: function data() {
|
|
return {
|
|
countDown: 0,
|
|
// If initially shown, we need to set these for SSR
|
|
localShow: parseShow(this.show)
|
|
};
|
|
},
|
|
watch: {
|
|
show: function show(newVal) {
|
|
this.countDown = parseCountDown(newVal);
|
|
this.localShow = parseShow(newVal);
|
|
},
|
|
countDown: function countDown(newVal) {
|
|
var _this = this;
|
|
|
|
this.clearCountDownInterval();
|
|
|
|
if (isNumeric(this.show)) {
|
|
// Ignore if this.show transitions to a boolean value.
|
|
this.$emit('dismiss-count-down', newVal);
|
|
|
|
if (this.show !== newVal) {
|
|
// Update the v-model if needed
|
|
this.$emit('input', newVal);
|
|
}
|
|
|
|
if (newVal > 0) {
|
|
this.localShow = true;
|
|
this.$_countDownTimeout = setTimeout(function () {
|
|
_this.countDown--;
|
|
}, 1000);
|
|
} else {
|
|
// Slightly delay the hide to allow any UI updates
|
|
this.$nextTick(function () {
|
|
requestAF(function () {
|
|
_this.localShow = false;
|
|
});
|
|
});
|
|
}
|
|
}
|
|
},
|
|
localShow: function localShow(newVal) {
|
|
if (!newVal && (this.dismissible || isNumeric(this.show))) {
|
|
// Only emit dismissed events for dismissible or auto dismissing alerts
|
|
this.$emit('dismissed');
|
|
}
|
|
|
|
if (!isNumeric(this.show) && this.show !== newVal) {
|
|
// Only emit booleans if we weren't passed a number via `this.show`
|
|
this.$emit('input', newVal);
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Create private non-reactive props
|
|
this.$_filterTimer = null;
|
|
this.countDown = parseCountDown(this.show);
|
|
this.localShow = parseShow(this.show);
|
|
},
|
|
mounted: function mounted() {
|
|
this.countDown = parseCountDown(this.show);
|
|
this.localShow = parseShow(this.show);
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.clearCountDownInterval();
|
|
},
|
|
methods: {
|
|
dismiss: function dismiss() {
|
|
this.clearCountDownInterval();
|
|
this.countDown = 0;
|
|
this.localShow = false;
|
|
},
|
|
clearCountDownInterval: function clearCountDownInterval() {
|
|
clearTimeout(this.$_countDownTimeout);
|
|
this.$_countDownTimeout = null;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var $alert; // undefined
|
|
|
|
if (this.localShow) {
|
|
var $dismissBtn = h();
|
|
|
|
if (this.dismissible) {
|
|
// Add dismiss button
|
|
$dismissBtn = h(BButtonClose, {
|
|
attrs: {
|
|
'aria-label': this.dismissLabel
|
|
},
|
|
on: {
|
|
click: this.dismiss
|
|
}
|
|
}, [this.normalizeSlot('dismiss')]);
|
|
}
|
|
|
|
$alert = h('div', {
|
|
key: this._uid,
|
|
staticClass: 'alert',
|
|
class: _defineProperty({
|
|
'alert-dismissible': this.dismissible
|
|
}, "alert-".concat(this.variant), this.variant),
|
|
attrs: {
|
|
role: 'alert',
|
|
'aria-live': 'polite',
|
|
'aria-atomic': true
|
|
}
|
|
}, [$dismissBtn, this.normalizeSlot()]);
|
|
$alert = [$alert];
|
|
}
|
|
|
|
return h(BVTransition, {
|
|
props: {
|
|
noFade: !this.fade
|
|
}
|
|
}, $alert);
|
|
}
|
|
});
|
|
|
|
var AlertPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BAlert: BAlert
|
|
}
|
|
});
|
|
|
|
// Math utilty functions
|
|
var mathMin = Math.min;
|
|
var mathMax = Math.max;
|
|
var mathAbs = Math.abs;
|
|
var mathCeil = Math.ceil;
|
|
var mathFloor = Math.floor;
|
|
var mathPow = Math.pow;
|
|
var mathRound = Math.round;
|
|
|
|
var CLASS_NAME = 'b-aspect'; // --- Main Component ---
|
|
|
|
var BAspect = /*#__PURE__*/Vue.extend({
|
|
name: NAME_ASPECT,
|
|
mixins: [normalizeSlotMixin],
|
|
props: makePropsConfigurable({
|
|
aspect: {
|
|
// Accepts a number (i.e. `16 / 9`, `1`, `4 / 3`)
|
|
// Or a string (i.e. '16/9', '16:9', '4:3' '1:1')
|
|
type: [Number, String],
|
|
default: '1:1'
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
}
|
|
}, NAME_ASPECT),
|
|
computed: {
|
|
padding: function padding() {
|
|
var aspect = this.aspect;
|
|
var ratio = 1;
|
|
|
|
if (RX_ASPECT.test(aspect)) {
|
|
// Width and/or Height can be a decimal value below `1`, so
|
|
// we only fallback to `1` if the value is `0` or `NaN`
|
|
var _aspect$split$map = aspect.split(RX_ASPECT_SEPARATOR).map(function (v) {
|
|
return toFloat(v) || 1;
|
|
}),
|
|
_aspect$split$map2 = _slicedToArray(_aspect$split$map, 2),
|
|
width = _aspect$split$map2[0],
|
|
height = _aspect$split$map2[1];
|
|
|
|
ratio = width / height;
|
|
} else {
|
|
ratio = toFloat(aspect) || 1;
|
|
}
|
|
|
|
return "".concat(100 / mathAbs(ratio), "%");
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var $sizer = h('div', {
|
|
staticClass: "".concat(CLASS_NAME, "-sizer flex-grow-1"),
|
|
style: {
|
|
paddingBottom: this.padding,
|
|
height: 0
|
|
}
|
|
});
|
|
var $content = h('div', {
|
|
staticClass: "".concat(CLASS_NAME, "-content flex-grow-1 w-100 mw-100"),
|
|
style: {
|
|
marginLeft: '-100%'
|
|
}
|
|
}, [this.normalizeSlot()]);
|
|
return h(this.tag, {
|
|
staticClass: "".concat(CLASS_NAME, " d-flex")
|
|
}, [$sizer, $content]);
|
|
}
|
|
});
|
|
|
|
var AspectPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BAspect: BAspect
|
|
}
|
|
});
|
|
|
|
var prefixPropName = function prefixPropName(prefix, value) {
|
|
return prefix + upperFirst(value);
|
|
}; // Remove a prefix from a property
|
|
|
|
var unprefixPropName = function unprefixPropName(prefix, value) {
|
|
return lowerFirst(value.replace(prefix, ''));
|
|
}; // Suffix can be a falsey value so nothing is appended to string
|
|
// (helps when looping over props & some shouldn't change)
|
|
// Use data last parameters to allow for currying
|
|
|
|
var suffixPropName = function suffixPropName(suffix, str) {
|
|
return str + (suffix ? upperFirst(suffix) : '');
|
|
}; // Copies props from one array/object to a new array/object
|
|
// Prop values are also cloned as new references to prevent possible
|
|
// mutation of original prop object values
|
|
// Optionally accepts a function to transform the prop name
|
|
|
|
var copyProps = function copyProps(props) {
|
|
var transformFn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : identity;
|
|
|
|
if (isArray(props)) {
|
|
return props.map(transformFn);
|
|
}
|
|
|
|
var copied = {};
|
|
|
|
for (var prop in props) {
|
|
/* istanbul ignore else */
|
|
if (hasOwnProperty(props, prop)) {
|
|
// If the prop value is an object, do a shallow clone
|
|
// to prevent potential mutations to the original object
|
|
copied[transformFn(prop)] = isObject(props[prop]) ? clone(props[prop]) : props[prop];
|
|
}
|
|
}
|
|
|
|
return copied;
|
|
}; // Given an array of properties or an object of property keys,
|
|
// plucks all the values off the target object, returning a new object
|
|
// that has props that reference the original prop values
|
|
|
|
var pluckProps = function pluckProps(keysToPluck, objToPluck) {
|
|
var transformFn = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : identity;
|
|
return (isArray(keysToPluck) ? keysToPluck.slice() : keys(keysToPluck)).reduce(function (memo, prop) {
|
|
memo[transformFn(prop)] = objToPluck[prop];
|
|
return memo;
|
|
}, {});
|
|
};
|
|
|
|
var ANCHOR_TAG = 'a'; // Method to replace reserved chars
|
|
|
|
var encodeReserveReplacer = function encodeReserveReplacer(c) {
|
|
return '%' + c.charCodeAt(0).toString(16);
|
|
}; // Fixed encodeURIComponent which is more conformant to RFC3986:
|
|
// - escapes [!'()*]
|
|
// - preserve commas
|
|
|
|
|
|
var encode = function encode(str) {
|
|
return encodeURIComponent(toString$1(str)).replace(RX_ENCODE_REVERSE, encodeReserveReplacer).replace(RX_ENCODED_COMMA, ',');
|
|
};
|
|
|
|
var decode = decodeURIComponent; // Stringifies an object of query parameters
|
|
// See: https://github.com/vuejs/vue-router/blob/dev/src/util/query.js
|
|
|
|
var stringifyQueryObj = function stringifyQueryObj(obj) {
|
|
if (!isPlainObject(obj)) {
|
|
return '';
|
|
}
|
|
|
|
var query = keys(obj).map(function (key) {
|
|
var val = obj[key];
|
|
|
|
if (isUndefined(val)) {
|
|
return '';
|
|
} else if (isNull(val)) {
|
|
return encode(key);
|
|
} else if (isArray(val)) {
|
|
return val.reduce(function (results, val2) {
|
|
if (isNull(val2)) {
|
|
results.push(encode(key));
|
|
} else if (!isUndefined(val2)) {
|
|
// Faster than string interpolation
|
|
results.push(encode(key) + '=' + encode(val2));
|
|
}
|
|
|
|
return results;
|
|
}, []).join('&');
|
|
} // Faster than string interpolation
|
|
|
|
|
|
return encode(key) + '=' + encode(val);
|
|
})
|
|
/* must check for length, as we only want to filter empty strings, not things that look falsey! */
|
|
.filter(function (x) {
|
|
return x.length > 0;
|
|
}).join('&');
|
|
return query ? "?".concat(query) : '';
|
|
};
|
|
var parseQuery = function parseQuery(query) {
|
|
var parsed = {};
|
|
query = toString$1(query).trim().replace(RX_QUERY_START, '');
|
|
|
|
if (!query) {
|
|
return parsed;
|
|
}
|
|
|
|
query.split('&').forEach(function (param) {
|
|
var parts = param.replace(RX_PLUS, ' ').split('=');
|
|
var key = decode(parts.shift());
|
|
var val = parts.length > 0 ? decode(parts.join('=')) : null;
|
|
|
|
if (isUndefined(parsed[key])) {
|
|
parsed[key] = val;
|
|
} else if (isArray(parsed[key])) {
|
|
parsed[key].push(val);
|
|
} else {
|
|
parsed[key] = [parsed[key], val];
|
|
}
|
|
});
|
|
return parsed;
|
|
};
|
|
var isLink = function isLink(props) {
|
|
return !!(props.href || props.to);
|
|
};
|
|
var isRouterLink = function isRouterLink(tag) {
|
|
return !!(tag && !isTag(tag, 'a'));
|
|
};
|
|
var computeTag = function computeTag(_ref, thisOrParent) {
|
|
var to = _ref.to,
|
|
disabled = _ref.disabled,
|
|
routerComponentName = _ref.routerComponentName;
|
|
var hasRouter = !!thisOrParent.$router;
|
|
|
|
if (!hasRouter || hasRouter && (disabled || !to)) {
|
|
return ANCHOR_TAG;
|
|
} // TODO:
|
|
// Check registered components for existence of user supplied router link component name
|
|
// We would need to check PascalCase, kebab-case, and camelCase versions of name:
|
|
// const name = routerComponentName
|
|
// const names = [name, PascalCase(name), KebabCase(name), CamelCase(name)]
|
|
// exists = names.some(name => !!thisOrParent.$options.components[name])
|
|
// And may want to cache the result for performance or we just let the render fail
|
|
// if the component is not registered
|
|
|
|
|
|
return routerComponentName || (thisOrParent.$nuxt ? 'nuxt-link' : 'router-link');
|
|
};
|
|
var computeRel = function computeRel() {
|
|
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
target = _ref2.target,
|
|
rel = _ref2.rel;
|
|
|
|
return target === '_blank' && isNull(rel) ? 'noopener' : rel || null;
|
|
};
|
|
var computeHref = function computeHref() {
|
|
var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
href = _ref3.href,
|
|
to = _ref3.to;
|
|
|
|
var tag = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ANCHOR_TAG;
|
|
var fallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '#';
|
|
var toFallback = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '/';
|
|
|
|
// Return `href` when explicitly provided
|
|
if (href) {
|
|
return href;
|
|
} // We've checked for `$router` in `computeTag()`, so `isRouterLink()` indicates a live router
|
|
// When deferring to Vue Router's `<router-link>`, don't use the `href` attribute at all
|
|
// We return `null`, and then remove `href` from the attributes passed to `<router-link>`
|
|
|
|
|
|
if (isRouterLink(tag)) {
|
|
return null;
|
|
} // Fallback to `to` prop (if `to` is a string)
|
|
|
|
|
|
if (isString(to)) {
|
|
return to || toFallback;
|
|
} // Fallback to `to.path' + `to.query` + `to.hash` prop (if `to` is an object)
|
|
|
|
|
|
if (isPlainObject(to) && (to.path || to.query || to.hash)) {
|
|
var path = toString$1(to.path);
|
|
var query = stringifyQueryObj(to.query);
|
|
var hash = toString$1(to.hash);
|
|
hash = !hash || hash.charAt(0) === '#' ? hash : "#".concat(hash);
|
|
return "".concat(path).concat(query).concat(hash) || toFallback;
|
|
} // If nothing is provided return the fallback
|
|
|
|
|
|
return fallback;
|
|
};
|
|
|
|
var CODE_BACKSPACE = 8;
|
|
var CODE_DELETE = 46;
|
|
var CODE_DOWN = 40;
|
|
var CODE_END = 35;
|
|
var CODE_ENTER = 13;
|
|
var CODE_ESC = 27;
|
|
var CODE_HOME = 36;
|
|
var CODE_LEFT = 37;
|
|
var CODE_PAGEDOWN = 34;
|
|
var CODE_PAGEUP = 33;
|
|
var CODE_RIGHT = 39;
|
|
var CODE_SPACE = 32;
|
|
var CODE_UP = 38;
|
|
|
|
// Handles when arrays are "sparse" (array.every(...) doesn't handle sparse)
|
|
|
|
var compareArrays = function compareArrays(a, b) {
|
|
if (a.length !== b.length) {
|
|
return false;
|
|
}
|
|
|
|
var equal = true;
|
|
|
|
for (var i = 0; equal && i < a.length; i++) {
|
|
equal = looseEqual(a[i], b[i]);
|
|
}
|
|
|
|
return equal;
|
|
};
|
|
/**
|
|
* Check if two values are loosely equal - that is,
|
|
* if they are plain objects, do they have the same shape?
|
|
* Returns boolean true or false
|
|
*/
|
|
|
|
|
|
var looseEqual = function looseEqual(a, b) {
|
|
if (a === b) {
|
|
return true;
|
|
}
|
|
|
|
var aValidType = isDate(a);
|
|
var bValidType = isDate(b);
|
|
|
|
if (aValidType || bValidType) {
|
|
return aValidType && bValidType ? a.getTime() === b.getTime() : false;
|
|
}
|
|
|
|
aValidType = isArray(a);
|
|
bValidType = isArray(b);
|
|
|
|
if (aValidType || bValidType) {
|
|
return aValidType && bValidType ? compareArrays(a, b) : false;
|
|
}
|
|
|
|
aValidType = isObject(a);
|
|
bValidType = isObject(b);
|
|
|
|
if (aValidType || bValidType) {
|
|
/* istanbul ignore if: this if will probably never be called */
|
|
if (!aValidType || !bValidType) {
|
|
return false;
|
|
}
|
|
|
|
var aKeysCount = keys(a).length;
|
|
var bKeysCount = keys(b).length;
|
|
|
|
if (aKeysCount !== bKeysCount) {
|
|
return false;
|
|
}
|
|
|
|
for (var key in a) {
|
|
var aHasKey = hasOwnProperty(a, key);
|
|
var bHasKey = hasOwnProperty(b, key);
|
|
|
|
if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
|
|
return String(a) === String(b);
|
|
};
|
|
|
|
var isEmpty = function isEmpty(value) {
|
|
return !value || keys(value).length === 0;
|
|
};
|
|
|
|
var makePropWatcher = function makePropWatcher(propName) {
|
|
return {
|
|
handler: function handler(newValue, oldValue) {
|
|
if (looseEqual(newValue, oldValue)) {
|
|
return;
|
|
}
|
|
|
|
if (isEmpty(newValue) || isEmpty(oldValue)) {
|
|
this[propName] = cloneDeep(newValue);
|
|
return;
|
|
}
|
|
|
|
for (var key in oldValue) {
|
|
if (!hasOwnProperty(newValue, key)) {
|
|
this.$delete(this.$data[propName], key);
|
|
}
|
|
}
|
|
|
|
for (var _key in newValue) {
|
|
this.$set(this.$data[propName], _key, newValue[_key]);
|
|
}
|
|
}
|
|
};
|
|
};
|
|
var makePropCacheMixin = function makePropCacheMixin(propName, proxyPropName) {
|
|
return {
|
|
data: function data() {
|
|
return _defineProperty({}, proxyPropName, cloneDeep(this[propName]));
|
|
},
|
|
watch: _defineProperty({}, propName, makePropWatcher(proxyPropName))
|
|
};
|
|
};
|
|
|
|
var attrsMixin = makePropCacheMixin('$attrs', 'bvAttrs');
|
|
|
|
var listenersMixin = makePropCacheMixin('$listeners', 'bvListeners');
|
|
|
|
// <router-link> specific props
|
|
|
|
var routerLinkProps = {
|
|
to: {
|
|
type: [String, Object],
|
|
default: null
|
|
},
|
|
append: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
replace: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
event: {
|
|
type: [String, Array],
|
|
default: 'click'
|
|
},
|
|
activeClass: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
exact: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
exactActiveClass: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
routerTag: {
|
|
type: String,
|
|
default: 'a'
|
|
}
|
|
}; // <nuxt-link> specific props
|
|
|
|
var nuxtLinkProps = {
|
|
prefetch: {
|
|
type: Boolean,
|
|
// Must be `null` to fall back to the value defined in the
|
|
// `nuxt.config.js` configuration file for `router.prefetchLinks`
|
|
// We convert `null` to `undefined`, so that Nuxt.js will use the
|
|
// compiled default. Vue treats `undefined` as default of `false`
|
|
// for Boolean props, so we must set it as `null` here to be a
|
|
// true tri-state prop
|
|
default: null
|
|
},
|
|
noPrefetch: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
};
|
|
var props$1 = makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2({
|
|
href: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
rel: {
|
|
type: String,
|
|
// Must be `null` if no value provided
|
|
default: null
|
|
},
|
|
target: {
|
|
type: String,
|
|
default: '_self'
|
|
},
|
|
active: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, routerLinkProps), nuxtLinkProps), {}, {
|
|
// To support 3rd party router links based on `<router-link>` (i.e. `g-link` for Gridsome)
|
|
// Default is to auto choose between `<router-link>` and `<nuxt-link>`
|
|
// Gridsome doesn't provide a mechanism to auto detect and has caveats
|
|
// such as not supporting FQDN URLs or hash only URLs
|
|
routerComponentName: {
|
|
type: String // default: undefined
|
|
|
|
}
|
|
}), NAME_LINK); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BLink = /*#__PURE__*/Vue.extend({
|
|
name: NAME_LINK,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin, listenersMixin, normalizeSlotMixin],
|
|
inheritAttrs: false,
|
|
props: props$1,
|
|
computed: {
|
|
computedTag: function computedTag() {
|
|
// We don't pass `this` as the first arg as we need reactivity of the props
|
|
var to = this.to,
|
|
disabled = this.disabled,
|
|
routerComponentName = this.routerComponentName;
|
|
return computeTag({
|
|
to: to,
|
|
disabled: disabled,
|
|
routerComponentName: routerComponentName
|
|
}, this);
|
|
},
|
|
isRouterLink: function isRouterLink$1() {
|
|
return isRouterLink(this.computedTag);
|
|
},
|
|
computedRel: function computedRel() {
|
|
// We don't pass `this` as the first arg as we need reactivity of the props
|
|
var target = this.target,
|
|
rel = this.rel;
|
|
return computeRel({
|
|
target: target,
|
|
rel: rel
|
|
});
|
|
},
|
|
computedHref: function computedHref() {
|
|
// We don't pass `this` as the first arg as we need reactivity of the props
|
|
var to = this.to,
|
|
href = this.href;
|
|
return computeHref({
|
|
to: to,
|
|
href: href
|
|
}, this.computedTag);
|
|
},
|
|
computedProps: function computedProps() {
|
|
var prefetch = this.prefetch;
|
|
return this.isRouterLink ? _objectSpread2(_objectSpread2({}, pluckProps(_objectSpread2(_objectSpread2({}, routerLinkProps), nuxtLinkProps), this)), {}, {
|
|
// Coerce `prefetch` value `null` to be `undefined`
|
|
prefetch: isBoolean(prefetch) ? prefetch : undefined,
|
|
// Pass `router-tag` as `tag` prop
|
|
tag: this.routerTag
|
|
}) : {};
|
|
},
|
|
computedAttrs: function computedAttrs() {
|
|
var bvAttrs = this.bvAttrs,
|
|
href = this.computedHref,
|
|
rel = this.computedRel,
|
|
disabled = this.disabled,
|
|
target = this.target,
|
|
routerTag = this.routerTag,
|
|
isRouterLink = this.isRouterLink;
|
|
return _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, bvAttrs), href ? {
|
|
href: href
|
|
} : {}), isRouterLink && !isTag(routerTag, 'a') ? {} : {
|
|
rel: rel,
|
|
target: target
|
|
}), {}, {
|
|
tabindex: disabled ? '-1' : isUndefined(bvAttrs.tabindex) ? null : bvAttrs.tabindex,
|
|
'aria-disabled': disabled ? 'true' : null
|
|
});
|
|
},
|
|
computedListeners: function computedListeners() {
|
|
return _objectSpread2(_objectSpread2({}, this.bvListeners), {}, {
|
|
// We want to overwrite any click handler since our callback
|
|
// will invoke the user supplied handler(s) if `!this.disabled`
|
|
click: this.onClick
|
|
});
|
|
}
|
|
},
|
|
methods: {
|
|
onClick: function onClick(evt) {
|
|
var _arguments = arguments;
|
|
var evtIsEvent = isEvent(evt);
|
|
var isRouterLink = this.isRouterLink;
|
|
var suppliedHandler = this.bvListeners.click;
|
|
|
|
if (evtIsEvent && this.disabled) {
|
|
// Stop event from bubbling up
|
|
// Kill the event loop attached to this specific `EventTarget`
|
|
// Needed to prevent `vue-router` for doing its thing
|
|
stopEvent(evt, {
|
|
immediatePropagation: true
|
|
});
|
|
} else {
|
|
/* istanbul ignore next: difficult to test, but we know it works */
|
|
if (isRouterLink && evt.currentTarget.__vue__) {
|
|
// Router links do not emit instance `click` events, so we
|
|
// add in an `$emit('click', evt)` on its Vue instance
|
|
evt.currentTarget.__vue__.$emit('click', evt);
|
|
} // Call the suppliedHandler(s), if any provided
|
|
|
|
|
|
concat(suppliedHandler).filter(function (h) {
|
|
return isFunction(h);
|
|
}).forEach(function (handler) {
|
|
handler.apply(void 0, _toConsumableArray(_arguments));
|
|
}); // Emit the global `$root` click event
|
|
|
|
this.$root.$emit('clicked::link', evt);
|
|
} // Stop scroll-to-top behavior or navigation on
|
|
// regular links when href is just '#'
|
|
|
|
|
|
if (evtIsEvent && !isRouterLink && this.computedHref === '#') {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
}
|
|
},
|
|
focus: function focus() {
|
|
attemptFocus(this.$el);
|
|
},
|
|
blur: function blur() {
|
|
attemptBlur(this.$el);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var active = this.active,
|
|
disabled = this.disabled;
|
|
return h(this.computedTag, _defineProperty({
|
|
class: {
|
|
active: active,
|
|
disabled: disabled
|
|
},
|
|
attrs: this.computedAttrs,
|
|
props: this.computedProps
|
|
}, this.isRouterLink ? 'nativeOn' : 'on', this.computedListeners), this.normalizeSlot());
|
|
}
|
|
});
|
|
|
|
var linkProps = omit(props$1, ['event', 'routerTag']);
|
|
delete linkProps.href.default;
|
|
delete linkProps.to.default;
|
|
var props$2 = makePropsConfigurable(_objectSpread2({
|
|
block: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
size: {
|
|
type: String // default: null
|
|
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
type: {
|
|
type: String,
|
|
default: 'button'
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'button'
|
|
},
|
|
pill: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
squared: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
pressed: {
|
|
// Tri-state: `true`, `false` or `null`
|
|
// => On, off, not a toggle
|
|
type: Boolean,
|
|
default: null
|
|
}
|
|
}, linkProps), NAME_BUTTON); // --- Helper methods ---
|
|
// Focus handler for toggle buttons
|
|
// Needs class of 'focus' when focused
|
|
|
|
var handleFocus = function handleFocus(evt) {
|
|
if (evt.type === 'focusin') {
|
|
addClass(evt.target, 'focus');
|
|
} else if (evt.type === 'focusout') {
|
|
removeClass(evt.target, 'focus');
|
|
}
|
|
}; // Is the requested button a link?
|
|
// If tag prop is set to `a`, we use a <b-link> to get proper disabled handling
|
|
|
|
|
|
var isLink$1 = function isLink$1(props) {
|
|
return isLink(props) || isTag(props.tag, 'a');
|
|
}; // Is the button to be a toggle button?
|
|
|
|
|
|
var isToggle = function isToggle(props) {
|
|
return isBoolean(props.pressed);
|
|
}; // Is the button "really" a button?
|
|
|
|
|
|
var isButton = function isButton(props) {
|
|
return !(isLink$1(props) || props.tag && !isTag(props.tag, 'button'));
|
|
}; // Is the requested tag not a button or link?
|
|
|
|
|
|
var isNonStandardTag = function isNonStandardTag(props) {
|
|
return !isLink$1(props) && !isButton(props);
|
|
}; // Compute required classes (non static classes)
|
|
|
|
|
|
var computeClass = function computeClass(props) {
|
|
var _ref;
|
|
|
|
return ["btn-".concat(props.variant || 'secondary'), (_ref = {}, _defineProperty(_ref, "btn-".concat(props.size), props.size), _defineProperty(_ref, 'btn-block', props.block), _defineProperty(_ref, 'rounded-pill', props.pill), _defineProperty(_ref, 'rounded-0', props.squared && !props.pill), _defineProperty(_ref, "disabled", props.disabled), _defineProperty(_ref, "active", props.pressed), _ref)];
|
|
}; // Compute the link props to pass to b-link (if required)
|
|
|
|
|
|
var computeLinkProps = function computeLinkProps(props) {
|
|
return isLink$1(props) ? pluckProps(linkProps, props) : {};
|
|
}; // Compute the attributes for a button
|
|
|
|
|
|
var computeAttrs = function computeAttrs(props, data) {
|
|
var button = isButton(props);
|
|
var link = isLink$1(props);
|
|
var toggle = isToggle(props);
|
|
var nonStandardTag = isNonStandardTag(props);
|
|
var hashLink = link && props.href === '#';
|
|
var role = data.attrs && data.attrs.role ? data.attrs.role : null;
|
|
var tabindex = data.attrs ? data.attrs.tabindex : null;
|
|
|
|
if (nonStandardTag || hashLink) {
|
|
tabindex = '0';
|
|
}
|
|
|
|
return {
|
|
// Type only used for "real" buttons
|
|
type: button && !link ? props.type : null,
|
|
// Disabled only set on "real" buttons
|
|
disabled: button ? props.disabled : null,
|
|
// We add a role of button when the tag is not a link or button for ARIA
|
|
// Don't bork any role provided in `data.attrs` when `isLink` or `isButton`
|
|
// Except when link has `href` of `#`
|
|
role: nonStandardTag || hashLink ? 'button' : role,
|
|
// We set the `aria-disabled` state for non-standard tags
|
|
'aria-disabled': nonStandardTag ? String(props.disabled) : null,
|
|
// For toggles, we need to set the pressed state for ARIA
|
|
'aria-pressed': toggle ? String(props.pressed) : null,
|
|
// `autocomplete="off"` is needed in toggle mode to prevent some browsers
|
|
// from remembering the previous setting when using the back button
|
|
autocomplete: toggle ? 'off' : null,
|
|
// `tabindex` is used when the component is not a button
|
|
// Links are tabbable, but don't allow disabled, while non buttons or links
|
|
// are not tabbable, so we mimic that functionality by disabling tabbing
|
|
// when disabled, and adding a `tabindex="0"` to non buttons or non links
|
|
tabindex: props.disabled && !button ? '-1' : tabindex
|
|
};
|
|
}; // --- Main component ---
|
|
// @vue/component
|
|
|
|
|
|
var BButton = /*#__PURE__*/Vue.extend({
|
|
name: NAME_BUTTON,
|
|
functional: true,
|
|
props: props$2,
|
|
render: function render(h, _ref2) {
|
|
var props = _ref2.props,
|
|
data = _ref2.data,
|
|
listeners = _ref2.listeners,
|
|
children = _ref2.children;
|
|
var toggle = isToggle(props);
|
|
var link = isLink$1(props);
|
|
var nonStandardTag = isNonStandardTag(props);
|
|
var hashLink = link && props.href === '#';
|
|
var on = {
|
|
keydown: function keydown(evt) {
|
|
// When the link is a `href="#"` or a non-standard tag (has `role="button"`),
|
|
// we add a keydown handlers for CODE_SPACE/CODE_ENTER
|
|
|
|
/* istanbul ignore next */
|
|
if (props.disabled || !(nonStandardTag || hashLink)) {
|
|
return;
|
|
}
|
|
|
|
var keyCode = evt.keyCode; // Add CODE_SPACE handler for `href="#"` and CODE_ENTER handler for non-standard tags
|
|
|
|
if (keyCode === CODE_SPACE || keyCode === CODE_ENTER && nonStandardTag) {
|
|
var target = evt.currentTarget || evt.target;
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
target.click();
|
|
}
|
|
},
|
|
click: function click(evt) {
|
|
/* istanbul ignore if: blink/button disabled should handle this */
|
|
if (props.disabled && isEvent(evt)) {
|
|
stopEvent(evt);
|
|
} else if (toggle && listeners && listeners['update:pressed']) {
|
|
// Send `.sync` updates to any "pressed" prop (if `.sync` listeners)
|
|
// `concat()` will normalize the value to an array without
|
|
// double wrapping an array value in an array
|
|
concat(listeners['update:pressed']).forEach(function (fn) {
|
|
if (isFunction(fn)) {
|
|
fn(!props.pressed);
|
|
}
|
|
});
|
|
}
|
|
}
|
|
};
|
|
|
|
if (toggle) {
|
|
on.focusin = handleFocus;
|
|
on.focusout = handleFocus;
|
|
}
|
|
|
|
var componentData = {
|
|
staticClass: 'btn',
|
|
class: computeClass(props),
|
|
props: computeLinkProps(props),
|
|
attrs: computeAttrs(props, data),
|
|
on: on
|
|
};
|
|
return h(link ? BLink : props.tag, mergeData(data, componentData), children);
|
|
}
|
|
});
|
|
|
|
var commonIconProps = {
|
|
title: {
|
|
type: String // default: null
|
|
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
fontScale: {
|
|
type: [Number, String],
|
|
default: 1
|
|
},
|
|
scale: {
|
|
type: [Number, String],
|
|
default: 1
|
|
},
|
|
rotate: {
|
|
type: [Number, String],
|
|
default: 0
|
|
},
|
|
flipH: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
flipV: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
shiftH: {
|
|
type: [Number, String],
|
|
default: 0
|
|
},
|
|
shiftV: {
|
|
type: [Number, String],
|
|
default: 0
|
|
},
|
|
animation: {
|
|
type: String,
|
|
default: null
|
|
}
|
|
}; // Base attributes needed on all icons
|
|
|
|
var baseAttrs = {
|
|
viewBox: '0 0 16 16',
|
|
width: '1em',
|
|
height: '1em',
|
|
focusable: 'false',
|
|
role: 'img',
|
|
'aria-label': 'icon'
|
|
}; // Attributes that are nulled out when stacked
|
|
|
|
var stackedAttrs = {
|
|
width: null,
|
|
height: null,
|
|
focusable: null,
|
|
role: null,
|
|
'aria-label': null
|
|
}; // Shared private base component to reduce bundle/runtime size
|
|
// @vue/component
|
|
|
|
var BVIconBase = /*#__PURE__*/Vue.extend({
|
|
name: NAME_ICON_BASE,
|
|
functional: true,
|
|
props: _objectSpread2({
|
|
content: {
|
|
type: String
|
|
},
|
|
stacked: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, commonIconProps),
|
|
render: function render(h, _ref) {
|
|
var _class;
|
|
|
|
var data = _ref.data,
|
|
props = _ref.props,
|
|
children = _ref.children;
|
|
var fontScale = mathMax(toFloat(props.fontScale, 1), 0) || 1;
|
|
var scale = mathMax(toFloat(props.scale, 1), 0) || 1;
|
|
var rotate = toFloat(props.rotate, 0);
|
|
var shiftH = toFloat(props.shiftH, 0);
|
|
var shiftV = toFloat(props.shiftV, 0);
|
|
var flipH = props.flipH;
|
|
var flipV = props.flipV;
|
|
var animation = props.animation; // Compute the transforms
|
|
// Note that order is important as SVG transforms are applied in order from
|
|
// left to right and we want flipping/scale to occur before rotation
|
|
// Note shifting is applied separately
|
|
// Assumes that the viewbox is `0 0 16 16` (`8 8` is the center)
|
|
|
|
var hasScale = flipH || flipV || scale !== 1;
|
|
var hasTransforms = hasScale || rotate;
|
|
var hasShift = shiftH || shiftV;
|
|
var transforms = [hasTransforms ? 'translate(8 8)' : null, hasScale ? "scale(".concat((flipH ? -1 : 1) * scale, " ").concat((flipV ? -1 : 1) * scale, ")") : null, rotate ? "rotate(".concat(rotate, ")") : null, hasTransforms ? 'translate(-8 -8)' : null].filter(identity); // Handling stacked icons
|
|
|
|
var isStacked = props.stacked;
|
|
var hasContent = !isUndefinedOrNull(props.content); // We wrap the content in a `<g>` for handling the transforms (except shift)
|
|
|
|
var $inner = h('g', {
|
|
attrs: {
|
|
transform: transforms.join(' ') || null
|
|
},
|
|
domProps: hasContent ? {
|
|
innerHTML: props.content || ''
|
|
} : {}
|
|
}, children); // If needed, we wrap in an additional `<g>` in order to handle the shifting
|
|
|
|
if (hasShift) {
|
|
$inner = h('g', {
|
|
attrs: {
|
|
transform: "translate(".concat(16 * shiftH / 16, " ").concat(-16 * shiftV / 16, ")")
|
|
}
|
|
}, [$inner]);
|
|
}
|
|
|
|
if (isStacked) {
|
|
// Wrap in an additional `<g>` for proper
|
|
// animation handling if stacked
|
|
$inner = h('g', {}, [$inner]);
|
|
}
|
|
|
|
var $title = props.title ? h('title', props.title) : null;
|
|
return h('svg', mergeData({
|
|
staticClass: 'b-icon bi',
|
|
class: (_class = {}, _defineProperty(_class, "text-".concat(props.variant), !!props.variant), _defineProperty(_class, "b-icon-animation-".concat(animation), !!animation), _class),
|
|
attrs: baseAttrs,
|
|
style: isStacked ? {} : {
|
|
fontSize: fontScale === 1 ? null : "".concat(fontScale * 100, "%")
|
|
}
|
|
}, // Merge in user supplied data
|
|
data, // If icon is stacked, null out some attrs
|
|
isStacked ? {
|
|
attrs: stackedAttrs
|
|
} : {}, // These cannot be overridden by users
|
|
{
|
|
attrs: {
|
|
xmlns: isStacked ? null : 'http://www.w3.org/2000/svg',
|
|
fill: 'currentColor'
|
|
}
|
|
}), [$title, $inner]);
|
|
}
|
|
});
|
|
|
|
/**
|
|
* Icon component generator function
|
|
*
|
|
* @param {string} icon name (minus the leading `BIcon`)
|
|
* @param {string} raw `innerHTML` for SVG
|
|
* @return {VueComponent}
|
|
*/
|
|
|
|
var makeIcon = function makeIcon(name, content) {
|
|
// For performance reason we pre-compute some values, so that
|
|
// they are not computed on each render of the icon component
|
|
var kebabName = kebabCase(name);
|
|
var iconName = "BIcon".concat(pascalCase(name));
|
|
var iconNameClass = "bi-".concat(kebabName);
|
|
var iconTitle = kebabName.replace(/-/g, ' ');
|
|
var svgContent = trim(content || ''); // Return the icon component definition
|
|
|
|
return /*#__PURE__*/Vue.extend({
|
|
name: iconName,
|
|
functional: true,
|
|
props: _objectSpread2(_objectSpread2({}, commonIconProps), {}, {
|
|
stacked: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}),
|
|
render: function render(h, _ref) {
|
|
var data = _ref.data,
|
|
props = _ref.props;
|
|
return h(BVIconBase, mergeData( // Defaults
|
|
{
|
|
props: {
|
|
title: iconTitle
|
|
},
|
|
attrs: {
|
|
'aria-label': iconTitle
|
|
}
|
|
}, // User data
|
|
data, // Required data
|
|
{
|
|
staticClass: iconNameClass,
|
|
props: _objectSpread2(_objectSpread2({}, props), {}, {
|
|
content: svgContent
|
|
})
|
|
}));
|
|
}
|
|
});
|
|
};
|
|
|
|
// --- BEGIN AUTO-GENERATED FILE ---
|
|
var BIconBlank=/*#__PURE__*/makeIcon('Blank','');// --- Bootstrap Icons ---
|
|
// eslint-disable-next-line
|
|
var BIconAlarm=/*#__PURE__*/makeIcon('Alarm','<path fill-rule="evenodd" d="M6.5 0a.5.5 0 0 0 0 1H7v1.07a7.001 7.001 0 0 0-3.273 12.474l-.602.602a.5.5 0 0 0 .707.708l.746-.746A6.97 6.97 0 0 0 8 16a6.97 6.97 0 0 0 3.422-.892l.746.746a.5.5 0 0 0 .707-.708l-.601-.602A7.001 7.001 0 0 0 9 2.07V1h.5a.5.5 0 0 0 0-1h-3zm1.038 3.018a6.093 6.093 0 0 1 .924 0 6 6 0 1 1-.924 0zM8.5 5.5a.5.5 0 0 0-1 0v3.362l-1.429 2.38a.5.5 0 1 0 .858.515l1.5-2.5A.5.5 0 0 0 8.5 9V5.5zM0 3.5c0 .753.333 1.429.86 1.887A8.035 8.035 0 0 1 4.387 1.86 2.5 2.5 0 0 0 0 3.5zM13.5 1c-.753 0-1.429.333-1.887.86a8.035 8.035 0 0 1 3.527 3.527A2.5 2.5 0 0 0 13.5 1z"/>');// eslint-disable-next-line
|
|
var BIconAlarmFill=/*#__PURE__*/makeIcon('AlarmFill','<path fill-rule="evenodd" d="M6 .5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1H9v1.07a7.001 7.001 0 0 1 3.274 12.474l.601.602a.5.5 0 0 1-.707.708l-.746-.746A6.97 6.97 0 0 1 8 16a6.97 6.97 0 0 1-3.422-.892l-.746.746a.5.5 0 0 1-.707-.708l.602-.602A7.001 7.001 0 0 1 7 2.07V1h-.5A.5.5 0 0 1 6 .5zM.86 5.387A2.5 2.5 0 1 1 4.387 1.86 8.035 8.035 0 0 0 .86 5.387zM11.613 1.86a2.5 2.5 0 1 1 3.527 3.527 8.035 8.035 0 0 0-3.527-3.527zM8.5 5.5a.5.5 0 0 0-1 0v3.362l-1.429 2.38a.5.5 0 1 0 .858.515l1.5-2.5A.5.5 0 0 0 8.5 9V5.5z"/>');// eslint-disable-next-line
|
|
var BIconAlignBottom=/*#__PURE__*/makeIcon('AlignBottom','<path d="M6 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V2z"/><path fill-rule="evenodd" d="M1 14.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconAlignCenter=/*#__PURE__*/makeIcon('AlignCenter','<path d="M8 1a.5.5 0 0 1 .5.5V6h-1V1.5A.5.5 0 0 1 8 1zm0 14a.5.5 0 0 1-.5-.5V10h1v4.5a.5.5 0 0 1-.5.5zM2 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7z"/>');// eslint-disable-next-line
|
|
var BIconAlignEnd=/*#__PURE__*/makeIcon('AlignEnd','<path fill-rule="evenodd" d="M14.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"/><path d="M13 7a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7z"/>');// eslint-disable-next-line
|
|
var BIconAlignMiddle=/*#__PURE__*/makeIcon('AlignMiddle','<path d="M6 13a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10zM1 8a.5.5 0 0 0 .5.5H6v-1H1.5A.5.5 0 0 0 1 8zm14 0a.5.5 0 0 1-.5.5H10v-1h4.5a.5.5 0 0 1 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconAlignStart=/*#__PURE__*/makeIcon('AlignStart','<path fill-rule="evenodd" d="M1.5 1a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-1 0v-13a.5.5 0 0 1 .5-.5z"/><path d="M3 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7z"/>');// eslint-disable-next-line
|
|
var BIconAlignTop=/*#__PURE__*/makeIcon('AlignTop','<path d="M6 14a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10z"/><path fill-rule="evenodd" d="M1 1.5a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 0-1h-13a.5.5 0 0 0-.5.5z"/>');// eslint-disable-next-line
|
|
var BIconAlt=/*#__PURE__*/makeIcon('Alt','<path fill-rule="evenodd" d="M1 13.5a.5.5 0 0 0 .5.5h3.797a.5.5 0 0 0 .439-.26L11 3h3.5a.5.5 0 0 0 0-1h-3.797a.5.5 0 0 0-.439.26L5 13H1.5a.5.5 0 0 0-.5.5zm10 0a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.5.5z"/>');// eslint-disable-next-line
|
|
var BIconApp=/*#__PURE__*/makeIcon('App','<path fill-rule="evenodd" d="M11 2H5a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3zM5 1a4 4 0 0 0-4 4v6a4 4 0 0 0 4 4h6a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4H5z"/>');// eslint-disable-next-line
|
|
var BIconAppIndicator=/*#__PURE__*/makeIcon('AppIndicator','<path fill-rule="evenodd" d="M5.5 2A3.5 3.5 0 0 0 2 5.5v5A3.5 3.5 0 0 0 5.5 14h5a3.5 3.5 0 0 0 3.5-3.5V8a.5.5 0 0 1 1 0v2.5a4.5 4.5 0 0 1-4.5 4.5h-5A4.5 4.5 0 0 1 1 10.5v-5A4.5 4.5 0 0 1 5.5 1H8a.5.5 0 0 1 0 1H5.5z"/><path d="M16 3a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/>');// eslint-disable-next-line
|
|
var BIconArchive=/*#__PURE__*/makeIcon('Archive','<path fill-rule="evenodd" d="M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1v7.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 12.5V5a1 1 0 0 1-1-1V2zm2 3v7.5A1.5 1.5 0 0 0 3.5 14h9a1.5 1.5 0 0 0 1.5-1.5V5H2zm13-3H1v2h14V2zM5 7.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconArchiveFill=/*#__PURE__*/makeIcon('ArchiveFill','<path fill-rule="evenodd" d="M12.643 15C13.979 15 15 13.845 15 12.5V5H1v7.5C1 13.845 2.021 15 3.357 15h9.286zM5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zM.8 1a.8.8 0 0 0-.8.8V3a.8.8 0 0 0 .8.8h14.4A.8.8 0 0 0 16 3V1.8a.8.8 0 0 0-.8-.8H.8z"/>');// eslint-disable-next-line
|
|
var BIconArrow90degDown=/*#__PURE__*/makeIcon('Arrow90degDown','<path fill-rule="evenodd" d="M4.854 14.854a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L4 13.293V3.5A2.5 2.5 0 0 1 6.5 1h8a.5.5 0 0 1 0 1h-8A1.5 1.5 0 0 0 5 3.5v9.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4z"/>');// eslint-disable-next-line
|
|
var BIconArrow90degLeft=/*#__PURE__*/makeIcon('Arrow90degLeft','<path fill-rule="evenodd" d="M1.146 4.854a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H12.5A2.5 2.5 0 0 1 15 6.5v8a.5.5 0 0 1-1 0v-8A1.5 1.5 0 0 0 12.5 5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4z"/>');// eslint-disable-next-line
|
|
var BIconArrow90degRight=/*#__PURE__*/makeIcon('Arrow90degRight','<path fill-rule="evenodd" d="M14.854 4.854a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 4H3.5A2.5 2.5 0 0 0 1 6.5v8a.5.5 0 0 0 1 0v-8A1.5 1.5 0 0 1 3.5 5h9.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4z"/>');// eslint-disable-next-line
|
|
var BIconArrow90degUp=/*#__PURE__*/makeIcon('Arrow90degUp','<path fill-rule="evenodd" d="M4.854 1.146a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L4 2.707V12.5A2.5 2.5 0 0 0 6.5 15h8a.5.5 0 0 0 0-1h-8A1.5 1.5 0 0 1 5 12.5V2.707l3.146 3.147a.5.5 0 1 0 .708-.708l-4-4z"/>');// eslint-disable-next-line
|
|
var BIconArrowBarDown=/*#__PURE__*/makeIcon('ArrowBarDown','<path fill-rule="evenodd" d="M1 3.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5zM8 6a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 .708-.708L7.5 12.293V6.5A.5.5 0 0 1 8 6z"/>');// eslint-disable-next-line
|
|
var BIconArrowBarLeft=/*#__PURE__*/makeIcon('ArrowBarLeft','<path fill-rule="evenodd" d="M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5zM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowBarRight=/*#__PURE__*/makeIcon('ArrowBarRight','<path fill-rule="evenodd" d="M6 8a.5.5 0 0 0 .5.5h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L12.293 7.5H6.5A.5.5 0 0 0 6 8zm-2.5 7a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowBarUp=/*#__PURE__*/makeIcon('ArrowBarUp','<path fill-rule="evenodd" d="M8 10a.5.5 0 0 0 .5-.5V3.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 3.707V9.5a.5.5 0 0 0 .5.5zm-7 2.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowClockwise=/*#__PURE__*/makeIcon('ArrowClockwise','<path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z"/><path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z"/>');// eslint-disable-next-line
|
|
var BIconArrowCounterclockwise=/*#__PURE__*/makeIcon('ArrowCounterclockwise','<path fill-rule="evenodd" d="M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z"/><path d="M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z"/>');// eslint-disable-next-line
|
|
var BIconArrowDown=/*#__PURE__*/makeIcon('ArrowDown','<path fill-rule="evenodd" d="M8 1a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L7.5 13.293V1.5A.5.5 0 0 1 8 1z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownCircle=/*#__PURE__*/makeIcon('ArrowDownCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M8 4a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.293V4.5A.5.5 0 0 1 8 4z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownCircleFill=/*#__PURE__*/makeIcon('ArrowDownCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownLeft=/*#__PURE__*/makeIcon('ArrowDownLeft','<path fill-rule="evenodd" d="M2 13.5a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 0-1H3.707L13.854 2.854a.5.5 0 0 0-.708-.708L3 12.293V7.5a.5.5 0 0 0-1 0v6z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownLeftCircle=/*#__PURE__*/makeIcon('ArrowDownLeftCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M10.828 5.172a.5.5 0 0 0-.707 0L6.025 9.268V6.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H9.5a.5.5 0 0 0 0-1H6.732l4.096-4.096a.5.5 0 0 0 0-.707z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownLeftCircleFill=/*#__PURE__*/makeIcon('ArrowDownLeftCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-5.879-2.828a.5.5 0 1 1 .707.707L6.732 9.975H9.5a.5.5 0 1 1 0 1H5.525a.5.5 0 0 1-.5-.5V6.5a.5.5 0 1 1 1 0v2.768l4.096-4.096z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownLeftSquare=/*#__PURE__*/makeIcon('ArrowDownLeftSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M10.828 5.172a.5.5 0 0 0-.707 0L6.025 9.268V6.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H9.5a.5.5 0 0 0 0-1H6.732l4.096-4.096a.5.5 0 0 0 0-.707z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownLeftSquareFill=/*#__PURE__*/makeIcon('ArrowDownLeftSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm8.121 5.172a.5.5 0 1 1 .707.707L6.732 9.975H9.5a.5.5 0 1 1 0 1H5.525a.5.5 0 0 1-.5-.5V6.5a.5.5 0 1 1 1 0v2.768l4.096-4.096z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownRight=/*#__PURE__*/makeIcon('ArrowDownRight','<path fill-rule="evenodd" d="M14 13.5a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1 0-1h4.793L2.146 2.854a.5.5 0 1 1 .708-.708L13 12.293V7.5a.5.5 0 0 1 1 0v6z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownRightCircle=/*#__PURE__*/makeIcon('ArrowDownRightCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M5.172 5.172a.5.5 0 0 1 .707 0l4.096 4.096V6.5a.5.5 0 1 1 1 0v3.975a.5.5 0 0 1-.5.5H6.5a.5.5 0 0 1 0-1h2.768L5.172 5.879a.5.5 0 0 1 0-.707z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownRightCircleFill=/*#__PURE__*/makeIcon('ArrowDownRightCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.879 5.172a.5.5 0 0 0-.707.707l4.096 4.096H6.5a.5.5 0 1 0 0 1h3.975a.5.5 0 0 0 .5-.5V6.5a.5.5 0 0 0-1 0v2.768L5.879 5.172z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownRightSquare=/*#__PURE__*/makeIcon('ArrowDownRightSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M5.172 5.172a.5.5 0 0 1 .707 0l4.096 4.096V6.5a.5.5 0 1 1 1 0v3.975a.5.5 0 0 1-.5.5H6.5a.5.5 0 0 1 0-1h2.768L5.172 5.879a.5.5 0 0 1 0-.707z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownRightSquareFill=/*#__PURE__*/makeIcon('ArrowDownRightSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm3.879 5.172a.5.5 0 0 0-.707.707l4.096 4.096H6.5a.5.5 0 1 0 0 1h3.975a.5.5 0 0 0 .5-.5V6.5a.5.5 0 0 0-1 0v2.768L5.879 5.172z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownShort=/*#__PURE__*/makeIcon('ArrowDownShort','<path fill-rule="evenodd" d="M8 4a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.293V4.5A.5.5 0 0 1 8 4z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownSquare=/*#__PURE__*/makeIcon('ArrowDownSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M8 4a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.293V4.5A.5.5 0 0 1 8 4z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownSquareFill=/*#__PURE__*/makeIcon('ArrowDownSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowDownUp=/*#__PURE__*/makeIcon('ArrowDownUp','<path fill-rule="evenodd" d="M11.5 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L11 2.707V14.5a.5.5 0 0 0 .5.5zm-7-14a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L4 13.293V1.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowLeft=/*#__PURE__*/makeIcon('ArrowLeft','<path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z"/>');// eslint-disable-next-line
|
|
var BIconArrowLeftCircle=/*#__PURE__*/makeIcon('ArrowLeftCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M12 8a.5.5 0 0 1-.5.5H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5a.5.5 0 0 1 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowLeftCircleFill=/*#__PURE__*/makeIcon('ArrowLeftCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-4.5.5a.5.5 0 0 0 0-1H5.707l2.147-2.146a.5.5 0 1 0-.708-.708l-3 3a.5.5 0 0 0 0 .708l3 3a.5.5 0 0 0 .708-.708L5.707 8.5H11.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowLeftRight=/*#__PURE__*/makeIcon('ArrowLeftRight','<path fill-rule="evenodd" d="M1 11.5a.5.5 0 0 0 .5.5h11.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 11H1.5a.5.5 0 0 0-.5.5zm14-7a.5.5 0 0 1-.5.5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H14.5a.5.5 0 0 1 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowLeftShort=/*#__PURE__*/makeIcon('ArrowLeftShort','<path fill-rule="evenodd" d="M12 8a.5.5 0 0 1-.5.5H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5a.5.5 0 0 1 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowLeftSquare=/*#__PURE__*/makeIcon('ArrowLeftSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M12 8a.5.5 0 0 1-.5.5H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5a.5.5 0 0 1 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowLeftSquareFill=/*#__PURE__*/makeIcon('ArrowLeftSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm9.5 8.5a.5.5 0 0 0 0-1H5.707l2.147-2.146a.5.5 0 1 0-.708-.708l-3 3a.5.5 0 0 0 0 .708l3 3a.5.5 0 0 0 .708-.708L5.707 8.5H11.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowRepeat=/*#__PURE__*/makeIcon('ArrowRepeat','<path d="M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z"/><path fill-rule="evenodd" d="M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z"/>');// eslint-disable-next-line
|
|
var BIconArrowReturnLeft=/*#__PURE__*/makeIcon('ArrowReturnLeft','<path fill-rule="evenodd" d="M14.5 1.5a.5.5 0 0 1 .5.5v4.8a2.5 2.5 0 0 1-2.5 2.5H2.707l3.347 3.346a.5.5 0 0 1-.708.708l-4.2-4.2a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 8.3H12.5A1.5 1.5 0 0 0 14 6.8V2a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowReturnRight=/*#__PURE__*/makeIcon('ArrowReturnRight','<path fill-rule="evenodd" d="M1.5 1.5A.5.5 0 0 0 1 2v4.8a2.5 2.5 0 0 0 2.5 2.5h9.793l-3.347 3.346a.5.5 0 0 0 .708.708l4.2-4.2a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 8.3H3.5A1.5 1.5 0 0 1 2 6.8V2a.5.5 0 0 0-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowRight=/*#__PURE__*/makeIcon('ArrowRight','<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>');// eslint-disable-next-line
|
|
var BIconArrowRightCircle=/*#__PURE__*/makeIcon('ArrowRightCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4 8a.5.5 0 0 0 .5.5h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5A.5.5 0 0 0 4 8z"/>');// eslint-disable-next-line
|
|
var BIconArrowRightCircleFill=/*#__PURE__*/makeIcon('ArrowRightCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-11.5.5a.5.5 0 0 1 0-1h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowRightShort=/*#__PURE__*/makeIcon('ArrowRightShort','<path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/>');// eslint-disable-next-line
|
|
var BIconArrowRightSquare=/*#__PURE__*/makeIcon('ArrowRightSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M4 8a.5.5 0 0 0 .5.5h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5A.5.5 0 0 0 4 8z"/>');// eslint-disable-next-line
|
|
var BIconArrowRightSquareFill=/*#__PURE__*/makeIcon('ArrowRightSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm2.5 8.5a.5.5 0 0 1 0-1h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowUp=/*#__PURE__*/makeIcon('ArrowUp','<path fill-rule="evenodd" d="M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpCircle=/*#__PURE__*/makeIcon('ArrowUpCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpCircleFill=/*#__PURE__*/makeIcon('ArrowUpCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-7.5 3.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpLeft=/*#__PURE__*/makeIcon('ArrowUpLeft','<path fill-rule="evenodd" d="M2 2.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1H3.707l10.147 10.146a.5.5 0 0 1-.708.708L3 3.707V8.5a.5.5 0 0 1-1 0v-6z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpLeftCircle=/*#__PURE__*/makeIcon('ArrowUpLeftCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M10.828 10.828a.5.5 0 0 1-.707 0L6.025 6.732V9.5a.5.5 0 0 1-1 0V5.525a.5.5 0 0 1 .5-.5H9.5a.5.5 0 0 1 0 1H6.732l4.096 4.096a.5.5 0 0 1 0 .707z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpLeftCircleFill=/*#__PURE__*/makeIcon('ArrowUpLeftCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-5.879 2.828a.5.5 0 1 0 .707-.707L6.732 6.025H9.5a.5.5 0 0 0 0-1H5.525a.5.5 0 0 0-.5.5V9.5a.5.5 0 1 0 1 0V6.732l4.096 4.096z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpLeftSquare=/*#__PURE__*/makeIcon('ArrowUpLeftSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M10.828 10.828a.5.5 0 0 1-.707 0L6.025 6.732V9.5a.5.5 0 0 1-1 0V5.525a.5.5 0 0 1 .5-.5H9.5a.5.5 0 0 1 0 1H6.732l4.096 4.096a.5.5 0 0 1 0 .707z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpLeftSquareFill=/*#__PURE__*/makeIcon('ArrowUpLeftSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm8.121 10.828a.5.5 0 1 0 .707-.707L6.732 6.025H9.5a.5.5 0 0 0 0-1H5.525a.5.5 0 0 0-.5.5V9.5a.5.5 0 0 0 1 0V6.732l4.096 4.096z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpRight=/*#__PURE__*/makeIcon('ArrowUpRight','<path fill-rule="evenodd" d="M14 2.5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0 0 1h4.793L2.146 13.146a.5.5 0 0 0 .708.708L13 3.707V8.5a.5.5 0 0 0 1 0v-6z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpRightCircle=/*#__PURE__*/makeIcon('ArrowUpRightCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M5.172 10.828a.5.5 0 0 0 .707 0l4.096-4.096V9.5a.5.5 0 1 0 1 0V5.525a.5.5 0 0 0-.5-.5H6.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpRightCircleFill=/*#__PURE__*/makeIcon('ArrowUpRightCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.879 10.828a.5.5 0 1 1-.707-.707l4.096-4.096H6.5a.5.5 0 0 1 0-1h3.975a.5.5 0 0 1 .5.5V9.5a.5.5 0 0 1-1 0V6.732l-4.096 4.096z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpRightSquare=/*#__PURE__*/makeIcon('ArrowUpRightSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M5.172 10.828a.5.5 0 0 0 .707 0l4.096-4.096V9.5a.5.5 0 1 0 1 0V5.525a.5.5 0 0 0-.5-.5H6.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpRightSquareFill=/*#__PURE__*/makeIcon('ArrowUpRightSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm3.879 10.828a.5.5 0 1 1-.707-.707l4.096-4.096H6.5a.5.5 0 0 1 0-1h3.975a.5.5 0 0 1 .5.5V9.5a.5.5 0 0 1-1 0V6.732l-4.096 4.096z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpShort=/*#__PURE__*/makeIcon('ArrowUpShort','<path fill-rule="evenodd" d="M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpSquare=/*#__PURE__*/makeIcon('ArrowUpSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowUpSquareFill=/*#__PURE__*/makeIcon('ArrowUpSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 11.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11.5z"/>');// eslint-disable-next-line
|
|
var BIconArrowsAngleContract=/*#__PURE__*/makeIcon('ArrowsAngleContract','<path fill-rule="evenodd" d="M.172 15.828a.5.5 0 0 0 .707 0l4.096-4.096V14.5a.5.5 0 1 0 1 0v-3.975a.5.5 0 0 0-.5-.5H1.5a.5.5 0 0 0 0 1h2.768L.172 15.121a.5.5 0 0 0 0 .707zM15.828.172a.5.5 0 0 0-.707 0l-4.096 4.096V1.5a.5.5 0 1 0-1 0v3.975a.5.5 0 0 0 .5.5H14.5a.5.5 0 0 0 0-1h-2.768L15.828.879a.5.5 0 0 0 0-.707z"/>');// eslint-disable-next-line
|
|
var BIconArrowsAngleExpand=/*#__PURE__*/makeIcon('ArrowsAngleExpand','<path fill-rule="evenodd" d="M5.828 10.172a.5.5 0 0 0-.707 0l-4.096 4.096V11.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H4.5a.5.5 0 0 0 0-1H1.732l4.096-4.096a.5.5 0 0 0 0-.707zm4.344-4.344a.5.5 0 0 0 .707 0l4.096-4.096V4.5a.5.5 0 1 0 1 0V.525a.5.5 0 0 0-.5-.5H11.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707z"/>');// eslint-disable-next-line
|
|
var BIconArrowsCollapse=/*#__PURE__*/makeIcon('ArrowsCollapse','<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 8zm7-8a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 4.293V.5A.5.5 0 0 1 8 0zm-.5 11.707l-1.146 1.147a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 11.707V15.5a.5.5 0 0 1-1 0v-3.793z"/>');// eslint-disable-next-line
|
|
var BIconArrowsExpand=/*#__PURE__*/makeIcon('ArrowsExpand','<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 8zM7.646.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 1.707V5.5a.5.5 0 0 1-1 0V1.707L6.354 2.854a.5.5 0 1 1-.708-.708l2-2zM8 10a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L7.5 14.293V10.5A.5.5 0 0 1 8 10z"/>');// eslint-disable-next-line
|
|
var BIconArrowsFullscreen=/*#__PURE__*/makeIcon('ArrowsFullscreen','<path fill-rule="evenodd" d="M5.828 10.172a.5.5 0 0 0-.707 0l-4.096 4.096V11.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H4.5a.5.5 0 0 0 0-1H1.732l4.096-4.096a.5.5 0 0 0 0-.707zm4.344 0a.5.5 0 0 1 .707 0l4.096 4.096V11.5a.5.5 0 1 1 1 0v3.975a.5.5 0 0 1-.5.5H11.5a.5.5 0 0 1 0-1h2.768l-4.096-4.096a.5.5 0 0 1 0-.707zm0-4.344a.5.5 0 0 0 .707 0l4.096-4.096V4.5a.5.5 0 1 0 1 0V.525a.5.5 0 0 0-.5-.5H11.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707zm-4.344 0a.5.5 0 0 1-.707 0L1.025 1.732V4.5a.5.5 0 0 1-1 0V.525a.5.5 0 0 1 .5-.5H4.5a.5.5 0 0 1 0 1H1.732l4.096 4.096a.5.5 0 0 1 0 .707z"/>');// eslint-disable-next-line
|
|
var BIconArrowsMove=/*#__PURE__*/makeIcon('ArrowsMove','<path fill-rule="evenodd" d="M7.646.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 1.707V5.5a.5.5 0 0 1-1 0V1.707L6.354 2.854a.5.5 0 1 1-.708-.708l2-2zM8 10a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L7.5 14.293V10.5A.5.5 0 0 1 8 10zM.146 8.354a.5.5 0 0 1 0-.708l2-2a.5.5 0 1 1 .708.708L1.707 7.5H5.5a.5.5 0 0 1 0 1H1.707l1.147 1.146a.5.5 0 0 1-.708.708l-2-2zM10 8a.5.5 0 0 1 .5-.5h3.793l-1.147-1.146a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L14.293 8.5H10.5A.5.5 0 0 1 10 8z"/>');// eslint-disable-next-line
|
|
var BIconAspectRatio=/*#__PURE__*/makeIcon('AspectRatio','<path fill-rule="evenodd" d="M0 3.5A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5v-9zM1.5 3a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z"/><path fill-rule="evenodd" d="M2 4.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1H3v2.5a.5.5 0 0 1-1 0v-3zm12 7a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1H13V8.5a.5.5 0 0 1 1 0v3z"/>');// eslint-disable-next-line
|
|
var BIconAspectRatioFill=/*#__PURE__*/makeIcon('AspectRatioFill','<path fill-rule="evenodd" d="M1.5 2A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13zm1 2a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 1 0V5h2.5a.5.5 0 0 0 0-1h-3zm11 8a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-1 0V11h-2.5a.5.5 0 0 0 0 1h3z"/>');// eslint-disable-next-line
|
|
var BIconAsterisk=/*#__PURE__*/makeIcon('Asterisk','<path fill-rule="evenodd" d="M8 0a1 1 0 0 1 1 1v5.268l4.562-2.634a1 1 0 1 1 1 1.732L10 8l4.562 2.634a1 1 0 1 1-1 1.732L9 9.732V15a1 1 0 1 1-2 0V9.732l-4.562 2.634a1 1 0 1 1-1-1.732L6 8 1.438 5.366a1 1 0 0 1 1-1.732L7 6.268V1a1 1 0 0 1 1-1z"/>');// eslint-disable-next-line
|
|
var BIconAt=/*#__PURE__*/makeIcon('At','<path fill-rule="evenodd" d="M13.106 7.222c0-2.967-2.249-5.032-5.482-5.032-3.35 0-5.646 2.318-5.646 5.702 0 3.493 2.235 5.708 5.762 5.708.862 0 1.689-.123 2.304-.335v-.862c-.43.199-1.354.328-2.29.328-2.926 0-4.813-1.88-4.813-4.798 0-2.844 1.921-4.881 4.594-4.881 2.735 0 4.608 1.688 4.608 4.156 0 1.682-.554 2.769-1.416 2.769-.492 0-.772-.28-.772-.76V5.206H8.923v.834h-.11c-.266-.595-.881-.964-1.6-.964-1.4 0-2.378 1.162-2.378 2.823 0 1.737.957 2.906 2.379 2.906.8 0 1.415-.39 1.709-1.087h.11c.081.67.703 1.148 1.503 1.148 1.572 0 2.57-1.415 2.57-3.643zm-7.177.704c0-1.197.54-1.907 1.456-1.907.93 0 1.524.738 1.524 1.907S8.308 9.84 7.371 9.84c-.895 0-1.442-.725-1.442-1.914z"/>');// eslint-disable-next-line
|
|
var BIconAward=/*#__PURE__*/makeIcon('Award','<path fill-rule="evenodd" d="M9.669.864L8 0 6.331.864l-1.858.282-.842 1.68-1.337 1.32L2.6 6l-.306 1.854 1.337 1.32.842 1.68 1.858.282L8 12l1.669-.864 1.858-.282.842-1.68 1.337-1.32L13.4 6l.306-1.854-1.337-1.32-.842-1.68L9.669.864zm1.196 1.193l-1.51-.229L8 1.126l-1.355.702-1.51.229-.684 1.365-1.086 1.072L3.614 6l-.25 1.506 1.087 1.072.684 1.365 1.51.229L8 10.874l1.356-.702 1.509-.229.684-1.365 1.086-1.072L12.387 6l.248-1.506-1.086-1.072-.684-1.365z"/><path d="M4 11.794V16l4-1 4 1v-4.206l-2.018.306L8 13.126 6.018 12.1 4 11.794z"/>');// eslint-disable-next-line
|
|
var BIconAwardFill=/*#__PURE__*/makeIcon('AwardFill','<path d="M8 0l1.669.864 1.858.282.842 1.68 1.337 1.32L13.4 6l.306 1.854-1.337 1.32-.842 1.68-1.858.282L8 12l-1.669-.864-1.858-.282-.842-1.68-1.337-1.32L2.6 6l-.306-1.854 1.337-1.32.842-1.68L6.331.864 8 0z"/><path d="M4 11.794V16l4-1 4 1v-4.206l-2.018.306L8 13.126 6.018 12.1 4 11.794z"/>');// eslint-disable-next-line
|
|
var BIconBack=/*#__PURE__*/makeIcon('Back','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2z"/>');// eslint-disable-next-line
|
|
var BIconBackspace=/*#__PURE__*/makeIcon('Backspace','<path fill-rule="evenodd" d="M6.603 2h7.08a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-7.08a1 1 0 0 1-.76-.35L1 8l4.844-5.65A1 1 0 0 1 6.603 2zm7.08-1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-7.08a2 2 0 0 1-1.519-.698L.241 8.65a1 1 0 0 1 0-1.302L5.084 1.7A2 2 0 0 1 6.603 1h7.08zM5.829 5.146a.5.5 0 0 0 0 .708L7.976 8l-2.147 2.146a.5.5 0 0 0 .707.708l2.147-2.147 2.146 2.147a.5.5 0 0 0 .707-.708L9.39 8l2.146-2.146a.5.5 0 0 0-.707-.708L8.683 7.293 6.536 5.146a.5.5 0 0 0-.707 0z"/>');// eslint-disable-next-line
|
|
var BIconBackspaceFill=/*#__PURE__*/makeIcon('BackspaceFill','<path fill-rule="evenodd" d="M15.683 3a2 2 0 0 0-2-2h-7.08a2 2 0 0 0-1.519.698L.241 7.35a1 1 0 0 0 0 1.302l4.843 5.65A2 2 0 0 0 6.603 15h7.08a2 2 0 0 0 2-2V3zM5.829 5.854a.5.5 0 1 1 .707-.708l2.147 2.147 2.146-2.147a.5.5 0 1 1 .707.708L9.39 8l2.146 2.146a.5.5 0 0 1-.707.708L8.683 8.707l-2.147 2.147a.5.5 0 0 1-.707-.708L7.976 8 5.829 5.854z"/>');// eslint-disable-next-line
|
|
var BIconBackspaceReverse=/*#__PURE__*/makeIcon('BackspaceReverse','<path fill-rule="evenodd" d="M9.08 2H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h7.08a1 1 0 0 0 .76-.35L14.682 8 9.839 2.35A1 1 0 0 0 9.08 2zM2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h7.08a2 2 0 0 0 1.519-.698l4.843-5.651a1 1 0 0 0 0-1.302L10.6 1.7A2 2 0 0 0 9.08 1H2zm7.854 4.146a.5.5 0 0 1 0 .708L7.707 8l2.147 2.146a.5.5 0 0 1-.708.708L7 8.707l-2.146 2.147a.5.5 0 0 1-.708-.708L6.293 8 4.146 5.854a.5.5 0 1 1 .708-.708L7 7.293l2.146-2.147a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconBackspaceReverseFill=/*#__PURE__*/makeIcon('BackspaceReverseFill','<path fill-rule="evenodd" d="M0 3a2 2 0 0 1 2-2h7.08a2 2 0 0 1 1.519.698l4.843 5.651a1 1 0 0 1 0 1.302L10.6 14.3a2 2 0 0 1-1.52.7H2a2 2 0 0 1-2-2V3zm9.854 2.854a.5.5 0 0 0-.708-.708L7 7.293 4.854 5.146a.5.5 0 1 0-.708.708L6.293 8l-2.147 2.146a.5.5 0 0 0 .708.708L7 8.707l2.146 2.147a.5.5 0 0 0 .708-.708L7.707 8l2.147-2.146z"/>');// eslint-disable-next-line
|
|
var BIconBadge4k=/*#__PURE__*/makeIcon('Badge4k','<path d="M4.807 5.001C4.021 6.298 3.203 7.6 2.5 8.917v.971h2.905V11h1.112V9.888h.733V8.93h-.733V5.001h-1.71zm-1.23 3.93v-.032a46.781 46.781 0 0 1 1.766-3.001h.062V8.93H3.577zm9.831-3.93h-1.306L9.835 7.687h-.057V5H8.59v6h1.187V9.075l.615-.699L12.072 11H13.5l-2.232-3.415 2.14-2.584z"/><path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconBadge4kFill=/*#__PURE__*/makeIcon('Badge4kFill','<path d="M3.577 8.9v.03h1.828V5.898h-.062a46.781 46.781 0 0 0-1.766 3.001z"/><path fill-rule="evenodd" d="M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm2.372 3.715l.435-.714h1.71v3.93h.733v.957h-.733V11H5.405V9.888H2.5v-.971c.574-1.077 1.225-2.142 1.872-3.202zm7.73-.714h1.306l-2.14 2.584L13.5 11h-1.428l-1.679-2.624-.615.7V11H8.59V5.001h1.187v2.686h.057L12.102 5z"/>');// eslint-disable-next-line
|
|
var BIconBadge8k=/*#__PURE__*/makeIcon('Badge8k','<path d="M4.837 11.114c1.406 0 2.333-.725 2.333-1.766 0-.945-.712-1.38-1.256-1.49v-.053c.496-.15 1.02-.55 1.02-1.331 0-.914-.831-1.587-2.084-1.587-1.257 0-2.087.673-2.087 1.587 0 .773.51 1.177 1.02 1.331v.053c-.546.11-1.258.54-1.258 1.494 0 1.042.906 1.762 2.312 1.762zm.013-3.643c-.545 0-.95-.356-.95-.866s.405-.852.95-.852c.545 0 .945.343.945.852 0 .51-.4.866-.945.866zm0 2.786c-.65 0-1.142-.395-1.142-.984S4.2 8.28 4.85 8.28c.646 0 1.143.404 1.143.993s-.497.984-1.143.984zM13.408 5h-1.306L9.835 7.685h-.057V5H8.59v5.998h1.187V9.075l.615-.699 1.679 2.623H13.5l-2.232-3.414L13.408 5z"/><path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconBadge8kFill=/*#__PURE__*/makeIcon('Badge8kFill','<path d="M3.9 6.605c0 .51.405.866.95.866.545 0 .945-.356.945-.866s-.4-.852-.945-.852c-.545 0-.95.343-.95.852zm-.192 2.668c0 .589.492.984 1.142.984.646 0 1.143-.395 1.143-.984S5.496 8.28 4.85 8.28c-.65 0-1.142.404-1.142.993z"/><path fill-rule="evenodd" d="M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm5.17 7.348c0 1.041-.927 1.766-2.333 1.766-1.406 0-2.312-.72-2.312-1.762 0-.954.712-1.384 1.257-1.494v-.053c-.51-.154-1.02-.558-1.02-1.331 0-.914.831-1.587 2.088-1.587 1.253 0 2.083.673 2.083 1.587 0 .782-.523 1.182-1.02 1.331v.053c.545.11 1.257.545 1.257 1.49zM12.102 5h1.306l-2.14 2.584 2.232 3.415h-1.428l-1.679-2.624-.615.699v1.925H8.59V5h1.187v2.685h.057L12.102 5z"/>');// eslint-disable-next-line
|
|
var BIconBadgeAd=/*#__PURE__*/makeIcon('BadgeAd','<path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/><path d="M3.7 11l.47-1.542h2.004L6.644 11h1.261L5.901 5.001H4.513L2.5 11h1.2zm1.503-4.852l.734 2.426H4.416l.734-2.426h.053zm4.759.128c-1.059 0-1.753.765-1.753 2.043v.695c0 1.279.685 2.043 1.74 2.043.677 0 1.222-.33 1.367-.804h.057V11h1.138V4.685h-1.16v2.36h-.053c-.18-.475-.68-.77-1.336-.77zm.387.923c.58 0 1.002.44 1.002 1.138v.602c0 .76-.396 1.2-.984 1.2-.598 0-.972-.449-.972-1.248v-.453c0-.795.37-1.24.954-1.24z"/>');// eslint-disable-next-line
|
|
var BIconBadgeAdFill=/*#__PURE__*/makeIcon('BadgeAdFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm6.209 6.32c0-1.28.694-2.044 1.753-2.044.655 0 1.156.294 1.336.769h.053v-2.36h1.16V11h-1.138v-.747h-.057c-.145.474-.69.804-1.367.804-1.055 0-1.74-.764-1.74-2.043v-.695zm3.142.017c0-.699-.422-1.138-1.002-1.138-.584 0-.954.444-.954 1.239v.453c0 .8.374 1.248.972 1.248.588 0 .984-.44.984-1.2v-.602zM4.17 9.457L3.7 11H2.5l2.013-5.999H5.9L7.905 11H6.644l-.47-1.542H4.17zm1.767-.883l-.734-2.426H5.15l-.734 2.426h1.52z"/>');// eslint-disable-next-line
|
|
var BIconBadgeCc=/*#__PURE__*/makeIcon('BadgeCc','<path d="M3.708 7.755c0-1.111.488-1.753 1.319-1.753.681 0 1.138.47 1.186 1.107H7.36V7c-.052-1.186-1.024-2-2.342-2C3.414 5 2.5 6.05 2.5 7.751v.747c0 1.7.905 2.73 2.518 2.73 1.314 0 2.285-.792 2.342-1.939v-.114H6.213c-.048.615-.496 1.05-1.186 1.05-.84 0-1.319-.62-1.319-1.727v-.743zm6.14 0c0-1.111.488-1.753 1.318-1.753.682 0 1.139.47 1.187 1.107H13.5V7c-.053-1.186-1.024-2-2.342-2C9.554 5 8.64 6.05 8.64 7.751v.747c0 1.7.905 2.73 2.518 2.73 1.314 0 2.285-.792 2.342-1.939v-.114h-1.147c-.048.615-.497 1.05-1.187 1.05-.839 0-1.318-.62-1.318-1.727v-.743z"/><path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconBadgeCcFill=/*#__PURE__*/makeIcon('BadgeCcFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm3.027 4.002c-.83 0-1.319.642-1.319 1.753v.743c0 1.107.48 1.727 1.319 1.727.69 0 1.138-.435 1.186-1.05H7.36v.114c-.057 1.147-1.028 1.938-2.342 1.938-1.613 0-2.518-1.028-2.518-2.729v-.747C2.5 6.051 3.414 5 5.018 5c1.318 0 2.29.813 2.342 2v.11H6.213c-.048-.638-.505-1.108-1.186-1.108zm6.14 0c-.831 0-1.319.642-1.319 1.753v.743c0 1.107.48 1.727 1.318 1.727.69 0 1.139-.435 1.187-1.05H13.5v.114c-.057 1.147-1.028 1.938-2.342 1.938-1.613 0-2.518-1.028-2.518-2.729v-.747c0-1.7.914-2.751 2.518-2.751 1.318 0 2.29.813 2.342 2v.11h-1.147c-.048-.638-.505-1.108-1.187-1.108z"/>');// eslint-disable-next-line
|
|
var BIconBadgeHd=/*#__PURE__*/makeIcon('BadgeHd','<path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/><path d="M7.396 11V5.001H6.209v2.44H3.687V5H2.5v6h1.187V8.43h2.522V11h1.187zM8.5 5.001V11h2.188c1.811 0 2.685-1.107 2.685-3.015 0-1.894-.86-2.984-2.684-2.984H8.5zm1.187.967h.843c1.112 0 1.622.686 1.622 2.04 0 1.353-.505 2.02-1.622 2.02h-.843v-4.06z"/>');// eslint-disable-next-line
|
|
var BIconBadgeHdFill=/*#__PURE__*/makeIcon('BadgeHdFill','<path d="M10.53 5.968h-.843v4.06h.843c1.117 0 1.622-.667 1.622-2.02 0-1.354-.51-2.04-1.622-2.04z"/><path fill-rule="evenodd" d="M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm5.396 3.001V11H6.209V8.43H3.687V11H2.5V5.001h1.187v2.44h2.522V5h1.187zM8.5 11V5.001h2.188c1.824 0 2.685 1.09 2.685 2.984C13.373 9.893 12.5 11 10.69 11H8.5z"/>');// eslint-disable-next-line
|
|
var BIconBadgeTm=/*#__PURE__*/makeIcon('BadgeTm','<path d="M5.295 11V5.995H7V5H2.403v.994h1.701V11h1.19zm3.397 0V7.01h.058l1.428 3.239h.773l1.42-3.24h.057V11H13.5V5.001h-1.2l-1.71 3.894h-.039l-1.71-3.894H7.634V11h1.06z"/><path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconBadgeTmFill=/*#__PURE__*/makeIcon('BadgeTmFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm3.295 3.995V11H4.104V5.995h-1.7V5H7v.994H5.295zM8.692 7.01V11H7.633V5.001h1.209l1.71 3.894h.039l1.71-3.894H13.5V11h-1.072V7.01h-.057l-1.42 3.239h-.773L8.75 7.008h-.058z"/>');// eslint-disable-next-line
|
|
var BIconBadgeVo=/*#__PURE__*/makeIcon('BadgeVo','<path d="M4.508 11h1.429l1.99-5.999H6.61L5.277 9.708H5.22L3.875 5.001H2.5L4.508 11zM13.5 8.39v-.77c0-1.696-.962-2.733-2.566-2.733-1.604 0-2.571 1.029-2.571 2.734v.769c0 1.691.967 2.724 2.57 2.724 1.605 0 2.567-1.033 2.567-2.724zm-1.204-.778v.782c0 1.156-.571 1.732-1.362 1.732-.796 0-1.363-.576-1.363-1.732v-.782c0-1.156.567-1.736 1.363-1.736.79 0 1.362.58 1.362 1.736z"/><path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconBadgeVoFill=/*#__PURE__*/makeIcon('BadgeVoFill','<path d="M12.296 8.394v-.782c0-1.156-.571-1.736-1.362-1.736-.796 0-1.363.58-1.363 1.736v.782c0 1.156.567 1.732 1.363 1.732.79 0 1.362-.576 1.362-1.732z"/><path fill-rule="evenodd" d="M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm11.5 5.62v.77c0 1.691-.962 2.724-2.566 2.724-1.604 0-2.571-1.033-2.571-2.724v-.77c0-1.704.967-2.733 2.57-2.733 1.605 0 2.567 1.037 2.567 2.734zM5.937 11H4.508L2.5 5.001h1.375L5.22 9.708h.057L6.61 5.001h1.318L5.937 11z"/>');// eslint-disable-next-line
|
|
var BIconBag=/*#__PURE__*/makeIcon('Bag','<path fill-rule="evenodd" d="M8 1a2.5 2.5 0 0 0-2.5 2.5V4h5v-.5A2.5 2.5 0 0 0 8 1zm3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4h-3.5zM2 5v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5H2z"/>');// eslint-disable-next-line
|
|
var BIconBagCheck=/*#__PURE__*/makeIcon('BagCheck','<path fill-rule="evenodd" d="M8 1a2.5 2.5 0 0 0-2.5 2.5V4h5v-.5A2.5 2.5 0 0 0 8 1zm3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4h-3.5zM2 5v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5H2z"/><path fill-rule="evenodd" d="M10.854 8.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 10.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconBagCheckFill=/*#__PURE__*/makeIcon('BagCheckFill','<path fill-rule="evenodd" d="M5.5 3.5a2.5 2.5 0 0 1 5 0V4h-5v-.5zm6 0V4H15v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4h3.5v-.5a3.5 3.5 0 1 1 7 0zm-.646 5.354a.5.5 0 0 0-.708-.708L7.5 10.793 6.354 9.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconBagDash=/*#__PURE__*/makeIcon('BagDash','<path fill-rule="evenodd" d="M8 1a2.5 2.5 0 0 0-2.5 2.5V4h5v-.5A2.5 2.5 0 0 0 8 1zm3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4h-3.5zM2 5v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5H2z"/><path fill-rule="evenodd" d="M5.5 10a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconBagDashFill=/*#__PURE__*/makeIcon('BagDashFill','<path fill-rule="evenodd" d="M5.5 3.5a2.5 2.5 0 0 1 5 0V4h-5v-.5zm6 0V4H15v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4h3.5v-.5a3.5 3.5 0 1 1 7 0zM6 9.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconBagFill=/*#__PURE__*/makeIcon('BagFill','<path fill-rule="evenodd" d="M8 1a2.5 2.5 0 0 0-2.5 2.5V4h5v-.5A2.5 2.5 0 0 0 8 1zm3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4h-3.5z"/>');// eslint-disable-next-line
|
|
var BIconBagPlus=/*#__PURE__*/makeIcon('BagPlus','<path fill-rule="evenodd" d="M8 1a2.5 2.5 0 0 0-2.5 2.5V4h5v-.5A2.5 2.5 0 0 0 8 1zm3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4h-3.5zM2 5v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5H2z"/><path fill-rule="evenodd" d="M8 7.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V12a.5.5 0 0 1-1 0v-1.5H6a.5.5 0 0 1 0-1h1.5V8a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconBagPlusFill=/*#__PURE__*/makeIcon('BagPlusFill','<path fill-rule="evenodd" d="M5.5 3.5a2.5 2.5 0 0 1 5 0V4h-5v-.5zm6 0V4H15v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4h3.5v-.5a3.5 3.5 0 1 1 7 0zM8.5 8a.5.5 0 0 0-1 0v1.5H6a.5.5 0 0 0 0 1h1.5V12a.5.5 0 0 0 1 0v-1.5H10a.5.5 0 0 0 0-1H8.5V8z"/>');// eslint-disable-next-line
|
|
var BIconBagX=/*#__PURE__*/makeIcon('BagX','<path fill-rule="evenodd" d="M8 1a2.5 2.5 0 0 0-2.5 2.5V4h5v-.5A2.5 2.5 0 0 0 8 1zm3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4h-3.5zM2 5v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5H2z"/><path fill-rule="evenodd" d="M6.146 8.146a.5.5 0 0 1 .708 0L8 9.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 10l1.147 1.146a.5.5 0 0 1-.708.708L8 10.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 10 6.146 8.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconBagXFill=/*#__PURE__*/makeIcon('BagXFill','<path fill-rule="evenodd" d="M5.5 3.5a2.5 2.5 0 0 1 5 0V4h-5v-.5zm6 0V4H15v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4h3.5v-.5a3.5 3.5 0 1 1 7 0zM6.854 8.146a.5.5 0 1 0-.708.708L7.293 10l-1.147 1.146a.5.5 0 0 0 .708.708L8 10.707l1.146 1.147a.5.5 0 0 0 .708-.708L8.707 10l1.147-1.146a.5.5 0 0 0-.708-.708L8 9.293 6.854 8.146z"/>');// eslint-disable-next-line
|
|
var BIconBarChart=/*#__PURE__*/makeIcon('BarChart','<path fill-rule="evenodd" d="M4 11H2v3h2v-3zm5-4H7v7h2V7zm5-5h-2v12h2V2zm-2-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1h-2zM6 7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7zm-5 4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-3z"/>');// eslint-disable-next-line
|
|
var BIconBarChartFill=/*#__PURE__*/makeIcon('BarChartFill','<rect width="4" height="5" x="1" y="10" rx="1"/><rect width="4" height="9" x="6" y="6" rx="1"/><rect width="4" height="14" x="11" y="1" rx="1"/>');// eslint-disable-next-line
|
|
var BIconBarChartLine=/*#__PURE__*/makeIcon('BarChartLine','<path fill-rule="evenodd" d="M11 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h1V7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7h1V2zm1 12h2V2h-2v12zm-3 0V7H7v7h2zm-5 0v-3H2v3h2z"/>');// eslint-disable-next-line
|
|
var BIconBarChartLineFill=/*#__PURE__*/makeIcon('BarChartLineFill','<path fill-rule="evenodd" d="M11 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h1V7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7h1V2z"/>');// eslint-disable-next-line
|
|
var BIconBarChartSteps=/*#__PURE__*/makeIcon('BarChartSteps','<path fill-rule="evenodd" d="M.5 0a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-1 0V.5A.5.5 0 0 1 .5 0z"/><rect width="5" height="2" x="2" y="1" rx=".5"/><rect width="8" height="2" x="4" y="5" rx=".5"/><path d="M6 9.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1zm2 4a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconBasket=/*#__PURE__*/makeIcon('Basket','<path fill-rule="evenodd" d="M5.757 1.071a.5.5 0 0 1 .172.686L3.383 6h9.234L10.07 1.757a.5.5 0 1 1 .858-.514L13.783 6H15a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1v4.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 13.5V9a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h1.217L5.07 1.243a.5.5 0 0 1 .686-.172zM2 9v4.5A1.5 1.5 0 0 0 3.5 15h9a1.5 1.5 0 0 0 1.5-1.5V9H2zM1 7v1h14V7H1zm3 3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3A.5.5 0 0 1 4 10zm2 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3A.5.5 0 0 1 6 10zm2 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3A.5.5 0 0 1 8 10zm2 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5zm2 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconBasket2=/*#__PURE__*/makeIcon('Basket2','<path d="M4 10a1 1 0 0 1 2 0v2a1 1 0 0 1-2 0v-2zm3 0a1 1 0 0 1 2 0v2a1 1 0 0 1-2 0v-2zm3 0a1 1 0 1 1 2 0v2a1 1 0 0 1-2 0v-2z"/><path fill-rule="evenodd" d="M5.757 1.071a.5.5 0 0 1 .172.686L3.383 6h9.234L10.07 1.757a.5.5 0 1 1 .858-.514L13.783 6H15.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-.623l-1.844 6.456a.75.75 0 0 1-.722.544H3.69a.75.75 0 0 1-.722-.544L1.123 8H.5a.5.5 0 0 1-.5-.5v-1A.5.5 0 0 1 .5 6h1.717L5.07 1.243a.5.5 0 0 1 .686-.172zM2.163 8l1.714 6h8.246l1.714-6H2.163z"/>');// eslint-disable-next-line
|
|
var BIconBasket2Fill=/*#__PURE__*/makeIcon('Basket2Fill','<path fill-rule="evenodd" d="M5.929 1.757a.5.5 0 1 0-.858-.514L2.217 6H.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h.623l1.844 6.456A.75.75 0 0 0 3.69 15h8.622a.75.75 0 0 0 .722-.544L14.877 8h.623a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1.717L10.93 1.243a.5.5 0 1 0-.858.514L12.617 6H3.383L5.93 1.757zM4 10a1 1 0 0 1 2 0v2a1 1 0 1 1-2 0v-2zm3 0a1 1 0 0 1 2 0v2a1 1 0 1 1-2 0v-2zm4-1a1 1 0 0 0-1 1v2a1 1 0 1 0 2 0v-2a1 1 0 0 0-1-1z"/>');// eslint-disable-next-line
|
|
var BIconBasket3=/*#__PURE__*/makeIcon('Basket3','<path fill-rule="evenodd" d="M5.757 1.071a.5.5 0 0 1 .172.686L3.383 6h9.234L10.07 1.757a.5.5 0 1 1 .858-.514L13.783 6H15.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-1A.5.5 0 0 1 .5 6h1.717L5.07 1.243a.5.5 0 0 1 .686-.172zM3.394 15l-1.48-6h-.97l1.525 6.426a.75.75 0 0 0 .729.574h9.606a.75.75 0 0 0 .73-.574L15.056 9h-.972l-1.479 6h-9.21z"/>');// eslint-disable-next-line
|
|
var BIconBasket3Fill=/*#__PURE__*/makeIcon('Basket3Fill','<path fill-rule="evenodd" d="M5.757 1.071a.5.5 0 0 1 .172.686L3.383 6h9.234L10.07 1.757a.5.5 0 1 1 .858-.514L13.783 6H15.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-1A.5.5 0 0 1 .5 6h1.717L5.07 1.243a.5.5 0 0 1 .686-.172z"/><path d="M2.468 15.426L.943 9h14.114l-1.525 6.426a.75.75 0 0 1-.729.574H3.197a.75.75 0 0 1-.73-.574z"/>');// eslint-disable-next-line
|
|
var BIconBasketFill=/*#__PURE__*/makeIcon('BasketFill','<path fill-rule="evenodd" d="M5.071 1.243a.5.5 0 0 1 .858.514L3.383 6h9.234L10.07 1.757a.5.5 0 1 1 .858-.514L13.783 6H15.5a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H15v5a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V9H.5a.5.5 0 0 1-.5-.5v-2A.5.5 0 0 1 .5 6h1.717L5.07 1.243zM3.5 10.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3zm2.5 0a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3zm2.5 0a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3zm2.5 0a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3zm2.5 0a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3z"/>');// eslint-disable-next-line
|
|
var BIconBattery=/*#__PURE__*/makeIcon('Battery','<path fill-rule="evenodd" d="M12 5H2a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zM2 4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2z"/><path d="M14.5 9.5a1.5 1.5 0 0 0 0-3v3z"/>');// eslint-disable-next-line
|
|
var BIconBatteryCharging=/*#__PURE__*/makeIcon('BatteryCharging','<path d="M14.5 9.5a1.5 1.5 0 0 0 0-3v3z"/><path fill-rule="evenodd" d="M9.585 2.568a.5.5 0 0 1 .226.58L8.677 6.832h1.99a.5.5 0 0 1 .364.843l-5.334 5.667a.5.5 0 0 1-.842-.49L5.99 9.167H4a.5.5 0 0 1-.364-.843l5.333-5.667a.5.5 0 0 1 .616-.09z"/><path fill-rule="evenodd" d="M6.332 4H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h2.072l.307-1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h3.391l.941-1zM4.45 6H2v4h1.313a1.5 1.5 0 0 1-.405-2.361L4.45 6zm.976 5l-.308 1H6.96l.21-.224h.001l.73-.776H6.53l-.085.09.028-.09H5.426zm1.354-1H5.733l.257-.833H4a.5.5 0 0 1-.364-.843l.793-.843L5.823 6h1.373L5.157 8.167h1.51a.5.5 0 0 1 .478.647L6.78 10zm.69 0h1.374l1.394-1.482.793-.842a.5.5 0 0 0-.364-.843h-1.99L8.933 6H7.887l-.166.54-.199.646A.5.5 0 0 0 8 7.833h1.51L7.47 10zm.725-5H9.24l.308-1H7.706l-.942 1h1.374l.085-.09-.028.09zm2.4-1l-.308 1H12a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H9.276l-.942 1H12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.405zm-.378 6H12V8.02a1.499 1.499 0 0 1-.241.341L10.217 10zM12 6.646V6h-.646a1.5 1.5 0 0 1 .646.646z"/>');// eslint-disable-next-line
|
|
var BIconBatteryFull=/*#__PURE__*/makeIcon('BatteryFull','<path fill-rule="evenodd" d="M12 5H2a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zM2 4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2z"/><path d="M2 6h10v4H2V6zm12.5 3.5a1.5 1.5 0 0 0 0-3v3z"/>');// eslint-disable-next-line
|
|
var BIconBatteryHalf=/*#__PURE__*/makeIcon('BatteryHalf','<path fill-rule="evenodd" d="M12 5H2a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zM2 4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2z"/><path d="M2 6h5v4H2V6zm12.5 3.5a1.5 1.5 0 0 0 0-3v3z"/>');// eslint-disable-next-line
|
|
var BIconBell=/*#__PURE__*/makeIcon('Bell','<path d="M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2z"/><path fill-rule="evenodd" d="M8 1.918l-.797.161A4.002 4.002 0 0 0 4 6c0 .628-.134 2.197-.459 3.742-.16.767-.376 1.566-.663 2.258h10.244c-.287-.692-.502-1.49-.663-2.258C12.134 8.197 12 6.628 12 6a4.002 4.002 0 0 0-3.203-3.92L8 1.917zM14.22 12c.223.447.481.801.78 1H1c.299-.199.557-.553.78-1C2.68 10.2 3 6.88 3 6c0-2.42 1.72-4.44 4.005-4.901a1 1 0 1 1 1.99 0A5.002 5.002 0 0 1 13 6c0 .88.32 4.2 1.22 6z"/>');// eslint-disable-next-line
|
|
var BIconBellFill=/*#__PURE__*/makeIcon('BellFill','<path d="M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z"/>');// eslint-disable-next-line
|
|
var BIconBezier=/*#__PURE__*/makeIcon('Bezier','<path fill-rule="evenodd" d="M0 10.5A1.5 1.5 0 0 1 1.5 9h1A1.5 1.5 0 0 1 4 10.5v1A1.5 1.5 0 0 1 2.5 13h-1A1.5 1.5 0 0 1 0 11.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm10.5.5A1.5 1.5 0 0 1 13.5 9h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zM6 4.5A1.5 1.5 0 0 1 7.5 3h1A1.5 1.5 0 0 1 10 4.5v1A1.5 1.5 0 0 1 8.5 7h-1A1.5 1.5 0 0 1 6 5.5v-1zM7.5 4a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/><path d="M6 4.5H1.866a1 1 0 1 0 0 1h2.668A6.517 6.517 0 0 0 1.814 9H2.5c.123 0 .244.015.358.043a5.517 5.517 0 0 1 3.185-3.185A1.503 1.503 0 0 1 6 5.5v-1zm3.957 1.358A1.5 1.5 0 0 0 10 5.5v-1h4.134a1 1 0 1 1 0 1h-2.668a6.517 6.517 0 0 1 2.72 3.5H13.5c-.123 0-.243.015-.358.043a5.517 5.517 0 0 0-3.185-3.185z"/>');// eslint-disable-next-line
|
|
var BIconBezier2=/*#__PURE__*/makeIcon('Bezier2','<path fill-rule="evenodd" d="M1 2.5A1.5 1.5 0 0 1 2.5 1h1A1.5 1.5 0 0 1 5 2.5h4.134a1 1 0 1 1 0 1h-2.01c.18.18.34.381.484.605.638.992.892 2.354.892 3.895 0 1.993.257 3.092.713 3.7.356.476.895.721 1.787.784A1.5 1.5 0 0 1 12.5 11h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5H6.866a1 1 0 1 1 0-1h1.711a2.839 2.839 0 0 1-.165-.2C7.743 11.407 7.5 10.007 7.5 8c0-1.46-.246-2.597-.733-3.355-.39-.605-.952-1-1.767-1.112A1.5 1.5 0 0 1 3.5 5h-1A1.5 1.5 0 0 1 1 3.5v-1zM2.5 2a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm10 10a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconBicycle=/*#__PURE__*/makeIcon('Bicycle','<path fill-rule="evenodd" d="M4 4.5a.5.5 0 0 1 .5-.5H6a.5.5 0 0 1 0 1v.5h4.14l.386-1.158A.5.5 0 0 1 11 4h1a.5.5 0 0 1 0 1h-.64l-.311.935.807 1.29a3 3 0 1 1-.848.53l-.508-.812-2.076 3.322A.5.5 0 0 1 8 10.5H5.959a3 3 0 1 1-1.815-3.274L5 5.856V5h-.5a.5.5 0 0 1-.5-.5zm1.5 2.443l-.508.814c.5.444.85 1.054.967 1.743h1.139L5.5 6.943zM8 9.057L9.598 6.5H6.402L8 9.057zM4.937 9.5a1.997 1.997 0 0 0-.487-.877l-.548.877h1.035zM3.603 8.092A2 2 0 1 0 4.937 10.5H3a.5.5 0 0 1-.424-.765l1.027-1.643zm7.947.53a2 2 0 1 0 .848-.53l1.026 1.643a.5.5 0 1 1-.848.53L11.55 8.623z"/>');// eslint-disable-next-line
|
|
var BIconBinoculars=/*#__PURE__*/makeIcon('Binoculars','<path fill-rule="evenodd" d="M3 2.5A1.5 1.5 0 0 1 4.5 1h1A1.5 1.5 0 0 1 7 2.5V5h2V2.5A1.5 1.5 0 0 1 10.5 1h1A1.5 1.5 0 0 1 13 2.5v2.382a.5.5 0 0 0 .276.447l.895.447A1.5 1.5 0 0 1 15 7.118V14.5a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 14.5v-3a.5.5 0 0 1 .146-.354l.854-.853V9.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v.793l.854.853A.5.5 0 0 1 7 11.5v3A1.5 1.5 0 0 1 5.5 16h-3A1.5 1.5 0 0 1 1 14.5V7.118a1.5 1.5 0 0 1 .83-1.342l.894-.447A.5.5 0 0 0 3 4.882V2.5zM4.5 2a.5.5 0 0 0-.5.5V3h2v-.5a.5.5 0 0 0-.5-.5h-1zM6 4H4v.882a1.5 1.5 0 0 1-.83 1.342l-.894.447A.5.5 0 0 0 2 7.118V13h4v-1.293l-.854-.853A.5.5 0 0 1 5 10.5v-1A1.5 1.5 0 0 1 6.5 8h3A1.5 1.5 0 0 1 11 9.5v1a.5.5 0 0 1-.146.354l-.854.853V13h4V7.118a.5.5 0 0 0-.276-.447l-.895-.447A1.5 1.5 0 0 1 12 4.882V4h-2v1.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V4zm4-1h2v-.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5V3zm4 11h-4v.5a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5V14zm-8 0H2v.5a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5V14z"/>');// eslint-disable-next-line
|
|
var BIconBinocularsFill=/*#__PURE__*/makeIcon('BinocularsFill','<path d="M4.5 1A1.5 1.5 0 0 0 3 2.5V3h4v-.5A1.5 1.5 0 0 0 5.5 1h-1zM7 4v1h2V4h4v.882a.5.5 0 0 0 .276.447l.895.447A1.5 1.5 0 0 1 15 7.118V13H9v-1.5a.5.5 0 0 1 .146-.354l.854-.853V9.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v.793l.854.853A.5.5 0 0 1 7 11.5V13H1V7.118a1.5 1.5 0 0 1 .83-1.342l.894-.447A.5.5 0 0 0 3 4.882V4h4zM1 14v.5A1.5 1.5 0 0 0 2.5 16h3A1.5 1.5 0 0 0 7 14.5V14H1zm8 0v.5a1.5 1.5 0 0 0 1.5 1.5h3a1.5 1.5 0 0 0 1.5-1.5V14H9zm4-11H9v-.5A1.5 1.5 0 0 1 10.5 1h1A1.5 1.5 0 0 1 13 2.5V3z"/>');// eslint-disable-next-line
|
|
var BIconBlockquoteLeft=/*#__PURE__*/makeIcon('BlockquoteLeft','<path fill-rule="evenodd" d="M2 3.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm5 3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm-5 3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/><path d="M3.734 6.352a6.586 6.586 0 0 0-.445.275 1.94 1.94 0 0 0-.346.299 1.38 1.38 0 0 0-.252.369c-.058.129-.1.295-.123.498h.282c.242 0 .431.06.568.182.14.117.21.29.21.521a.697.697 0 0 1-.187.463c-.12.14-.289.21-.503.21-.336 0-.577-.108-.721-.327C2.072 8.619 2 8.328 2 7.969c0-.254.055-.485.164-.692.11-.21.242-.398.398-.562.16-.168.33-.31.51-.428.18-.117.33-.213.451-.287l.211.352zm2.168 0a6.588 6.588 0 0 0-.445.275 1.94 1.94 0 0 0-.346.299c-.113.12-.199.246-.257.375a1.75 1.75 0 0 0-.118.492h.282c.242 0 .431.06.568.182.14.117.21.29.21.521a.697.697 0 0 1-.187.463c-.12.14-.289.21-.504.21-.335 0-.576-.108-.72-.327-.145-.223-.217-.514-.217-.873 0-.254.055-.485.164-.692.11-.21.242-.398.398-.562.16-.168.33-.31.51-.428.18-.117.33-.213.451-.287l.211.352z"/>');// eslint-disable-next-line
|
|
var BIconBlockquoteRight=/*#__PURE__*/makeIcon('BlockquoteRight','<path fill-rule="evenodd" d="M2 3.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/><path d="M12.168 6.352c.184.105.332.197.445.275.114.074.229.174.346.299.11.117.193.24.252.369s.1.295.123.498h-.281c-.243 0-.432.06-.569.182-.14.117-.21.29-.21.521 0 .164.062.318.187.463.121.14.289.21.504.21.336 0 .576-.108.72-.327.145-.223.217-.514.217-.873 0-.254-.054-.485-.164-.692a2.436 2.436 0 0 0-.398-.562c-.16-.168-.33-.31-.51-.428-.18-.117-.33-.213-.451-.287l-.211.352zm-2.168 0c.184.105.332.197.445.275.114.074.229.174.346.299.113.12.2.246.258.375.055.125.094.289.117.492h-.281c-.242 0-.432.06-.569.182-.14.117-.21.29-.21.521 0 .164.062.318.187.463.121.14.289.21.504.21.336 0 .576-.108.72-.327.145-.223.217-.514.217-.873 0-.254-.054-.485-.164-.692a2.438 2.438 0 0 0-.398-.562c-.16-.168-.33-.31-.51-.428-.18-.117-.33-.213-.451-.287L10 6.352z"/>');// eslint-disable-next-line
|
|
var BIconBook=/*#__PURE__*/makeIcon('Book','<path fill-rule="evenodd" d="M1 2.828v9.923c.918-.35 2.107-.692 3.287-.81 1.094-.111 2.278-.039 3.213.492V2.687c-.654-.689-1.782-.886-3.112-.752-1.234.124-2.503.523-3.388.893zm7.5-.141v9.746c.935-.53 2.12-.603 3.213-.493 1.18.12 2.37.461 3.287.811V2.828c-.885-.37-2.154-.769-3.388-.893-1.33-.134-2.458.063-3.112.752zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783z"/>');// eslint-disable-next-line
|
|
var BIconBookFill=/*#__PURE__*/makeIcon('BookFill','<path fill-rule="evenodd" d="M8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783z"/>');// eslint-disable-next-line
|
|
var BIconBookHalf=/*#__PURE__*/makeIcon('BookHalf','<path fill-rule="evenodd" d="M8.5 2.687v9.746c.935-.53 2.12-.603 3.213-.493 1.18.12 2.37.461 3.287.811V2.828c-.885-.37-2.154-.769-3.388-.893-1.33-.134-2.458.063-3.112.752zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783z"/>');// eslint-disable-next-line
|
|
var BIconBookmark=/*#__PURE__*/makeIcon('Bookmark','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkCheck=/*#__PURE__*/makeIcon('BookmarkCheck','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkCheckFill=/*#__PURE__*/makeIcon('BookmarkCheckFill','<path fill-rule="evenodd" d="M4 0a2 2 0 0 0-2 2v13.5a.5.5 0 0 0 .74.439L8 13.069l5.26 2.87A.5.5 0 0 0 14 15.5V2a2 2 0 0 0-2-2H4zm6.854 5.854a.5.5 0 0 0-.708-.708L7.5 7.793 6.354 6.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkDash=/*#__PURE__*/makeIcon('BookmarkDash','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M5.5 6.5A.5.5 0 0 1 6 6h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkDashFill=/*#__PURE__*/makeIcon('BookmarkDashFill','<path fill-rule="evenodd" d="M4 0a2 2 0 0 0-2 2v13.5a.5.5 0 0 0 .74.439L8 13.069l5.26 2.87A.5.5 0 0 0 14 15.5V2a2 2 0 0 0-2-2H4zm2 6a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkFill=/*#__PURE__*/makeIcon('BookmarkFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.74.439L8 13.069l-5.26 2.87A.5.5 0 0 1 2 15.5V2z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkHeart=/*#__PURE__*/makeIcon('BookmarkHeart','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M8 4.41c1.387-1.425 4.854 1.07 0 4.277C3.146 5.48 6.613 2.986 8 4.412z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkHeartFill=/*#__PURE__*/makeIcon('BookmarkHeartFill','<path fill-rule="evenodd" d="M4 0a2 2 0 0 0-2 2v13.5a.5.5 0 0 0 .74.439L8 13.069l5.26 2.87A.5.5 0 0 0 14 15.5V2a2 2 0 0 0-2-2H4zm4 4.41c1.387-1.425 4.854 1.07 0 4.277C3.146 5.48 6.613 2.986 8 4.412z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkPlus=/*#__PURE__*/makeIcon('BookmarkPlus','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M8 4a.5.5 0 0 1 .5.5V6H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V7H6a.5.5 0 0 1 0-1h1.5V4.5A.5.5 0 0 1 8 4z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkPlusFill=/*#__PURE__*/makeIcon('BookmarkPlusFill','<path fill-rule="evenodd" d="M4 0a2 2 0 0 0-2 2v13.5a.5.5 0 0 0 .74.439L8 13.069l5.26 2.87A.5.5 0 0 0 14 15.5V2a2 2 0 0 0-2-2H4zm4.5 4.5a.5.5 0 0 0-1 0V6H6a.5.5 0 0 0 0 1h1.5v1.5a.5.5 0 0 0 1 0V7H10a.5.5 0 0 0 0-1H8.5V4.5z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkStar=/*#__PURE__*/makeIcon('BookmarkStar','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z"/><path d="M7.84 4.1a.178.178 0 0 1 .32 0l.634 1.285a.178.178 0 0 0 .134.098l1.42.206c.145.021.204.2.098.303L9.42 6.993a.178.178 0 0 0-.051.158l.242 1.414a.178.178 0 0 1-.258.187l-1.27-.668a.178.178 0 0 0-.165 0l-1.27.668a.178.178 0 0 1-.257-.187l.242-1.414a.178.178 0 0 0-.05-.158l-1.03-1.001a.178.178 0 0 1 .098-.303l1.42-.206a.178.178 0 0 0 .134-.098L7.84 4.1z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkStarFill=/*#__PURE__*/makeIcon('BookmarkStarFill','<path fill-rule="evenodd" d="M4 0a2 2 0 0 0-2 2v13.5a.5.5 0 0 0 .74.439L8 13.069l5.26 2.87A.5.5 0 0 0 14 15.5V2a2 2 0 0 0-2-2H4zm4.16 4.1a.178.178 0 0 0-.32 0l-.634 1.285a.178.178 0 0 1-.134.098l-1.42.206a.178.178 0 0 0-.098.303L6.58 6.993c.042.041.061.1.051.158L6.39 8.565a.178.178 0 0 0 .258.187l1.27-.668a.178.178 0 0 1 .165 0l1.27.668a.178.178 0 0 0 .257-.187L9.368 7.15a.178.178 0 0 1 .05-.158l1.028-1.001a.178.178 0 0 0-.098-.303l-1.42-.206a.178.178 0 0 1-.134-.098L8.16 4.1z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkX=/*#__PURE__*/makeIcon('BookmarkX','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M6.146 5.146a.5.5 0 0 1 .708 0L8 6.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 7l1.147 1.146a.5.5 0 0 1-.708.708L8 7.707 6.854 8.854a.5.5 0 1 1-.708-.708L7.293 7 6.146 5.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconBookmarkXFill=/*#__PURE__*/makeIcon('BookmarkXFill','<path fill-rule="evenodd" d="M4 0a2 2 0 0 0-2 2v13.5a.5.5 0 0 0 .74.439L8 13.069l5.26 2.87A.5.5 0 0 0 14 15.5V2a2 2 0 0 0-2-2H4zm2.854 5.146a.5.5 0 1 0-.708.708L7.293 7 6.146 8.146a.5.5 0 1 0 .708.708L8 7.707l1.146 1.147a.5.5 0 1 0 .708-.708L8.707 7l1.147-1.146a.5.5 0 0 0-.708-.708L8 6.293 6.854 5.146z"/>');// eslint-disable-next-line
|
|
var BIconBookmarks=/*#__PURE__*/makeIcon('Bookmarks','<path fill-rule="evenodd" d="M2 4a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v11.5a.5.5 0 0 1-.777.416L7 13.101l-4.223 2.815A.5.5 0 0 1 2 15.5V4zm2-1a1 1 0 0 0-1 1v10.566l3.723-2.482a.5.5 0 0 1 .554 0L11 14.566V4a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M4.268 1H12a1 1 0 0 1 1 1v11.768l.223.148A.5.5 0 0 0 14 13.5V2a2 2 0 0 0-2-2H6a2 2 0 0 0-1.732 1z"/>');// eslint-disable-next-line
|
|
var BIconBookmarksFill=/*#__PURE__*/makeIcon('BookmarksFill','<path fill-rule="evenodd" d="M2 4a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v11.5a.5.5 0 0 1-.777.416L7 13.101l-4.223 2.815A.5.5 0 0 1 2 15.5V4z"/><path fill-rule="evenodd" d="M4.268 1H12a1 1 0 0 1 1 1v11.768l.223.148A.5.5 0 0 0 14 13.5V2a2 2 0 0 0-2-2H6a2 2 0 0 0-1.732 1z"/>');// eslint-disable-next-line
|
|
var BIconBookshelf=/*#__PURE__*/makeIcon('Bookshelf','<path fill-rule="evenodd" d="M2.5 0a.5.5 0 0 1 .5.5V2h10V.5a.5.5 0 0 1 1 0v15a.5.5 0 0 1-1 0V15H3v.5a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5zM3 14h10v-3H3v3zm0-4h10V7H3v3zm0-4h10V3H3v3z"/>');// eslint-disable-next-line
|
|
var BIconBootstrap=/*#__PURE__*/makeIcon('Bootstrap','<path fill-rule="evenodd" d="M12 1H4a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3zM4 0a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4H4z"/><path fill-rule="evenodd" d="M8.537 12H5.062V3.545h3.399c1.587 0 2.543.809 2.543 2.11 0 .884-.65 1.675-1.483 1.816v.1c1.143.117 1.904.931 1.904 2.033 0 1.488-1.084 2.396-2.888 2.396zM6.375 4.658v2.467h1.558c1.16 0 1.764-.428 1.764-1.23 0-.78-.569-1.237-1.541-1.237H6.375zm1.898 6.229H6.375V8.162h1.822c1.236 0 1.887.463 1.887 1.348 0 .896-.627 1.377-1.811 1.377z"/>');// eslint-disable-next-line
|
|
var BIconBootstrapFill=/*#__PURE__*/makeIcon('BootstrapFill','<path fill-rule="evenodd" d="M4.002 0a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4h-8zm1.06 12h3.475c1.804 0 2.888-.908 2.888-2.396 0-1.102-.761-1.916-1.904-2.034v-.1c.832-.14 1.482-.93 1.482-1.816 0-1.3-.955-2.11-2.542-2.11H5.062V12zm1.313-4.875V4.658h1.78c.973 0 1.542.457 1.542 1.237 0 .802-.604 1.23-1.764 1.23H6.375zm0 3.762h1.898c1.184 0 1.81-.48 1.81-1.377 0-.885-.65-1.348-1.886-1.348H6.375v2.725z"/>');// eslint-disable-next-line
|
|
var BIconBootstrapReboot=/*#__PURE__*/makeIcon('BootstrapReboot','<path fill-rule="evenodd" d="M1.161 8a6.84 6.84 0 1 0 6.842-6.84.58.58 0 0 1 0-1.16 8 8 0 1 1-6.556 3.412l-.663-.577a.58.58 0 0 1 .227-.997l2.52-.69a.58.58 0 0 1 .728.633l-.332 2.592a.58.58 0 0 1-.956.364l-.643-.56A6.812 6.812 0 0 0 1.16 8zm5.48-.079V5.277h1.57c.881 0 1.416.499 1.416 1.32 0 .84-.504 1.324-1.386 1.324h-1.6zm0 3.75V8.843h1.57l1.498 2.828h1.314L9.377 8.665c.897-.3 1.427-1.106 1.427-2.1 0-1.37-.943-2.246-2.456-2.246H5.5v7.352h1.141z"/>');// eslint-disable-next-line
|
|
var BIconBorderStyle=/*#__PURE__*/makeIcon('BorderStyle','<path d="M1 3.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-1zm0 4a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-1zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm8 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-4 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm8 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-4-4a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconBorderWidth=/*#__PURE__*/makeIcon('BorderWidth','<path d="M0 3.5A.5.5 0 0 1 .5 3h15a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2zm0 5A.5.5 0 0 1 .5 8h15a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-1zm0 4a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconBoundingBox=/*#__PURE__*/makeIcon('BoundingBox','<path fill-rule="evenodd" d="M5 2V0H0v5h2v6H0v5h5v-2h6v2h5v-5h-2V5h2V0h-5v2H5zm6 1H5v2H3v6h2v2h6v-2h2V5h-2V3zm1-2v3h3V1h-3zm3 11h-3v3h3v-3zM4 15v-3H1v3h3zM1 4h3V1H1v3z"/>');// eslint-disable-next-line
|
|
var BIconBoundingBoxCircles=/*#__PURE__*/makeIcon('BoundingBoxCircles','<path fill-rule="evenodd" d="M2 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM0 2a2 2 0 0 1 3.937-.5h8.126A2 2 0 1 1 14.5 3.937v8.126a2 2 0 1 1-2.437 2.437H3.937A2 2 0 1 1 1.5 12.063V3.937A2 2 0 0 1 0 2zm2.5 1.937v8.126c.703.18 1.256.734 1.437 1.437h8.126a2.004 2.004 0 0 1 1.437-1.437V3.937A2.004 2.004 0 0 1 12.063 2.5H3.937A2.004 2.004 0 0 1 2.5 3.937zM14 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM2 13a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm12 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconBox=/*#__PURE__*/makeIcon('Box','<path fill-rule="evenodd" d="M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5 8 5.961 14.154 3.5 8.186 1.113zM15 4.239l-6.5 2.6v7.922l6.5-2.6V4.24zM7.5 14.762V6.838L1 4.239v7.923l6.5 2.6zM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464L7.443.184z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowDown=/*#__PURE__*/makeIcon('BoxArrowDown','<path fill-rule="evenodd" d="M3.5 10a.5.5 0 0 1-.5-.5v-8a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 0 0 1h2A1.5 1.5 0 0 0 14 9.5v-8A1.5 1.5 0 0 0 12.5 0h-9A1.5 1.5 0 0 0 2 1.5v8A1.5 1.5 0 0 0 3.5 11h2a.5.5 0 0 0 0-1h-2z"/><path fill-rule="evenodd" d="M7.646 15.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 14.293V5.5a.5.5 0 0 0-1 0v8.793l-2.146-2.147a.5.5 0 0 0-.708.708l3 3z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowDownLeft=/*#__PURE__*/makeIcon('BoxArrowDownLeft','<path fill-rule="evenodd" d="M7.364 12.5a.5.5 0 0 0 .5.5H14.5a1.5 1.5 0 0 0 1.5-1.5v-10A1.5 1.5 0 0 0 14.5 0h-10A1.5 1.5 0 0 0 3 1.5v6.636a.5.5 0 1 0 1 0V1.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v10a.5.5 0 0 1-.5.5H7.864a.5.5 0 0 0-.5.5z"/><path fill-rule="evenodd" d="M0 15.5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 0-1H1.707l8.147-8.146a.5.5 0 0 0-.708-.708L1 14.293V10.5a.5.5 0 0 0-1 0v5z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowDownRight=/*#__PURE__*/makeIcon('BoxArrowDownRight','<path fill-rule="evenodd" d="M8.636 12.5a.5.5 0 0 1-.5.5H1.5A1.5 1.5 0 0 1 0 11.5v-10A1.5 1.5 0 0 1 1.5 0h10A1.5 1.5 0 0 1 13 1.5v6.636a.5.5 0 0 1-1 0V1.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h6.636a.5.5 0 0 1 .5.5z"/><path fill-rule="evenodd" d="M16 15.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1 0-1h3.793L6.146 6.854a.5.5 0 1 1 .708-.708L15 14.293V10.5a.5.5 0 0 1 1 0v5z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowInDown=/*#__PURE__*/makeIcon('BoxArrowInDown','<path fill-rule="evenodd" d="M3.5 6a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 1 0-1h2A1.5 1.5 0 0 1 14 6.5v8a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 14.5v-8A1.5 1.5 0 0 1 3.5 5h2a.5.5 0 0 1 0 1h-2z"/><path fill-rule="evenodd" d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowInDownLeft=/*#__PURE__*/makeIcon('BoxArrowInDownLeft','<path fill-rule="evenodd" d="M9.636 2.5a.5.5 0 0 0-.5-.5H2.5A1.5 1.5 0 0 0 1 3.5v10A1.5 1.5 0 0 0 2.5 15h10a1.5 1.5 0 0 0 1.5-1.5V6.864a.5.5 0 0 0-1 0V13.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z"/><path fill-rule="evenodd" d="M5 10.5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 0-1H6.707l8.147-8.146a.5.5 0 0 0-.708-.708L6 9.293V5.5a.5.5 0 0 0-1 0v5z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowInDownRight=/*#__PURE__*/makeIcon('BoxArrowInDownRight','<path fill-rule="evenodd" d="M6.364 2.5a.5.5 0 0 1 .5-.5H13.5A1.5 1.5 0 0 1 15 3.5v10a1.5 1.5 0 0 1-1.5 1.5h-10A1.5 1.5 0 0 1 2 13.5V6.864a.5.5 0 1 1 1 0V13.5a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5v-10a.5.5 0 0 0-.5-.5H6.864a.5.5 0 0 1-.5-.5z"/><path fill-rule="evenodd" d="M11 10.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1 0-1h3.793L1.146 1.854a.5.5 0 1 1 .708-.708L10 9.293V5.5a.5.5 0 0 1 1 0v5z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowInLeft=/*#__PURE__*/makeIcon('BoxArrowInLeft','<path fill-rule="evenodd" d="M10 3.5a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 1 1 0v2A1.5 1.5 0 0 1 9.5 14h-8A1.5 1.5 0 0 1 0 12.5v-9A1.5 1.5 0 0 1 1.5 2h8A1.5 1.5 0 0 1 11 3.5v2a.5.5 0 0 1-1 0v-2z"/><path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowInRight=/*#__PURE__*/makeIcon('BoxArrowInRight','<path fill-rule="evenodd" d="M6 3.5a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 0-1 0v2A1.5 1.5 0 0 0 6.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-8A1.5 1.5 0 0 0 5 3.5v2a.5.5 0 0 0 1 0v-2z"/><path fill-rule="evenodd" d="M11.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H1.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowInUp=/*#__PURE__*/makeIcon('BoxArrowInUp','<path fill-rule="evenodd" d="M3.5 10a.5.5 0 0 1-.5-.5v-8a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 0 0 1h2A1.5 1.5 0 0 0 14 9.5v-8A1.5 1.5 0 0 0 12.5 0h-9A1.5 1.5 0 0 0 2 1.5v8A1.5 1.5 0 0 0 3.5 11h2a.5.5 0 0 0 0-1h-2z"/><path fill-rule="evenodd" d="M7.646 4.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V14.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowInUpLeft=/*#__PURE__*/makeIcon('BoxArrowInUpLeft','<path fill-rule="evenodd" d="M9.636 13.5a.5.5 0 0 1-.5.5H2.5A1.5 1.5 0 0 1 1 12.5v-10A1.5 1.5 0 0 1 2.5 1h10A1.5 1.5 0 0 1 14 2.5v6.636a.5.5 0 0 1-1 0V2.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h6.636a.5.5 0 0 1 .5.5z"/><path fill-rule="evenodd" d="M5 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1H6.707l8.147 8.146a.5.5 0 0 1-.708.708L6 6.707V10.5a.5.5 0 0 1-1 0v-5z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowInUpRight=/*#__PURE__*/makeIcon('BoxArrowInUpRight','<path fill-rule="evenodd" d="M6.364 13.5a.5.5 0 0 0 .5.5H13.5a1.5 1.5 0 0 0 1.5-1.5v-10A1.5 1.5 0 0 0 13.5 1h-10A1.5 1.5 0 0 0 2 2.5v6.636a.5.5 0 1 0 1 0V2.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v10a.5.5 0 0 1-.5.5H6.864a.5.5 0 0 0-.5.5z"/><path fill-rule="evenodd" d="M11 5.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793l-8.147 8.146a.5.5 0 0 0 .708.708L10 6.707V10.5a.5.5 0 0 0 1 0v-5z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowLeft=/*#__PURE__*/makeIcon('BoxArrowLeft','<path fill-rule="evenodd" d="M6 12.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v2a.5.5 0 0 1-1 0v-2A1.5 1.5 0 0 1 6.5 2h8A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 5 12.5v-2a.5.5 0 0 1 1 0v2z"/><path fill-rule="evenodd" d="M.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L1.707 7.5H10.5a.5.5 0 0 1 0 1H1.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowRight=/*#__PURE__*/makeIcon('BoxArrowRight','<path fill-rule="evenodd" d="M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z"/><path fill-rule="evenodd" d="M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowUp=/*#__PURE__*/makeIcon('BoxArrowUp','<path fill-rule="evenodd" d="M3.5 6a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 1 0-1h2A1.5 1.5 0 0 1 14 6.5v8a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 14.5v-8A1.5 1.5 0 0 1 3.5 5h2a.5.5 0 0 1 0 1h-2z"/><path fill-rule="evenodd" d="M7.646.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 1.707V10.5a.5.5 0 0 1-1 0V1.707L5.354 3.854a.5.5 0 1 1-.708-.708l3-3z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowUpLeft=/*#__PURE__*/makeIcon('BoxArrowUpLeft','<path fill-rule="evenodd" d="M7.364 3.5a.5.5 0 0 1 .5-.5H14.5A1.5 1.5 0 0 1 16 4.5v10a1.5 1.5 0 0 1-1.5 1.5h-10A1.5 1.5 0 0 1 3 14.5V7.864a.5.5 0 1 1 1 0V14.5a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5v-10a.5.5 0 0 0-.5-.5H7.864a.5.5 0 0 1-.5-.5z"/><path fill-rule="evenodd" d="M0 .5A.5.5 0 0 1 .5 0h5a.5.5 0 0 1 0 1H1.707l8.147 8.146a.5.5 0 0 1-.708.708L1 1.707V5.5a.5.5 0 0 1-1 0v-5z"/>');// eslint-disable-next-line
|
|
var BIconBoxArrowUpRight=/*#__PURE__*/makeIcon('BoxArrowUpRight','<path fill-rule="evenodd" d="M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z"/><path fill-rule="evenodd" d="M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z"/>');// eslint-disable-next-line
|
|
var BIconBoxSeam=/*#__PURE__*/makeIcon('BoxSeam','<path fill-rule="evenodd" d="M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5l2.404.961L10.404 2l-2.218-.887zm3.564 1.426L5.596 5 8 5.961 14.154 3.5l-2.404-.961zm3.25 1.7l-6.5 2.6v7.922l6.5-2.6V4.24zM7.5 14.762V6.838L1 4.239v7.923l6.5 2.6zM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464L7.443.184z"/>');// eslint-disable-next-line
|
|
var BIconBraces=/*#__PURE__*/makeIcon('Braces','<path d="M2.114 8.063V7.9c1.005-.102 1.497-.615 1.497-1.6V4.503c0-1.094.39-1.538 1.354-1.538h.273V2h-.376C3.25 2 2.49 2.759 2.49 4.352v1.524c0 1.094-.376 1.456-1.49 1.456v1.299c1.114 0 1.49.362 1.49 1.456v1.524c0 1.593.759 2.352 2.372 2.352h.376v-.964h-.273c-.964 0-1.354-.444-1.354-1.538V9.663c0-.984-.492-1.497-1.497-1.6zM13.886 7.9v.163c-1.005.103-1.497.616-1.497 1.6v1.798c0 1.094-.39 1.538-1.354 1.538h-.273v.964h.376c1.613 0 2.372-.759 2.372-2.352v-1.524c0-1.094.376-1.456 1.49-1.456V7.332c-1.114 0-1.49-.362-1.49-1.456V4.352C13.51 2.759 12.75 2 11.138 2h-.376v.964h.273c.964 0 1.354.444 1.354 1.538V6.3c0 .984.492 1.497 1.497 1.6z"/>');// eslint-disable-next-line
|
|
var BIconBricks=/*#__PURE__*/makeIcon('Bricks','<path fill-rule="evenodd" d="M0 .5A.5.5 0 0 1 .5 0h15a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5H14v2h1.5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5H14v2h1.5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5H2v-2H.5a.5.5 0 0 1-.5-.5v-3A.5.5 0 0 1 .5 6H2V4H.5a.5.5 0 0 1-.5-.5v-3zM3 4v2h4.5V4H3zm5.5 0v2H13V4H8.5zM3 10v2h4.5v-2H3zm5.5 0v2H13v-2H8.5zM1 1v2h3.5V1H1zm4.5 0v2H15V1H5.5zM1 7v2h3.5V7H1zm4.5 0v2h5V7h-5zm6 0v2H15V7h-3.5zM1 13v2h3.5v-2H1zm4.5 0v2h5v-2h-5zm6 0v2H15v-2h-3.5z"/>');// eslint-disable-next-line
|
|
var BIconBriefcase=/*#__PURE__*/makeIcon('Briefcase','<path fill-rule="evenodd" d="M0 12.5A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-6h-1v6a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-6H0v6z"/><path fill-rule="evenodd" d="M0 4.5A1.5 1.5 0 0 1 1.5 3h13A1.5 1.5 0 0 1 16 4.5v2.384l-7.614 2.03a1.5 1.5 0 0 1-.772 0L0 6.884V4.5zM1.5 4a.5.5 0 0 0-.5.5v1.616l6.871 1.832a.5.5 0 0 0 .258 0L15 6.116V4.5a.5.5 0 0 0-.5-.5h-13zM5 2.5A1.5 1.5 0 0 1 6.5 1h3A1.5 1.5 0 0 1 11 2.5V3h-1v-.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V3H5v-.5z"/>');// eslint-disable-next-line
|
|
var BIconBriefcaseFill=/*#__PURE__*/makeIcon('BriefcaseFill','<path fill-rule="evenodd" d="M0 12.5A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5V6.85L8.129 8.947a.5.5 0 0 1-.258 0L0 6.85v5.65z"/><path fill-rule="evenodd" d="M0 4.5A1.5 1.5 0 0 1 1.5 3h13A1.5 1.5 0 0 1 16 4.5v1.384l-7.614 2.03a1.5 1.5 0 0 1-.772 0L0 5.884V4.5zm5-2A1.5 1.5 0 0 1 6.5 1h3A1.5 1.5 0 0 1 11 2.5V3h-1v-.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V3H5v-.5z"/>');// eslint-disable-next-line
|
|
var BIconBrightnessAltHigh=/*#__PURE__*/makeIcon('BrightnessAltHigh','<path fill-rule="evenodd" d="M5.041 10.5h5.918a3 3 0 0 0-5.918 0zM4 11a4 4 0 1 1 8 0 .5.5 0 0 1-.5.5h-7A.5.5 0 0 1 4 11zm4-8a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 3zm8 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 11a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.414a.5.5 0 1 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zM4.464 7.464a.5.5 0 0 1-.707 0L2.343 6.05a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707z"/>');// eslint-disable-next-line
|
|
var BIconBrightnessAltHighFill=/*#__PURE__*/makeIcon('BrightnessAltHighFill','<path fill-rule="evenodd" d="M4 11a4 4 0 1 1 8 0 .5.5 0 0 1-.5.5h-7A.5.5 0 0 1 4 11zm4-8a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 3zm8 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 11a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.414a.5.5 0 1 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zM4.464 7.464a.5.5 0 0 1-.707 0L2.343 6.05a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707z"/>');// eslint-disable-next-line
|
|
var BIconBrightnessAltLow=/*#__PURE__*/makeIcon('BrightnessAltLow','<path d="M8.5 5.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm5 6a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-11 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9.743-4.036a.5.5 0 1 1-.707-.707.5.5 0 0 1 .707.707zm-8.486 0a.5.5 0 1 1 .707-.707.5.5 0 0 1-.707.707z"/><path fill-rule="evenodd" d="M5.041 10.5h5.918a3 3 0 0 0-5.918 0zM4 11a4 4 0 1 1 8 0 .5.5 0 0 1-.5.5h-7A.5.5 0 0 1 4 11z"/>');// eslint-disable-next-line
|
|
var BIconBrightnessAltLowFill=/*#__PURE__*/makeIcon('BrightnessAltLowFill','<path d="M8.5 5.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm5 6a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-11 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9.743-4.036a.5.5 0 1 1-.707-.707.5.5 0 0 1 .707.707zm-8.486 0a.5.5 0 1 1 .707-.707.5.5 0 0 1-.707.707z"/><path fill-rule="evenodd" d="M4 11a4 4 0 1 1 8 0 .5.5 0 0 1-.5.5h-7A.5.5 0 0 1 4 11z"/>');// eslint-disable-next-line
|
|
var BIconBrightnessHigh=/*#__PURE__*/makeIcon('BrightnessHigh','<path fill-rule="evenodd" d="M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z"/>');// eslint-disable-next-line
|
|
var BIconBrightnessHighFill=/*#__PURE__*/makeIcon('BrightnessHighFill','<path d="M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0z"/><path fill-rule="evenodd" d="M8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z"/>');// eslint-disable-next-line
|
|
var BIconBrightnessLow=/*#__PURE__*/makeIcon('BrightnessLow','<path fill-rule="evenodd" d="M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8z"/><path d="M8.5 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm0 11a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm5-5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-11 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9.743-4.036a.5.5 0 1 1-.707-.707.5.5 0 0 1 .707.707zm-7.779 7.779a.5.5 0 1 1-.707-.707.5.5 0 0 1 .707.707zm7.072 0a.5.5 0 1 1 .707-.707.5.5 0 0 1-.707.707zM3.757 4.464a.5.5 0 1 1 .707-.707.5.5 0 0 1-.707.707z"/>');// eslint-disable-next-line
|
|
var BIconBrightnessLowFill=/*#__PURE__*/makeIcon('BrightnessLowFill','<path d="M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0zM8.5 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm0 11a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm5-5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-11 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9.743-4.036a.5.5 0 1 1-.707-.707.5.5 0 0 1 .707.707zm-7.779 7.779a.5.5 0 1 1-.707-.707.5.5 0 0 1 .707.707zm7.072 0a.5.5 0 1 1 .707-.707.5.5 0 0 1-.707.707zM3.757 4.464a.5.5 0 1 1 .707-.707.5.5 0 0 1-.707.707z"/>');// eslint-disable-next-line
|
|
var BIconBroadcast=/*#__PURE__*/makeIcon('Broadcast','<path fill-rule="evenodd" d="M3.05 3.05a7 7 0 0 0 0 9.9.5.5 0 0 1-.707.707 8 8 0 0 1 0-11.314.5.5 0 0 1 .707.707zm2.122 2.122a4 4 0 0 0 0 5.656.5.5 0 0 1-.708.708 5 5 0 0 1 0-7.072.5.5 0 0 1 .708.708zm5.656-.708a.5.5 0 0 1 .708 0 5 5 0 0 1 0 7.072.5.5 0 1 1-.708-.708 4 4 0 0 0 0-5.656.5.5 0 0 1 0-.708zm2.122-2.12a.5.5 0 0 1 .707 0 8 8 0 0 1 0 11.313.5.5 0 0 1-.707-.707 7 7 0 0 0 0-9.9.5.5 0 0 1 0-.707z"/><path d="M10 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"/>');// eslint-disable-next-line
|
|
var BIconBroadcastPin=/*#__PURE__*/makeIcon('BroadcastPin','<path fill-rule="evenodd" d="M3.05 3.05a7 7 0 0 0 0 9.9.5.5 0 0 1-.707.707 8 8 0 0 1 0-11.314.5.5 0 0 1 .707.707zm2.122 2.122a4 4 0 0 0 0 5.656.5.5 0 0 1-.708.708 5 5 0 0 1 0-7.072.5.5 0 0 1 .708.708zm5.656-.708a.5.5 0 0 1 .708 0 5 5 0 0 1 0 7.072.5.5 0 1 1-.708-.708 4 4 0 0 0 0-5.656.5.5 0 0 1 0-.708zm2.122-2.12a.5.5 0 0 1 .707 0 8 8 0 0 1 0 11.313.5.5 0 0 1-.707-.707 7 7 0 0 0 0-9.9.5.5 0 0 1 0-.707zM6 8a2 2 0 1 1 2.5 1.937V15.5a.5.5 0 0 1-1 0V9.937A2 2 0 0 1 6 8z"/>');// eslint-disable-next-line
|
|
var BIconBrush=/*#__PURE__*/makeIcon('Brush','<path fill-rule="evenodd" d="M15.825.12a.5.5 0 0 1 .132.584c-1.53 3.43-4.743 8.17-7.095 10.64a6.067 6.067 0 0 1-2.373 1.534c-.018.227-.06.538-.16.868-.201.659-.667 1.479-1.708 1.74a8.117 8.117 0 0 1-3.078.132 3.658 3.658 0 0 1-.563-.135 1.382 1.382 0 0 1-.465-.247.714.714 0 0 1-.204-.288.622.622 0 0 1 .004-.443c.095-.245.316-.38.461-.452.393-.197.625-.453.867-.826.094-.144.184-.297.287-.472l.117-.198c.151-.255.326-.54.546-.848.528-.739 1.2-.925 1.746-.896.126.007.243.025.348.048.062-.172.142-.38.238-.608.261-.619.658-1.419 1.187-2.069 2.175-2.67 6.18-6.206 9.117-8.104a.5.5 0 0 1 .596.04zM4.705 11.912a1.23 1.23 0 0 0-.419-.1c-.247-.013-.574.05-.88.479a11.01 11.01 0 0 0-.5.777l-.104.177c-.107.181-.213.362-.32.528-.206.317-.438.61-.76.861a7.127 7.127 0 0 0 2.657-.12c.559-.139.843-.569.993-1.06a3.121 3.121 0 0 0 .126-.75l-.793-.792zm1.44.026c.12-.04.277-.1.458-.183a5.068 5.068 0 0 0 1.535-1.1c1.9-1.996 4.412-5.57 6.052-8.631-2.591 1.927-5.566 4.66-7.302 6.792-.442.543-.796 1.243-1.042 1.826a11.507 11.507 0 0 0-.276.721l.575.575zm-4.973 3.04l.007-.005a.031.031 0 0 1-.007.004zm3.582-3.043l.002.001h-.002z"/>');// eslint-disable-next-line
|
|
var BIconBrushFill=/*#__PURE__*/makeIcon('BrushFill','<path fill-rule="evenodd" d="M15.825.12a.5.5 0 0 1 .132.584c-1.53 3.43-4.743 8.17-7.095 10.64a6.067 6.067 0 0 1-2.373 1.534c-.018.227-.06.538-.16.868-.201.659-.667 1.479-1.708 1.74a8.117 8.117 0 0 1-3.078.132 3.658 3.658 0 0 1-.563-.135 1.382 1.382 0 0 1-.465-.247.714.714 0 0 1-.204-.288.622.622 0 0 1 .004-.443c.095-.245.316-.38.461-.452.393-.197.625-.453.867-.826.094-.144.184-.297.287-.472l.117-.198c.151-.255.326-.54.546-.848.528-.739 1.2-.925 1.746-.896.126.007.243.025.348.048.062-.172.142-.38.238-.608.261-.619.658-1.419 1.187-2.069 2.175-2.67 6.18-6.206 9.117-8.104a.5.5 0 0 1 .596.04z"/>');// eslint-disable-next-line
|
|
var BIconBucket=/*#__PURE__*/makeIcon('Bucket','<path fill-rule="evenodd" d="M2.522 5H2a.5.5 0 0 0-.494.574l1.372 9.149A1.5 1.5 0 0 0 4.36 16h7.278a1.5 1.5 0 0 0 1.483-1.277l1.373-9.149A.5.5 0 0 0 14 5h-.522A5.5 5.5 0 0 0 2.522 5zm1.005 0h8.945a4.5 4.5 0 0 0-8.945 0zm9.892 1H2.581l1.286 8.574A.5.5 0 0 0 4.36 15h7.278a.5.5 0 0 0 .494-.426L13.42 6z"/>');// eslint-disable-next-line
|
|
var BIconBucketFill=/*#__PURE__*/makeIcon('BucketFill','<path fill-rule="evenodd" d="M2.522 5H2a.5.5 0 0 0-.494.574l1.372 9.149A1.5 1.5 0 0 0 4.36 16h7.278a1.5 1.5 0 0 0 1.483-1.277l1.373-9.149A.5.5 0 0 0 14 5h-.522A5.5 5.5 0 0 0 2.522 5zm1.005 0h8.945a4.5 4.5 0 0 0-8.945 0z"/>');// eslint-disable-next-line
|
|
var BIconBug=/*#__PURE__*/makeIcon('Bug','<path fill-rule="evenodd" d="M4.355.522a.5.5 0 0 1 .623.333l.291.956A4.979 4.979 0 0 1 8 1c1.007 0 1.946.298 2.731.811l.29-.956a.5.5 0 1 1 .957.29l-.41 1.352A4.985 4.985 0 0 1 13 6h.5a.5.5 0 0 0 .5-.5V5a.5.5 0 0 1 1 0v.5A1.5 1.5 0 0 1 13.5 7H13v1h1.5a.5.5 0 0 1 0 1H13v1h.5a1.5 1.5 0 0 1 1.5 1.5v.5a.5.5 0 1 1-1 0v-.5a.5.5 0 0 0-.5-.5H13a5 5 0 0 1-10 0h-.5a.5.5 0 0 0-.5.5v.5a.5.5 0 1 1-1 0v-.5A1.5 1.5 0 0 1 2.5 10H3V9H1.5a.5.5 0 0 1 0-1H3V7h-.5A1.5 1.5 0 0 1 1 5.5V5a.5.5 0 0 1 1 0v.5a.5.5 0 0 0 .5.5H3c0-1.364.547-2.601 1.432-3.503l-.41-1.352a.5.5 0 0 1 .333-.623zM4 7v4a4 4 0 0 0 3.5 3.97V7H4zm4.5 0v7.97A4 4 0 0 0 12 11V7H8.5zM12 6H4a3.99 3.99 0 0 1 1.333-2.982A3.983 3.983 0 0 1 8 2c1.025 0 1.959.385 2.666 1.018A3.989 3.989 0 0 1 12 6z"/>');// eslint-disable-next-line
|
|
var BIconBugFill=/*#__PURE__*/makeIcon('BugFill','<path fill-rule="evenodd" d="M4.978.855a.5.5 0 1 0-.956.29l.41 1.352A4.985 4.985 0 0 0 3 6h10a4.985 4.985 0 0 0-1.432-3.503l.41-1.352a.5.5 0 1 0-.956-.29l-.291.956A4.978 4.978 0 0 0 8 1a4.979 4.979 0 0 0-2.731.811l-.29-.956zM13 6v1H8.5v8.975A5 5 0 0 0 13 11h.5a.5.5 0 0 1 .5.5v.5a.5.5 0 1 0 1 0v-.5a1.5 1.5 0 0 0-1.5-1.5H13V9h1.5a.5.5 0 0 0 0-1H13V7h.5A1.5 1.5 0 0 0 15 5.5V5a.5.5 0 0 0-1 0v.5a.5.5 0 0 1-.5.5H13zm-5.5 9.975V7H3V6h-.5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 0-1 0v.5A1.5 1.5 0 0 0 2.5 7H3v1H1.5a.5.5 0 0 0 0 1H3v1h-.5A1.5 1.5 0 0 0 1 11.5v.5a.5.5 0 1 0 1 0v-.5a.5.5 0 0 1 .5-.5H3a5 5 0 0 0 4.5 4.975z"/>');// eslint-disable-next-line
|
|
var BIconBuilding=/*#__PURE__*/makeIcon('Building','<path fill-rule="evenodd" d="M14.763.075A.5.5 0 0 1 15 .5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V14h-1v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .342-.474L6 7.64V4.5a.5.5 0 0 1 .276-.447l8-4a.5.5 0 0 1 .487.022zM6 8.694L1 10.36V15h5V8.694zM7 15h2v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V15h2V1.309l-7 3.5V15z"/><path d="M2 11h1v1H2v-1zm2 0h1v1H4v-1zm-2 2h1v1H2v-1zm2 0h1v1H4v-1zm4-4h1v1H8V9zm2 0h1v1h-1V9zm-2 2h1v1H8v-1zm2 0h1v1h-1v-1zm2-2h1v1h-1V9zm0 2h1v1h-1v-1zM8 7h1v1H8V7zm2 0h1v1h-1V7zm2 0h1v1h-1V7zM8 5h1v1H8V5zm2 0h1v1h-1V5zm2 0h1v1h-1V5zm0-2h1v1h-1V3z"/>');// eslint-disable-next-line
|
|
var BIconBullseye=/*#__PURE__*/makeIcon('Bullseye','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10zm0 1A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"/><path fill-rule="evenodd" d="M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8z"/><path d="M9.5 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconCalculator=/*#__PURE__*/makeIcon('Calculator','<path fill-rule="evenodd" d="M12 1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4z"/><path d="M4 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-2zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-4z"/>');// eslint-disable-next-line
|
|
var BIconCalculatorFill=/*#__PURE__*/makeIcon('CalculatorFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm2 .5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-2zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zM4.5 9a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zM4 12.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zM7.5 6a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zM7 9.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm.5 2.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zM10 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm.5 2.5a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendar=/*#__PURE__*/makeIcon('Calendar','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2=/*#__PURE__*/makeIcon('Calendar2','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Check=/*#__PURE__*/makeIcon('Calendar2Check','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4z"/><path fill-rule="evenodd" d="M10.854 8.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 10.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2CheckFill=/*#__PURE__*/makeIcon('Calendar2CheckFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zm8.854 5.354a.5.5 0 0 0-.708-.708L7.5 10.793 6.354 9.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Date=/*#__PURE__*/makeIcon('Calendar2Date','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4zm3.945 8.688V7.354h-.633A12.6 12.6 0 0 0 4.5 8.16v.695c.375-.257.969-.62 1.258-.777h.012v4.61h.675zm1.188-1.305c.047.64.594 1.406 1.703 1.406 1.258 0 2-1.066 2-2.871 0-1.934-.781-2.668-1.953-2.668-.926 0-1.797.672-1.797 1.809 0 1.16.824 1.77 1.676 1.77.746 0 1.23-.376 1.383-.79h.027c-.004 1.316-.461 2.164-1.305 2.164-.664 0-1.008-.45-1.05-.82h-.684zm2.953-2.317c0 .696-.559 1.18-1.184 1.18-.601 0-1.144-.383-1.144-1.2 0-.823.582-1.21 1.168-1.21.633 0 1.16.398 1.16 1.23z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2DateFill=/*#__PURE__*/makeIcon('Calendar2DateFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zm7.336 9.29c-1.11 0-1.656-.767-1.703-1.407h.683c.043.37.387.82 1.051.82.844 0 1.301-.848 1.305-2.164h-.027c-.153.414-.637.79-1.383.79-.852 0-1.676-.61-1.676-1.77 0-1.137.871-1.809 1.797-1.809 1.172 0 1.953.734 1.953 2.668 0 1.805-.742 2.871-2 2.871zm.066-2.544c.625 0 1.184-.484 1.184-1.18 0-.832-.527-1.23-1.16-1.23-.586 0-1.168.387-1.168 1.21 0 .817.543 1.2 1.144 1.2zm-2.957-2.89v5.332H5.77v-4.61h-.012c-.29.156-.883.52-1.258.777V8.16a12.6 12.6 0 0 1 1.313-.805h.632z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Day=/*#__PURE__*/makeIcon('Calendar2Day','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4zm2.184 8.523v-2.3h2.261v-.61H4.684V7.801h2.464v-.61H4v5.332h.684zm3.296 0h.676V9.98c0-.554.227-1.007.953-1.007.125 0 .258.004.329.015v-.613a1.806 1.806 0 0 0-.254-.02c-.582 0-.891.32-1.012.567h-.02v-.504H7.98v4.105zm2.805-5.093c0 .238.192.425.43.425a.428.428 0 1 0 0-.855.426.426 0 0 0-.43.43zm.094 5.093h.672V8.418h-.672v4.105z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2DayFill=/*#__PURE__*/makeIcon('Calendar2DayFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zm9.215 4.355a.425.425 0 0 1-.43-.425c0-.242.192-.43.43-.43a.428.428 0 1 1 0 .855zm.336.563v4.105h-.672V8.418h.672zm-6.867 4.105v-2.3h2.261v-.61H4.684V7.801h2.464v-.61H4v5.332h.684zm3.296 0h.676V9.98c0-.554.227-1.007.953-1.007.125 0 .258.004.329.015v-.613a1.806 1.806 0 0 0-.254-.02c-.582 0-.891.32-1.012.567h-.02v-.504H7.98v4.105z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Event=/*#__PURE__*/makeIcon('Calendar2Event','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4zM11 7.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2EventFill=/*#__PURE__*/makeIcon('Calendar2EventFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zM11.5 7a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Fill=/*#__PURE__*/makeIcon('Calendar2Fill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM2.545 3c-.3 0-.545.224-.545.5v1c0 .276.244.5.545.5h10.91c.3 0 .545-.224.545-.5v-1c0-.276-.244-.5-.546-.5H2.545z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Minus=/*#__PURE__*/makeIcon('Calendar2Minus','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4z"/><path fill-rule="evenodd" d="M5.5 10.5A.5.5 0 0 1 6 10h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2MinusFill=/*#__PURE__*/makeIcon('Calendar2MinusFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zM6 10a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Month=/*#__PURE__*/makeIcon('Calendar2Month','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4zm.06 8.332l.54-1.602h1.984l.54 1.602h.718L4.444 7h-.696L1.85 12.332h.71zm1.544-4.527L4.9 10.18H3.284l.8-2.375h.02zm5.746.422h-.676v2.543c0 .652-.414 1.023-1.004 1.023-.539 0-.98-.246-.98-1.012V8.227h-.676v2.746c0 .941.606 1.425 1.453 1.425.656 0 1.043-.28 1.188-.605h.027v.539h.668V8.227zm2.258 5.046c-.563 0-.91-.304-.985-.636h-.687c.094.683.625 1.199 1.668 1.199.93 0 1.746-.527 1.746-1.578V8.227h-.649v.578h-.019c-.191-.348-.637-.64-1.195-.64-.965 0-1.64.679-1.64 1.886v.34c0 1.23.683 1.902 1.64 1.902.558 0 1.008-.293 1.172-.648h.02v.605c0 .645-.423 1.023-1.071 1.023zm.008-4.53c.648 0 1.062.527 1.062 1.359v.253c0 .848-.39 1.364-1.062 1.364-.692 0-1.098-.512-1.098-1.364v-.253c0-.868.406-1.36 1.098-1.36z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2MonthFill=/*#__PURE__*/makeIcon('Calendar2MonthFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zm.56 8.832l.54-1.602h1.984l.54 1.602h.718L4.444 7h-.696L1.85 12.332h.71zm1.544-4.527L4.9 10.18H3.284l.8-2.375h.02zm5.746.422h-.676v2.543c0 .652-.414 1.023-1.004 1.023-.539 0-.98-.246-.98-1.012V8.227h-.676v2.746c0 .941.606 1.425 1.453 1.425.656 0 1.043-.28 1.188-.605h.027v.539h.668V8.227zm1.273 4.41c.075.332.422.636.985.636.648 0 1.07-.378 1.07-1.023v-.605h-.02c-.163.355-.613.648-1.171.648-.957 0-1.64-.672-1.64-1.902v-.34c0-1.207.675-1.887 1.64-1.887.558 0 1.004.293 1.195.64h.02v-.577h.648v4.03c0 1.052-.816 1.579-1.746 1.579-1.043 0-1.574-.516-1.668-1.2h.687zm2.055-2.535c0-.832-.414-1.36-1.062-1.36-.692 0-1.098.492-1.098 1.36v.253c0 .852.406 1.364 1.098 1.364.671 0 1.062-.516 1.062-1.364v-.253z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Plus=/*#__PURE__*/makeIcon('Calendar2Plus','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4z"/><path fill-rule="evenodd" d="M8 8a.5.5 0 0 1 .5.5V10H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V11H6a.5.5 0 0 1 0-1h1.5V8.5A.5.5 0 0 1 8 8z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2PlusFill=/*#__PURE__*/makeIcon('Calendar2PlusFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zm6.5 5a.5.5 0 0 0-1 0V10H6a.5.5 0 0 0 0 1h1.5v1.5a.5.5 0 0 0 1 0V11H10a.5.5 0 0 0 0-1H8.5V8.5z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Range=/*#__PURE__*/makeIcon('Calendar2Range','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4zM9 8a1 1 0 0 1 1-1h5v2h-5a1 1 0 0 1-1-1zm-8 2h4a1 1 0 1 1 0 2H1v-2z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2RangeFill=/*#__PURE__*/makeIcon('Calendar2RangeFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zM10 7a1 1 0 0 0 0 2h5V7h-5zm-4 4a1 1 0 0 0-1-1H1v2h4a1 1 0 0 0 1-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2Week=/*#__PURE__*/makeIcon('Calendar2Week','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4zM11 7.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-5 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2WeekFill=/*#__PURE__*/makeIcon('Calendar2WeekFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zM8.5 7a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm3 0a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zM3 10.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2X=/*#__PURE__*/makeIcon('Calendar2X','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/><path d="M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4z"/><path fill-rule="evenodd" d="M6.146 8.146a.5.5 0 0 1 .708 0L8 9.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 10l1.147 1.146a.5.5 0 0 1-.708.708L8 10.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 10 6.146 8.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconCalendar2XFill=/*#__PURE__*/makeIcon('Calendar2XFill','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 3.5c0-.276.244-.5.545-.5h10.91c.3 0 .545.224.545.5v1c0 .276-.244.5-.546.5H2.545C2.245 5 2 4.776 2 4.5v-1zm4.854 4.646a.5.5 0 1 0-.708.708L7.293 10l-1.147 1.146a.5.5 0 0 0 .708.708L8 10.707l1.146 1.147a.5.5 0 0 0 .708-.708L8.707 10l1.147-1.146a.5.5 0 0 0-.708-.708L8 9.293 6.854 8.146z"/>');// eslint-disable-next-line
|
|
var BIconCalendar3=/*#__PURE__*/makeIcon('Calendar3','<path fill-rule="evenodd" d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"/><path fill-rule="evenodd" d="M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconCalendar3Event=/*#__PURE__*/makeIcon('Calendar3Event','<path fill-rule="evenodd" d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"/><path fill-rule="evenodd" d="M12 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconCalendar3EventFill=/*#__PURE__*/makeIcon('Calendar3EventFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2h16a2 2 0 0 0-2-2H2zm14 3H0v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3zm-2 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconCalendar3Fill=/*#__PURE__*/makeIcon('Calendar3Fill','<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2H0z"/><path fill-rule="evenodd" d="M0 3h16v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3z"/>');// eslint-disable-next-line
|
|
var BIconCalendar3Range=/*#__PURE__*/makeIcon('Calendar3Range','<path fill-rule="evenodd" d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"/><path fill-rule="evenodd" d="M7 10a1 1 0 0 0 0-2H1v2h6zm2-3a1 1 0 0 1 0-2h6v2H9z"/>');// eslint-disable-next-line
|
|
var BIconCalendar3RangeFill=/*#__PURE__*/makeIcon('Calendar3RangeFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2h16a2 2 0 0 0-2-2H2zm14 3H0v5h6a1 1 0 0 1 0 2H0v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7h-6a1 1 0 1 1 0-2h6V3z"/>');// eslint-disable-next-line
|
|
var BIconCalendar3Week=/*#__PURE__*/makeIcon('Calendar3Week','<path fill-rule="evenodd" d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"/><path fill-rule="evenodd" d="M12 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-5 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2-3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-5 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconCalendar3WeekFill=/*#__PURE__*/makeIcon('Calendar3WeekFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2h16a2 2 0 0 0-2-2H2zm14 3H0v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3zm-2 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM4 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconCalendar4=/*#__PURE__*/makeIcon('Calendar4','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1H2zm13 3H1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5z"/>');// eslint-disable-next-line
|
|
var BIconCalendar4Event=/*#__PURE__*/makeIcon('Calendar4Event','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1H2zm13 3H1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5z"/><rect width="2" height="2" x="11" y="7" rx=".5"/>');// eslint-disable-next-line
|
|
var BIconCalendar4Range=/*#__PURE__*/makeIcon('Calendar4Range','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1H2zm13 3H1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5z"/><path d="M9 7.5a.5.5 0 0 1 .5-.5H15v2H9.5a.5.5 0 0 1-.5-.5v-1zm-2 3a.5.5 0 0 0-.5-.5H1v2h5.5a.5.5 0 0 0 .5-.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendar4Week=/*#__PURE__*/makeIcon('Calendar4Week','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1H2zm13 3H1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5z"/><path d="M11 7.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-2 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendarCheck=/*#__PURE__*/makeIcon('CalendarCheck','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path fill-rule="evenodd" d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconCalendarCheckFill=/*#__PURE__*/makeIcon('CalendarCheckFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2zm-5.146-5.146a.5.5 0 0 0-.708-.708L7.5 10.793 6.354 9.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconCalendarDate=/*#__PURE__*/makeIcon('CalendarDate','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path d="M6.445 11.688V6.354h-.633A12.6 12.6 0 0 0 4.5 7.16v.695c.375-.257.969-.62 1.258-.777h.012v4.61h.675zm1.188-1.305c.047.64.594 1.406 1.703 1.406 1.258 0 2-1.066 2-2.871 0-1.934-.781-2.668-1.953-2.668-.926 0-1.797.672-1.797 1.809 0 1.16.824 1.77 1.676 1.77.746 0 1.23-.376 1.383-.79h.027c-.004 1.316-.461 2.164-1.305 2.164-.664 0-1.008-.45-1.05-.82h-.684zm2.953-2.317c0 .696-.559 1.18-1.184 1.18-.601 0-1.144-.383-1.144-1.2 0-.823.582-1.21 1.168-1.21.633 0 1.16.398 1.16 1.23z"/>');// eslint-disable-next-line
|
|
var BIconCalendarDateFill=/*#__PURE__*/makeIcon('CalendarDateFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2zm-6.664-1.21c-1.11 0-1.656-.767-1.703-1.407h.683c.043.37.387.82 1.051.82.844 0 1.301-.848 1.305-2.164h-.027c-.153.414-.637.79-1.383.79-.852 0-1.676-.61-1.676-1.77 0-1.137.871-1.809 1.797-1.809 1.172 0 1.953.734 1.953 2.668 0 1.805-.742 2.871-2 2.871zm.066-2.544c.625 0 1.184-.484 1.184-1.18 0-.832-.527-1.23-1.16-1.23-.586 0-1.168.387-1.168 1.21 0 .817.543 1.2 1.144 1.2zm-2.957-2.89v5.332H5.77v-4.61h-.012c-.29.156-.883.52-1.258.777V8.16a12.6 12.6 0 0 1 1.313-.805h.632z"/>');// eslint-disable-next-line
|
|
var BIconCalendarDay=/*#__PURE__*/makeIcon('CalendarDay','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path d="M4.684 11.523v-2.3h2.261v-.61H4.684V6.801h2.464v-.61H4v5.332h.684zm3.296 0h.676V8.98c0-.554.227-1.007.953-1.007.125 0 .258.004.329.015v-.613a1.806 1.806 0 0 0-.254-.02c-.582 0-.891.32-1.012.567h-.02v-.504H7.98v4.105zm2.805-5.093c0 .238.192.425.43.425a.428.428 0 1 0 0-.855.426.426 0 0 0-.43.43zm.094 5.093h.672V7.418h-.672v4.105z"/>');// eslint-disable-next-line
|
|
var BIconCalendarDayFill=/*#__PURE__*/makeIcon('CalendarDayFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2zm-4.785-6.145a.425.425 0 0 1-.43-.425c0-.242.192-.43.43-.43a.428.428 0 1 1 0 .855zm.336.563v4.105h-.672V8.418h.672zm-6.867 4.105v-2.3h2.261v-.61H4.684V7.801h2.464v-.61H4v5.332h.684zm3.296 0h.676V9.98c0-.554.227-1.007.953-1.007.125 0 .258.004.329.015v-.613a1.806 1.806 0 0 0-.254-.02c-.582 0-.891.32-1.012.567h-.02v-.504H7.98v4.105z"/>');// eslint-disable-next-line
|
|
var BIconCalendarEvent=/*#__PURE__*/makeIcon('CalendarEvent','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path d="M11 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendarEventFill=/*#__PURE__*/makeIcon('CalendarEventFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2zm-3.5-7a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendarFill=/*#__PURE__*/makeIcon('CalendarFill','<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5h16V4H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCalendarMinus=/*#__PURE__*/makeIcon('CalendarMinus','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path fill-rule="evenodd" d="M5.5 9.5A.5.5 0 0 1 6 9h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCalendarMinusFill=/*#__PURE__*/makeIcon('CalendarMinusFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2zM6 10a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconCalendarMonth=/*#__PURE__*/makeIcon('CalendarMonth','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path d="M2.56 11.332L3.1 9.73h1.984l.54 1.602h.718L4.444 6h-.696L1.85 11.332h.71zm1.544-4.527L4.9 9.18H3.284l.8-2.375h.02zm5.746.422h-.676V9.77c0 .652-.414 1.023-1.004 1.023-.539 0-.98-.246-.98-1.012V7.227h-.676v2.746c0 .941.606 1.425 1.453 1.425.656 0 1.043-.28 1.188-.605h.027v.539h.668V7.227zm2.258 5.046c-.563 0-.91-.304-.985-.636h-.687c.094.683.625 1.199 1.668 1.199.93 0 1.746-.527 1.746-1.578V7.227h-.649v.578h-.019c-.191-.348-.637-.64-1.195-.64-.965 0-1.64.679-1.64 1.886v.34c0 1.23.683 1.902 1.64 1.902.558 0 1.008-.293 1.172-.648h.02v.605c0 .645-.423 1.023-1.071 1.023zm.008-4.53c.648 0 1.062.527 1.062 1.359v.253c0 .848-.39 1.364-1.062 1.364-.692 0-1.098-.512-1.098-1.364v-.253c0-.868.406-1.36 1.098-1.36z"/>');// eslint-disable-next-line
|
|
var BIconCalendarMonthFill=/*#__PURE__*/makeIcon('CalendarMonthFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2zM2.56 12.332l.54-1.602h1.984l.54 1.602h.718L4.444 7h-.696L1.85 12.332h.71zm1.544-4.527L4.9 10.18H3.284l.8-2.375h.02zm5.746.422h-.676v2.543c0 .652-.414 1.023-1.004 1.023-.539 0-.98-.246-.98-1.012V8.227h-.676v2.746c0 .941.606 1.425 1.453 1.425.656 0 1.043-.28 1.188-.605h.027v.539h.668V8.227zm1.273 4.41c.075.332.422.636.985.636.648 0 1.07-.378 1.07-1.023v-.605h-.02c-.163.355-.613.648-1.171.648-.957 0-1.64-.672-1.64-1.902v-.34c0-1.207.675-1.887 1.64-1.887.558 0 1.004.293 1.195.64h.02v-.577h.648v4.03c0 1.052-.816 1.579-1.746 1.579-1.043 0-1.574-.516-1.668-1.2h.687zm2.055-2.535c0-.832-.414-1.36-1.062-1.36-.692 0-1.098.492-1.098 1.36v.253c0 .852.406 1.364 1.098 1.364.671 0 1.062-.516 1.062-1.364v-.253z"/>');// eslint-disable-next-line
|
|
var BIconCalendarPlus=/*#__PURE__*/makeIcon('CalendarPlus','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path fill-rule="evenodd" d="M8 7a.5.5 0 0 1 .5.5V9H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V10H6a.5.5 0 0 1 0-1h1.5V7.5A.5.5 0 0 1 8 7z"/>');// eslint-disable-next-line
|
|
var BIconCalendarPlusFill=/*#__PURE__*/makeIcon('CalendarPlusFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2zM8.5 8.5a.5.5 0 0 0-1 0V10H6a.5.5 0 0 0 0 1h1.5v1.5a.5.5 0 0 0 1 0V11H10a.5.5 0 0 0 0-1H8.5V8.5z"/>');// eslint-disable-next-line
|
|
var BIconCalendarRange=/*#__PURE__*/makeIcon('CalendarRange','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path d="M9 7a1 1 0 0 1 1-1h5v2h-5a1 1 0 0 1-1-1zM1 9h4a1 1 0 0 1 0 2H1V9z"/>');// eslint-disable-next-line
|
|
var BIconCalendarRangeFill=/*#__PURE__*/makeIcon('CalendarRangeFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 7V5H0v5h5a1 1 0 1 1 0 2H0v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9h-6a1 1 0 1 1 0-2h6z"/>');// eslint-disable-next-line
|
|
var BIconCalendarWeek=/*#__PURE__*/makeIcon('CalendarWeek','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path d="M11 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-5 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendarWeekFill=/*#__PURE__*/makeIcon('CalendarWeekFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2zM9.5 7a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm3 0a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zM2 10.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconCalendarX=/*#__PURE__*/makeIcon('CalendarX','<path fill-rule="evenodd" d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/><path fill-rule="evenodd" d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconCalendarXFill=/*#__PURE__*/makeIcon('CalendarXFill','<path fill-rule="evenodd" d="M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2zM6.854 8.146a.5.5 0 1 0-.708.708L7.293 10l-1.147 1.146a.5.5 0 0 0 .708.708L8 10.707l1.146 1.147a.5.5 0 0 0 .708-.708L8.707 10l1.147-1.146a.5.5 0 0 0-.708-.708L8 9.293 6.854 8.146z"/>');// eslint-disable-next-line
|
|
var BIconCamera=/*#__PURE__*/makeIcon('Camera','<path fill-rule="evenodd" d="M15 12V6a1 1 0 0 0-1-1h-1.172a3 3 0 0 1-2.12-.879l-.83-.828A1 1 0 0 0 9.173 3H6.828a1 1 0 0 0-.707.293l-.828.828A3 3 0 0 1 3.172 5H2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1zM2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2z"/><path fill-rule="evenodd" d="M8 11a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm0 1a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z"/><path d="M3 6.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/>');// eslint-disable-next-line
|
|
var BIconCamera2=/*#__PURE__*/makeIcon('Camera2','<path d="M9 5C7.343 5 5 6.343 5 8a4 4 0 0 1 4-4v1z"/><path fill-rule="evenodd" d="M14.333 3h-2.015A5.97 5.97 0 0 0 9 2a5.972 5.972 0 0 0-3.318 1H1.667C.747 3 0 3.746 0 4.667v6.666C0 12.253.746 13 1.667 13h4.015c.95.632 2.091 1 3.318 1a5.973 5.973 0 0 0 3.318-1h2.015c.92 0 1.667-.746 1.667-1.667V4.667C16 3.747 15.254 3 14.333 3zM1.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM9 13A5 5 0 1 0 9 3a5 5 0 0 0 0 10z"/><path d="M2 3a1 1 0 0 1 1-1h1a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1z"/>');// eslint-disable-next-line
|
|
var BIconCameraFill=/*#__PURE__*/makeIcon('CameraFill','<path d="M10.5 8.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/><path fill-rule="evenodd" d="M2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2zm.5 2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm9 2.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/>');// eslint-disable-next-line
|
|
var BIconCameraReels=/*#__PURE__*/makeIcon('CameraReels','<path fill-rule="evenodd" d="M0 8a2 2 0 0 1 2-2h7.5a2 2 0 0 1 1.983 1.738l3.11-1.382A1 1 0 0 1 16 7.269v7.462a1 1 0 0 1-1.406.913l-3.111-1.382A2 2 0 0 1 9.5 16H2a2 2 0 0 1-2-2V8zm11.5 5.175l3.5 1.556V7.269l-3.5 1.556v4.35zM2 7a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.5a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H2z"/><path fill-rule="evenodd" d="M3 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/><path fill-rule="evenodd" d="M9 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>');// eslint-disable-next-line
|
|
var BIconCameraReelsFill=/*#__PURE__*/makeIcon('CameraReelsFill','<path fill-rule="evenodd" d="M0 8a2 2 0 0 1 2-2h7.5a2 2 0 0 1 1.983 1.738l3.11-1.382A1 1 0 0 1 16 7.269v7.462a1 1 0 0 1-1.406.913l-3.111-1.382A2 2 0 0 1 9.5 16H2a2 2 0 0 1-2-2V8z"/><circle cx="3" cy="3" r="3"/><circle cx="9" cy="3" r="3"/>');// eslint-disable-next-line
|
|
var BIconCameraVideo=/*#__PURE__*/makeIcon('CameraVideo','<path fill-rule="evenodd" d="M0 5a2 2 0 0 1 2-2h7.5a2 2 0 0 1 1.983 1.738l3.11-1.382A1 1 0 0 1 16 4.269v7.462a1 1 0 0 1-1.406.913l-3.111-1.382A2 2 0 0 1 9.5 13H2a2 2 0 0 1-2-2V5zm11.5 5.175l3.5 1.556V4.269l-3.5 1.556v4.35zM2 4a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.5a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H2z"/>');// eslint-disable-next-line
|
|
var BIconCameraVideoFill=/*#__PURE__*/makeIcon('CameraVideoFill','<path fill-rule="evenodd" d="M0 5a2 2 0 0 1 2-2h7.5a2 2 0 0 1 1.983 1.738l3.11-1.382A1 1 0 0 1 16 4.269v7.462a1 1 0 0 1-1.406.913l-3.111-1.382A2 2 0 0 1 9.5 13H2a2 2 0 0 1-2-2V5z"/>');// eslint-disable-next-line
|
|
var BIconCameraVideoOff=/*#__PURE__*/makeIcon('CameraVideoOff','<path fill-rule="evenodd" d="M10.961 12.365a1.99 1.99 0 0 0 .522-1.103l3.11 1.382A1 1 0 0 0 16 11.731V4.269a1 1 0 0 0-1.406-.913l-3.111 1.382A2 2 0 0 0 9.5 3H4.272l.714 1H9.5a1 1 0 0 1 1 1v6a1 1 0 0 1-.144.518l.605.847zM1.428 4.18A.999.999 0 0 0 1 5v6a1 1 0 0 0 1 1h5.014l.714 1H2a2 2 0 0 1-2-2V5c0-.675.334-1.272.847-1.634l.58.814zM15 11.73l-3.5-1.555v-4.35L15 4.269v7.462zm-4.407 3.56l-10-14 .814-.58 10 14-.814.58z"/>');// eslint-disable-next-line
|
|
var BIconCameraVideoOffFill=/*#__PURE__*/makeIcon('CameraVideoOffFill','<path fill-rule="evenodd" d="M10.961 12.365a1.99 1.99 0 0 0 .522-1.103l3.11 1.382A1 1 0 0 0 16 11.731V4.269a1 1 0 0 0-1.406-.913l-3.111 1.382A2 2 0 0 0 9.5 3H4.272l6.69 9.365zm-10.114-9A2.001 2.001 0 0 0 0 5v6a2 2 0 0 0 2 2h5.728L.847 3.366zm9.746 11.925l-10-14 .814-.58 10 14-.814.58z"/>');// eslint-disable-next-line
|
|
var BIconCapslock=/*#__PURE__*/makeIcon('Capslock','<path fill-rule="evenodd" d="M7.27 1.047a1 1 0 0 1 1.46 0l6.345 6.77c.6.638.146 1.683-.73 1.683H11.5v1a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-1H1.654C.78 9.5.326 8.455.924 7.816L7.27 1.047zM14.346 8.5L8 1.731 1.654 8.5H4.5a1 1 0 0 1 1 1v1h5v-1a1 1 0 0 1 1-1h2.846zm-9.846 5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-1zm6 0h-5v1h5v-1z"/>');// eslint-disable-next-line
|
|
var BIconCapslockFill=/*#__PURE__*/makeIcon('CapslockFill','<path fill-rule="evenodd" d="M7.27 1.047a1 1 0 0 1 1.46 0l6.345 6.77c.6.638.146 1.683-.73 1.683H11.5v1a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-1H1.654C.78 9.5.326 8.455.924 7.816L7.27 1.047zM4.5 13.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-1z"/>');// eslint-disable-next-line
|
|
var BIconCardChecklist=/*#__PURE__*/makeIcon('CardChecklist','<path fill-rule="evenodd" d="M14.5 3h-13a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"/><path fill-rule="evenodd" d="M7 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0zM7 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconCardHeading=/*#__PURE__*/makeIcon('CardHeading','<path fill-rule="evenodd" d="M14.5 3h-13a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"/><path fill-rule="evenodd" d="M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z"/><path d="M3 5.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconCardImage=/*#__PURE__*/makeIcon('CardImage','<path fill-rule="evenodd" d="M14.5 3h-13a.5.5 0 0 0-.5.5v9c0 .013 0 .027.002.04V12l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094L15 9.499V3.5a.5.5 0 0 0-.5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13zm4.502 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconCardList=/*#__PURE__*/makeIcon('CardList','<path fill-rule="evenodd" d="M14.5 3h-13a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"/><path fill-rule="evenodd" d="M5 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 8zm0-2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0 5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5z"/><circle cx="3.5" cy="5.5" r=".5"/><circle cx="3.5" cy="8" r=".5"/><circle cx="3.5" cy="10.5" r=".5"/>');// eslint-disable-next-line
|
|
var BIconCardText=/*#__PURE__*/makeIcon('CardText','<path fill-rule="evenodd" d="M14.5 3h-13a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"/><path fill-rule="evenodd" d="M3 5.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 8a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 8zm0 2.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCaretDown=/*#__PURE__*/makeIcon('CaretDown','<path fill-rule="evenodd" d="M3.204 5L8 10.481 12.796 5H3.204zm-.753.659l4.796 5.48a1 1 0 0 0 1.506 0l4.796-5.48c.566-.647.106-1.659-.753-1.659H3.204a1 1 0 0 0-.753 1.659z"/>');// eslint-disable-next-line
|
|
var BIconCaretDownFill=/*#__PURE__*/makeIcon('CaretDownFill','<path d="M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/>');// eslint-disable-next-line
|
|
var BIconCaretDownSquare=/*#__PURE__*/makeIcon('CaretDownSquare','<path fill-rule="evenodd" d="M3.544 6.295A.5.5 0 0 1 4 6h8a.5.5 0 0 1 .374.832l-4 4.5a.5.5 0 0 1-.748 0l-4-4.5a.5.5 0 0 1-.082-.537z"/><path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconCaretDownSquareFill=/*#__PURE__*/makeIcon('CaretDownSquareFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm4 4a.5.5 0 0 0-.374.832l4 4.5a.5.5 0 0 0 .748 0l4-4.5A.5.5 0 0 0 12 6H4z"/>');// eslint-disable-next-line
|
|
var BIconCaretLeft=/*#__PURE__*/makeIcon('CaretLeft','<path fill-rule="evenodd" d="M10 12.796L4.519 8 10 3.204v9.592zm-.659.753l-5.48-4.796a1 1 0 0 1 0-1.506l5.48-4.796A1 1 0 0 1 11 3.204v9.592a1 1 0 0 1-1.659.753z"/>');// eslint-disable-next-line
|
|
var BIconCaretLeftFill=/*#__PURE__*/makeIcon('CaretLeftFill','<path d="M3.86 8.753l5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z"/>');// eslint-disable-next-line
|
|
var BIconCaretLeftSquare=/*#__PURE__*/makeIcon('CaretLeftSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M10.205 12.456A.5.5 0 0 0 10.5 12V4a.5.5 0 0 0-.832-.374l-4.5 4a.5.5 0 0 0 0 .748l4.5 4a.5.5 0 0 0 .537.082z"/>');// eslint-disable-next-line
|
|
var BIconCaretLeftSquareFill=/*#__PURE__*/makeIcon('CaretLeftSquareFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm10.5 10a.5.5 0 0 1-.832.374l-4.5-4a.5.5 0 0 1 0-.748l4.5-4A.5.5 0 0 1 10.5 4v8z"/>');// eslint-disable-next-line
|
|
var BIconCaretRight=/*#__PURE__*/makeIcon('CaretRight','<path fill-rule="evenodd" d="M6 12.796L11.481 8 6 3.204v9.592zm.659.753l5.48-4.796a1 1 0 0 0 0-1.506L6.66 2.451C6.011 1.885 5 2.345 5 3.204v9.592a1 1 0 0 0 1.659.753z"/>');// eslint-disable-next-line
|
|
var BIconCaretRightFill=/*#__PURE__*/makeIcon('CaretRightFill','<path d="M12.14 8.753l-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z"/>');// eslint-disable-next-line
|
|
var BIconCaretRightSquare=/*#__PURE__*/makeIcon('CaretRightSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M5.795 12.456A.5.5 0 0 1 5.5 12V4a.5.5 0 0 1 .832-.374l4.5 4a.5.5 0 0 1 0 .748l-4.5 4a.5.5 0 0 1-.537.082z"/>');// eslint-disable-next-line
|
|
var BIconCaretRightSquareFill=/*#__PURE__*/makeIcon('CaretRightSquareFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm5.5 10a.5.5 0 0 0 .832.374l4.5-4a.5.5 0 0 0 0-.748l-4.5-4A.5.5 0 0 0 5.5 4v8z"/>');// eslint-disable-next-line
|
|
var BIconCaretUp=/*#__PURE__*/makeIcon('CaretUp','<path fill-rule="evenodd" d="M3.204 11L8 5.519 12.796 11H3.204zm-.753-.659l4.796-5.48a1 1 0 0 1 1.506 0l4.796 5.48c.566.647.106 1.659-.753 1.659H3.204a1 1 0 0 1-.753-1.659z"/>');// eslint-disable-next-line
|
|
var BIconCaretUpFill=/*#__PURE__*/makeIcon('CaretUpFill','<path d="M7.247 4.86l-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z"/>');// eslint-disable-next-line
|
|
var BIconCaretUpSquare=/*#__PURE__*/makeIcon('CaretUpSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M3.544 10.705A.5.5 0 0 0 4 11h8a.5.5 0 0 0 .374-.832l-4-4.5a.5.5 0 0 0-.748 0l-4 4.5a.5.5 0 0 0-.082.537z"/>');// eslint-disable-next-line
|
|
var BIconCaretUpSquareFill=/*#__PURE__*/makeIcon('CaretUpSquareFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm4 9a.5.5 0 0 1-.374-.832l4-4.5a.5.5 0 0 1 .748 0l4 4.5A.5.5 0 0 1 12 11H4z"/>');// eslint-disable-next-line
|
|
var BIconCart=/*#__PURE__*/makeIcon('Cart','<path fill-rule="evenodd" d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l1.313 7h8.17l1.313-7H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm7 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconCart2=/*#__PURE__*/makeIcon('Cart2','<path fill-rule="evenodd" d="M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l1.25 5h8.22l1.25-5H3.14zM5 13a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z"/>');// eslint-disable-next-line
|
|
var BIconCart3=/*#__PURE__*/makeIcon('Cart3','<path fill-rule="evenodd" d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .49.598l-1 5a.5.5 0 0 1-.465.401l-9.397.472L4.415 11H13a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l.84 4.479 9.144-.459L13.89 4H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm7 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconCart4=/*#__PURE__*/makeIcon('Cart4','<path fill-rule="evenodd" d="M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z"/>');// eslint-disable-next-line
|
|
var BIconCartCheck=/*#__PURE__*/makeIcon('CartCheck','<path fill-rule="evenodd" d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l1.313 7h8.17l1.313-7H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm7 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/><path fill-rule="evenodd" d="M11.354 5.646a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L8 8.293l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconCartCheckFill=/*#__PURE__*/makeIcon('CartCheckFill','<path fill-rule="evenodd" d="M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1H.5zM4 14a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm7 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm.354-7.646a.5.5 0 0 0-.708-.708L8 8.293 6.854 7.146a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconCartDash=/*#__PURE__*/makeIcon('CartDash','<path fill-rule="evenodd" d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l1.313 7h8.17l1.313-7H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm7 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/><path fill-rule="evenodd" d="M6 7.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCartDashFill=/*#__PURE__*/makeIcon('CartDashFill','<path fill-rule="evenodd" d="M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1H.5zM4 14a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm7 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM6.5 7a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4z"/>');// eslint-disable-next-line
|
|
var BIconCartFill=/*#__PURE__*/makeIcon('CartFill','<path fill-rule="evenodd" d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm7 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconCartPlus=/*#__PURE__*/makeIcon('CartPlus','<path fill-rule="evenodd" d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l1.313 7h8.17l1.313-7H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm7 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/><path fill-rule="evenodd" d="M8.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H9v1.5a.5.5 0 0 1-1 0V8H6.5a.5.5 0 0 1 0-1H8V5.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCartPlusFill=/*#__PURE__*/makeIcon('CartPlusFill','<path fill-rule="evenodd" d="M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1H.5zM4 14a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm7 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM9 5.5a.5.5 0 0 0-1 0V7H6.5a.5.5 0 0 0 0 1H8v1.5a.5.5 0 0 0 1 0V8h1.5a.5.5 0 0 0 0-1H9V5.5z"/>');// eslint-disable-next-line
|
|
var BIconCartX=/*#__PURE__*/makeIcon('CartX','<path fill-rule="evenodd" d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l1.313 7h8.17l1.313-7H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm7 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/><path fill-rule="evenodd" d="M6.646 5.646a.5.5 0 0 1 .708 0L8.5 6.793l1.146-1.147a.5.5 0 0 1 .708.708L9.207 7.5l1.147 1.146a.5.5 0 0 1-.708.708L8.5 8.207 7.354 9.354a.5.5 0 1 1-.708-.708L7.793 7.5 6.646 6.354a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconCartXFill=/*#__PURE__*/makeIcon('CartXFill','<path fill-rule="evenodd" d="M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1H.5zM4 14a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm7 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.354 5.646a.5.5 0 1 0-.708.708L7.793 7.5 6.646 8.646a.5.5 0 1 0 .708.708L8.5 8.207l1.146 1.147a.5.5 0 0 0 .708-.708L9.207 7.5l1.147-1.146a.5.5 0 0 0-.708-.708L8.5 6.793 7.354 5.646z"/>');// eslint-disable-next-line
|
|
var BIconCash=/*#__PURE__*/makeIcon('Cash','<path fill-rule="evenodd" d="M15 4H1v8h14V4zM1 3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H1z"/><path d="M13 4a2 2 0 0 0 2 2V4h-2zM3 4a2 2 0 0 1-2 2V4h2zm10 8a2 2 0 0 1 2-2v2h-2zM3 12a2 2 0 0 0-2-2v2h2zm7-4a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"/>');// eslint-disable-next-line
|
|
var BIconCashStack=/*#__PURE__*/makeIcon('CashStack','<path d="M14 3H1a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1h-1z"/><path fill-rule="evenodd" d="M15 5H1v8h14V5zM1 4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H1z"/><path d="M13 5a2 2 0 0 0 2 2V5h-2zM3 5a2 2 0 0 1-2 2V5h2zm10 8a2 2 0 0 1 2-2v2h-2zM3 13a2 2 0 0 0-2-2v2h2zm7-4a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"/>');// eslint-disable-next-line
|
|
var BIconCast=/*#__PURE__*/makeIcon('Cast','<path d="M7.646 9.354l-3.792 3.792a.5.5 0 0 0 .353.854h7.586a.5.5 0 0 0 .354-.854L8.354 9.354a.5.5 0 0 0-.708 0z"/><path d="M11.414 11H14.5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h3.086l-1 1H1.5A1.5 1.5 0 0 1 0 10.5v-7A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5v7a1.5 1.5 0 0 1-1.5 1.5h-2.086l-1-1z"/>');// eslint-disable-next-line
|
|
var BIconChat=/*#__PURE__*/makeIcon('Chat','<path fill-rule="evenodd" d="M2.678 11.894a1 1 0 0 1 .287.801 10.97 10.97 0 0 1-.398 2c1.395-.323 2.247-.697 2.634-.893a1 1 0 0 1 .71-.074A8.06 8.06 0 0 0 8 14c3.996 0 7-2.807 7-6 0-3.192-3.004-6-7-6S1 4.808 1 8c0 1.468.617 2.83 1.678 3.894zm-.493 3.905a21.682 21.682 0 0 1-.713.129c-.2.032-.352-.176-.273-.362a9.68 9.68 0 0 0 .244-.637l.003-.01c.248-.72.45-1.548.524-2.319C.743 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.52.263-1.639.742-3.468 1.105z"/>');// eslint-disable-next-line
|
|
var BIconChatDots=/*#__PURE__*/makeIcon('ChatDots','<path fill-rule="evenodd" d="M2.678 11.894a1 1 0 0 1 .287.801 10.97 10.97 0 0 1-.398 2c1.395-.323 2.247-.697 2.634-.893a1 1 0 0 1 .71-.074A8.06 8.06 0 0 0 8 14c3.996 0 7-2.807 7-6 0-3.192-3.004-6-7-6S1 4.808 1 8c0 1.468.617 2.83 1.678 3.894zm-.493 3.905a21.682 21.682 0 0 1-.713.129c-.2.032-.352-.176-.273-.362a9.68 9.68 0 0 0 .244-.637l.003-.01c.248-.72.45-1.548.524-2.319C.743 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.52.263-1.639.742-3.468 1.105z"/><path d="M5 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconChatDotsFill=/*#__PURE__*/makeIcon('ChatDotsFill','<path fill-rule="evenodd" d="M16 8c0 3.866-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234-.2.032-.352-.176-.273-.362.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7zM5 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconChatFill=/*#__PURE__*/makeIcon('ChatFill','<path d="M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z"/>');// eslint-disable-next-line
|
|
var BIconChatLeft=/*#__PURE__*/makeIcon('ChatLeft','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v11.586l2-2A2 2 0 0 1 4.414 11H14a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12.793a.5.5 0 0 0 .854.353l2.853-2.853A1 1 0 0 1 4.414 12H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconChatLeftDots=/*#__PURE__*/makeIcon('ChatLeftDots','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v11.586l2-2A2 2 0 0 1 4.414 11H14a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12.793a.5.5 0 0 0 .854.353l2.853-2.853A1 1 0 0 1 4.414 12H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M5 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconChatLeftDotsFill=/*#__PURE__*/makeIcon('ChatLeftDotsFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4.414a1 1 0 0 0-.707.293L.854 15.146A.5.5 0 0 1 0 14.793V2zm5 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconChatLeftFill=/*#__PURE__*/makeIcon('ChatLeftFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12.793a.5.5 0 0 0 .854.353l2.853-2.853A1 1 0 0 1 4.414 12H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconChatLeftQuote=/*#__PURE__*/makeIcon('ChatLeftQuote','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v11.586l2-2A2 2 0 0 1 4.414 11H14a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12.793a.5.5 0 0 0 .854.353l2.853-2.853A1 1 0 0 1 4.414 12H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M7.066 4.76A1.665 1.665 0 0 0 4 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112zm4 0A1.665 1.665 0 0 0 8 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112z"/>');// eslint-disable-next-line
|
|
var BIconChatLeftQuoteFill=/*#__PURE__*/makeIcon('ChatLeftQuoteFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4.414a1 1 0 0 0-.707.293L.854 15.146A.5.5 0 0 1 0 14.793V2zm7.194 2.766c.087.124.163.26.227.401.428.948.393 2.377-.942 3.706a.446.446 0 0 1-.612.01.405.405 0 0 1-.011-.59c.419-.416.672-.831.809-1.22-.269.165-.588.26-.93.26C4.775 7.333 4 6.587 4 5.667 4 4.747 4.776 4 5.734 4c.271 0 .528.06.756.166l.008.004c.169.07.327.182.469.324.085.083.161.174.227.272zM11 7.073c-.269.165-.588.26-.93.26-.958 0-1.735-.746-1.735-1.666 0-.92.777-1.667 1.734-1.667.271 0 .528.06.756.166l.008.004c.17.07.327.182.469.324.085.083.161.174.227.272.087.124.164.26.228.401.428.948.392 2.377-.942 3.706a.446.446 0 0 1-.613.01.405.405 0 0 1-.011-.59c.42-.416.672-.831.81-1.22z"/>');// eslint-disable-next-line
|
|
var BIconChatLeftText=/*#__PURE__*/makeIcon('ChatLeftText','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v11.586l2-2A2 2 0 0 1 4.414 11H14a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12.793a.5.5 0 0 0 .854.353l2.853-2.853A1 1 0 0 1 4.414 12H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M3 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 6zm0 2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconChatLeftTextFill=/*#__PURE__*/makeIcon('ChatLeftTextFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4.414a1 1 0 0 0-.707.293L.854 15.146A.5.5 0 0 1 0 14.793V2zm3.5 1a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 2.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 2.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5z"/>');// eslint-disable-next-line
|
|
var BIconChatQuote=/*#__PURE__*/makeIcon('ChatQuote','<path fill-rule="evenodd" d="M2.678 11.894a1 1 0 0 1 .287.801 10.97 10.97 0 0 1-.398 2c1.395-.323 2.247-.697 2.634-.893a1 1 0 0 1 .71-.074A8.06 8.06 0 0 0 8 14c3.996 0 7-2.807 7-6 0-3.192-3.004-6-7-6S1 4.808 1 8c0 1.468.617 2.83 1.678 3.894zm-.493 3.905a21.682 21.682 0 0 1-.713.129c-.2.032-.352-.176-.273-.362a9.68 9.68 0 0 0 .244-.637l.003-.01c.248-.72.45-1.548.524-2.319C.743 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.52.263-1.639.742-3.468 1.105z"/><path d="M7.468 7.667c0 .92-.776 1.666-1.734 1.666S4 8.587 4 7.667C4 6.747 4.776 6 5.734 6s1.734.746 1.734 1.667z"/><path fill-rule="evenodd" d="M6.157 6.936a.438.438 0 0 1-.56.293.413.413 0 0 1-.274-.527c.08-.23.23-.44.477-.546a.891.891 0 0 1 .698.014c.387.16.72.545.923.997.428.948.393 2.377-.942 3.706a.446.446 0 0 1-.612.01.405.405 0 0 1-.011-.59c1.093-1.087 1.058-2.158.77-2.794-.152-.336-.354-.514-.47-.563zm-.035-.012h-.001.001z"/><path d="M11.803 7.667c0 .92-.776 1.666-1.734 1.666-.957 0-1.734-.746-1.734-1.666 0-.92.777-1.667 1.734-1.667.958 0 1.734.746 1.734 1.667z"/><path fill-rule="evenodd" d="M10.492 6.936a.438.438 0 0 1-.56.293.413.413 0 0 1-.274-.527c.08-.23.23-.44.477-.546a.891.891 0 0 1 .698.014c.387.16.72.545.924.997.428.948.392 2.377-.942 3.706a.446.446 0 0 1-.613.01.405.405 0 0 1-.011-.59c1.093-1.087 1.058-2.158.77-2.794-.152-.336-.354-.514-.469-.563zm-.034-.012h-.002.002z"/>');// eslint-disable-next-line
|
|
var BIconChatQuoteFill=/*#__PURE__*/makeIcon('ChatQuoteFill','<path fill-rule="evenodd" d="M16 8c0 3.866-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234-.2.032-.352-.176-.273-.362.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7zM7.194 6.766c.087.124.163.26.227.401.428.948.393 2.377-.942 3.706a.446.446 0 0 1-.612.01.405.405 0 0 1-.011-.59c.419-.416.672-.831.809-1.22-.269.165-.588.26-.93.26C4.775 9.333 4 8.587 4 7.667 4 6.747 4.776 6 5.734 6c.271 0 .528.06.756.166l.008.004c.169.07.327.182.469.324.085.083.161.174.227.272zM11 9.073c-.269.165-.588.26-.93.26-.958 0-1.735-.746-1.735-1.666 0-.92.777-1.667 1.734-1.667.271 0 .528.06.756.166l.008.004c.17.07.327.182.469.324.085.083.161.174.227.272.087.124.164.26.228.401.428.948.392 2.377-.942 3.706a.446.446 0 0 1-.613.01.405.405 0 0 1-.011-.59c.42-.416.672-.831.81-1.22z"/>');// eslint-disable-next-line
|
|
var BIconChatRight=/*#__PURE__*/makeIcon('ChatRight','<path fill-rule="evenodd" d="M2 1h12a1 1 0 0 1 1 1v11.586l-2-2A2 2 0 0 0 11.586 11H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm12-1a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/>');// eslint-disable-next-line
|
|
var BIconChatRightDots=/*#__PURE__*/makeIcon('ChatRightDots','<path fill-rule="evenodd" d="M2 1h12a1 1 0 0 1 1 1v11.586l-2-2A2 2 0 0 0 11.586 11H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm12-1a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/><path d="M5 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconChatRightDotsFill=/*#__PURE__*/makeIcon('ChatRightDotsFill','<path fill-rule="evenodd" d="M16 2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h9.586a1 1 0 0 1 .707.293l2.853 2.853a.5.5 0 0 0 .854-.353V2zM5 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconChatRightFill=/*#__PURE__*/makeIcon('ChatRightFill','<path fill-rule="evenodd" d="M14 0a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/>');// eslint-disable-next-line
|
|
var BIconChatRightQuote=/*#__PURE__*/makeIcon('ChatRightQuote','<path fill-rule="evenodd" d="M2 1h12a1 1 0 0 1 1 1v11.586l-2-2A2 2 0 0 0 11.586 11H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm12-1a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/><path fill-rule="evenodd" d="M7.066 4.76A1.665 1.665 0 0 0 4 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112zm4 0A1.665 1.665 0 0 0 8 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112z"/>');// eslint-disable-next-line
|
|
var BIconChatRightQuoteFill=/*#__PURE__*/makeIcon('ChatRightQuoteFill','<path fill-rule="evenodd" d="M16 2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h9.586a1 1 0 0 1 .707.293l2.853 2.853a.5.5 0 0 0 .854-.353V2zM7.194 4.766c.087.124.163.26.227.401.428.948.393 2.377-.942 3.706a.446.446 0 0 1-.612.01.405.405 0 0 1-.011-.59c.419-.416.672-.831.809-1.22-.269.165-.588.26-.93.26C4.775 7.333 4 6.587 4 5.667 4 4.747 4.776 4 5.734 4c.271 0 .528.06.756.166l.008.004c.169.07.327.182.469.324.085.083.161.174.227.272zM11 7.073c-.269.165-.588.26-.93.26-.958 0-1.735-.746-1.735-1.666 0-.92.777-1.667 1.734-1.667.271 0 .528.06.756.166l.008.004c.17.07.327.182.469.324.085.083.161.174.227.272.087.124.164.26.228.401.428.948.392 2.377-.942 3.706a.446.446 0 0 1-.613.01.405.405 0 0 1-.011-.59c.42-.416.672-.831.81-1.22z"/>');// eslint-disable-next-line
|
|
var BIconChatRightText=/*#__PURE__*/makeIcon('ChatRightText','<path fill-rule="evenodd" d="M2 1h12a1 1 0 0 1 1 1v11.586l-2-2A2 2 0 0 0 11.586 11H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm12-1a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/><path fill-rule="evenodd" d="M3 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 6zm0 2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconChatRightTextFill=/*#__PURE__*/makeIcon('ChatRightTextFill','<path fill-rule="evenodd" d="M16 2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h9.586a1 1 0 0 1 .707.293l2.853 2.853a.5.5 0 0 0 .854-.353V2zM3.5 3a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 2.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 2.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5z"/>');// eslint-disable-next-line
|
|
var BIconChatSquare=/*#__PURE__*/makeIcon('ChatSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5a2 2 0 0 1 1.6.8L8 14.333 9.9 11.8a2 2 0 0 1 1.6-.8H14a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconChatSquareDots=/*#__PURE__*/makeIcon('ChatSquareDots','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5a2 2 0 0 1 1.6.8L8 14.333 9.9 11.8a2 2 0 0 1 1.6-.8H14a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M5 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconChatSquareDotsFill=/*#__PURE__*/makeIcon('ChatSquareDotsFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.5a1 1 0 0 0-.8.4l-1.9 2.533a1 1 0 0 1-1.6 0L5.3 12.4a1 1 0 0 0-.8-.4H2a2 2 0 0 1-2-2V2zm5 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconChatSquareFill=/*#__PURE__*/makeIcon('ChatSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconChatSquareQuote=/*#__PURE__*/makeIcon('ChatSquareQuote','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5a2 2 0 0 1 1.6.8L8 14.333 9.9 11.8a2 2 0 0 1 1.6-.8H14a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M7.066 4.76A1.665 1.665 0 0 0 4 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112zm4 0A1.665 1.665 0 0 0 8 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112z"/>');// eslint-disable-next-line
|
|
var BIconChatSquareQuoteFill=/*#__PURE__*/makeIcon('ChatSquareQuoteFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.5a1 1 0 0 0-.8.4l-1.9 2.533a1 1 0 0 1-1.6 0L5.3 12.4a1 1 0 0 0-.8-.4H2a2 2 0 0 1-2-2V2zm7.194 2.766c.087.124.163.26.227.401.428.948.393 2.377-.942 3.706a.446.446 0 0 1-.612.01.405.405 0 0 1-.011-.59c.419-.416.672-.831.809-1.22-.269.165-.588.26-.93.26C4.775 7.333 4 6.587 4 5.667 4 4.747 4.776 4 5.734 4c.271 0 .528.06.756.166l.008.004c.169.07.327.182.469.324.085.083.161.174.227.272zM11 7.073c-.269.165-.588.26-.93.26-.958 0-1.735-.746-1.735-1.666 0-.92.777-1.667 1.734-1.667.271 0 .528.06.756.166l.008.004c.17.07.327.182.469.324.085.083.161.174.227.272.087.124.164.26.228.401.428.948.392 2.377-.942 3.706a.446.446 0 0 1-.613.01.405.405 0 0 1-.011-.59c.42-.416.672-.831.81-1.22z"/>');// eslint-disable-next-line
|
|
var BIconChatSquareText=/*#__PURE__*/makeIcon('ChatSquareText','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5a2 2 0 0 1 1.6.8L8 14.333 9.9 11.8a2 2 0 0 1 1.6-.8H14a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M3 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 6zm0 2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconChatSquareTextFill=/*#__PURE__*/makeIcon('ChatSquareTextFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.5a1 1 0 0 0-.8.4l-1.9 2.533a1 1 0 0 1-1.6 0L5.3 12.4a1 1 0 0 0-.8-.4H2a2 2 0 0 1-2-2V2zm3.5 1a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 2.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 2.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5z"/>');// eslint-disable-next-line
|
|
var BIconChatText=/*#__PURE__*/makeIcon('ChatText','<path fill-rule="evenodd" d="M2.678 11.894a1 1 0 0 1 .287.801 10.97 10.97 0 0 1-.398 2c1.395-.323 2.247-.697 2.634-.893a1 1 0 0 1 .71-.074A8.06 8.06 0 0 0 8 14c3.996 0 7-2.807 7-6 0-3.192-3.004-6-7-6S1 4.808 1 8c0 1.468.617 2.83 1.678 3.894zm-.493 3.905a21.682 21.682 0 0 1-.713.129c-.2.032-.352-.176-.273-.362a9.68 9.68 0 0 0 .244-.637l.003-.01c.248-.72.45-1.548.524-2.319C.743 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.52.263-1.639.742-3.468 1.105z"/><path fill-rule="evenodd" d="M4 5.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zM4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8zm0 2.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconChatTextFill=/*#__PURE__*/makeIcon('ChatTextFill','<path fill-rule="evenodd" d="M16 8c0 3.866-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234-.2.032-.352-.176-.273-.362.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7zM4.5 5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7zm0 2.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7zm0 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4z"/>');// eslint-disable-next-line
|
|
var BIconCheck=/*#__PURE__*/makeIcon('Check','<path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>');// eslint-disable-next-line
|
|
var BIconCheck2=/*#__PURE__*/makeIcon('Check2','<path fill-rule="evenodd" d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconCheck2All=/*#__PURE__*/makeIcon('Check2All','<path fill-rule="evenodd" d="M12.354 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/><path d="M6.25 8.043l-.896-.897a.5.5 0 1 0-.708.708l.897.896.707-.707zm1 2.414l.896.897a.5.5 0 0 0 .708 0l7-7a.5.5 0 0 0-.708-.708L8.5 10.293l-.543-.543-.707.707z"/>');// eslint-disable-next-line
|
|
var BIconCheck2Circle=/*#__PURE__*/makeIcon('Check2Circle','<path fill-rule="evenodd" d="M15.354 2.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L8 9.293l6.646-6.647a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M8 2.5A5.5 5.5 0 1 0 13.5 8a.5.5 0 0 1 1 0 6.5 6.5 0 1 1-3.25-5.63.5.5 0 1 1-.5.865A5.472 5.472 0 0 0 8 2.5z"/>');// eslint-disable-next-line
|
|
var BIconCheck2Square=/*#__PURE__*/makeIcon('Check2Square','<path fill-rule="evenodd" d="M15.354 2.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L8 9.293l6.646-6.647a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M1.5 13A1.5 1.5 0 0 0 3 14.5h10a1.5 1.5 0 0 0 1.5-1.5V8a.5.5 0 0 0-1 0v5a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V3a.5.5 0 0 1 .5-.5h8a.5.5 0 0 0 0-1H3A1.5 1.5 0 0 0 1.5 3v10z"/>');// eslint-disable-next-line
|
|
var BIconCheckAll=/*#__PURE__*/makeIcon('CheckAll','<path fill-rule="evenodd" d="M8.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L2.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093L8.95 4.992a.252.252 0 0 1 .02-.022zm-.92 5.14l.92.92a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 1 0-1.091-1.028L9.477 9.417l-.485-.486-.943 1.179z"/>');// eslint-disable-next-line
|
|
var BIconCheckCircle=/*#__PURE__*/makeIcon('CheckCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>');// eslint-disable-next-line
|
|
var BIconCheckCircleFill=/*#__PURE__*/makeIcon('CheckCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>');// eslint-disable-next-line
|
|
var BIconCheckSquare=/*#__PURE__*/makeIcon('CheckSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>');// eslint-disable-next-line
|
|
var BIconCheckSquareFill=/*#__PURE__*/makeIcon('CheckSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm10.03 4.97a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>');// eslint-disable-next-line
|
|
var BIconChevronBarContract=/*#__PURE__*/makeIcon('ChevronBarContract','<path fill-rule="evenodd" d="M3.646 14.854a.5.5 0 0 0 .708 0L8 11.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708zm0-13.708a.5.5 0 0 1 .708 0L8 4.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708zM1 8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 8z"/>');// eslint-disable-next-line
|
|
var BIconChevronBarDown=/*#__PURE__*/makeIcon('ChevronBarDown','<path fill-rule="evenodd" d="M3.646 4.146a.5.5 0 0 1 .708 0L8 7.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708zM1 11.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconChevronBarExpand=/*#__PURE__*/makeIcon('ChevronBarExpand','<path fill-rule="evenodd" d="M3.646 10.146a.5.5 0 0 1 .708 0L8 13.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708zm0-4.292a.5.5 0 0 0 .708 0L8 2.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708zM1 8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 8z"/>');// eslint-disable-next-line
|
|
var BIconChevronBarLeft=/*#__PURE__*/makeIcon('ChevronBarLeft','<path fill-rule="evenodd" d="M11.854 3.646a.5.5 0 0 1 0 .708L8.207 8l3.647 3.646a.5.5 0 0 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 0 1 .708 0zM4.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconChevronBarRight=/*#__PURE__*/makeIcon('ChevronBarRight','<path fill-rule="evenodd" d="M4.146 3.646a.5.5 0 0 0 0 .708L7.793 8l-3.647 3.646a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708 0zM11.5 1a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-1 0v-13a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconChevronBarUp=/*#__PURE__*/makeIcon('ChevronBarUp','<path fill-rule="evenodd" d="M3.646 11.854a.5.5 0 0 0 .708 0L8 8.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708zM2.4 5.2c0 .22.18.4.4.4h10.4a.4.4 0 0 0 0-.8H2.8a.4.4 0 0 0-.4.4z"/>');// eslint-disable-next-line
|
|
var BIconChevronCompactDown=/*#__PURE__*/makeIcon('ChevronCompactDown','<path fill-rule="evenodd" d="M1.553 6.776a.5.5 0 0 1 .67-.223L8 9.44l5.776-2.888a.5.5 0 1 1 .448.894l-6 3a.5.5 0 0 1-.448 0l-6-3a.5.5 0 0 1-.223-.67z"/>');// eslint-disable-next-line
|
|
var BIconChevronCompactLeft=/*#__PURE__*/makeIcon('ChevronCompactLeft','<path fill-rule="evenodd" d="M9.224 1.553a.5.5 0 0 1 .223.67L6.56 8l2.888 5.776a.5.5 0 1 1-.894.448l-3-6a.5.5 0 0 1 0-.448l3-6a.5.5 0 0 1 .67-.223z"/>');// eslint-disable-next-line
|
|
var BIconChevronCompactRight=/*#__PURE__*/makeIcon('ChevronCompactRight','<path fill-rule="evenodd" d="M6.776 1.553a.5.5 0 0 1 .671.223l3 6a.5.5 0 0 1 0 .448l-3 6a.5.5 0 1 1-.894-.448L9.44 8 6.553 2.224a.5.5 0 0 1 .223-.671z"/>');// eslint-disable-next-line
|
|
var BIconChevronCompactUp=/*#__PURE__*/makeIcon('ChevronCompactUp','<path fill-rule="evenodd" d="M7.776 5.553a.5.5 0 0 1 .448 0l6 3a.5.5 0 1 1-.448.894L8 6.56 2.224 9.447a.5.5 0 1 1-.448-.894l6-3z"/>');// eslint-disable-next-line
|
|
var BIconChevronContract=/*#__PURE__*/makeIcon('ChevronContract','<path fill-rule="evenodd" d="M3.646 13.854a.5.5 0 0 0 .708 0L8 10.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708zm0-11.708a.5.5 0 0 1 .708 0L8 5.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconChevronDoubleDown=/*#__PURE__*/makeIcon('ChevronDoubleDown','<path fill-rule="evenodd" d="M1.646 6.646a.5.5 0 0 1 .708 0L8 12.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M1.646 2.646a.5.5 0 0 1 .708 0L8 8.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconChevronDoubleLeft=/*#__PURE__*/makeIcon('ChevronDoubleLeft','<path fill-rule="evenodd" d="M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconChevronDoubleRight=/*#__PURE__*/makeIcon('ChevronDoubleRight','<path fill-rule="evenodd" d="M3.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L9.293 8 3.646 2.354a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M7.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L13.293 8 7.646 2.354a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconChevronDoubleUp=/*#__PURE__*/makeIcon('ChevronDoubleUp','<path fill-rule="evenodd" d="M7.646 2.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 3.707 2.354 9.354a.5.5 0 1 1-.708-.708l6-6z"/><path fill-rule="evenodd" d="M7.646 6.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 7.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/>');// eslint-disable-next-line
|
|
var BIconChevronDown=/*#__PURE__*/makeIcon('ChevronDown','<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconChevronExpand=/*#__PURE__*/makeIcon('ChevronExpand','<path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708zm0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708z"/>');// eslint-disable-next-line
|
|
var BIconChevronLeft=/*#__PURE__*/makeIcon('ChevronLeft','<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconChevronRight=/*#__PURE__*/makeIcon('ChevronRight','<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconChevronUp=/*#__PURE__*/makeIcon('ChevronUp','<path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/>');// eslint-disable-next-line
|
|
var BIconCircle=/*#__PURE__*/makeIcon('Circle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>');// eslint-disable-next-line
|
|
var BIconCircleFill=/*#__PURE__*/makeIcon('CircleFill','<circle cx="8" cy="8" r="8"/>');// eslint-disable-next-line
|
|
var BIconCircleHalf=/*#__PURE__*/makeIcon('CircleHalf','<path fill-rule="evenodd" d="M8 15V1a7 7 0 1 1 0 14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z"/>');// eslint-disable-next-line
|
|
var BIconCircleSquare=/*#__PURE__*/makeIcon('CircleSquare','<path d="M0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6z"/><path d="M12.93 5h1.57a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1.57a6.953 6.953 0 0 1-1-.22v1.79A1.5 1.5 0 0 0 5.5 16h9a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 4h-1.79c.097.324.17.658.22 1z"/>');// eslint-disable-next-line
|
|
var BIconClipboard=/*#__PURE__*/makeIcon('Clipboard','<path fill-rule="evenodd" d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path fill-rule="evenodd" d="M9.5 1h-3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/>');// eslint-disable-next-line
|
|
var BIconClipboardCheck=/*#__PURE__*/makeIcon('ClipboardCheck','<path fill-rule="evenodd" d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path fill-rule="evenodd" d="M9.5 1h-3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3zm4.354 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconClipboardData=/*#__PURE__*/makeIcon('ClipboardData','<path fill-rule="evenodd" d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path fill-rule="evenodd" d="M9.5 1h-3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/><path d="M4 11a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1zm6-4a1 1 0 1 1 2 0v5a1 1 0 1 1-2 0V7zM7 9a1 1 0 0 1 2 0v3a1 1 0 1 1-2 0V9z"/>');// eslint-disable-next-line
|
|
var BIconClipboardMinus=/*#__PURE__*/makeIcon('ClipboardMinus','<path fill-rule="evenodd" d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path fill-rule="evenodd" d="M9.5 1h-3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3zm-1 9.5A.5.5 0 0 1 6 9h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconClipboardPlus=/*#__PURE__*/makeIcon('ClipboardPlus','<path fill-rule="evenodd" d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path fill-rule="evenodd" d="M9.5 1h-3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3zM8 7a.5.5 0 0 1 .5.5V9H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V10H6a.5.5 0 0 1 0-1h1.5V7.5A.5.5 0 0 1 8 7z"/>');// eslint-disable-next-line
|
|
var BIconClipboardX=/*#__PURE__*/makeIcon('ClipboardX','<path fill-rule="evenodd" d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path fill-rule="evenodd" d="M9.5 1h-3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3zm-.354 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconClock=/*#__PURE__*/makeIcon('Clock','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm8-7A8 8 0 1 1 0 8a8 8 0 0 1 16 0z"/><path fill-rule="evenodd" d="M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconClockFill=/*#__PURE__*/makeIcon('ClockFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/>');// eslint-disable-next-line
|
|
var BIconClockHistory=/*#__PURE__*/makeIcon('ClockHistory','<path fill-rule="evenodd" d="M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022l-.074.997zm2.004.45a7.003 7.003 0 0 0-.985-.299l.219-.976c.383.086.76.2 1.126.342l-.36.933zm1.37.71a7.01 7.01 0 0 0-.439-.27l.493-.87a8.025 8.025 0 0 1 .979.654l-.615.789a6.996 6.996 0 0 0-.418-.302zm1.834 1.79a6.99 6.99 0 0 0-.653-.796l.724-.69c.27.285.52.59.747.91l-.818.576zm.744 1.352a7.08 7.08 0 0 0-.214-.468l.893-.45a7.976 7.976 0 0 1 .45 1.088l-.95.313a7.023 7.023 0 0 0-.179-.483zm.53 2.507a6.991 6.991 0 0 0-.1-1.025l.985-.17c.067.386.106.778.116 1.17l-1 .025zm-.131 1.538c.033-.17.06-.339.081-.51l.993.123a7.957 7.957 0 0 1-.23 1.155l-.964-.267c.046-.165.086-.332.12-.501zm-.952 2.379c.184-.29.346-.594.486-.908l.914.405c-.16.36-.345.706-.555 1.038l-.845-.535zm-.964 1.205c.122-.122.239-.248.35-.378l.758.653a8.073 8.073 0 0 1-.401.432l-.707-.707z"/><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0v1z"/><path fill-rule="evenodd" d="M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCloud=/*#__PURE__*/makeIcon('Cloud','<path fill-rule="evenodd" d="M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z"/>');// eslint-disable-next-line
|
|
var BIconCloudArrowDown=/*#__PURE__*/makeIcon('CloudArrowDown','<path fill-rule="evenodd" d="M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z"/><path fill-rule="evenodd" d="M7.646 10.854a.5.5 0 0 0 .708 0l2-2a.5.5 0 0 0-.708-.708L8.5 9.293V5.5a.5.5 0 0 0-1 0v3.793L6.354 8.146a.5.5 0 1 0-.708.708l2 2z"/>');// eslint-disable-next-line
|
|
var BIconCloudArrowDownFill=/*#__PURE__*/makeIcon('CloudArrowDownFill','<path fill-rule="evenodd" d="M8 2a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 6.095 0 7.555 0 9.318 0 11.366 1.708 13 3.781 13h8.906C14.502 13 16 11.57 16 9.773c0-1.636-1.242-2.969-2.834-3.194C12.923 3.999 10.69 2 8 2zm2.354 6.854l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 9.293V5.5a.5.5 0 0 1 1 0v3.793l1.146-1.147a.5.5 0 0 1 .708.708z"/>');// eslint-disable-next-line
|
|
var BIconCloudArrowUp=/*#__PURE__*/makeIcon('CloudArrowUp','<path fill-rule="evenodd" d="M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z"/><path fill-rule="evenodd" d="M7.646 5.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 6.707V10.5a.5.5 0 0 1-1 0V6.707L6.354 7.854a.5.5 0 1 1-.708-.708l2-2z"/>');// eslint-disable-next-line
|
|
var BIconCloudArrowUpFill=/*#__PURE__*/makeIcon('CloudArrowUpFill','<path fill-rule="evenodd" d="M8 2a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 6.095 0 7.555 0 9.318 0 11.366 1.708 13 3.781 13h8.906C14.502 13 16 11.57 16 9.773c0-1.636-1.242-2.969-2.834-3.194C12.923 3.999 10.69 2 8 2zm2.354 5.146l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L7.5 6.707V10.5a.5.5 0 0 0 1 0V6.707l1.146 1.147a.5.5 0 0 0 .708-.708z"/>');// eslint-disable-next-line
|
|
var BIconCloudCheck=/*#__PURE__*/makeIcon('CloudCheck','<path fill-rule="evenodd" d="M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z"/><path fill-rule="evenodd" d="M10.354 6.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7 8.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconCloudCheckFill=/*#__PURE__*/makeIcon('CloudCheckFill','<path fill-rule="evenodd" d="M8 2a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 6.095 0 7.555 0 9.318 0 11.366 1.708 13 3.781 13h8.906C14.502 13 16 11.57 16 9.773c0-1.636-1.242-2.969-2.834-3.194C12.923 3.999 10.69 2 8 2zm2.354 4.854a.5.5 0 0 0-.708-.708L7 8.793 5.854 7.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconCloudDownload=/*#__PURE__*/makeIcon('CloudDownload','<path fill-rule="evenodd" d="M4.406 1.342A5.53 5.53 0 0 1 8 0c2.69 0 4.923 2 5.166 4.579C14.758 4.804 16 6.137 16 7.773 16 9.569 14.502 11 12.687 11H10a.5.5 0 0 1 0-1h2.688C13.979 10 15 8.988 15 7.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 2.825 10.328 1 8 1a4.53 4.53 0 0 0-2.941 1.1c-.757.652-1.153 1.438-1.153 2.055v.448l-.445.049C2.064 4.805 1 5.952 1 7.318 1 8.785 2.23 10 3.781 10H6a.5.5 0 0 1 0 1H3.781C1.708 11 0 9.366 0 7.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z"/><path fill-rule="evenodd" d="M7.646 15.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 14.293V5.5a.5.5 0 0 0-1 0v8.793l-2.146-2.147a.5.5 0 0 0-.708.708l3 3z"/>');// eslint-disable-next-line
|
|
var BIconCloudDownloadFill=/*#__PURE__*/makeIcon('CloudDownloadFill','<path fill-rule="evenodd" d="M8 0a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 4.095 0 5.555 0 7.318 0 9.366 1.708 11 3.781 11H7.5V5.5a.5.5 0 0 1 1 0V11h4.188C14.502 11 16 9.57 16 7.773c0-1.636-1.242-2.969-2.834-3.194C12.923 1.999 10.69 0 8 0zm-.354 15.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 14.293V11h-1v3.293l-2.146-2.147a.5.5 0 0 0-.708.708l3 3z"/>');// eslint-disable-next-line
|
|
var BIconCloudFill=/*#__PURE__*/makeIcon('CloudFill','<path fill-rule="evenodd" d="M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z"/>');// eslint-disable-next-line
|
|
var BIconCloudMinus=/*#__PURE__*/makeIcon('CloudMinus','<path fill-rule="evenodd" d="M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z"/><path fill-rule="evenodd" d="M5.5 8a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCloudMinusFill=/*#__PURE__*/makeIcon('CloudMinusFill','<path fill-rule="evenodd" d="M8 2a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 6.095 0 7.555 0 9.318 0 11.366 1.708 13 3.781 13h8.906C14.502 13 16 11.57 16 9.773c0-1.636-1.242-2.969-2.834-3.194C12.923 3.999 10.69 2 8 2zM6 7.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconCloudPlus=/*#__PURE__*/makeIcon('CloudPlus','<path fill-rule="evenodd" d="M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z"/><path fill-rule="evenodd" d="M8 5.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V10a.5.5 0 0 1-1 0V8.5H6a.5.5 0 0 1 0-1h1.5V6a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCloudPlusFill=/*#__PURE__*/makeIcon('CloudPlusFill','<path fill-rule="evenodd" d="M8 2a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 6.095 0 7.555 0 9.318 0 11.366 1.708 13 3.781 13h8.906C14.502 13 16 11.57 16 9.773c0-1.636-1.242-2.969-2.834-3.194C12.923 3.999 10.69 2 8 2zm.5 4a.5.5 0 0 0-1 0v1.5H6a.5.5 0 0 0 0 1h1.5V10a.5.5 0 0 0 1 0V8.5H10a.5.5 0 0 0 0-1H8.5V6z"/>');// eslint-disable-next-line
|
|
var BIconCloudSlash=/*#__PURE__*/makeIcon('CloudSlash','<path fill-rule="evenodd" d="M3.112 5.112a3.125 3.125 0 0 0-.17.613C1.266 6.095 0 7.555 0 9.318 0 11.366 1.708 13 3.781 13H11l-1-1H3.781C2.231 12 1 10.785 1 9.318c0-1.365 1.064-2.513 2.46-2.666l.446-.05v-.447c0-.075.006-.152.018-.231l-.812-.812zm2.55-1.45l-.725-.725A5.512 5.512 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773a3.2 3.2 0 0 1-1.516 2.711l-.733-.733C14.498 11.378 15 10.626 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3c-.875 0-1.678.26-2.339.661zm7.984 10.692l-12-12 .708-.708 12 12-.707.707z"/>');// eslint-disable-next-line
|
|
var BIconCloudSlashFill=/*#__PURE__*/makeIcon('CloudSlashFill','<path fill-rule="evenodd" d="M3.112 5.112a3.125 3.125 0 0 0-.17.613C1.266 6.095 0 7.555 0 9.318 0 11.366 1.708 13 3.781 13H11L3.112 5.112zm11.372 7.372L4.937 2.937A5.512 5.512 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773a3.2 3.2 0 0 1-1.516 2.711zm-.838 1.87l-12-12 .708-.708 12 12-.707.707z"/>');// eslint-disable-next-line
|
|
var BIconCloudUpload=/*#__PURE__*/makeIcon('CloudUpload','<path fill-rule="evenodd" d="M4.406 1.342A5.53 5.53 0 0 1 8 0c2.69 0 4.923 2 5.166 4.579C14.758 4.804 16 6.137 16 7.773 16 9.569 14.502 11 12.687 11H10a.5.5 0 0 1 0-1h2.688C13.979 10 15 8.988 15 7.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 2.825 10.328 1 8 1a4.53 4.53 0 0 0-2.941 1.1c-.757.652-1.153 1.438-1.153 2.055v.448l-.445.049C2.064 4.805 1 5.952 1 7.318 1 8.785 2.23 10 3.781 10H6a.5.5 0 0 1 0 1H3.781C1.708 11 0 9.366 0 7.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z"/><path fill-rule="evenodd" d="M7.646 4.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V14.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3z"/>');// eslint-disable-next-line
|
|
var BIconCloudUploadFill=/*#__PURE__*/makeIcon('CloudUploadFill','<path fill-rule="evenodd" d="M8 0a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 4.095 0 5.555 0 7.318 0 9.366 1.708 11 3.781 11H7.5V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11h4.188C14.502 11 16 9.57 16 7.773c0-1.636-1.242-2.969-2.834-3.194C12.923 1.999 10.69 0 8 0zm-.5 14.5V11h1v3.5a.5.5 0 0 1-1 0z"/>');// eslint-disable-next-line
|
|
var BIconCode=/*#__PURE__*/makeIcon('Code','<path fill-rule="evenodd" d="M5.854 4.146a.5.5 0 0 1 0 .708L2.707 8l3.147 3.146a.5.5 0 0 1-.708.708l-3.5-3.5a.5.5 0 0 1 0-.708l3.5-3.5a.5.5 0 0 1 .708 0zm4.292 0a.5.5 0 0 0 0 .708L13.293 8l-3.147 3.146a.5.5 0 0 0 .708.708l3.5-3.5a.5.5 0 0 0 0-.708l-3.5-3.5a.5.5 0 0 0-.708 0z"/>');// eslint-disable-next-line
|
|
var BIconCodeSlash=/*#__PURE__*/makeIcon('CodeSlash','<path fill-rule="evenodd" d="M4.854 4.146a.5.5 0 0 1 0 .708L1.707 8l3.147 3.146a.5.5 0 0 1-.708.708l-3.5-3.5a.5.5 0 0 1 0-.708l3.5-3.5a.5.5 0 0 1 .708 0zm6.292 0a.5.5 0 0 0 0 .708L14.293 8l-3.147 3.146a.5.5 0 0 0 .708.708l3.5-3.5a.5.5 0 0 0 0-.708l-3.5-3.5a.5.5 0 0 0-.708 0zm-.999-3.124a.5.5 0 0 1 .33.625l-4 13a.5.5 0 0 1-.955-.294l4-13a.5.5 0 0 1 .625-.33z"/>');// eslint-disable-next-line
|
|
var BIconCodeSquare=/*#__PURE__*/makeIcon('CodeSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M6.854 4.646a.5.5 0 0 1 0 .708L4.207 8l2.647 2.646a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 0 1 .708 0zm2.292 0a.5.5 0 0 0 0 .708L11.793 8l-2.647 2.646a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708 0z"/>');// eslint-disable-next-line
|
|
var BIconCollection=/*#__PURE__*/makeIcon('Collection','<path fill-rule="evenodd" d="M14.5 13.5h-13A.5.5 0 0 1 1 13V6a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5zm-13 1A1.5 1.5 0 0 1 0 13V6a1.5 1.5 0 0 1 1.5-1.5h13A1.5 1.5 0 0 1 16 6v7a1.5 1.5 0 0 1-1.5 1.5h-13zM2 3a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 0-1h-11A.5.5 0 0 0 2 3zm2-2a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 0-1h-7A.5.5 0 0 0 4 1z"/>');// eslint-disable-next-line
|
|
var BIconCollectionFill=/*#__PURE__*/makeIcon('CollectionFill','<path d="M0 13a1.5 1.5 0 0 0 1.5 1.5h13A1.5 1.5 0 0 0 16 13V6a1.5 1.5 0 0 0-1.5-1.5h-13A1.5 1.5 0 0 0 0 6v7z"/><path fill-rule="evenodd" d="M2 3a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 0-1h-11A.5.5 0 0 0 2 3zm2-2a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 0-1h-7A.5.5 0 0 0 4 1z"/>');// eslint-disable-next-line
|
|
var BIconCollectionPlay=/*#__PURE__*/makeIcon('CollectionPlay','<path fill-rule="evenodd" d="M14.5 13.5h-13A.5.5 0 0 1 1 13V6a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5zm-13 1A1.5 1.5 0 0 1 0 13V6a1.5 1.5 0 0 1 1.5-1.5h13A1.5 1.5 0 0 1 16 6v7a1.5 1.5 0 0 1-1.5 1.5h-13zM2 3a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 0-1h-11A.5.5 0 0 0 2 3zm2-2a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 0-1h-7A.5.5 0 0 0 4 1z"/><path fill-rule="evenodd" d="M6.258 6.563a.5.5 0 0 1 .507.013l4 2.5a.5.5 0 0 1 0 .848l-4 2.5A.5.5 0 0 1 6 12V7a.5.5 0 0 1 .258-.437z"/>');// eslint-disable-next-line
|
|
var BIconCollectionPlayFill=/*#__PURE__*/makeIcon('CollectionPlayFill','<path fill-rule="evenodd" d="M1.5 14.5A1.5 1.5 0 0 1 0 13V6a1.5 1.5 0 0 1 1.5-1.5h13A1.5 1.5 0 0 1 16 6v7a1.5 1.5 0 0 1-1.5 1.5h-13zm5.265-7.924A.5.5 0 0 0 6 7v5a.5.5 0 0 0 .765.424l4-2.5a.5.5 0 0 0 0-.848l-4-2.5zM2 3a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 0-1h-11A.5.5 0 0 0 2 3zm2-2a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 0-1h-7A.5.5 0 0 0 4 1z"/>');// eslint-disable-next-line
|
|
var BIconColumns=/*#__PURE__*/makeIcon('Columns','<path fill-rule="evenodd" d="M15 2H1v12h14V2zM1 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H1z"/><path fill-rule="evenodd" d="M7.5 14V2h1v12h-1zm0-8H1V5h6.5v1zm7.5 5H8.5v-1H15v1z"/>');// eslint-disable-next-line
|
|
var BIconColumnsGap=/*#__PURE__*/makeIcon('ColumnsGap','<path fill-rule="evenodd" d="M6 1H1v3h5V1zM1 0a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1H1zm14 12h-5v3h5v-3zm-5-1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-5zM6 8H1v7h5V8zM1 7a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H1zm14-6h-5v7h5V1zm-5-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1h-5z"/>');// eslint-disable-next-line
|
|
var BIconCommand=/*#__PURE__*/makeIcon('Command','<path fill-rule="evenodd" d="M3.5 2a1.5 1.5 0 1 0 0 3H5V3.5A1.5 1.5 0 0 0 3.5 2zM6 5V3.5A2.5 2.5 0 1 0 3.5 6H5v4H3.5A2.5 2.5 0 1 0 6 12.5V11h4v1.5a2.5 2.5 0 1 0 2.5-2.5H11V6h1.5A2.5 2.5 0 1 0 10 3.5V5H6zm4 1H6v4h4V6zm1-1h1.5A1.5 1.5 0 1 0 11 3.5V5zm0 6v1.5a1.5 1.5 0 1 0 1.5-1.5H11zm-6 0H3.5A1.5 1.5 0 1 0 5 12.5V11z"/>');// eslint-disable-next-line
|
|
var BIconCompass=/*#__PURE__*/makeIcon('Compass','<path fill-rule="evenodd" d="M8 16.016a7.5 7.5 0 0 0 1.962-14.74A1 1 0 0 0 9 0H7a1 1 0 0 0-.962 1.276A7.5 7.5 0 0 0 8 16.016zm6.5-7.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"/><path d="M6.94 7.44l4.95-2.83-2.83 4.95-4.949 2.83 2.828-4.95z"/>');// eslint-disable-next-line
|
|
var BIconCompassFill=/*#__PURE__*/makeIcon('CompassFill','<path fill-rule="evenodd" d="M15.5 8.516a7.5 7.5 0 1 1-9.462-7.24A1 1 0 0 1 7 0h2a1 1 0 0 1 .962 1.276 7.503 7.503 0 0 1 5.538 7.24zm-3.61-3.905L6.94 7.439 4.11 12.39l4.95-2.828 2.828-4.95z"/>');// eslint-disable-next-line
|
|
var BIconCone=/*#__PURE__*/makeIcon('Cone','<path d="M7.03 1.88c.252-1.01 1.688-1.01 1.94 0l2.905 11.62H14a.5.5 0 0 1 0 1H2a.5.5 0 0 1 0-1h2.125L7.03 1.88z"/>');// eslint-disable-next-line
|
|
var BIconConeStriped=/*#__PURE__*/makeIcon('ConeStriped','<path d="M9.97 4.88l.953 3.811C10.159 8.878 9.14 9 8 9c-1.14 0-2.158-.122-2.923-.309L6.03 4.88C6.635 4.957 7.3 5 8 5s1.365-.043 1.97-.12zm-.245-.978L8.97.88C8.718-.13 7.282-.13 7.03.88L6.275 3.9C6.8 3.965 7.382 4 8 4c.618 0 1.2-.036 1.725-.098zm4.396 8.613a.5.5 0 0 1 .037.96l-6 2a.5.5 0 0 1-.316 0l-6-2a.5.5 0 0 1 .037-.96l2.391-.598.565-2.257c.862.212 1.964.339 3.165.339s2.303-.127 3.165-.339l.565 2.257 2.391.598z"/>');// eslint-disable-next-line
|
|
var BIconController=/*#__PURE__*/makeIcon('Controller','<path fill-rule="evenodd" d="M11.119 2.693c.904.19 1.75.495 2.235.98.407.408.779 1.05 1.094 1.772.32.733.599 1.591.805 2.466.206.875.34 1.78.364 2.606.024.815-.059 1.602-.328 2.21a1.42 1.42 0 0 1-1.445.83c-.636-.067-1.115-.394-1.513-.773a11.307 11.307 0 0 1-.739-.809c-.126-.147-.25-.291-.368-.422-.728-.804-1.597-1.527-3.224-1.527-1.627 0-2.496.723-3.224 1.527-.119.131-.242.275-.368.422-.243.283-.494.576-.739.81-.398.378-.877.705-1.513.772a1.42 1.42 0 0 1-1.445-.83c-.27-.608-.352-1.395-.329-2.21.024-.826.16-1.73.365-2.606.206-.875.486-1.733.805-2.466.315-.722.687-1.364 1.094-1.772.486-.485 1.331-.79 2.235-.98.932-.196 2.03-.292 3.119-.292 1.089 0 2.187.096 3.119.292zm-6.032.979c-.877.185-1.469.443-1.733.708-.276.276-.587.783-.885 1.465a13.748 13.748 0 0 0-.748 2.295 12.351 12.351 0 0 0-.339 2.406c-.022.755.062 1.368.243 1.776a.42.42 0 0 0 .426.24c.327-.034.61-.199.929-.502.212-.202.4-.423.615-.674.133-.156.276-.323.44-.505C4.861 9.97 5.978 9.026 8 9.026s3.139.943 3.965 1.855c.164.182.307.35.44.505.214.25.403.472.615.674.318.303.601.468.929.503a.42.42 0 0 0 .426-.241c.18-.408.265-1.02.243-1.776a12.354 12.354 0 0 0-.339-2.406 13.753 13.753 0 0 0-.748-2.295c-.298-.682-.61-1.19-.885-1.465-.264-.265-.856-.523-1.733-.708-.85-.179-1.877-.27-2.913-.27-1.036 0-2.063.091-2.913.27z"/><path d="M11.5 6.026a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-1 1a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-1 1a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-7-2.5h1v3h-1v-3z"/><path d="M3.5 6.526h3v1h-3v-1zM3.051 3.26a.5.5 0 0 1 .354-.613l1.932-.518a.5.5 0 0 1 .258.966l-1.932.518a.5.5 0 0 1-.612-.354zm9.976 0a.5.5 0 0 0-.353-.613l-1.932-.518a.5.5 0 1 0-.259.966l1.932.518a.5.5 0 0 0 .612-.354z"/>');// eslint-disable-next-line
|
|
var BIconCpu=/*#__PURE__*/makeIcon('Cpu','<path fill-rule="evenodd" d="M5 0a.5.5 0 0 1 .5.5V2h1V.5a.5.5 0 0 1 1 0V2h1V.5a.5.5 0 0 1 1 0V2h1V.5a.5.5 0 0 1 1 0V2A2.5 2.5 0 0 1 14 4.5h1.5a.5.5 0 0 1 0 1H14v1h1.5a.5.5 0 0 1 0 1H14v1h1.5a.5.5 0 0 1 0 1H14v1h1.5a.5.5 0 0 1 0 1H14a2.5 2.5 0 0 1-2.5 2.5v1.5a.5.5 0 0 1-1 0V14h-1v1.5a.5.5 0 0 1-1 0V14h-1v1.5a.5.5 0 0 1-1 0V14h-1v1.5a.5.5 0 0 1-1 0V14A2.5 2.5 0 0 1 2 11.5H.5a.5.5 0 0 1 0-1H2v-1H.5a.5.5 0 0 1 0-1H2v-1H.5a.5.5 0 0 1 0-1H2v-1H.5a.5.5 0 0 1 0-1H2A2.5 2.5 0 0 1 4.5 2V.5A.5.5 0 0 1 5 0zm-.5 3A1.5 1.5 0 0 0 3 4.5v7A1.5 1.5 0 0 0 4.5 13h7a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 11.5 3h-7zM5 6.5A1.5 1.5 0 0 1 6.5 5h3A1.5 1.5 0 0 1 11 6.5v3A1.5 1.5 0 0 1 9.5 11h-3A1.5 1.5 0 0 1 5 9.5v-3zM6.5 6a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3z"/>');// eslint-disable-next-line
|
|
var BIconCpuFill=/*#__PURE__*/makeIcon('CpuFill','<path fill-rule="evenodd" d="M5.5.5a.5.5 0 0 0-1 0V2A2.5 2.5 0 0 0 2 4.5H.5a.5.5 0 0 0 0 1H2v1H.5a.5.5 0 0 0 0 1H2v1H.5a.5.5 0 0 0 0 1H2v1H.5a.5.5 0 0 0 0 1H2A2.5 2.5 0 0 0 4.5 14v1.5a.5.5 0 0 0 1 0V14h1v1.5a.5.5 0 0 0 1 0V14h1v1.5a.5.5 0 0 0 1 0V14h1v1.5a.5.5 0 0 0 1 0V14a2.5 2.5 0 0 0 2.5-2.5h1.5a.5.5 0 0 0 0-1H14v-1h1.5a.5.5 0 0 0 0-1H14v-1h1.5a.5.5 0 0 0 0-1H14v-1h1.5a.5.5 0 0 0 0-1H14A2.5 2.5 0 0 0 11.5 2V.5a.5.5 0 0 0-1 0V2h-1V.5a.5.5 0 0 0-1 0V2h-1V.5a.5.5 0 0 0-1 0V2h-1V.5zm1 4.5A1.5 1.5 0 0 0 5 6.5v3A1.5 1.5 0 0 0 6.5 11h3A1.5 1.5 0 0 0 11 9.5v-3A1.5 1.5 0 0 0 9.5 5h-3zm0 1a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3z"/>');// eslint-disable-next-line
|
|
var BIconCreditCard=/*#__PURE__*/makeIcon('CreditCard','<path fill-rule="evenodd" d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v1h14V4a1 1 0 0 0-1-1H2zm13 4H1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V7z"/><path d="M2 10a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-1z"/>');// eslint-disable-next-line
|
|
var BIconCreditCard2Back=/*#__PURE__*/makeIcon('CreditCard2Back','<path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/><path d="M11 5.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-1zM1 9h14v2H1V9z"/>');// eslint-disable-next-line
|
|
var BIconCreditCard2BackFill=/*#__PURE__*/makeIcon('CreditCard2BackFill','<path fill-rule="evenodd" d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v5H0V4zm11.5 1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-2z"/><path d="M0 11v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1H0z"/>');// eslint-disable-next-line
|
|
var BIconCreditCard2Front=/*#__PURE__*/makeIcon('CreditCard2Front','<path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/><path d="M2 5.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-1z"/><path fill-rule="evenodd" d="M2 8.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCreditCard2FrontFill=/*#__PURE__*/makeIcon('CreditCard2FrontFill','<path fill-rule="evenodd" d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2.5 1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-2zm0 3a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zm0 2a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1z"/>');// eslint-disable-next-line
|
|
var BIconCreditCardFill=/*#__PURE__*/makeIcon('CreditCardFill','<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1H0V4z"/><path fill-rule="evenodd" d="M0 7v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7H0zm3 2a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H3z"/>');// eslint-disable-next-line
|
|
var BIconCrop=/*#__PURE__*/makeIcon('Crop','<path fill-rule="evenodd" d="M3.5.5A.5.5 0 0 1 4 1v13h13a.5.5 0 0 1 0 1h-2v2a.5.5 0 0 1-1 0v-2H3.5a.5.5 0 0 1-.5-.5V4H1a.5.5 0 0 1 0-1h2V1a.5.5 0 0 1 .5-.5zm2.5 3a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4H6.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconCup=/*#__PURE__*/makeIcon('Cup','<path fill-rule="evenodd" d="M1 2a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v1h.5A1.5 1.5 0 0 1 16 4.5v7a1.5 1.5 0 0 1-1.5 1.5h-.55a2.5 2.5 0 0 1-2.45 2h-8A2.5 2.5 0 0 1 1 12.5V2zm13 10h.5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5H14v8zM13 2H2v10.5A1.5 1.5 0 0 0 3.5 14h8a1.5 1.5 0 0 0 1.5-1.5V2z"/>');// eslint-disable-next-line
|
|
var BIconCupFill=/*#__PURE__*/makeIcon('CupFill','<path fill-rule="evenodd" d="M1 2a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v1h.5A1.5 1.5 0 0 1 16 4.5v7a1.5 1.5 0 0 1-1.5 1.5h-.55a2.5 2.5 0 0 1-2.45 2h-8A2.5 2.5 0 0 1 1 12.5V2zm13 10h.5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5H14v8z"/>');// eslint-disable-next-line
|
|
var BIconCupStraw=/*#__PURE__*/makeIcon('CupStraw','<path fill-rule="evenodd" d="M13.964 1.18a.5.5 0 0 1-.278.65l-2.255.902-.462 2.08c.375.096.714.216.971.368.228.135.56.396.56.82 0 .046-.004.09-.011.132l-.955 9.068a1.28 1.28 0 0 1-.524.93c-.488.34-1.494.87-3.01.87-1.516 0-2.522-.53-3.01-.87a1.28 1.28 0 0 1-.524-.93L3.51 6.132A.78.78 0 0 1 3.5 6c0-.424.332-.685.56-.82.262-.154.607-.276.99-.372C5.824 4.614 6.867 4.5 8 4.5c.712 0 1.389.045 1.985.127l.527-2.37a.5.5 0 0 1 .302-.355l2.5-1a.5.5 0 0 1 .65.279zM9.768 5.608A13.991 13.991 0 0 0 8 5.5c-1.076 0-2.033.11-2.707.278A3.284 3.284 0 0 0 4.645 6c.146.073.362.15.648.222C5.967 6.39 6.924 6.5 8 6.5c.571 0 1.109-.03 1.588-.085l.18-.808zm.292 1.756a5.513 5.513 0 0 0 1.325-.297l-.845 8.03c-.013.12-.06.185-.102.214-.357.249-1.167.69-2.438.69-1.27 0-2.08-.441-2.438-.69-.041-.029-.09-.094-.102-.214l-.845-8.03c.137.046.283.088.435.126.774.194 1.817.308 2.95.308.742 0 1.445-.049 2.06-.137zm-5.593-1.48s.003.002.005.006l-.005-.006zm7.066 0l-.005.006a.026.026 0 0 1 .005-.006zM11.354 6a3.282 3.282 0 0 1-.703.235l.1-.446c.264.069.464.142.603.211z"/>');// eslint-disable-next-line
|
|
var BIconCursor=/*#__PURE__*/makeIcon('Cursor','<path fill-rule="evenodd" d="M14.082 2.182a.5.5 0 0 1 .103.557L8.528 15.467a.5.5 0 0 1-.917-.007L5.57 10.694.803 8.652a.5.5 0 0 1-.006-.916l12.728-5.657a.5.5 0 0 1 .556.103zM2.25 8.184l3.897 1.67a.5.5 0 0 1 .262.263l1.67 3.897L12.743 3.52 2.25 8.184z"/>');// eslint-disable-next-line
|
|
var BIconCursorFill=/*#__PURE__*/makeIcon('CursorFill','<path fill-rule="evenodd" d="M14.082 2.182a.5.5 0 0 1 .103.557L8.528 15.467a.5.5 0 0 1-.917-.007L5.57 10.694.803 8.652a.5.5 0 0 1-.006-.916l12.728-5.657a.5.5 0 0 1 .556.103z"/>');// eslint-disable-next-line
|
|
var BIconCursorText=/*#__PURE__*/makeIcon('CursorText','<path fill-rule="evenodd" d="M5 2a.5.5 0 0 1 .5-.5c.862 0 1.573.287 2.06.566.174.099.321.198.44.286.119-.088.266-.187.44-.286A4.165 4.165 0 0 1 10.5 1.5a.5.5 0 0 1 0 1c-.638 0-1.177.213-1.564.434a3.49 3.49 0 0 0-.436.294V7.5H9a.5.5 0 0 1 0 1h-.5v4.272c.1.08.248.187.436.294.387.221.926.434 1.564.434a.5.5 0 0 1 0 1 4.165 4.165 0 0 1-2.06-.566A4.561 4.561 0 0 1 8 13.65a4.561 4.561 0 0 1-.44.285 4.165 4.165 0 0 1-2.06.566.5.5 0 0 1 0-1c.638 0 1.177-.213 1.564-.434.188-.107.335-.214.436-.294V8.5H7a.5.5 0 0 1 0-1h.5V3.228a3.49 3.49 0 0 0-.436-.294A3.166 3.166 0 0 0 5.5 2.5.5.5 0 0 1 5 2zm3.352 1.355zm-.704 9.29z"/>');// eslint-disable-next-line
|
|
var BIconDash=/*#__PURE__*/makeIcon('Dash','<path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z"/>');// eslint-disable-next-line
|
|
var BIconDashCircle=/*#__PURE__*/makeIcon('DashCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z"/>');// eslint-disable-next-line
|
|
var BIconDashCircleFill=/*#__PURE__*/makeIcon('DashCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM4.5 7.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7z"/>');// eslint-disable-next-line
|
|
var BIconDashSquare=/*#__PURE__*/makeIcon('DashSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z"/>');// eslint-disable-next-line
|
|
var BIconDashSquareFill=/*#__PURE__*/makeIcon('DashSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm2.5 7.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7z"/>');// eslint-disable-next-line
|
|
var BIconDiagram2=/*#__PURE__*/makeIcon('Diagram2','<path fill-rule="evenodd" d="M6 3.5A1.5 1.5 0 0 1 7.5 2h1A1.5 1.5 0 0 1 10 3.5v1A1.5 1.5 0 0 1 8.5 6v1H11a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0v-1A.5.5 0 0 1 5 7h2.5V6A1.5 1.5 0 0 1 6 4.5v-1zM8.5 5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1zM3 11.5A1.5 1.5 0 0 1 4.5 10h1A1.5 1.5 0 0 1 7 11.5v1A1.5 1.5 0 0 1 5.5 14h-1A1.5 1.5 0 0 1 3 12.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm4.5.5a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1A1.5 1.5 0 0 1 9 12.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconDiagram2Fill=/*#__PURE__*/makeIcon('Diagram2Fill','<path fill-rule="evenodd" d="M6 3.5A1.5 1.5 0 0 1 7.5 2h1A1.5 1.5 0 0 1 10 3.5v1A1.5 1.5 0 0 1 8.5 6v1H11a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0v-1A.5.5 0 0 1 5 7h2.5V6A1.5 1.5 0 0 1 6 4.5v-1zm-3 8A1.5 1.5 0 0 1 4.5 10h1A1.5 1.5 0 0 1 7 11.5v1A1.5 1.5 0 0 1 5.5 14h-1A1.5 1.5 0 0 1 3 12.5v-1zm6 0a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1A1.5 1.5 0 0 1 9 12.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconDiagram3=/*#__PURE__*/makeIcon('Diagram3','<path fill-rule="evenodd" d="M6 3.5A1.5 1.5 0 0 1 7.5 2h1A1.5 1.5 0 0 1 10 3.5v1A1.5 1.5 0 0 1 8.5 6v1H14a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0v-1A.5.5 0 0 1 2 7h5.5V6A1.5 1.5 0 0 1 6 4.5v-1zM8.5 5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1zM0 11.5A1.5 1.5 0 0 1 1.5 10h1A1.5 1.5 0 0 1 4 11.5v1A1.5 1.5 0 0 1 2.5 14h-1A1.5 1.5 0 0 1 0 12.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm4.5.5A1.5 1.5 0 0 1 7.5 10h1a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm4.5.5a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconDiagram3Fill=/*#__PURE__*/makeIcon('Diagram3Fill','<path fill-rule="evenodd" d="M6 3.5A1.5 1.5 0 0 1 7.5 2h1A1.5 1.5 0 0 1 10 3.5v1A1.5 1.5 0 0 1 8.5 6v1H14a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0v-1A.5.5 0 0 1 2 7h5.5V6A1.5 1.5 0 0 1 6 4.5v-1zm-6 8A1.5 1.5 0 0 1 1.5 10h1A1.5 1.5 0 0 1 4 11.5v1A1.5 1.5 0 0 1 2.5 14h-1A1.5 1.5 0 0 1 0 12.5v-1zm6 0A1.5 1.5 0 0 1 7.5 10h1a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5v-1zm6 0a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5v-1z"/>');// eslint-disable-next-line
|
|
var BIconDiamond=/*#__PURE__*/makeIcon('Diamond','<path fill-rule="evenodd" d="M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.482 1.482 0 0 1 0-2.098L6.95.435zm1.4.7a.495.495 0 0 0-.7 0L1.134 7.65a.495.495 0 0 0 0 .7l6.516 6.516a.495.495 0 0 0 .7 0l6.516-6.516a.495.495 0 0 0 0-.7L8.35 1.134z"/>');// eslint-disable-next-line
|
|
var BIconDiamondFill=/*#__PURE__*/makeIcon('DiamondFill','<path fill-rule="evenodd" d="M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.482 1.482 0 0 1 0-2.098L6.95.435z"/>');// eslint-disable-next-line
|
|
var BIconDiamondHalf=/*#__PURE__*/makeIcon('DiamondHalf','<path fill-rule="evenodd" d="M9.05.435c-.58-.58-1.52-.58-2.1 0L.436 6.95c-.58.58-.58 1.519 0 2.098l6.516 6.516c.58.58 1.519.58 2.098 0l6.516-6.516c.58-.58.58-1.519 0-2.098L9.05.435zM8 .989c.127 0 .253.049.35.145l6.516 6.516a.495.495 0 0 1 0 .7L8.35 14.866a.493.493 0 0 1-.35.145V.989z"/>');// eslint-disable-next-line
|
|
var BIconDice1=/*#__PURE__*/makeIcon('Dice1','<path fill-rule="evenodd" d="M13 1H3a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3z"/><circle cx="8" cy="8" r="1.5"/>');// eslint-disable-next-line
|
|
var BIconDice1Fill=/*#__PURE__*/makeIcon('Dice1Fill','<path fill-rule="evenodd" d="M3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3zm5 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconDice2=/*#__PURE__*/makeIcon('Dice2','<path fill-rule="evenodd" d="M13 1H3a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3z"/><circle cx="4" cy="4" r="1.5"/><circle cx="12" cy="12" r="1.5"/>');// eslint-disable-next-line
|
|
var BIconDice2Fill=/*#__PURE__*/makeIcon('Dice2Fill','<path fill-rule="evenodd" d="M0 3a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3zm5.5 1a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm6.5 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconDice3=/*#__PURE__*/makeIcon('Dice3','<path fill-rule="evenodd" d="M13 1H3a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3z"/><circle cx="4" cy="4" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="8" cy="8" r="1.5"/>');// eslint-disable-next-line
|
|
var BIconDice3Fill=/*#__PURE__*/makeIcon('Dice3Fill','<path fill-rule="evenodd" d="M3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3zm2.5 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm8 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconDice4=/*#__PURE__*/makeIcon('Dice4','<path fill-rule="evenodd" d="M13 1H3a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3z"/><circle cx="4" cy="4" r="1.5"/><circle cx="12" cy="4" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="4" cy="12" r="1.5"/>');// eslint-disable-next-line
|
|
var BIconDice4Fill=/*#__PURE__*/makeIcon('Dice4Fill','<path fill-rule="evenodd" d="M3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3zm1 5.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm8 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm1.5 6.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM4 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconDice5=/*#__PURE__*/makeIcon('Dice5','<path fill-rule="evenodd" d="M13 1H3a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3z"/><circle cx="4" cy="4" r="1.5"/><circle cx="12" cy="4" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="4" cy="12" r="1.5"/><circle cx="8" cy="8" r="1.5"/>');// eslint-disable-next-line
|
|
var BIconDice5Fill=/*#__PURE__*/makeIcon('Dice5Fill','<path fill-rule="evenodd" d="M3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3zm2.5 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM12 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM5.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconDice6=/*#__PURE__*/makeIcon('Dice6','<path fill-rule="evenodd" d="M13 1H3a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3z"/><circle cx="4" cy="4" r="1.5"/><circle cx="12" cy="4" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="12" cy="8" r="1.5"/><circle cx="4" cy="12" r="1.5"/><circle cx="4" cy="8" r="1.5"/>');// eslint-disable-next-line
|
|
var BIconDice6Fill=/*#__PURE__*/makeIcon('Dice6Fill','<path fill-rule="evenodd" d="M3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3zm1 5.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm8 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm1.5 6.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM12 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM5.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM4 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconDisplay=/*#__PURE__*/makeIcon('Display','<path d="M5.75 13.5c.167-.333.25-.833.25-1.5h4c0 .667.083 1.167.25 1.5H11a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1h.75z"/><path fill-rule="evenodd" d="M13.991 3H2c-.325 0-.502.078-.602.145a.758.758 0 0 0-.254.302A1.46 1.46 0 0 0 1 4.01V10c0 .325.078.502.145.602.07.105.17.188.302.254a1.464 1.464 0 0 0 .538.143L2.01 11H14c.325 0 .502-.078.602-.145a.758.758 0 0 0 .254-.302 1.464 1.464 0 0 0 .143-.538L15 9.99V4c0-.325-.078-.502-.145-.602a.757.757 0 0 0-.302-.254A1.46 1.46 0 0 0 13.99 3zM14 2H2C0 2 0 4 0 4v6c0 2 2 2 2 2h12c2 0 2-2 2-2V4c0-2-2-2-2-2z"/>');// eslint-disable-next-line
|
|
var BIconDisplayFill=/*#__PURE__*/makeIcon('DisplayFill','<path d="M6 12c0 .667-.083 1.167-.25 1.5H5a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1h-.75c-.167-.333-.25-.833-.25-1.5h4c2 0 2-2 2-2V4c0-2-2-2-2-2H2C0 2 0 4 0 4v6c0 2 2 2 2 2h4z"/>');// eslint-disable-next-line
|
|
var BIconDistributeHorizontal=/*#__PURE__*/makeIcon('DistributeHorizontal','<path fill-rule="evenodd" d="M14.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5zm-13 0a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"/><path d="M6 13a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10z"/>');// eslint-disable-next-line
|
|
var BIconDistributeVertical=/*#__PURE__*/makeIcon('DistributeVertical','<path fill-rule="evenodd" d="M1 1.5a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 0-1h-13a.5.5 0 0 0-.5.5zm0 13a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 0-1h-13a.5.5 0 0 0-.5.5z"/><path d="M2 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7z"/>');// eslint-disable-next-line
|
|
var BIconDoorClosed=/*#__PURE__*/makeIcon('DoorClosed','<path fill-rule="evenodd" d="M3 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v13h1.5a.5.5 0 0 1 0 1h-13a.5.5 0 0 1 0-1H3V2zm1 13h8V2H4v13z"/><path d="M9 9a1 1 0 1 0 2 0 1 1 0 0 0-2 0z"/>');// eslint-disable-next-line
|
|
var BIconDoorClosedFill=/*#__PURE__*/makeIcon('DoorClosedFill','<path fill-rule="evenodd" d="M4 1a1 1 0 0 0-1 1v13H1.5a.5.5 0 0 0 0 1h13a.5.5 0 0 0 0-1H13V2a1 1 0 0 0-1-1H4zm2 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconDoorOpen=/*#__PURE__*/makeIcon('DoorOpen','<path fill-rule="evenodd" d="M1 15.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5zM11.5 2H11V1h.5A1.5 1.5 0 0 1 13 2.5V15h-1V2.5a.5.5 0 0 0-.5-.5z"/><path fill-rule="evenodd" d="M10.828.122A.5.5 0 0 1 11 .5V15h-1V1.077l-6 .857V15H3V1.5a.5.5 0 0 1 .43-.495l7-1a.5.5 0 0 1 .398.117z"/><path d="M8 9c0 .552.224 1 .5 1s.5-.448.5-1-.224-1-.5-1-.5.448-.5 1z"/>');// eslint-disable-next-line
|
|
var BIconDoorOpenFill=/*#__PURE__*/makeIcon('DoorOpenFill','<path fill-rule="evenodd" d="M1.5 15a.5.5 0 0 0 0 1h13a.5.5 0 0 0 0-1H13V2.5A1.5 1.5 0 0 0 11.5 1H11V.5a.5.5 0 0 0-.57-.495l-7 1A.5.5 0 0 0 3 1.5V15H1.5zM11 2v13h1V2.5a.5.5 0 0 0-.5-.5H11zm-2.5 8c-.276 0-.5-.448-.5-1s.224-1 .5-1 .5.448.5 1-.224 1-.5 1z"/>');// eslint-disable-next-line
|
|
var BIconDot=/*#__PURE__*/makeIcon('Dot','<path fill-rule="evenodd" d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconDownload=/*#__PURE__*/makeIcon('Download','<path fill-rule="evenodd" d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/><path fill-rule="evenodd" d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>');// eslint-disable-next-line
|
|
var BIconDroplet=/*#__PURE__*/makeIcon('Droplet','<path fill-rule="evenodd" d="M7.21.8C7.69.295 8 0 8 0c.109.363.234.708.371 1.038.812 1.946 2.073 3.35 3.197 4.6C12.878 7.096 14 8.345 14 10a6 6 0 0 1-12 0C2 6.668 5.58 2.517 7.21.8zm.413 1.021A31.25 31.25 0 0 0 5.794 3.99c-.726.95-1.436 2.008-1.96 3.07C3.304 8.133 3 9.138 3 10a5 5 0 0 0 10 0c0-1.201-.796-2.157-2.181-3.7l-.03-.032C9.75 5.11 8.5 3.72 7.623 1.82z"/><path fill-rule="evenodd" d="M4.553 7.776c.82-1.641 1.717-2.753 2.093-3.13l.708.708c-.29.29-1.128 1.311-1.907 2.87l-.894-.448z"/>');// eslint-disable-next-line
|
|
var BIconDropletFill=/*#__PURE__*/makeIcon('DropletFill','<path fill-rule="evenodd" d="M8 16a6 6 0 0 0 6-6c0-1.655-1.122-2.904-2.432-4.362C10.254 4.176 8.75 2.503 8 0c0 0-6 5.686-6 10a6 6 0 0 0 6 6zM6.646 4.646c-.376.377-1.272 1.489-2.093 3.13l.894.448c.78-1.559 1.616-2.58 1.907-2.87l-.708-.708z"/>');// eslint-disable-next-line
|
|
var BIconDropletHalf=/*#__PURE__*/makeIcon('DropletHalf','<path fill-rule="evenodd" d="M7.21.8C7.69.295 8 0 8 0c.109.363.234.708.371 1.038.812 1.946 2.073 3.35 3.197 4.6C12.878 7.096 14 8.345 14 10a6 6 0 0 1-12 0C2 6.668 5.58 2.517 7.21.8zm.413 1.021A31.25 31.25 0 0 0 5.794 3.99c-.726.95-1.436 2.008-1.96 3.07C3.304 8.133 3 9.138 3 10c0 0 2.5 1.5 5 .5s5-.5 5-.5c0-1.201-.796-2.157-2.181-3.7l-.03-.032C9.75 5.11 8.5 3.72 7.623 1.82z"/><path fill-rule="evenodd" d="M4.553 7.776c.82-1.641 1.717-2.753 2.093-3.13l.708.708c-.29.29-1.128 1.311-1.907 2.87l-.894-.448z"/>');// eslint-disable-next-line
|
|
var BIconEarbuds=/*#__PURE__*/makeIcon('Earbuds','<path fill-rule="evenodd" d="M6.825 4.138c.596 2.141-.36 3.593-2.389 4.117a4.432 4.432 0 0 1-2.018.054c-.048-.01.9 2.778 1.522 4.61l.41 1.205a.52.52 0 0 1-.346.659l-.593.19a.548.548 0 0 1-.69-.34L.184 6.99c-.696-2.137.662-4.309 2.564-4.8 2.029-.523 3.402 0 4.076 1.948zm-.868 2.221c.43-.112.561-.993.292-1.969-.269-.975-.836-1.675-1.266-1.563-.43.112-.561.994-.292 1.969.269.975.836 1.675 1.266 1.563zm3.218-2.221c-.596 2.141.36 3.593 2.389 4.117a4.434 4.434 0 0 0 2.018.054c.048-.01-.9 2.778-1.522 4.61l-.41 1.205a.52.52 0 0 0 .346.659l.593.19c.289.092.6-.06.69-.34l2.536-7.643c.696-2.137-.662-4.309-2.564-4.8-2.029-.523-3.402 0-4.076 1.948zm.868 2.221c-.43-.112-.561-.993-.292-1.969.269-.975.836-1.675 1.266-1.563.43.112.561.994.292 1.969-.269.975-.836 1.675-1.266 1.563z"/>');// eslint-disable-next-line
|
|
var BIconEasel=/*#__PURE__*/makeIcon('Easel','<path d="M8.473.337a.5.5 0 0 0-.946 0L6.954 2h2.092L8.473.337zM12.15 11h-1.058l1.435 4.163a.5.5 0 0 0 .946-.326L12.15 11zM8.5 11h-1v2.5a.5.5 0 0 0 1 0V11zm-3.592 0H3.85l-1.323 3.837a.5.5 0 1 0 .946.326L4.908 11z"/><path fill-rule="evenodd" d="M14 3H2v7h12V3zM2 2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z"/>');// eslint-disable-next-line
|
|
var BIconEaselFill=/*#__PURE__*/makeIcon('EaselFill','<path d="M8.473.337a.5.5 0 0 0-.946 0L6.954 2h2.092L8.473.337zM12.15 11h-1.058l1.435 4.163a.5.5 0 0 0 .946-.326L12.15 11zM8.5 11h-1v2.5a.5.5 0 0 0 1 0V11zm-3.592 0H3.85l-1.323 3.837a.5.5 0 1 0 .946.326L4.908 11zM1 3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3z"/>');// eslint-disable-next-line
|
|
var BIconEgg=/*#__PURE__*/makeIcon('Egg','<path fill-rule="evenodd" d="M8 15a5 5 0 0 0 5-5c0-1.956-.69-4.286-1.742-6.12-.524-.913-1.112-1.658-1.704-2.164C8.956 1.206 8.428 1 8 1c-.428 0-.956.206-1.554.716-.592.506-1.18 1.251-1.704 2.164C3.69 5.714 3 8.044 3 10a5 5 0 0 0 5 5zm0 1a6 6 0 0 0 6-6c0-4.314-3-10-6-10S2 5.686 2 10a6 6 0 0 0 6 6z"/>');// eslint-disable-next-line
|
|
var BIconEggFill=/*#__PURE__*/makeIcon('EggFill','<path d="M14 10a6 6 0 0 1-12 0C2 5.686 5 0 8 0s6 5.686 6 10z"/>');// eslint-disable-next-line
|
|
var BIconEggFried=/*#__PURE__*/makeIcon('EggFried','<path fill-rule="evenodd" d="M13.665 6.113a1 1 0 0 1-.667-.977L13 5a4 4 0 0 0-6.483-3.136 1 1 0 0 1-.8.2 4 4 0 0 0-3.693 6.61 1 1 0 0 1 .2 1 4 4 0 0 0 6.67 4.087 1 1 0 0 1 1.262-.152 2.5 2.5 0 0 0 3.715-2.905 1 1 0 0 1 .341-1.113 2.001 2.001 0 0 0-.547-3.478zM14 5c0 .057 0 .113-.003.17a3.001 3.001 0 0 1 .822 5.216 3.5 3.5 0 0 1-5.201 4.065 5 5 0 0 1-8.336-5.109A5 5 0 0 1 5.896 1.08 5 5 0 0 1 14 5z"/><circle cx="8" cy="8" r="3"/>');// eslint-disable-next-line
|
|
var BIconEject=/*#__PURE__*/makeIcon('Eject','<path fill-rule="evenodd" d="M7.27 1.047a1 1 0 0 1 1.46 0l6.345 6.77c.6.638.146 1.683-.73 1.683H1.656C.78 9.5.326 8.455.926 7.816L7.27 1.047zM14.346 8.5L8 1.731 1.654 8.5h12.692zM.5 11.5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-1zm14 0h-13v1h13v-1z"/>');// eslint-disable-next-line
|
|
var BIconEjectFill=/*#__PURE__*/makeIcon('EjectFill','<path fill-rule="evenodd" d="M7.27 1.047a1 1 0 0 1 1.46 0l6.345 6.77c.6.638.146 1.683-.73 1.683H1.656C.78 9.5.326 8.455.926 7.816L7.27 1.047zM.5 11.5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-1z"/>');// eslint-disable-next-line
|
|
var BIconEmojiAngry=/*#__PURE__*/makeIcon('EmojiAngry','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4.285 12.433a.5.5 0 0 0 .683-.183A3.498 3.498 0 0 1 8 10.5c1.295 0 2.426.703 3.032 1.75a.5.5 0 0 0 .866-.5A4.498 4.498 0 0 0 8 9.5a4.5 4.5 0 0 0-3.898 2.25.5.5 0 0 0 .183.683z"/><path d="M7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zm4 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5z"/><path fill-rule="evenodd" d="M4.053 4.276a.5.5 0 0 1 .67-.223l2 1a.5.5 0 1 1-.447.894l-2-1a.5.5 0 0 1-.223-.67zm7.894 0a.5.5 0 0 0-.67-.223l-2 1a.5.5 0 1 0 .447.894l2-1a.5.5 0 0 0 .223-.67z"/>');// eslint-disable-next-line
|
|
var BIconEmojiAngryFill=/*#__PURE__*/makeIcon('EmojiAngryFill','<path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM4.053 4.276a.5.5 0 0 1 .67-.223l2 1a.5.5 0 0 1 .166.76c.071.206.111.44.111.687C7 7.328 6.552 8 6 8s-1-.672-1-1.5c0-.408.109-.778.285-1.049l-1.009-.504a.5.5 0 0 1-.223-.67zm.232 8.157a.5.5 0 0 0 .683-.183A3.498 3.498 0 0 1 8 10.5c1.295 0 2.426.703 3.032 1.75a.5.5 0 1 0 .866-.5A4.498 4.498 0 0 0 8 9.5a4.5 4.5 0 0 0-3.898 2.25.5.5 0 0 0 .183.683zM10 8c.552 0 1-.672 1-1.5 0-.408-.109-.778-.285-1.049l1.009-.504a.5.5 0 1 0-.448-.894l-2 1a.5.5 0 0 0-.165.76A2.12 2.12 0 0 0 9 6.5c0 .828.448 1.5 1 1.5z"/>');// eslint-disable-next-line
|
|
var BIconEmojiDizzy=/*#__PURE__*/makeIcon('EmojiDizzy','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M9.146 5.146a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708.708l-.647.646.647.646a.5.5 0 0 1-.708.708l-.646-.647-.646.647a.5.5 0 1 1-.708-.708l.647-.646-.647-.646a.5.5 0 0 1 0-.708zm-5 0a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 1 1 .708.708l-.647.646.647.646a.5.5 0 1 1-.708.708L5.5 7.207l-.646.647a.5.5 0 1 1-.708-.708l.647-.646-.647-.646a.5.5 0 0 1 0-.708z"/><path d="M10 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"/>');// eslint-disable-next-line
|
|
var BIconEmojiDizzyFill=/*#__PURE__*/makeIcon('EmojiDizzyFill','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM4.146 5.146a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 1 1 .708.708l-.647.646.647.646a.5.5 0 1 1-.708.708L5.5 7.207l-.646.647a.5.5 0 1 1-.708-.708l.647-.646-.647-.646a.5.5 0 0 1 0-.708zm5 0a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708.708l-.647.646.647.646a.5.5 0 0 1-.708.708l-.646-.647-.646.647a.5.5 0 1 1-.708-.708l.647-.646-.647-.646a.5.5 0 0 1 0-.708zM8 13a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/>');// eslint-disable-next-line
|
|
var BIconEmojiExpressionless=/*#__PURE__*/makeIcon('EmojiExpressionless','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm5 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconEmojiExpressionlessFill=/*#__PURE__*/makeIcon('EmojiExpressionlessFill','<path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM4.5 6a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm5 0a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm-5 4a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7z"/>');// eslint-disable-next-line
|
|
var BIconEmojiFrown=/*#__PURE__*/makeIcon('EmojiFrown','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4.285 12.433a.5.5 0 0 0 .683-.183A3.498 3.498 0 0 1 8 10.5c1.295 0 2.426.703 3.032 1.75a.5.5 0 0 0 .866-.5A4.498 4.498 0 0 0 8 9.5a4.5 4.5 0 0 0-3.898 2.25.5.5 0 0 0 .183.683z"/><path d="M7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zm4 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5z"/>');// eslint-disable-next-line
|
|
var BIconEmojiFrownFill=/*#__PURE__*/makeIcon('EmojiFrownFill','<path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zm-2.715 5.933a.5.5 0 0 0 .683-.183A3.498 3.498 0 0 1 8 10.5c1.295 0 2.426.703 3.032 1.75a.5.5 0 0 0 .866-.5A4.498 4.498 0 0 0 8 9.5a4.5 4.5 0 0 0-3.898 2.25.5.5 0 0 0 .183.683zM10 8c.552 0 1-.672 1-1.5S10.552 5 10 5s-1 .672-1 1.5S9.448 8 10 8z"/>');// eslint-disable-next-line
|
|
var BIconEmojiHeartEyes=/*#__PURE__*/makeIcon('EmojiHeartEyes','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M11.315 10.014a.5.5 0 0 1 .548.736A4.498 4.498 0 0 1 7.965 13a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .548-.736h.005l.017.005.067.015.252.055c.215.046.515.108.857.169.693.124 1.522.242 2.152.242.63 0 1.46-.118 2.152-.242a26.58 26.58 0 0 0 1.109-.224l.067-.015.017-.004.005-.002zM4.756 4.566c.763-1.424 4.02-.12.952 3.434-4.496-1.596-2.35-4.298-.952-3.434zm6.488 0c1.398-.864 3.544 1.838-.952 3.434-3.067-3.554.19-4.858.952-3.434z"/>');// eslint-disable-next-line
|
|
var BIconEmojiHeartEyesFill=/*#__PURE__*/makeIcon('EmojiHeartEyesFill','<path fill-rule="evenodd" d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.756 4.566c.763-1.424 4.02-.12.952 3.434-4.496-1.596-2.35-4.298-.952-3.434zm6.559 5.448a.5.5 0 0 1 .548.736A4.498 4.498 0 0 1 7.965 13a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .548-.736h.005l.017.005.067.015.252.055c.215.046.515.108.857.169.693.124 1.522.242 2.152.242.63 0 1.46-.118 2.152-.242a26.58 26.58 0 0 0 1.109-.224l.067-.015.017-.004.005-.002zm-.07-5.448c1.397-.864 3.543 1.838-.953 3.434-3.067-3.554.19-4.858.952-3.434z"/>');// eslint-disable-next-line
|
|
var BIconEmojiLaughing=/*#__PURE__*/makeIcon('EmojiLaughing','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M12.331 9.5a1 1 0 0 1 0 1A4.998 4.998 0 0 1 8 13a4.998 4.998 0 0 1-4.33-2.5A1 1 0 0 1 4.535 9h6.93a1 1 0 0 1 .866.5z"/><path d="M7 6.5c0 .828-.448 0-1 0s-1 .828-1 0S5.448 5 6 5s1 .672 1 1.5zm4 0c0 .828-.448 0-1 0s-1 .828-1 0S9.448 5 10 5s1 .672 1 1.5z"/>');// eslint-disable-next-line
|
|
var BIconEmojiLaughingFill=/*#__PURE__*/makeIcon('EmojiLaughingFill','<path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM7 6.5c0 .501-.164.396-.415.235C6.42 6.629 6.218 6.5 6 6.5c-.218 0-.42.13-.585.235C5.164 6.896 5 7 5 6.5 5 5.672 5.448 5 6 5s1 .672 1 1.5zm5.331 3a1 1 0 0 1 0 1A4.998 4.998 0 0 1 8 13a4.998 4.998 0 0 1-4.33-2.5A1 1 0 0 1 4.535 9h6.93a1 1 0 0 1 .866.5zm-1.746-2.765C10.836 6.896 11 7 11 6.5c0-.828-.448-1.5-1-1.5s-1 .672-1 1.5c0 .501.164.396.415.235.165-.106.367-.235.585-.235.218 0 .42.13.585.235z"/>');// eslint-disable-next-line
|
|
var BIconEmojiNeutral=/*#__PURE__*/makeIcon('EmojiNeutral','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5z"/><path d="M7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zm4 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5z"/>');// eslint-disable-next-line
|
|
var BIconEmojiNeutralFill=/*#__PURE__*/makeIcon('EmojiNeutralFill','<path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zm-3 4a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zM10 8c.552 0 1-.672 1-1.5S10.552 5 10 5s-1 .672-1 1.5S9.448 8 10 8z"/>');// eslint-disable-next-line
|
|
var BIconEmojiSmile=/*#__PURE__*/makeIcon('EmojiSmile','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4.285 9.567a.5.5 0 0 1 .683.183A3.498 3.498 0 0 0 8 11.5a3.498 3.498 0 0 0 3.032-1.75.5.5 0 1 1 .866.5A4.498 4.498 0 0 1 8 12.5a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .183-.683z"/><path d="M7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zm4 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5z"/>');// eslint-disable-next-line
|
|
var BIconEmojiSmileFill=/*#__PURE__*/makeIcon('EmojiSmileFill','<path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zM4.285 9.567a.5.5 0 0 1 .683.183A3.498 3.498 0 0 0 8 11.5a3.498 3.498 0 0 0 3.032-1.75.5.5 0 1 1 .866.5A4.498 4.498 0 0 1 8 12.5a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .183-.683zM10 8c.552 0 1-.672 1-1.5S10.552 5 10 5s-1 .672-1 1.5S9.448 8 10 8z"/>');// eslint-disable-next-line
|
|
var BIconEmojiSmileUpsideDown=/*#__PURE__*/makeIcon('EmojiSmileUpsideDown','<path fill-rule="evenodd" d="M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1zm0-1a8 8 0 1 1 0 16A8 8 0 0 1 8 0z"/><path fill-rule="evenodd" d="M4.285 6.433a.5.5 0 0 0 .683-.183A3.498 3.498 0 0 1 8 4.5c1.295 0 2.426.703 3.032 1.75a.5.5 0 0 0 .866-.5A4.498 4.498 0 0 0 8 3.5a4.5 4.5 0 0 0-3.898 2.25.5.5 0 0 0 .183.683z"/><path d="M7 9.5C7 8.672 6.552 8 6 8s-1 .672-1 1.5.448 1.5 1 1.5 1-.672 1-1.5zm4 0c0-.828-.448-1.5-1-1.5s-1 .672-1 1.5.448 1.5 1 1.5 1-.672 1-1.5z"/>');// eslint-disable-next-line
|
|
var BIconEmojiSmileUpsideDownFill=/*#__PURE__*/makeIcon('EmojiSmileUpsideDownFill','<path fill-rule="evenodd" d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM7 9.5C7 8.672 6.552 8 6 8s-1 .672-1 1.5.448 1.5 1 1.5 1-.672 1-1.5zM4.285 6.433a.5.5 0 0 0 .683-.183A3.498 3.498 0 0 1 8 4.5c1.295 0 2.426.703 3.032 1.75a.5.5 0 0 0 .866-.5A4.498 4.498 0 0 0 8 3.5a4.5 4.5 0 0 0-3.898 2.25.5.5 0 0 0 .183.683zM10 8c.552 0 1 .672 1 1.5s-.448 1.5-1 1.5-1-.672-1-1.5S9.448 8 10 8z"/>');// eslint-disable-next-line
|
|
var BIconEmojiSunglasses=/*#__PURE__*/makeIcon('EmojiSunglasses','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4.285 9.567a.5.5 0 0 1 .683.183A3.498 3.498 0 0 0 8 11.5a3.498 3.498 0 0 0 3.032-1.75.5.5 0 1 1 .866.5A4.498 4.498 0 0 1 8 12.5a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .183-.683zM6.5 6.497V6.5h-1c0-.568.447-.947.862-1.154C6.807 5.123 7.387 5 8 5s1.193.123 1.638.346c.415.207.862.586.862 1.154h-1v-.003l-.003-.01a.213.213 0 0 0-.036-.053.86.86 0 0 0-.27-.194C8.91 6.1 8.49 6 8 6c-.491 0-.912.1-1.19.24a.86.86 0 0 0-.271.194.213.213 0 0 0-.036.054l-.003.01z"/><path d="M2.31 5.243A1 1 0 0 1 3.28 4H6a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2h-.438a2 2 0 0 1-1.94-1.515L2.31 5.243zM9 5a1 1 0 0 1 1-1h2.72a1 1 0 0 1 .97 1.243l-.311 1.242A2 2 0 0 1 11.439 8H11a2 2 0 0 1-2-2V5z"/>');// eslint-disable-next-line
|
|
var BIconEmojiSunglassesFill=/*#__PURE__*/makeIcon('EmojiSunglassesFill','<path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM2.31 5.243A1 1 0 0 1 3.28 4H6a1 1 0 0 1 1 1v.116A4.22 4.22 0 0 1 8 5c.35 0 .69.04 1 .116V5a1 1 0 0 1 1-1h2.72a1 1 0 0 1 .97 1.243l-.311 1.242A2 2 0 0 1 11.439 8H11a2 2 0 0 1-1.994-1.839A2.99 2.99 0 0 0 8 6c-.393 0-.74.064-1.006.161A2 2 0 0 1 5 8h-.438a2 2 0 0 1-1.94-1.515L2.31 5.243zM4.969 9.75a.5.5 0 1 0-.866.5A4.498 4.498 0 0 0 8 12.5a4.5 4.5 0 0 0 3.898-2.25.5.5 0 1 0-.866-.5A3.498 3.498 0 0 1 8 11.5a3.498 3.498 0 0 1-3.032-1.75z"/>');// eslint-disable-next-line
|
|
var BIconEmojiWink=/*#__PURE__*/makeIcon('EmojiWink','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4.285 9.567a.5.5 0 0 1 .683.183A3.498 3.498 0 0 0 8 11.5a3.498 3.498 0 0 0 3.032-1.75.5.5 0 1 1 .866.5A4.498 4.498 0 0 1 8 12.5a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .183-.683z"/><path d="M7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5z"/><path fill-rule="evenodd" d="M8.757 6.063a.5.5 0 0 1 .68.194.934.934 0 0 0 .813.493c.339 0 .645-.19.813-.493a.5.5 0 1 1 .874.486A1.934 1.934 0 0 1 10.25 7.75c-.73 0-1.356-.412-1.687-1.007a.5.5 0 0 1 .194-.68z"/>');// eslint-disable-next-line
|
|
var BIconEmojiWinkFill=/*#__PURE__*/makeIcon('EmojiWinkFill','<path fill-rule="evenodd" d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zM4.285 9.567a.5.5 0 0 1 .683.183A3.498 3.498 0 0 0 8 11.5a3.498 3.498 0 0 0 3.032-1.75.5.5 0 1 1 .866.5A4.498 4.498 0 0 1 8 12.5a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .183-.683zm5.152-3.31a.5.5 0 0 0-.874.486c.33.595.958 1.007 1.687 1.007.73 0 1.356-.412 1.687-1.007a.5.5 0 0 0-.874-.486.934.934 0 0 1-.813.493.934.934 0 0 1-.813-.493z"/>');// eslint-disable-next-line
|
|
var BIconEnvelope=/*#__PURE__*/makeIcon('Envelope','<path fill-rule="evenodd" d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2zm13 2.383l-4.758 2.855L15 11.114v-5.73zm-.034 6.878L9.271 8.82 8 9.583 6.728 8.82l-5.694 3.44A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.739zM1 11.114l4.758-2.876L1 5.383v5.73z"/>');// eslint-disable-next-line
|
|
var BIconEnvelopeFill=/*#__PURE__*/makeIcon('EnvelopeFill','<path fill-rule="evenodd" d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555zM0 4.697v7.104l5.803-3.558L0 4.697zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757zm3.436-.586L16 11.801V4.697l-5.803 3.546z"/>');// eslint-disable-next-line
|
|
var BIconEnvelopeOpen=/*#__PURE__*/makeIcon('EnvelopeOpen','<path fill-rule="evenodd" d="M8.47 1.318a1 1 0 0 0-.94 0l-6 3.2A1 1 0 0 0 1 5.4v.818l5.724 3.465L8 8.917l1.276.766L15 6.218V5.4a1 1 0 0 0-.53-.882l-6-3.2zM15 7.388l-4.754 2.877L15 13.117v-5.73zm-.035 6.874L8 10.083l-6.965 4.18A1 1 0 0 0 2 15h12a1 1 0 0 0 .965-.738zM1 13.117l4.754-2.852L1 7.387v5.73zM7.059.435a2 2 0 0 1 1.882 0l6 3.2A2 2 0 0 1 16 5.4V14a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5.4a2 2 0 0 1 1.059-1.765l6-3.2z"/>');// eslint-disable-next-line
|
|
var BIconEnvelopeOpenFill=/*#__PURE__*/makeIcon('EnvelopeOpenFill','<path d="M8.941.435a2 2 0 0 0-1.882 0l-6 3.2A2 2 0 0 0 0 5.4v.313l6.709 3.933L8 8.928l1.291.717L16 5.715V5.4a2 2 0 0 0-1.059-1.765l-6-3.2zM16 6.873l-5.693 3.337L16 13.372v-6.5zm-.059 7.611L8 10.072.059 14.484A2 2 0 0 0 2 16h12a2 2 0 0 0 1.941-1.516zM0 13.373l5.693-3.163L0 6.873v6.5z"/>');// eslint-disable-next-line
|
|
var BIconExclamation=/*#__PURE__*/makeIcon('Exclamation','<path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>');// eslint-disable-next-line
|
|
var BIconExclamationCircle=/*#__PURE__*/makeIcon('ExclamationCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>');// eslint-disable-next-line
|
|
var BIconExclamationCircleFill=/*#__PURE__*/makeIcon('ExclamationCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconExclamationDiamond=/*#__PURE__*/makeIcon('ExclamationDiamond','<path fill-rule="evenodd" d="M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.482 1.482 0 0 1 0-2.098L6.95.435zm1.4.7a.495.495 0 0 0-.7 0L1.134 7.65a.495.495 0 0 0 0 .7l6.516 6.516a.495.495 0 0 0 .7 0l6.516-6.516a.495.495 0 0 0 0-.7L8.35 1.134z"/><path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>');// eslint-disable-next-line
|
|
var BIconExclamationDiamondFill=/*#__PURE__*/makeIcon('ExclamationDiamondFill','<path fill-rule="evenodd" d="M9.05.435c-.58-.58-1.52-.58-2.1 0L.436 6.95c-.58.58-.58 1.519 0 2.098l6.516 6.516c.58.58 1.519.58 2.098 0l6.516-6.516c.58-.58.58-1.519 0-2.098L9.05.435zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconExclamationOctagon=/*#__PURE__*/makeIcon('ExclamationOctagon','<path fill-rule="evenodd" d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1H5.1z"/><path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>');// eslint-disable-next-line
|
|
var BIconExclamationOctagonFill=/*#__PURE__*/makeIcon('ExclamationOctagonFill','<path fill-rule="evenodd" d="M11.46.146A.5.5 0 0 0 11.107 0H4.893a.5.5 0 0 0-.353.146L.146 4.54A.5.5 0 0 0 0 4.893v6.214a.5.5 0 0 0 .146.353l4.394 4.394a.5.5 0 0 0 .353.146h6.214a.5.5 0 0 0 .353-.146l4.394-4.394a.5.5 0 0 0 .146-.353V4.893a.5.5 0 0 0-.146-.353L11.46.146zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconExclamationSquare=/*#__PURE__*/makeIcon('ExclamationSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>');// eslint-disable-next-line
|
|
var BIconExclamationSquareFill=/*#__PURE__*/makeIcon('ExclamationSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconExclamationTriangle=/*#__PURE__*/makeIcon('ExclamationTriangle','<path fill-rule="evenodd" d="M7.938 2.016a.146.146 0 0 0-.054.057L1.027 13.74a.176.176 0 0 0-.002.183c.016.03.037.05.054.06.015.01.034.017.066.017h13.713a.12.12 0 0 0 .066-.017.163.163 0 0 0 .055-.06.176.176 0 0 0-.003-.183L8.12 2.073a.146.146 0 0 0-.054-.057A.13.13 0 0 0 8.002 2a.13.13 0 0 0-.064.016zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/><path d="M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"/>');// eslint-disable-next-line
|
|
var BIconExclamationTriangleFill=/*#__PURE__*/makeIcon('ExclamationTriangleFill','<path fill-rule="evenodd" d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 5zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconExclude=/*#__PURE__*/makeIcon('Exclude','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm12 2v7a1 1 0 0 1-1 1H4V5a1 1 0 0 1 1-1h7z"/>');// eslint-disable-next-line
|
|
var BIconEye=/*#__PURE__*/makeIcon('Eye','<path fill-rule="evenodd" d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.134 13.134 0 0 0 1.66 2.043C4.12 11.332 5.88 12.5 8 12.5c2.12 0 3.879-1.168 5.168-2.457A13.134 13.134 0 0 0 14.828 8a13.133 13.133 0 0 0-1.66-2.043C11.879 4.668 10.119 3.5 8 3.5c-2.12 0-3.879 1.168-5.168 2.457A13.133 13.133 0 0 0 1.172 8z"/><path fill-rule="evenodd" d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>');// eslint-disable-next-line
|
|
var BIconEyeFill=/*#__PURE__*/makeIcon('EyeFill','<path d="M10.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/><path fill-rule="evenodd" d="M0 8s3-5.5 8-5.5S16 8 16 8s-3 5.5-8 5.5S0 8 0 8zm8 3.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z"/>');// eslint-disable-next-line
|
|
var BIconEyeSlash=/*#__PURE__*/makeIcon('EyeSlash','<path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/><path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299l.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/><path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709z"/><path fill-rule="evenodd" d="M13.646 14.354l-12-12 .708-.708 12 12-.708.708z"/>');// eslint-disable-next-line
|
|
var BIconEyeSlashFill=/*#__PURE__*/makeIcon('EyeSlashFill','<path d="M10.79 12.912l-1.614-1.615a3.5 3.5 0 0 1-4.474-4.474l-2.06-2.06C.938 6.278 0 8 0 8s3 5.5 8 5.5a7.029 7.029 0 0 0 2.79-.588zM5.21 3.088A7.028 7.028 0 0 1 8 2.5c5 0 8 5.5 8 5.5s-.939 1.721-2.641 3.238l-2.062-2.062a3.5 3.5 0 0 0-4.474-4.474L5.21 3.089z"/><path d="M5.525 7.646a2.5 2.5 0 0 0 2.829 2.829l-2.83-2.829zm4.95.708l-2.829-2.83a2.5 2.5 0 0 1 2.829 2.829z"/><path fill-rule="evenodd" d="M13.646 14.354l-12-12 .708-.708 12 12-.708.708z"/>');// eslint-disable-next-line
|
|
var BIconEyeglasses=/*#__PURE__*/makeIcon('Eyeglasses','<path fill-rule="evenodd" d="M4 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm2.625.547a3 3 0 0 0-5.584.953H.5a.5.5 0 0 0 0 1h.541A3 3 0 0 0 7 8a1 1 0 0 1 2 0 3 3 0 0 0 5.959.5h.541a.5.5 0 0 0 0-1h-.541a3 3 0 0 0-5.584-.953A1.993 1.993 0 0 0 8 6c-.532 0-1.016.208-1.375.547zM14 8a2 2 0 1 0-4 0 2 2 0 0 0 4 0z"/>');// eslint-disable-next-line
|
|
var BIconFile=/*#__PURE__*/makeIcon('File','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/>');// eslint-disable-next-line
|
|
var BIconFileArrowDown=/*#__PURE__*/makeIcon('FileArrowDown','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M8 5a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 9.293V5.5A.5.5 0 0 1 8 5z"/>');// eslint-disable-next-line
|
|
var BIconFileArrowDownFill=/*#__PURE__*/makeIcon('FileArrowDownFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8 5a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 9.293V5.5A.5.5 0 0 1 8 5z"/>');// eslint-disable-next-line
|
|
var BIconFileArrowUp=/*#__PURE__*/makeIcon('FileArrowUp','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M8 11a.5.5 0 0 0 .5-.5V6.707l1.146 1.147a.5.5 0 0 0 .708-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L7.5 6.707V10.5a.5.5 0 0 0 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconFileArrowUpFill=/*#__PURE__*/makeIcon('FileArrowUpFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM7.5 6.707V10.5a.5.5 0 0 0 1 0V6.707l1.146 1.147a.5.5 0 0 0 .708-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L7.5 6.707z"/>');// eslint-disable-next-line
|
|
var BIconFileBarGraph=/*#__PURE__*/makeIcon('FileBarGraph','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path d="M4.5 12a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-1zm3 0a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1zm3 0a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconFileBarGraphFill=/*#__PURE__*/makeIcon('FileBarGraphFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-2 11.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v6zm-2.5.5a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1zm-3 0a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconFileBinary=/*#__PURE__*/makeIcon('FileBinary','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path d="M5.526 13.09c.976 0 1.524-.79 1.524-2.205 0-1.412-.548-2.203-1.524-2.203-.978 0-1.526.79-1.526 2.203 0 1.415.548 2.206 1.526 2.206zm-.832-2.205c0-1.05.29-1.612.832-1.612.358 0 .607.247.733.721L4.7 11.137a6.749 6.749 0 0 1-.006-.252zm.832 1.614c-.36 0-.606-.246-.732-.718l1.556-1.145c.003.079.005.164.005.249 0 1.052-.29 1.614-.829 1.614zm5.329.501v-.595H9.73V8.772h-.69l-1.19.786v.688L8.986 9.5h.05v2.906h-1.18V13h3z"/>');// eslint-disable-next-line
|
|
var BIconFileBinaryFill=/*#__PURE__*/makeIcon('FileBinaryFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM7.05 10.885c0 1.415-.548 2.206-1.524 2.206C4.548 13.09 4 12.3 4 10.885c0-1.412.548-2.203 1.526-2.203.976 0 1.524.79 1.524 2.203zM5.526 9.273c-.542 0-.832.563-.832 1.612 0 .088.003.173.006.252l1.56-1.143c-.126-.474-.375-.72-.733-.72zm-.732 2.508c.126.472.372.718.732.718.54 0 .83-.563.83-1.614 0-.085-.003-.17-.006-.25l-1.556 1.146zm6.061.624V13h-3v-.595h1.181V9.5h-.05l-1.136.747v-.688l1.19-.786h.69v3.633h1.125z"/>');// eslint-disable-next-line
|
|
var BIconFileBreak=/*#__PURE__*/makeIcon('FileBreak','<path fill-rule="evenodd" d="M0 10.5a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5z"/><path d="M12 0H4a2 2 0 0 0-2 2v7h1V2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v7h1V2a2 2 0 0 0-2-2zm2 12h-1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-2H2v2a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2z"/>');// eslint-disable-next-line
|
|
var BIconFileBreakFill=/*#__PURE__*/makeIcon('FileBreakFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v7h12V2a2 2 0 0 0-2-2zm2 12H2v2a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2zM0 10.5a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileCheck=/*#__PURE__*/makeIcon('FileCheck','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M10.854 6.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 8.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconFileCheckFill=/*#__PURE__*/makeIcon('FileCheckFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-1.146 6.854a.5.5 0 0 0-.708-.708L7.5 8.793 6.354 7.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconFileCode=/*#__PURE__*/makeIcon('FileCode','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M8.646 5.646a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.293 8 8.646 6.354a.5.5 0 0 1 0-.708zm-1.292 0a.5.5 0 0 0-.708 0l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L5.707 8l1.647-1.646a.5.5 0 0 0 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconFileCodeFill=/*#__PURE__*/makeIcon('FileCodeFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM6.646 5.646a.5.5 0 1 1 .708.708L5.707 8l1.647 1.646a.5.5 0 0 1-.708.708l-2-2a.5.5 0 0 1 0-.708l2-2zm2.708 0a.5.5 0 1 0-.708.708L10.293 8 8.646 9.646a.5.5 0 0 0 .708.708l2-2a.5.5 0 0 0 0-.708l-2-2z"/>');// eslint-disable-next-line
|
|
var BIconFileDiff=/*#__PURE__*/makeIcon('FileDiff','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M5.5 10.5A.5.5 0 0 1 6 10h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5zM8 4a.5.5 0 0 1 .5.5V6H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V7H6a.5.5 0 0 1 0-1h1.5V4.5A.5.5 0 0 1 8 4z"/>');// eslint-disable-next-line
|
|
var BIconFileDiffFill=/*#__PURE__*/makeIcon('FileDiffFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8.5 4.5a.5.5 0 0 0-1 0V6H6a.5.5 0 0 0 0 1h1.5v1.5a.5.5 0 0 0 1 0V7H10a.5.5 0 0 0 0-1H8.5V4.5zM6 10a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmark=/*#__PURE__*/makeIcon('FileEarmark','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkArrowDown=/*#__PURE__*/makeIcon('FileEarmarkArrowDown','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M8 6a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 10.293V6.5A.5.5 0 0 1 8 6z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkArrowDownFill=/*#__PURE__*/makeIcon('FileEarmarkArrowDownFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zm-1 4a.5.5 0 0 0-1 0v3.793l-1.146-1.147a.5.5 0 0 0-.708.708l2 2a.5.5 0 0 0 .708 0l2-2a.5.5 0 0 0-.708-.708L8.5 11.293V7.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkArrowUp=/*#__PURE__*/makeIcon('FileEarmarkArrowUp','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M8 12a.5.5 0 0 0 .5-.5V7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L7.5 7.707V11.5a.5.5 0 0 0 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkArrowUpFill=/*#__PURE__*/makeIcon('FileEarmarkArrowUpFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM6.354 9.854a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 8.707V12.5a.5.5 0 0 1-1 0V8.707L6.354 9.854z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkBarGraph=/*#__PURE__*/makeIcon('FileEarmarkBarGraph','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3zm-5 11a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-1zm3 0a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1zm3 0a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkBarGraphFill=/*#__PURE__*/makeIcon('FileEarmarkBarGraphFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zm.5 10a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v6zm-2.5.5a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1zm-3 0a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkBinary=/*#__PURE__*/makeIcon('FileEarmarkBinary','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3zM5.526 14.09c.976 0 1.524-.79 1.524-2.205 0-1.412-.548-2.203-1.524-2.203-.978 0-1.526.79-1.526 2.203 0 1.415.548 2.206 1.526 2.206zm-.832-2.205c0-1.05.29-1.612.832-1.612.358 0 .607.247.733.721L4.7 12.137a6.749 6.749 0 0 1-.006-.252zm.832 1.614c-.36 0-.606-.246-.732-.718l1.556-1.145c.003.079.005.164.005.249 0 1.052-.29 1.614-.829 1.614zm5.329.501v-.595H9.73V9.772h-.69l-1.19.786v.688l1.136-.747h.05v2.906h-1.18V14h3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkBinaryFill=/*#__PURE__*/makeIcon('FileEarmarkBinaryFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zm-2.45 8.385c0 1.415-.548 2.206-1.524 2.206C4.548 14.09 4 13.3 4 11.885c0-1.412.548-2.203 1.526-2.203.976 0 1.524.79 1.524 2.203zm-1.524-1.612c-.542 0-.832.563-.832 1.612 0 .088.003.173.006.252l1.559-1.143c-.126-.474-.375-.72-.733-.72zm-.732 2.508c.126.472.372.718.732.718.54 0 .83-.563.83-1.614 0-.085-.003-.17-.006-.25l-1.556 1.146zm6.061.624V14h-3v-.595h1.181V10.5h-.05l-1.136.747v-.688l1.19-.786h.69v3.633h1.125z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkBreak=/*#__PURE__*/makeIcon('FileEarmarkBreak','<path fill-rule="evenodd" d="M9 0H4a2 2 0 0 0-2 2v7h1V2a1 1 0 0 1 1-1h5v2.5A1.5 1.5 0 0 0 10.5 5H13v4h1V5L9 0zm5 12h-1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-2H2v2a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2zM0 10.5a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkBreakFill=/*#__PURE__*/makeIcon('FileEarmarkBreakFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V9H2V2zm0 10v2a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2H2zm7.5-8.5v-2l3 3h-2a1 1 0 0 1-1-1zm-9.5 7a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkCheck=/*#__PURE__*/makeIcon('FileEarmarkCheck','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkCheckFill=/*#__PURE__*/makeIcon('FileEarmarkCheckFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zm1.354 4.354a.5.5 0 0 0-.708-.708L7.5 9.793 6.354 8.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkCode=/*#__PURE__*/makeIcon('FileEarmarkCode','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M8.646 6.646a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.293 9 8.646 7.354a.5.5 0 0 1 0-.708zm-1.292 0a.5.5 0 0 0-.708 0l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L5.707 9l1.647-1.646a.5.5 0 0 0 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkCodeFill=/*#__PURE__*/makeIcon('FileEarmarkCodeFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM6.646 7.646a.5.5 0 1 1 .708.708L5.707 10l1.647 1.646a.5.5 0 0 1-.708.708l-2-2a.5.5 0 0 1 0-.708l2-2zm2.708 0a.5.5 0 1 0-.708.708L10.293 10l-1.647 1.646a.5.5 0 0 0 .708.708l2-2a.5.5 0 0 0 0-.708l-2-2z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkDiff=/*#__PURE__*/makeIcon('FileEarmarkDiff','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M5.5 11.5A.5.5 0 0 1 6 11h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5zM8 5a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0v-4A.5.5 0 0 1 8 5z"/><path fill-rule="evenodd" d="M5.5 7.5A.5.5 0 0 1 6 7h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkDiffFill=/*#__PURE__*/makeIcon('FileEarmarkDiffFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM8 6a.5.5 0 0 1 .5.5V8H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V9H6a.5.5 0 0 1 0-1h1.5V6.5A.5.5 0 0 1 8 6zm-2.5 6.5A.5.5 0 0 1 6 12h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkEasel=/*#__PURE__*/makeIcon('FileEarmarkEasel','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3zm-1 3a.5.5 0 1 0-1 0h1zm1.527 5H8.973l.553 1.658a.5.5 0 1 0 .948-.316L10.027 11zM8.5 11h-1v1a.5.5 0 0 0 1 0v-1zm-1.473 0H5.973l-.447 1.342a.5.5 0 1 0 .948.316L7.027 11z"/><path fill-rule="evenodd" d="M4 7.5A1.5 1.5 0 0 1 5.5 6h5A1.5 1.5 0 0 1 12 7.5v2a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 4 9.5v-2zM5.5 7a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5h-5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkEaselFill=/*#__PURE__*/makeIcon('FileEarmarkEaselFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM8.5 6a.5.5 0 1 0-1 0h-2A1.5 1.5 0 0 0 4 7.5v2A1.5 1.5 0 0 0 5.5 11h.473l-.447 1.342a.5.5 0 1 0 .948.316L7.027 11H7.5v1a.5.5 0 0 0 1 0v-1h.473l.553 1.658a.5.5 0 1 0 .948-.316L10.027 11h.473A1.5 1.5 0 0 0 12 9.5v-2A1.5 1.5 0 0 0 10.5 6h-2zM5 7.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-2z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkExcel=/*#__PURE__*/makeIcon('FileEarmarkExcel','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M5.18 6.616a.5.5 0 0 1 .704.064L8 9.219l2.116-2.54a.5.5 0 1 1 .768.641L8.651 10l2.233 2.68a.5.5 0 0 1-.768.64L8 10.781l-2.116 2.54a.5.5 0 0 1-.768-.641L7.349 10 5.116 7.32a.5.5 0 0 1 .064-.704z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkExcelFill=/*#__PURE__*/makeIcon('FileEarmarkExcelFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.884 6.68a.5.5 0 1 0-.768.64L7.349 10l-2.233 2.68a.5.5 0 0 0 .768.64L8 10.781l2.116 2.54a.5.5 0 0 0 .768-.641L8.651 10l2.233-2.68a.5.5 0 0 0-.768-.64L8 9.219l-2.116-2.54z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkFill=/*#__PURE__*/makeIcon('FileEarmarkFill','<path fill-rule="evenodd" d="M4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0H4zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkFont=/*#__PURE__*/makeIcon('FileEarmarkFont','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3zm1.443 3H5.057L5 8h.5c.18-1.096.356-1.192 1.694-1.235l.293-.01v5.09c0 .47-.1.582-.898.655v.5H9.41v-.5c-.803-.073-.903-.184-.903-.654V6.755l.298.01c1.338.043 1.514.14 1.694 1.235h.5l-.057-2z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkFontFill=/*#__PURE__*/makeIcon('FileEarmarkFontFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkImage=/*#__PURE__*/makeIcon('FileEarmarkImage','<path fill-rule="evenodd" d="M12 16a2 2 0 0 0 2-2V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8zM3 2a1 1 0 0 1 1-1h5.5v2A1.5 1.5 0 0 0 11 4.5h2V10l-2.083-2.083a.5.5 0 0 0-.76.063L8 11 5.835 9.7a.5.5 0 0 0-.611.076L3 12V2z"/><path fill-rule="evenodd" d="M6.502 7a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkImageFill=/*#__PURE__*/makeIcon('FileEarmarkImageFill','<path fill-rule="evenodd" d="M4 0a2 2 0 0 0-2 2v10.293l2.87-2.87a1 1 0 0 1 1.222-.15l1.77 1.06L9.75 7.69a1 1 0 0 1 1.52-.126L14 10.293V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0H4zM2 14v-.293l3.578-3.577 2.165 1.299.396.237.268-.375 2.157-3.02L14 11.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2zM9.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zm-1.498 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkLock=/*#__PURE__*/makeIcon('FileEarmarkLock','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M8 6a1 1 0 0 0-1 1v1h2V7a1 1 0 0 0-1-1zm2 2.076V7a2 2 0 1 0-4 0v1.076c-.54.166-1 .597-1 1.224v2.4c0 .816.781 1.3 1.5 1.3h3c.719 0 1.5-.484 1.5-1.3V9.3c0-.627-.46-1.058-1-1.224zM6.105 9.125C6.02 9.193 6 9.258 6 9.3v2.4c0 .042.02.107.105.175A.637.637 0 0 0 6.5 12h3a.64.64 0 0 0 .395-.125c.085-.068.105-.133.105-.175V9.3c0-.042-.02-.107-.105-.175A.637.637 0 0 0 9.5 9h-3a.637.637 0 0 0-.395.125z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkLock2=/*#__PURE__*/makeIcon('FileEarmarkLock2','<path fill-rule="evenodd" d="M8 6a1 1 0 0 0-1 1v1h2V7a1 1 0 0 0-1-1zm2 2.076V7a2 2 0 1 0-4 0v1.076c-.54.166-1 .597-1 1.224v2.4c0 .816.781 1.3 1.5 1.3h3c.719 0 1.5-.484 1.5-1.3V9.3c0-.627-.46-1.058-1-1.224z"/><path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkLock2Fill=/*#__PURE__*/makeIcon('FileEarmarkLock2Fill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM7 7a1 1 0 0 1 2 0v1H7V7zm3 0v1.076c.54.166 1 .597 1 1.224v2.4c0 .816-.781 1.3-1.5 1.3h-3c-.719 0-1.5-.484-1.5-1.3V9.3c0-.627.46-1.058 1-1.224V7a2 2 0 1 1 4 0z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkLockFill=/*#__PURE__*/makeIcon('FileEarmarkLockFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM7 7a1 1 0 0 1 2 0v1H7V7zm3 0v1.076c.54.166 1 .597 1 1.224v2.4c0 .816-.781 1.3-1.5 1.3h-3c-.719 0-1.5-.484-1.5-1.3V9.3c0-.627.46-1.058 1-1.224V7a2 2 0 1 1 4 0zM6 9.3c0-.042.02-.107.105-.175A.637.637 0 0 1 6.5 9h3a.64.64 0 0 1 .395.125c.085.068.105.133.105.175v2.4c0 .042-.02.107-.105.175A.637.637 0 0 1 9.5 12h-3a.637.637 0 0 1-.395-.125C6.02 11.807 6 11.742 6 11.7V9.3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkMedical=/*#__PURE__*/makeIcon('FileEarmarkMedical','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M7 5a.5.5 0 0 1 .5.5v.634l.549-.317a.5.5 0 1 1 .5.866L8 7l.549.317a.5.5 0 1 1-.5.866L7.5 7.866V8.5a.5.5 0 0 1-1 0v-.634l-.549.317a.5.5 0 1 1-.5-.866L6 7l-.549-.317a.5.5 0 0 1 .5-.866l.549.317V5.5A.5.5 0 0 1 7 5zm-2 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkMedicalFill=/*#__PURE__*/makeIcon('FileEarmarkMedicalFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zm-3 2a.5.5 0 0 0-1 0v.634l-.549-.317a.5.5 0 1 0-.5.866L5 7l-.549.317a.5.5 0 1 0 .5.866l.549-.317V8.5a.5.5 0 1 0 1 0v-.634l.549.317a.5.5 0 1 0 .5-.866L7 7l.549-.317a.5.5 0 1 0-.5-.866l-.549.317V5.5zm-2 4.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkMinus=/*#__PURE__*/makeIcon('FileEarmarkMinus','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M5.5 9a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkMinusFill=/*#__PURE__*/makeIcon('FileEarmarkMinusFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 8.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkMusic=/*#__PURE__*/makeIcon('FileEarmarkMusic','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M9.757 5.67A1 1 0 0 1 11 6.64v1.75l-2 .5v3.61c0 .495-.301.883-.662 1.123C7.974 13.866 7.499 14 7 14c-.5 0-.974-.134-1.338-.377-.36-.24-.662-.628-.662-1.123s.301-.883.662-1.123C6.026 11.134 6.501 11 7 11c.356 0 .7.068 1 .196V6.89a1 1 0 0 1 .757-.97l1-.25z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkMusicFill=/*#__PURE__*/makeIcon('FileEarmarkMusicFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM11 6.64a1 1 0 0 0-1.243-.97l-1 .25A1 1 0 0 0 8 6.89v4.306A2.572 2.572 0 0 0 7 11c-.5 0-.974.134-1.338.377-.36.24-.662.628-.662 1.123s.301.883.662 1.123c.364.243.839.377 1.338.377.5 0 .974-.134 1.338-.377.36-.24.662-.628.662-1.123V8.89l2-.5V6.64z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPerson=/*#__PURE__*/makeIcon('FileEarmarkPerson','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/><path d="M8 12c4 0 5 1.755 5 1.755V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-.245S4 12 8 12z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPersonFill=/*#__PURE__*/makeIcon('FileEarmarkPersonFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0zm2 5.755S12 12 8 12s-5 1.755-5 1.755V14a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-.245z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPlay=/*#__PURE__*/makeIcon('FileEarmarkPlay','<path d="M6 11.117V6.883a.5.5 0 0 1 .757-.429l3.528 2.117a.5.5 0 0 1 0 .858l-3.528 2.117a.5.5 0 0 1-.757-.43z"/><path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPlayFill=/*#__PURE__*/makeIcon('FileEarmarkPlayFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 6.883v4.234a.5.5 0 0 0 .757.429l3.528-2.117a.5.5 0 0 0 0-.858L6.757 6.454a.5.5 0 0 0-.757.43z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPlus=/*#__PURE__*/makeIcon('FileEarmarkPlus','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M8 6.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V11a.5.5 0 0 1-1 0V9.5H6a.5.5 0 0 1 0-1h1.5V7a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPlusFill=/*#__PURE__*/makeIcon('FileEarmarkPlusFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM8.5 7a.5.5 0 0 0-1 0v1.5H6a.5.5 0 0 0 0 1h1.5V11a.5.5 0 0 0 1 0V9.5H10a.5.5 0 0 0 0-1H8.5V7z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPost=/*#__PURE__*/makeIcon('FileEarmarkPost','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3zM4 6.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-7z"/><path fill-rule="evenodd" d="M4 3.5a.5.5 0 0 1 .5-.5H7a.5.5 0 0 1 0 1H4.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPostFill=/*#__PURE__*/makeIcon('FileEarmarkPostFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zm-5-.5a.5.5 0 0 0 0 1H7a.5.5 0 0 0 0-1H4.5zm0 3a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-7z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPpt=/*#__PURE__*/makeIcon('FileEarmarkPpt','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M6 5.5a.5.5 0 0 1 .5.5v7.5a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5z"/><path fill-rule="evenodd" d="M8.5 6.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-3 2a3 3 0 1 1 6 0 3 3 0 0 1-6 0z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkPptFill=/*#__PURE__*/makeIcon('FileEarmarkPptFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM6.5 6a.5.5 0 0 0-1 0v7.5a.5.5 0 0 0 1 0v-2.764a3 3 0 1 0 0-4.472V6zm0 2.5a2 2 0 1 0 4 0 2 2 0 0 0-4 0z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkRichtext=/*#__PURE__*/makeIcon('FileEarmarkRichtext','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M4.5 12.5A.5.5 0 0 1 5 12h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm0-2A.5.5 0 0 1 5 10h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm1.639-3.708l1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V8.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8s1.54-1.274 1.639-1.208zM6.25 6a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkRichtextFill=/*#__PURE__*/makeIcon('FileEarmarkRichtextFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM7 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0zm-.861 1.542l1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V9.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V9s1.54-1.274 1.639-1.208zM5 11a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H5zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1H5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkRuled=/*#__PURE__*/makeIcon('FileEarmarkRuled','<path fill-rule="evenodd" d="M5 10H3V9h10v1H6v2h7v1H6v2H5v-2H3v-1h2v-2z"/><path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkRuledFill=/*#__PURE__*/makeIcon('FileEarmarkRuledFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM3 9v1h2v2H3v1h2v2h1v-2h7v-1H6v-2h7V9H3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkSlides=/*#__PURE__*/makeIcon('FileEarmarkSlides','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3zm.5 10.5c0 .276-.895.5-2 .5s-2-.224-2-.5.895-.5 2-.5 2 .224 2 .5z"/><path fill-rule="evenodd" d="M4.504 6.438A.5.5 0 0 1 5 6h6a.5.5 0 0 1 .496.438l.5 4A.5.5 0 0 1 11.5 11h-3v2.016a7.795 7.795 0 0 0-1 0V11h-3a.5.5 0 0 1-.496-.562l.5-4zM7 7.221v2.558c0 .097.106.157.19.107l2.13-1.279a.125.125 0 0 0 0-.214l-2.13-1.28a.125.125 0 0 0-.19.109z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkSlidesFill=/*#__PURE__*/makeIcon('FileEarmarkSlidesFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM5 6a.5.5 0 0 0-.496.438l-.5 4A.5.5 0 0 0 4.5 11h3v2.016c-.863.055-1.5.251-1.5.484 0 .276.895.5 2 .5s2-.224 2-.5c0-.233-.637-.429-1.5-.484V11h3a.5.5 0 0 0 .496-.562l-.5-4A.5.5 0 0 0 11 6H5zm2 3.78V7.22c0-.096.106-.156.19-.106l2.13 1.279a.125.125 0 0 1 0 .214l-2.13 1.28A.125.125 0 0 1 7 9.778z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkSpreadsheet=/*#__PURE__*/makeIcon('FileEarmarkSpreadsheet','<path fill-rule="evenodd" d="M5 10H3V9h10v1h-3v2h3v1h-3v2H9v-2H6v2H5v-2H3v-1h2v-2zm1 0v2h3v-2H6z"/><path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkSpreadsheetFill=/*#__PURE__*/makeIcon('FileEarmarkSpreadsheetFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM3 9v1h2v2H3v1h2v2h1v-2h3v2h1v-2h3v-1h-3v-2h3V9H3zm3 3v-2h3v2H6z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkText=/*#__PURE__*/makeIcon('FileEarmarkText','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkTextFill=/*#__PURE__*/makeIcon('FileEarmarkTextFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM4.5 8a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7zM4 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkWord=/*#__PURE__*/makeIcon('FileEarmarkWord','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M4.879 6.515a.5.5 0 0 1 .606.364l1.036 4.144.997-3.655a.5.5 0 0 1 .964 0l.997 3.655 1.036-4.144a.5.5 0 0 1 .97.242l-1.5 6a.5.5 0 0 1-.967.01L8 9.402l-1.018 3.73a.5.5 0 0 1-.967-.01l-1.5-6a.5.5 0 0 1 .364-.606z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkWordFill=/*#__PURE__*/makeIcon('FileEarmarkWordFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.485 6.879a.5.5 0 1 0-.97.242l1.5 6a.5.5 0 0 0 .967.01L8 9.402l1.018 3.73a.5.5 0 0 0 .967-.01l1.5-6a.5.5 0 0 0-.97-.242l-1.036 4.144-.997-3.655a.5.5 0 0 0-.964 0l-.997 3.655L5.485 6.88z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkX=/*#__PURE__*/makeIcon('FileEarmarkX','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkXFill=/*#__PURE__*/makeIcon('FileEarmarkXFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zM6.854 7.146a.5.5 0 1 0-.708.708L7.293 9l-1.147 1.146a.5.5 0 0 0 .708.708L8 9.707l1.146 1.147a.5.5 0 0 0 .708-.708L8.707 9l1.147-1.146a.5.5 0 0 0-.708-.708L8 8.293 6.854 7.146z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkZip=/*#__PURE__*/makeIcon('FileEarmarkZip','<path d="M4 0h5.5v1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h1V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/><path d="M9.5 3V0L14 4.5h-3A1.5 1.5 0 0 1 9.5 3z"/><path fill-rule="evenodd" d="M5 7.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.11 0l-.929-.62a1 1 0 0 1-.415-1.074L5 8.438V7.5zm2 0H6v.938a1 1 0 0 1-.03.243l-.4 1.598.93.62.929-.62-.4-1.598A1 1 0 0 1 7 8.438V7.5z"/><path d="M6 1h1.5v1H6zM5 2h1.5v1H5zm1 1h1.5v1H6zM5 4h1.5v1H5zm1 1h1.5v1H6V5z"/>');// eslint-disable-next-line
|
|
var BIconFileEarmarkZipFill=/*#__PURE__*/makeIcon('FileEarmarkZipFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7.5 1.5v-2l3 3h-2a1 1 0 0 1-1-1zm-4-.5V2h-1V1H6v1h1v1H6v1h1v1H6v1h1v1H5.5V6h-1V5h1V4h-1V3h1zm0 4.5a1 1 0 0 0-1 1v.938l-.4 1.599a1 1 0 0 0 .416 1.074l.93.62a1 1 0 0 0 1.109 0l.93-.62a1 1 0 0 0 .415-1.074l-.4-1.599V8.5a1 1 0 0 0-1-1h-1zm0 1.938V8.5h1v.938a1 1 0 0 0 .03.243l.4 1.598-.93.62-.93-.62.4-1.598a1 1 0 0 0 .03-.243z"/>');// eslint-disable-next-line
|
|
var BIconFileEasel=/*#__PURE__*/makeIcon('FileEasel','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path d="M8.5 5a.5.5 0 1 0-1 0h1zm1.527 5H8.973l.553 1.658a.5.5 0 1 0 .948-.316L10.027 10zM8.5 10h-1v1a.5.5 0 0 0 1 0v-1zm-1.473 0H5.973l-.447 1.342a.5.5 0 1 0 .948.316L7.027 10z"/><path fill-rule="evenodd" d="M4 6.5A1.5 1.5 0 0 1 5.5 5h5A1.5 1.5 0 0 1 12 6.5v2a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 4 8.5v-2zM5.5 6a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5h-5z"/>');// eslint-disable-next-line
|
|
var BIconFileEaselFill=/*#__PURE__*/makeIcon('FileEaselFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8.5 5a.5.5 0 1 0-1 0h-2A1.5 1.5 0 0 0 4 6.5v2A1.5 1.5 0 0 0 5.5 10h.473l-.447 1.342a.5.5 0 1 0 .948.316L7.027 10H7.5v1a.5.5 0 0 0 1 0v-1h.473l.553 1.658a.5.5 0 1 0 .948-.316L10.027 10h.473A1.5 1.5 0 0 0 12 8.5v-2A1.5 1.5 0 0 0 10.5 5h-2zM5 6.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-2z"/>');// eslint-disable-next-line
|
|
var BIconFileExcel=/*#__PURE__*/makeIcon('FileExcel','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M5.18 4.616a.5.5 0 0 1 .704.064L8 7.219l2.116-2.54a.5.5 0 1 1 .768.641L8.651 8l2.233 2.68a.5.5 0 0 1-.768.64L8 8.781l-2.116 2.54a.5.5 0 0 1-.768-.641L7.349 8 5.116 5.32a.5.5 0 0 1 .064-.704z"/>');// eslint-disable-next-line
|
|
var BIconFileExcelFill=/*#__PURE__*/makeIcon('FileExcelFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM5.884 4.68a.5.5 0 1 0-.768.64L7.349 8l-2.233 2.68a.5.5 0 0 0 .768.64L8 8.781l2.116 2.54a.5.5 0 0 0 .768-.641L8.651 8l2.233-2.68a.5.5 0 0 0-.768-.64L8 7.219l-2.116-2.54z"/>');// eslint-disable-next-line
|
|
var BIconFileFill=/*#__PURE__*/makeIcon('FileFill','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/>');// eslint-disable-next-line
|
|
var BIconFileFont=/*#__PURE__*/makeIcon('FileFont','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path d="M10.943 4H5.057L5 6h.5c.18-1.096.356-1.192 1.694-1.235l.293-.01v6.09c0 .47-.1.582-.898.655v.5H9.41v-.5c-.803-.073-.903-.184-.903-.654V4.755l.298.01c1.338.043 1.514.14 1.694 1.235h.5l-.057-2z"/>');// eslint-disable-next-line
|
|
var BIconFileFontFill=/*#__PURE__*/makeIcon('FileFontFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM5.057 4h5.886L11 6h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v6.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V4.755l-.293.01C5.856 4.808 5.68 4.905 5.5 6H5l.057-2z"/>');// eslint-disable-next-line
|
|
var BIconFileImage=/*#__PURE__*/makeIcon('FileImage','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v10l2.224-2.224a.5.5 0 0 1 .61-.075L8 11l2.157-3.02a.5.5 0 0 1 .76-.063L13 10V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M6.502 7a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconFileImageFill=/*#__PURE__*/makeIcon('FileImageFill','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v8.293l-2.73-2.73a1 1 0 0 0-1.52.127l-1.889 2.644-1.769-1.062a1 1 0 0 0-1.222.15L2 12.292V2a2 2 0 0 1 2-2zm6.564 8.27L14 11.708V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-.293l3.578-3.577 2.165 1.299.396.237.268-.375 2.157-3.02zM8.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconFileLock=/*#__PURE__*/makeIcon('FileLock','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M8 5a1 1 0 0 0-1 1v1h2V6a1 1 0 0 0-1-1zm2 2.076V6a2 2 0 1 0-4 0v1.076c-.54.166-1 .597-1 1.224v2.4c0 .816.781 1.3 1.5 1.3h3c.719 0 1.5-.484 1.5-1.3V8.3c0-.627-.46-1.058-1-1.224zM6.105 8.125C6.02 8.193 6 8.258 6 8.3v2.4c0 .042.02.107.105.175A.637.637 0 0 0 6.5 11h3a.64.64 0 0 0 .395-.125c.085-.068.105-.133.105-.175V8.3c0-.042-.02-.107-.105-.175A.637.637 0 0 0 9.5 8h-3a.637.637 0 0 0-.395.125z"/>');// eslint-disable-next-line
|
|
var BIconFileLock2=/*#__PURE__*/makeIcon('FileLock2','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M8 5a1 1 0 0 0-1 1v1h2V6a1 1 0 0 0-1-1zm2 2.076V6a2 2 0 1 0-4 0v1.076c-.54.166-1 .597-1 1.224v2.4c0 .816.781 1.3 1.5 1.3h3c.719 0 1.5-.484 1.5-1.3V8.3c0-.627-.46-1.058-1-1.224z"/>');// eslint-disable-next-line
|
|
var BIconFileLock2Fill=/*#__PURE__*/makeIcon('FileLock2Fill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM7 6a1 1 0 0 1 2 0v1H7V6zm3 0v1.076c.54.166 1 .597 1 1.224v2.4c0 .816-.781 1.3-1.5 1.3h-3c-.719 0-1.5-.484-1.5-1.3V8.3c0-.627.46-1.058 1-1.224V6a2 2 0 1 1 4 0z"/>');// eslint-disable-next-line
|
|
var BIconFileLockFill=/*#__PURE__*/makeIcon('FileLockFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM7 6a1 1 0 0 1 2 0v1H7V6zm3 0v1.076c.54.166 1 .597 1 1.224v2.4c0 .816-.781 1.3-1.5 1.3h-3c-.719 0-1.5-.484-1.5-1.3V8.3c0-.627.46-1.058 1-1.224V6a2 2 0 1 1 4 0zM6 8.3c0-.042.02-.107.105-.175A.637.637 0 0 1 6.5 8h3a.64.64 0 0 1 .395.125c.085.068.105.133.105.175v2.4c0 .042-.02.107-.105.175A.637.637 0 0 1 9.5 11h-3a.637.637 0 0 1-.395-.125C6.02 10.807 6 10.742 6 10.7V8.3z"/>');// eslint-disable-next-line
|
|
var BIconFileMedical=/*#__PURE__*/makeIcon('FileMedical','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M8 4a.5.5 0 0 1 .5.5v.634l.549-.317a.5.5 0 1 1 .5.866L9 6l.549.317a.5.5 0 1 1-.5.866L8.5 6.866V7.5a.5.5 0 0 1-1 0v-.634l-.549.317a.5.5 0 1 1-.5-.866L7 6l-.549-.317a.5.5 0 0 1 .5-.866l.549.317V4.5A.5.5 0 0 1 8 4zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileMedicalFill=/*#__PURE__*/makeIcon('FileMedicalFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8.5 4.5a.5.5 0 0 0-1 0v.634l-.549-.317a.5.5 0 1 0-.5.866L7 6l-.549.317a.5.5 0 1 0 .5.866l.549-.317V7.5a.5.5 0 1 0 1 0v-.634l.549.317a.5.5 0 1 0 .5-.866L9 6l.549-.317a.5.5 0 1 0-.5-.866l-.549.317V4.5zM5.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5z"/>');// eslint-disable-next-line
|
|
var BIconFileMinus=/*#__PURE__*/makeIcon('FileMinus','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M5.5 8a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileMinusFill=/*#__PURE__*/makeIcon('FileMinusFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM6 7.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconFileMusic=/*#__PURE__*/makeIcon('FileMusic','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M10.304 3.13a1 1 0 0 1 1.196.98v1.8l-2.5.5v5.09c0 .495-.301.883-.662 1.123C7.974 12.866 7.499 13 7 13c-.5 0-.974-.134-1.338-.377-.36-.24-.662-.628-.662-1.123s.301-.883.662-1.123C6.026 10.134 6.501 10 7 10c.356 0 .7.068 1 .196V4.41a1 1 0 0 1 .804-.98l1.5-.3z"/>');// eslint-disable-next-line
|
|
var BIconFileMusicFill=/*#__PURE__*/makeIcon('FileMusicFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-.5 4.11a1 1 0 0 0-1.196-.98l-1.5.3A1 1 0 0 0 8 4.41v5.786A2.572 2.572 0 0 0 7 10c-.5 0-.974.134-1.338.377-.36.24-.662.628-.662 1.123s.301.883.662 1.123c.364.243.839.377 1.338.377.5 0 .974-.134 1.338-.377.36-.24.662-.628.662-1.123V6.41l2.5-.5v-1.8z"/>');// eslint-disable-next-line
|
|
var BIconFilePerson=/*#__PURE__*/makeIcon('FilePerson','<path fill-rule="evenodd" d="M12 1H4a1 1 0 0 0-1 1v10.755S4 11 8 11s5 1.755 5 1.755V2a1 1 0 0 0-1-1zM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4z"/><path fill-rule="evenodd" d="M8 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>');// eslint-disable-next-line
|
|
var BIconFilePersonFill=/*#__PURE__*/makeIcon('FilePersonFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-1 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0zm-3 4c2.623 0 4.146.826 5 1.755V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-1.245C3.854 11.825 5.377 11 8 11z"/>');// eslint-disable-next-line
|
|
var BIconFilePlay=/*#__PURE__*/makeIcon('FilePlay','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path d="M6 10.117V5.883a.5.5 0 0 1 .757-.429l3.528 2.117a.5.5 0 0 1 0 .858l-3.528 2.117a.5.5 0 0 1-.757-.43z"/>');// eslint-disable-next-line
|
|
var BIconFilePlayFill=/*#__PURE__*/makeIcon('FilePlayFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM6 5.883v4.234a.5.5 0 0 0 .757.429l3.528-2.117a.5.5 0 0 0 0-.858L6.757 5.454a.5.5 0 0 0-.757.43z"/>');// eslint-disable-next-line
|
|
var BIconFilePlus=/*#__PURE__*/makeIcon('FilePlus','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M8 5.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V10a.5.5 0 0 1-1 0V8.5H6a.5.5 0 0 1 0-1h1.5V6a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFilePlusFill=/*#__PURE__*/makeIcon('FilePlusFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8.5 6a.5.5 0 0 0-1 0v1.5H6a.5.5 0 0 0 0 1h1.5V10a.5.5 0 0 0 1 0V8.5H10a.5.5 0 0 0 0-1H8.5V6z"/>');// eslint-disable-next-line
|
|
var BIconFilePost=/*#__PURE__*/makeIcon('FilePost','<path d="M4 5.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-8z"/><path fill-rule="evenodd" d="M4 3.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/><path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/>');// eslint-disable-next-line
|
|
var BIconFilePostFill=/*#__PURE__*/makeIcon('FilePostFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM4.5 3a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zm0 2a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-7z"/>');// eslint-disable-next-line
|
|
var BIconFilePpt=/*#__PURE__*/makeIcon('FilePpt','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M6 4a.5.5 0 0 1 .5.5V12a.5.5 0 0 1-1 0V4.5A.5.5 0 0 1 6 4z"/><path fill-rule="evenodd" d="M8.5 5a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-3 2a3 3 0 1 1 6 0 3 3 0 0 1-6 0z"/>');// eslint-disable-next-line
|
|
var BIconFilePptFill=/*#__PURE__*/makeIcon('FilePptFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM6.5 4.5a.5.5 0 0 0-1 0V12a.5.5 0 0 0 1 0V9.236a3 3 0 1 0 0-4.472V4.5zm0 2.5a2 2 0 1 0 4 0 2 2 0 0 0-4 0z"/>');// eslint-disable-next-line
|
|
var BIconFileRichtext=/*#__PURE__*/makeIcon('FileRichtext','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M4.5 11.5A.5.5 0 0 1 5 11h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm0-2A.5.5 0 0 1 5 9h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm1.639-3.708l1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V7.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V7s1.54-1.274 1.639-1.208zM6.25 5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z"/>');// eslint-disable-next-line
|
|
var BIconFileRichtextFill=/*#__PURE__*/makeIcon('FileRichtextFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM7 4.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0zm-.861 1.542l1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V7.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V7s1.54-1.274 1.639-1.208zM5 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H5zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1H5z"/>');// eslint-disable-next-line
|
|
var BIconFileRuled=/*#__PURE__*/makeIcon('FileRuled','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v4h10V2a1 1 0 0 0-1-1H4zm9 6H6v2h7V7zm0 3H6v2h7v-2zm0 3H6v2h6a1 1 0 0 0 1-1v-1zm-8 2v-2H3v1a1 1 0 0 0 1 1h1zm-2-3h2v-2H3v2zm0-3h2V7H3v2z"/>');// eslint-disable-next-line
|
|
var BIconFileRuledFill=/*#__PURE__*/makeIcon('FileRuledFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v4h12V2a2 2 0 0 0-2-2zm2 7H6v2h8V7zm0 3H6v2h8v-2zm0 3H6v3h6a2 2 0 0 0 2-2v-1zm-9 3v-3H2v1a2 2 0 0 0 2 2h1zm-3-4h3v-2H2v2zm0-3h3V7H2v2z"/>');// eslint-disable-next-line
|
|
var BIconFileSlides=/*#__PURE__*/makeIcon('FileSlides','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path d="M10 11.5c0 .276-.895.5-2 .5s-2-.224-2-.5.895-.5 2-.5 2 .224 2 .5z"/><path fill-rule="evenodd" d="M4.504 4.438A.5.5 0 0 1 5 4h6a.5.5 0 0 1 .496.438l.5 4A.5.5 0 0 1 11.5 9h-3v2.016a7.795 7.795 0 0 0-1 0V9h-3a.5.5 0 0 1-.496-.562l.5-4zM7 5.221v2.558c0 .097.106.157.19.107l2.13-1.279a.125.125 0 0 0 0-.214l-2.13-1.28a.125.125 0 0 0-.19.109z"/>');// eslint-disable-next-line
|
|
var BIconFileSlidesFill=/*#__PURE__*/makeIcon('FileSlidesFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM5 4a.5.5 0 0 0-.496.438l-.5 4A.5.5 0 0 0 4.5 9h3v2.016c-.863.055-1.5.251-1.5.484 0 .276.895.5 2 .5s2-.224 2-.5c0-.233-.637-.429-1.5-.484V9h3a.5.5 0 0 0 .496-.562l-.5-4A.5.5 0 0 0 11 4H5zm2 3.78V5.22c0-.096.106-.156.19-.106l2.13 1.279a.125.125 0 0 1 0 .214l-2.13 1.28A.125.125 0 0 1 7 7.778z"/>');// eslint-disable-next-line
|
|
var BIconFileSpreadsheet=/*#__PURE__*/makeIcon('FileSpreadsheet','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v4h10V2a1 1 0 0 0-1-1H4zm9 6h-3v2h3V7zm0 3h-3v2h3v-2zm0 3h-3v2h2a1 1 0 0 0 1-1v-1zm-4 2v-2H6v2h3zm-4 0v-2H3v1a1 1 0 0 0 1 1h1zm-2-3h2v-2H3v2zm0-3h2V7H3v2zm3-2v2h3V7H6zm3 3H6v2h3v-2z"/>');// eslint-disable-next-line
|
|
var BIconFileSpreadsheetFill=/*#__PURE__*/makeIcon('FileSpreadsheetFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v4h12V2a2 2 0 0 0-2-2zm2 7h-4v2h4V7zm0 3h-4v2h4v-2zm0 3h-4v3h2a2 2 0 0 0 2-2v-1zm-5 3v-3H6v3h3zm-4 0v-3H2v1a2 2 0 0 0 2 2h1zm-3-4h3v-2H2v2zm0-3h3V7H2v2zm4 0V7h3v2H6zm0 1h3v2H6v-2z"/>');// eslint-disable-next-line
|
|
var BIconFileText=/*#__PURE__*/makeIcon('FileText','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M4.5 10.5A.5.5 0 0 1 5 10h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm0-2A.5.5 0 0 1 5 8h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm0-2A.5.5 0 0 1 5 6h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm0-2A.5.5 0 0 1 5 4h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFileTextFill=/*#__PURE__*/makeIcon('FileTextFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM5 4a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H5zm-.5 2.5A.5.5 0 0 1 5 6h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zM5 8a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H5zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1H5z"/>');// eslint-disable-next-line
|
|
var BIconFileWord=/*#__PURE__*/makeIcon('FileWord','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M4.879 4.515a.5.5 0 0 1 .606.364l1.036 4.144.997-3.655a.5.5 0 0 1 .964 0l.997 3.655 1.036-4.144a.5.5 0 0 1 .97.242l-1.5 6a.5.5 0 0 1-.967.01L8 7.402l-1.018 3.73a.5.5 0 0 1-.967-.01l-1.5-6a.5.5 0 0 1 .364-.606z"/>');// eslint-disable-next-line
|
|
var BIconFileWordFill=/*#__PURE__*/makeIcon('FileWordFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM5.485 4.879a.5.5 0 1 0-.97.242l1.5 6a.5.5 0 0 0 .967.01L8 7.402l1.018 3.73a.5.5 0 0 0 .967-.01l1.5-6a.5.5 0 0 0-.97-.242L9.479 9.023l-.997-3.655a.5.5 0 0 0-.964 0L6.52 9.023 5.485 4.879z"/>');// eslint-disable-next-line
|
|
var BIconFileX=/*#__PURE__*/makeIcon('FileX','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M6.146 6.146a.5.5 0 0 1 .708 0L8 7.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 8l1.147 1.146a.5.5 0 0 1-.708.708L8 8.707 6.854 9.854a.5.5 0 0 1-.708-.708L7.293 8 6.146 6.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconFileXFill=/*#__PURE__*/makeIcon('FileXFill','<path fill-rule="evenodd" d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM6.854 6.146a.5.5 0 1 0-.708.708L7.293 8 6.146 9.146a.5.5 0 1 0 .708.708L8 8.707l1.146 1.147a.5.5 0 0 0 .708-.708L8.707 8l1.147-1.146a.5.5 0 0 0-.708-.708L8 7.293 6.854 6.146z"/>');// eslint-disable-next-line
|
|
var BIconFileZip=/*#__PURE__*/makeIcon('FileZip','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4z"/><path fill-rule="evenodd" d="M6.5 7.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.109 0l-.93-.62a1 1 0 0 1-.415-1.074l.4-1.599V7.5zm2 0h-1v.938a1 1 0 0 1-.03.243l-.4 1.598.93.62.93-.62-.4-1.598a1 1 0 0 1-.03-.243V7.5z"/><path d="M7.5 1H9v1H7.5zm-1 1H8v1H6.5zm1 1H9v1H7.5zm-1 1H8v1H6.5zm1 1H9v1H7.5V5z"/>');// eslint-disable-next-line
|
|
var BIconFileZipFill=/*#__PURE__*/makeIcon('FileZipFill','<path fill-rule="evenodd" d="M4 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm2.5 8.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.109 0l-.93-.62a1 1 0 0 1-.415-1.074l.4-1.599V8.5zm2 .938V8.5h-1v.938a1 1 0 0 1-.03.243l-.4 1.598.93.62.93-.62-.4-1.598a1 1 0 0 1-.03-.243zM7.5 3V2h-1V1H8v1h1v1H8v1h1v1H8v1h1v1H7.5V6h-1V5h1V4h-1V3h1z"/>');// eslint-disable-next-line
|
|
var BIconFiles=/*#__PURE__*/makeIcon('Files','<path fill-rule="evenodd" d="M4 2h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4z"/><path d="M6 0h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1H4a2 2 0 0 1 2-2z"/>');// eslint-disable-next-line
|
|
var BIconFilesAlt=/*#__PURE__*/makeIcon('FilesAlt','<path fill-rule="evenodd" d="M3 0h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3z"/><path d="M13 3V2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1z"/>');// eslint-disable-next-line
|
|
var BIconFilm=/*#__PURE__*/makeIcon('Film','<path fill-rule="evenodd" d="M0 1a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1zm4 0h8v6H4V1zm8 8H4v6h8V9zM1 1h2v2H1V1zm2 3H1v2h2V4zM1 7h2v2H1V7zm2 3H1v2h2v-2zm-2 3h2v2H1v-2zM15 1h-2v2h2V1zm-2 3h2v2h-2V4zm2 3h-2v2h2V7zm-2 3h2v2h-2v-2zm2 3h-2v2h2v-2z"/>');// eslint-disable-next-line
|
|
var BIconFilter=/*#__PURE__*/makeIcon('Filter','<path fill-rule="evenodd" d="M6 10.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFilterCircle=/*#__PURE__*/makeIcon('FilterCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M7 11.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFilterCircleFill=/*#__PURE__*/makeIcon('FilterCircleFill','<path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM3.5 5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zM5 8.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm2 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFilterLeft=/*#__PURE__*/makeIcon('FilterLeft','<path fill-rule="evenodd" d="M2 10.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFilterRight=/*#__PURE__*/makeIcon('FilterRight','<path fill-rule="evenodd" d="M14 10.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5zm0-3a.5.5 0 0 0-.5-.5h-7a.5.5 0 0 0 0 1h7a.5.5 0 0 0 .5-.5zm0-3a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0 0 1h11a.5.5 0 0 0 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFilterSquare=/*#__PURE__*/makeIcon('FilterSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M6 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFilterSquareFill=/*#__PURE__*/makeIcon('FilterSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm.5 5a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1h-11zM4 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm2 3a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFlag=/*#__PURE__*/makeIcon('Flag','<path fill-rule="evenodd" d="M14.778.085A.5.5 0 0 1 15 .5V8a.5.5 0 0 1-.314.464L14.5 8l.186.464-.003.001-.006.003-.023.009a12.435 12.435 0 0 1-.397.15c-.264.095-.631.223-1.047.35-.816.252-1.879.523-2.71.523-.847 0-1.548-.28-2.158-.525l-.028-.01C7.68 8.71 7.14 8.5 6.5 8.5c-.7 0-1.638.23-2.437.477A19.626 19.626 0 0 0 3 9.342V15.5a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 1 0v.282c.226-.079.496-.17.79-.26C4.606.272 5.67 0 6.5 0c.84 0 1.524.277 2.121.519l.043.018C9.286.788 9.828 1 10.5 1c.7 0 1.638-.23 2.437-.477a19.587 19.587 0 0 0 1.349-.476l.019-.007.004-.002h.001M14 1.221c-.22.078-.48.167-.766.255-.81.252-1.872.523-2.734.523-.886 0-1.592-.286-2.203-.534l-.008-.003C7.662 1.21 7.139 1 6.5 1c-.669 0-1.606.229-2.415.478A21.294 21.294 0 0 0 3 1.845v6.433c.22-.078.48-.167.766-.255C4.576 7.77 5.638 7.5 6.5 7.5c.847 0 1.548.28 2.158.525l.028.01C9.32 8.29 9.86 8.5 10.5 8.5c.668 0 1.606-.229 2.415-.478A21.317 21.317 0 0 0 14 7.655V1.222z"/>');// eslint-disable-next-line
|
|
var BIconFlagFill=/*#__PURE__*/makeIcon('FlagFill','<path fill-rule="evenodd" d="M14.778.085A.5.5 0 0 1 15 .5V8a.5.5 0 0 1-.314.464L14.5 8l.186.464-.003.001-.006.003-.023.009a12.435 12.435 0 0 1-.397.15c-.264.095-.631.223-1.047.35-.816.252-1.879.523-2.71.523-.847 0-1.548-.28-2.158-.525l-.028-.01C7.68 8.71 7.14 8.5 6.5 8.5c-.7 0-1.638.23-2.437.477A19.626 19.626 0 0 0 3 9.342V15.5a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 1 0v.282c.226-.079.496-.17.79-.26C4.606.272 5.67 0 6.5 0c.84 0 1.524.277 2.121.519l.043.018C9.286.788 9.828 1 10.5 1c.7 0 1.638-.23 2.437-.477a19.587 19.587 0 0 0 1.349-.476l.019-.007.004-.002h.001"/>');// eslint-disable-next-line
|
|
var BIconFlower1=/*#__PURE__*/makeIcon('Flower1','<path fill-rule="evenodd" d="M6.174 1.184a2 2 0 0 1 3.652 0A2 2 0 0 1 12.99 3.01a2 2 0 0 1 1.826 3.164 2 2 0 0 1 0 3.652 2 2 0 0 1-1.826 3.164 2 2 0 0 1-3.164 1.826 2 2 0 0 1-3.652 0A2 2 0 0 1 3.01 12.99a2 2 0 0 1-1.826-3.164 2 2 0 0 1 0-3.652A2 2 0 0 1 3.01 3.01a2 2 0 0 1 3.164-1.826zM8 1a1 1 0 0 1 1 1l-.002.03a4.997 4.997 0 0 1-.064.387c-.049.241-.122.542-.213.887a60.59 60.59 0 0 1-.676 2.314L8 5.762l-.045-.144a60.59 60.59 0 0 1-.676-2.314 16.705 16.705 0 0 1-.213-.887 4.99 4.99 0 0 1-.064-.386A1 1 0 0 1 8 1zM2 9a1 1 0 1 1 .03-1.998l.091.01c.077.012.176.029.296.054.241.049.542.122.887.213a60.59 60.59 0 0 1 2.314.676L5.762 8l-.144.045c-.8.248-1.626.494-2.314.676-.345.091-.646.164-.887.213a4.99 4.99 0 0 1-.386.064L2 9zm7 5a1 1 0 0 1-2 0l.002-.03a4.996 4.996 0 0 1 .064-.386c.049-.242.122-.543.213-.888.182-.688.428-1.513.676-2.314L8 10.238l.045.144c.248.8.494 1.626.676 2.314.091.345.164.646.213.887a5.005 5.005 0 0 1 .064.386L9 14zm-5.696-2.134a1 1 0 0 1-1-1.732l.027-.014c.02-.01.048-.021.084-.036a5.09 5.09 0 0 1 .283-.102c.233-.078.53-.165.874-.258a60.598 60.598 0 0 1 2.343-.572l.147-.033-.103.11a58.239 58.239 0 0 1-1.666 1.743c-.253.252-.477.465-.66.629a5.001 5.001 0 0 1-.304.248l-.025.017zM4.5 14.062a1 1 0 0 0 1.366-.366l.014-.027c.01-.02.021-.048.036-.084a5.09 5.09 0 0 0 .102-.283c.078-.233.165-.53.258-.874a60.6 60.6 0 0 0 .572-2.343l.033-.147-.11.102a60.848 60.848 0 0 0-1.743 1.667 17.07 17.07 0 0 0-.629.66 5.06 5.06 0 0 0-.248.304l-.017.025a1 1 0 0 0 .366 1.366zm9.196-8.196a1 1 0 0 0-1-1.732l-.025.017a4.951 4.951 0 0 0-.303.248 16.69 16.69 0 0 0-.661.629A60.72 60.72 0 0 0 10.04 6.77l-.102.111.147-.033a60.6 60.6 0 0 0 2.342-.572c.345-.093.642-.18.875-.258a4.993 4.993 0 0 0 .367-.138.53.53 0 0 0 .027-.014zM11.5 1.938a1 1 0 0 1 .366 1.366l-.017.025a5.001 5.001 0 0 1-.248.303 17.01 17.01 0 0 1-.629.661A60.614 60.614 0 0 1 9.23 5.96l-.111.102.033-.147a60.62 60.62 0 0 1 .572-2.342c.093-.345.18-.642.258-.875a5.066 5.066 0 0 1 .138-.367l.014-.027a1 1 0 0 1 1.366-.366zM14 9a1 1 0 0 0 0-2l-.03.002a4.996 4.996 0 0 0-.386.064c-.242.049-.543.122-.888.213-.688.182-1.513.428-2.314.676L10.238 8l.144.045c.8.248 1.626.494 2.314.676.345.091.646.164.887.213a4.996 4.996 0 0 0 .386.064L14 9zM1.938 4.5a1 1 0 0 0 .393 1.38l.084.035c.072.03.166.064.283.103.233.078.53.165.874.258a60.88 60.88 0 0 0 2.343.572l.147.033-.103-.111a60.584 60.584 0 0 0-1.666-1.742 16.705 16.705 0 0 0-.66-.629 4.996 4.996 0 0 0-.304-.248l-.025-.017a1 1 0 0 0-1.366.366zm2.196-1.196A1 1 0 1 1 5.88 2.33c.01.02.021.048.036.084.029.072.063.166.102.283.078.233.165.53.258.875.186.687.387 1.524.572 2.342l.033.147-.11-.102a60.597 60.597 0 0 1-1.743-1.667 16.713 16.713 0 0 1-.629-.66 4.996 4.996 0 0 1-.248-.304l-.017-.025zm9.928 8.196a1 1 0 0 1-1.366.366l-.025-.017a4.946 4.946 0 0 1-.303-.248 16.71 16.71 0 0 1-.661-.629A60.73 60.73 0 0 1 10.04 9.23l-.102-.111.147.033c.818.185 1.655.386 2.342.572.345.093.642.18.875.258a5 5 0 0 1 .367.138 1 1 0 0 1 .394 1.38zm-3.928 2.196a1 1 0 0 0 1.732-1l-.017-.025a5.065 5.065 0 0 0-.248-.303 16.705 16.705 0 0 0-.629-.661A60.462 60.462 0 0 0 9.23 10.04l-.111-.102.033.147a60.6 60.6 0 0 0 .572 2.342c.093.345.18.642.258.875a4.985 4.985 0 0 0 .138.367.575.575 0 0 0 .014.027zM8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconFlower2=/*#__PURE__*/makeIcon('Flower2','<path fill-rule="evenodd" d="M8 16a4 4 0 0 0 4-4 4 4 0 0 0 0-8 4 4 0 0 0-8 0 4 4 0 1 0 0 8 4 4 0 0 0 4 4zm3-12a3 3 0 0 0-6 0c0 .073.01.155.03.247.544.241 1.091.638 1.598 1.084A2.987 2.987 0 0 1 8 5c.494 0 .96.12 1.372.331.507-.446 1.054-.843 1.598-1.084.02-.092.03-.174.03-.247zm-.812 6.052A2.99 2.99 0 0 0 11 8a2.99 2.99 0 0 0-.812-2.052c.215-.18.432-.346.647-.487C11.34 5.131 11.732 5 12 5a3 3 0 1 1 0 6c-.268 0-.66-.13-1.165-.461a6.833 6.833 0 0 1-.647-.487zm-3.56.617a3.001 3.001 0 0 0 2.744 0c.507.446 1.054.842 1.598 1.084.02.091.03.174.03.247a3 3 0 1 1-6 0c0-.073.01-.155.03-.247.544-.242 1.091-.638 1.598-1.084zm-.816-4.721A2.99 2.99 0 0 0 5 8c0 .794.308 1.516.812 2.052a6.83 6.83 0 0 1-.647.487C4.66 10.869 4.268 11 4 11a3 3 0 0 1 0-6c.268 0 .66.13 1.165.461.215.141.432.306.647.487zM8 9a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/>');// eslint-disable-next-line
|
|
var BIconFlower3=/*#__PURE__*/makeIcon('Flower3','<path fill-rule="evenodd" d="M11.424 8c.437-.052.811-.136 1.04-.268a2 2 0 0 0-2-3.464c-.229.132-.489.414-.752.767C9.886 4.63 10 4.264 10 4a2 2 0 1 0-4 0c0 .264.114.63.288 1.035-.263-.353-.523-.635-.752-.767a2 2 0 0 0-2 3.464c.229.132.603.216 1.04.268-.437.052-.811.136-1.04.268a2 2 0 1 0 2 3.464c.229-.132.489-.414.752-.767C6.114 11.37 6 11.736 6 12a2 2 0 1 0 4 0c0-.264-.114-.63-.288-1.035.263.353.523.635.752.767a2 2 0 1 0 2-3.464c-.229-.132-.603-.216-1.04-.268zM9 4a1 1 0 0 0-2 0 1.473 1.473 0 0 0 .045.206c.039.131.1.294.183.483.166.378.396.808.637 1.223l.135.23.135-.23c.241-.415.47-.845.637-1.223.083-.19.144-.352.183-.484.02-.065.031-.116.038-.154C9 4.018 9 4.002 9 4zM3.67 5.5a1 1 0 0 0 .366 1.366 1.47 1.47 0 0 0 .2.064c.134.032.305.06.51.083.411.045.898.061 1.379.06.09 0 .178 0 .266-.002a21.82 21.82 0 0 0-.131-.232 12.88 12.88 0 0 0-.742-1.163 4.215 4.215 0 0 0-.327-.4 1.472 1.472 0 0 0-.115-.11c-.025-.022-.038-.03-.04-.032A1 1 0 0 0 3.67 5.5zm1.366 5.366a1 1 0 0 1-1-1.732c.001 0 .016-.008.047-.02.037-.013.087-.028.153-.044.134-.032.305-.06.51-.083a12.88 12.88 0 0 1 1.379-.06c.09 0 .178 0 .266.002a21.82 21.82 0 0 1-.131.232c-.24.416-.497.83-.742 1.163a4.1 4.1 0 0 1-.327.4 1.483 1.483 0 0 1-.155.142zM9 12a1 1 0 0 1-2 0 1.476 1.476 0 0 1 .045-.206c.039-.131.1-.294.183-.483.166-.378.396-.808.637-1.223L8 9.858l.135.23c.241.415.47.845.637 1.223.083.19.144.352.183.484A1.338 1.338 0 0 1 9 12zm3.33-6.5a1 1 0 0 1-.366 1.366 1.478 1.478 0 0 1-.2.064c-.134.032-.305.06-.51.083-.412.045-.898.061-1.379.06-.09 0-.178 0-.266-.002l.131-.232c.24-.416.497-.83.742-1.163a4.1 4.1 0 0 1 .327-.4c.046-.05.085-.086.114-.11.026-.022.04-.03.041-.032a1 1 0 0 1 1.366.366zm-1.366 5.366a1 1 0 0 0 1-1.732c-.002 0-.016-.008-.047-.02a1.478 1.478 0 0 0-.153-.044 4.217 4.217 0 0 0-.51-.083 12.881 12.881 0 0 0-1.379-.06c-.09 0-.178 0-.266.002a22 22 0 0 0 .131.232c.24.416.497.83.742 1.163.122.167.232.3.327.4a1.494 1.494 0 0 0 .155.142zM8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconFolder=/*#__PURE__*/makeIcon('Folder','<path d="M9.828 4a3 3 0 0 1-2.12-.879l-.83-.828A1 1 0 0 0 6.173 2H2.5a1 1 0 0 0-1 .981L1.546 4h-1L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3v1z"/><path fill-rule="evenodd" d="M13.81 4H2.19a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91h10.348a1 1 0 0 0 .995-.91l.637-7A1 1 0 0 0 13.81 4zM2.19 3A2 2 0 0 0 .198 5.181l.637 7A2 2 0 0 0 2.826 14h10.348a2 2 0 0 0 1.991-1.819l.637-7A2 2 0 0 0 13.81 3H2.19z"/>');// eslint-disable-next-line
|
|
var BIconFolder2=/*#__PURE__*/makeIcon('Folder2','<path fill-rule="evenodd" d="M1 3.5A1.5 1.5 0 0 1 2.5 2h2.764c.958 0 1.76.56 2.311 1.184C7.985 3.648 8.48 4 9 4h4.5A1.5 1.5 0 0 1 15 5.5v7a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 1 12.5v-9zM2.5 3a.5.5 0 0 0-.5.5V6h12v-.5a.5.5 0 0 0-.5-.5H9c-.964 0-1.71-.629-2.174-1.154C6.374 3.334 5.82 3 5.264 3H2.5zM14 7H2v5.5a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V7z"/>');// eslint-disable-next-line
|
|
var BIconFolder2Open=/*#__PURE__*/makeIcon('Folder2Open','<path fill-rule="evenodd" d="M1 3.5A1.5 1.5 0 0 1 2.5 2h2.764c.958 0 1.76.56 2.311 1.184C7.985 3.648 8.48 4 9 4h4.5A1.5 1.5 0 0 1 15 5.5v.64c.57.265.94.876.856 1.546l-.64 5.124A2.5 2.5 0 0 1 12.733 15H3.266a2.5 2.5 0 0 1-2.481-2.19l-.64-5.124A1.5 1.5 0 0 1 1 6.14V3.5zM2 6h12v-.5a.5.5 0 0 0-.5-.5H9c-.964 0-1.71-.629-2.174-1.154C6.374 3.334 5.82 3 5.264 3H2.5a.5.5 0 0 0-.5.5V6zm-.367 1a.5.5 0 0 0-.496.562l.64 5.124A1.5 1.5 0 0 0 3.266 14h9.468a1.5 1.5 0 0 0 1.489-1.314l.64-5.124A.5.5 0 0 0 14.367 7H1.633z"/>');// eslint-disable-next-line
|
|
var BIconFolderCheck=/*#__PURE__*/makeIcon('FolderCheck','<path fill-rule="evenodd" d="M9.828 4H2.19a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91H9v1H2.826a2 2 0 0 1-1.991-1.819l-.637-7a1.99 1.99 0 0 1 .342-1.31L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3h3.982a2 2 0 0 1 1.992 2.181L15.546 8H14.54l.265-2.91A1 1 0 0 0 13.81 4H9.828zm-2.95-1.707L7.587 3H2.19c-.24 0-.47.042-.684.12L1.5 2.98a1 1 0 0 1 1-.98h3.672a1 1 0 0 1 .707.293z"/><path fill-rule="evenodd" d="M15.854 10.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708l1.146 1.147 2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconFolderFill=/*#__PURE__*/makeIcon('FolderFill','<path fill-rule="evenodd" d="M9.828 3h3.982a2 2 0 0 1 1.992 2.181l-.637 7A2 2 0 0 1 13.174 14H2.826a2 2 0 0 1-1.991-1.819l-.637-7a1.99 1.99 0 0 1 .342-1.31L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3zm-8.322.12C1.72 3.042 1.95 3 2.19 3h5.396l-.707-.707A1 1 0 0 0 6.172 2H2.5a1 1 0 0 0-1 .981l.006.139z"/>');// eslint-disable-next-line
|
|
var BIconFolderMinus=/*#__PURE__*/makeIcon('FolderMinus','<path fill-rule="evenodd" d="M9.828 4H2.19a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91H9v1H2.826a2 2 0 0 1-1.991-1.819l-.637-7a1.99 1.99 0 0 1 .342-1.31L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3h3.982a2 2 0 0 1 1.992 2.181L15.546 8H14.54l.265-2.91A1 1 0 0 0 13.81 4H9.828zm-2.95-1.707L7.587 3H2.19c-.24 0-.47.042-.684.12L1.5 2.98a1 1 0 0 1 1-.98h3.672a1 1 0 0 1 .707.293z"/><path fill-rule="evenodd" d="M11 11.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFolderPlus=/*#__PURE__*/makeIcon('FolderPlus','<path fill-rule="evenodd" d="M9.828 4H2.19a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91H9v1H2.826a2 2 0 0 1-1.991-1.819l-.637-7a1.99 1.99 0 0 1 .342-1.31L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3h3.982a2 2 0 0 1 1.992 2.181L15.546 8H14.54l.265-2.91A1 1 0 0 0 13.81 4H9.828zm-2.95-1.707L7.587 3H2.19c-.24 0-.47.042-.684.12L1.5 2.98a1 1 0 0 1 1-.98h3.672a1 1 0 0 1 .707.293z"/><path fill-rule="evenodd" d="M13.5 10a.5.5 0 0 1 .5.5V12h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V13h-1.5a.5.5 0 0 1 0-1H13v-1.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFolderSymlink=/*#__PURE__*/makeIcon('FolderSymlink','<path d="M9.828 4a3 3 0 0 1-2.12-.879l-.83-.828A1 1 0 0 0 6.173 2H2.5a1 1 0 0 0-1 .981L1.546 4h-1L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3v1z"/><path fill-rule="evenodd" d="M13.81 4H2.19a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91h10.348a1 1 0 0 0 .995-.91l.637-7A1 1 0 0 0 13.81 4zM2.19 3A2 2 0 0 0 .198 5.181l.637 7A2 2 0 0 0 2.826 14h10.348a2 2 0 0 0 1.991-1.819l.637-7A2 2 0 0 0 13.81 3H2.19z"/><path d="M8.616 10.24l3.182-1.969a.443.443 0 0 0 0-.742l-3.182-1.97c-.27-.166-.616.036-.616.372V6.7c-.857 0-3.429 0-4 4.8 1.429-2.7 4-2.4 4-2.4v.769c0 .336.346.538.616.371z"/>');// eslint-disable-next-line
|
|
var BIconFolderSymlinkFill=/*#__PURE__*/makeIcon('FolderSymlinkFill','<path fill-rule="evenodd" d="M13.81 3H9.828a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 6.172 1H2.5a2 2 0 0 0-2 2l.04.87a1.99 1.99 0 0 0-.342 1.311l.637 7A2 2 0 0 0 2.826 14h10.348a2 2 0 0 0 1.991-1.819l.637-7A2 2 0 0 0 13.81 3zM2.19 3c-.24 0-.47.042-.684.12L1.5 2.98a1 1 0 0 1 1-.98h3.672a1 1 0 0 1 .707.293L7.586 3H2.19zm9.608 5.271l-3.182 1.97c-.27.166-.616-.036-.616-.372V9.1s-2.571-.3-4 2.4c.571-4.8 3.143-4.8 4-4.8v-.769c0-.336.346-.538.616-.371l3.182 1.969c.27.166.27.576 0 .742z"/>');// eslint-disable-next-line
|
|
var BIconFolderX=/*#__PURE__*/makeIcon('FolderX','<path fill-rule="evenodd" d="M9.828 4H2.19a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91H9v1H2.826a2 2 0 0 1-1.991-1.819l-.637-7a1.99 1.99 0 0 1 .342-1.31L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3h3.982a2 2 0 0 1 1.992 2.181L15.546 8H14.54l.265-2.91A1 1 0 0 0 13.81 4H9.828zm-2.95-1.707L7.587 3H2.19c-.24 0-.47.042-.684.12L1.5 2.98a1 1 0 0 1 1-.98h3.672a1 1 0 0 1 .707.293z"/><path fill-rule="evenodd" d="M11.146 10.146a.5.5 0 0 1 .708 0L13 11.293l1.146-1.147a.5.5 0 0 1 .708.708L13.707 12l1.147 1.146a.5.5 0 0 1-.708.708L13 12.707l-1.146 1.147a.5.5 0 0 1-.708-.708L12.293 12l-1.147-1.146a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconFonts=/*#__PURE__*/makeIcon('Fonts','<path d="M12.258 3H3.747l-.082 2.46h.479c.26-1.544.758-1.783 2.693-1.845l.424-.013v7.827c0 .663-.144.82-1.3.923v.52h4.082v-.52c-1.162-.103-1.306-.26-1.306-.923V3.602l.43.013c1.935.062 2.434.301 2.694 1.846h.479L12.258 3z"/>');// eslint-disable-next-line
|
|
var BIconForward=/*#__PURE__*/makeIcon('Forward','<path fill-rule="evenodd" d="M9.502 5.513a.144.144 0 0 0-.202.134V6.65a.5.5 0 0 1-.5.5H2.5v2.9h6.3a.5.5 0 0 1 .5.5v1.003c0 .108.11.176.202.134l3.984-2.933a.51.51 0 0 1 .042-.028.147.147 0 0 0 0-.252.51.51 0 0 1-.042-.028L9.502 5.513zM8.3 5.647a1.144 1.144 0 0 1 1.767-.96l3.994 2.94a1.147 1.147 0 0 1 0 1.946l-3.994 2.94a1.144 1.144 0 0 1-1.767-.96v-.503H2a.5.5 0 0 1-.5-.5v-3.9a.5.5 0 0 1 .5-.5h6.3v-.503z"/>');// eslint-disable-next-line
|
|
var BIconForwardFill=/*#__PURE__*/makeIcon('ForwardFill','<path d="M9.77 12.11l4.012-2.953a.647.647 0 0 0 0-1.114L9.771 5.09a.644.644 0 0 0-.971.557V6.65H2v3.9h6.8v1.003c0 .505.545.808.97.557z"/>');// eslint-disable-next-line
|
|
var BIconFront=/*#__PURE__*/makeIcon('Front','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm5 10v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2v5a2 2 0 0 1-2 2H5z"/>');// eslint-disable-next-line
|
|
var BIconFullscreen=/*#__PURE__*/makeIcon('Fullscreen','<path fill-rule="evenodd" d="M1.5 1a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4A1.5 1.5 0 0 1 1.5 0h4a.5.5 0 0 1 0 1h-4zM10 .5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 16 1.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 0 14.5v-4a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v4a1.5 1.5 0 0 1-1.5 1.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconFullscreenExit=/*#__PURE__*/makeIcon('FullscreenExit','<path fill-rule="evenodd" d="M5.5 0a.5.5 0 0 1 .5.5v4A1.5 1.5 0 0 1 4.5 6h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5zm5 0a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 10 4.5v-4a.5.5 0 0 1 .5-.5zM0 10.5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 6 11.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zm10 1a1.5 1.5 0 0 1 1.5-1.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4z"/>');// eslint-disable-next-line
|
|
var BIconFunnel=/*#__PURE__*/makeIcon('Funnel','<path fill-rule="evenodd" d="M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2zm1 .5v1.308l4.372 4.858A.5.5 0 0 1 7 8.5v5.306l2-.666V8.5a.5.5 0 0 1 .128-.334L13.5 3.308V2h-11z"/>');// eslint-disable-next-line
|
|
var BIconFunnelFill=/*#__PURE__*/makeIcon('FunnelFill','<path fill-rule="evenodd" d="M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2z"/>');// eslint-disable-next-line
|
|
var BIconGear=/*#__PURE__*/makeIcon('Gear','<path fill-rule="evenodd" d="M8.837 1.626c-.246-.835-1.428-.835-1.674 0l-.094.319A1.873 1.873 0 0 1 4.377 3.06l-.292-.16c-.764-.415-1.6.42-1.184 1.185l.159.292a1.873 1.873 0 0 1-1.115 2.692l-.319.094c-.835.246-.835 1.428 0 1.674l.319.094a1.873 1.873 0 0 1 1.115 2.693l-.16.291c-.415.764.42 1.6 1.185 1.184l.292-.159a1.873 1.873 0 0 1 2.692 1.116l.094.318c.246.835 1.428.835 1.674 0l.094-.319a1.873 1.873 0 0 1 2.693-1.115l.291.16c.764.415 1.6-.42 1.184-1.185l-.159-.291a1.873 1.873 0 0 1 1.116-2.693l.318-.094c.835-.246.835-1.428 0-1.674l-.319-.094a1.873 1.873 0 0 1-1.115-2.692l.16-.292c.415-.764-.42-1.6-1.185-1.184l-.291.159A1.873 1.873 0 0 1 8.93 1.945l-.094-.319zm-2.633-.283c.527-1.79 3.065-1.79 3.592 0l.094.319a.873.873 0 0 0 1.255.52l.292-.16c1.64-.892 3.434.901 2.54 2.541l-.159.292a.873.873 0 0 0 .52 1.255l.319.094c1.79.527 1.79 3.065 0 3.592l-.319.094a.873.873 0 0 0-.52 1.255l.16.292c.893 1.64-.902 3.434-2.541 2.54l-.292-.159a.873.873 0 0 0-1.255.52l-.094.319c-.527 1.79-3.065 1.79-3.592 0l-.094-.319a.873.873 0 0 0-1.255-.52l-.292.16c-1.64.893-3.433-.902-2.54-2.541l.159-.292a.873.873 0 0 0-.52-1.255l-.319-.094c-1.79-.527-1.79-3.065 0-3.592l.319-.094a.873.873 0 0 0 .52-1.255l-.16-.292c-.892-1.64.902-3.433 2.541-2.54l.292.159a.873.873 0 0 0 1.255-.52l.094-.319z"/><path fill-rule="evenodd" d="M8 5.754a2.246 2.246 0 1 0 0 4.492 2.246 2.246 0 0 0 0-4.492zM4.754 8a3.246 3.246 0 1 1 6.492 0 3.246 3.246 0 0 1-6.492 0z"/>');// eslint-disable-next-line
|
|
var BIconGearFill=/*#__PURE__*/makeIcon('GearFill','<path fill-rule="evenodd" d="M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 0 0-5.86 2.929 2.929 0 0 0 0 5.858z"/>');// eslint-disable-next-line
|
|
var BIconGearWide=/*#__PURE__*/makeIcon('GearWide','<path fill-rule="evenodd" d="M8.932.727c-.243-.97-1.62-.97-1.864 0l-.071.286a.96.96 0 0 1-1.622.434l-.205-.211c-.695-.719-1.888-.03-1.613.931l.08.284a.96.96 0 0 1-1.186 1.187l-.284-.081c-.96-.275-1.65.918-.931 1.613l.211.205a.96.96 0 0 1-.434 1.622l-.286.071c-.97.243-.97 1.62 0 1.864l.286.071a.96.96 0 0 1 .434 1.622l-.211.205c-.719.695-.03 1.888.931 1.613l.284-.08a.96.96 0 0 1 1.187 1.187l-.081.283c-.275.96.918 1.65 1.613.931l.205-.211a.96.96 0 0 1 1.622.434l.071.286c.243.97 1.62.97 1.864 0l.071-.286a.96.96 0 0 1 1.622-.434l.205.211c.695.719 1.888.03 1.613-.931l-.08-.284a.96.96 0 0 1 1.187-1.187l.283.081c.96.275 1.65-.918.931-1.613l-.211-.205a.96.96 0 0 1 .434-1.622l.286-.071c.97-.243.97-1.62 0-1.864l-.286-.071a.96.96 0 0 1-.434-1.622l.211-.205c.719-.695.03-1.888-.931-1.613l-.284.08a.96.96 0 0 1-1.187-1.186l.081-.284c.275-.96-.918-1.65-1.613-.931l-.205.211a.96.96 0 0 1-1.622-.434L8.932.727zM8 12.997a4.998 4.998 0 1 0 0-9.995 4.998 4.998 0 0 0 0 9.996z"/>');// eslint-disable-next-line
|
|
var BIconGearWideConnected=/*#__PURE__*/makeIcon('GearWideConnected','<path fill-rule="evenodd" d="M8.932.727c-.243-.97-1.62-.97-1.864 0l-.071.286a.96.96 0 0 1-1.622.434l-.205-.211c-.695-.719-1.888-.03-1.613.931l.08.284a.96.96 0 0 1-1.186 1.187l-.284-.081c-.96-.275-1.65.918-.931 1.613l.211.205a.96.96 0 0 1-.434 1.622l-.286.071c-.97.243-.97 1.62 0 1.864l.286.071a.96.96 0 0 1 .434 1.622l-.211.205c-.719.695-.03 1.888.931 1.613l.284-.08a.96.96 0 0 1 1.187 1.187l-.081.283c-.275.96.918 1.65 1.613.931l.205-.211a.96.96 0 0 1 1.622.434l.071.286c.243.97 1.62.97 1.864 0l.071-.286a.96.96 0 0 1 1.622-.434l.205.211c.695.719 1.888.03 1.613-.931l-.08-.284a.96.96 0 0 1 1.187-1.187l.283.081c.96.275 1.65-.918.931-1.613l-.211-.205a.96.96 0 0 1 .434-1.622l.286-.071c.97-.243.97-1.62 0-1.864l-.286-.071a.96.96 0 0 1-.434-1.622l.211-.205c.719-.695.03-1.888-.931-1.613l-.284.08a.96.96 0 0 1-1.187-1.186l.081-.284c.275-.96-.918-1.65-1.613-.931l-.205.211a.96.96 0 0 1-1.622-.434L8.932.727zM8 12.997a4.998 4.998 0 1 0 0-9.995 4.998 4.998 0 0 0 0 9.996z"/><path fill-rule="evenodd" d="M7.375 8L4.602 4.302l.8-.6L8.25 7.5h4.748v1H8.25L5.4 12.298l-.8-.6L7.376 8z"/>');// eslint-disable-next-line
|
|
var BIconGem=/*#__PURE__*/makeIcon('Gem','<path fill-rule="evenodd" d="M3.1.7a.5.5 0 0 1 .4-.2h9a.5.5 0 0 1 .4.2l2.976 3.974c.149.185.156.45.01.644L8.4 15.3a.5.5 0 0 1-.8 0L.1 5.3a.5.5 0 0 1 0-.6l3-4zm11.386 3.785l-1.806-2.41-.776 2.413 2.582-.003zm-3.633.004l.961-2.989H4.186l.963 2.995 5.704-.006zM5.47 5.495l5.062-.005L8 13.366 5.47 5.495zm-1.371-.999l-.78-2.422-1.818 2.425 2.598-.003zM1.499 5.5l2.92-.003 2.193 6.82L1.5 5.5zm7.889 6.817l2.194-6.828 2.929-.003-5.123 6.831z"/>');// eslint-disable-next-line
|
|
var BIconGeo=/*#__PURE__*/makeIcon('Geo','<path fill-rule="evenodd" d="M8 1a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM4 4a4 4 0 1 1 4.5 3.969V13.5a.5.5 0 0 1-1 0V7.97A4 4 0 0 1 4 3.999zm2.493 8.574a.5.5 0 0 1-.411.575c-.712.118-1.28.295-1.655.493a1.319 1.319 0 0 0-.37.265.301.301 0 0 0-.057.09V14l.002.008a.147.147 0 0 0 .016.033.617.617 0 0 0 .145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 0 0 .146-.15.148.148 0 0 0 .015-.033L12 14v-.004a.301.301 0 0 0-.057-.09 1.318 1.318 0 0 0-.37-.264c-.376-.198-.943-.375-1.655-.493a.5.5 0 1 1 .164-.986c.77.127 1.452.328 1.957.594C12.5 13 13 13.4 13 14c0 .426-.26.752-.544.977-.29.228-.68.413-1.116.558-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465-.436-.145-.826-.33-1.116-.558C3.26 14.752 3 14.426 3 14c0-.599.5-1 .961-1.243.505-.266 1.187-.467 1.957-.594a.5.5 0 0 1 .575.411z"/>');// eslint-disable-next-line
|
|
var BIconGeoAlt=/*#__PURE__*/makeIcon('GeoAlt','<path fill-rule="evenodd" d="M12.166 8.94C12.696 7.867 13 6.862 13 6A5 5 0 0 0 3 6c0 .862.305 1.867.834 2.94.524 1.062 1.234 2.12 1.96 3.07A31.481 31.481 0 0 0 8 14.58l.208-.22a31.493 31.493 0 0 0 1.998-2.35c.726-.95 1.436-2.008 1.96-3.07zM8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10z"/><path fill-rule="evenodd" d="M8 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>');// eslint-disable-next-line
|
|
var BIconGeoAltFill=/*#__PURE__*/makeIcon('GeoAltFill','<path fill-rule="evenodd" d="M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>');// eslint-disable-next-line
|
|
var BIconGeoFill=/*#__PURE__*/makeIcon('GeoFill','<path fill-rule="evenodd" d="M4 4a4 4 0 1 1 4.5 3.969V13.5a.5.5 0 0 1-1 0V7.97A4 4 0 0 1 4 3.999zm2.493 8.574a.5.5 0 0 1-.411.575c-.712.118-1.28.295-1.655.493a1.319 1.319 0 0 0-.37.265.301.301 0 0 0-.057.09V14l.002.008a.147.147 0 0 0 .016.033.617.617 0 0 0 .145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 0 0 .146-.15.148.148 0 0 0 .015-.033L12 14v-.004a.301.301 0 0 0-.057-.09 1.318 1.318 0 0 0-.37-.264c-.376-.198-.943-.375-1.655-.493a.5.5 0 1 1 .164-.986c.77.127 1.452.328 1.957.594C12.5 13 13 13.4 13 14c0 .426-.26.752-.544.977-.29.228-.68.413-1.116.558-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465-.436-.145-.826-.33-1.116-.558C3.26 14.752 3 14.426 3 14c0-.599.5-1 .961-1.243.505-.266 1.187-.467 1.957-.594a.5.5 0 0 1 .575.411z"/>');// eslint-disable-next-line
|
|
var BIconGift=/*#__PURE__*/makeIcon('Gift','<path fill-rule="evenodd" d="M3 2.5a2.5 2.5 0 0 1 5 0 2.5 2.5 0 0 1 5 0v.006c0 .07 0 .27-.038.494H15a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1v7.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 1 14.5V7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h2.038A2.968 2.968 0 0 1 3 2.506V2.5zm1.068.5H7v-.5a1.5 1.5 0 1 0-3 0c0 .085.002.274.045.43a.522.522 0 0 0 .023.07zM9 3h2.932a.56.56 0 0 0 .023-.07c.043-.156.045-.345.045-.43a1.5 1.5 0 0 0-3 0V3zM1 4v2h6V4H1zm8 0v2h6V4H9zm5 3H9v8h4.5a.5.5 0 0 0 .5-.5V7zm-7 8V7H2v7.5a.5.5 0 0 0 .5.5H7z"/>');// eslint-disable-next-line
|
|
var BIconGiftFill=/*#__PURE__*/makeIcon('GiftFill','<path fill-rule="evenodd" d="M3 2.5a2.5 2.5 0 0 1 5 0 2.5 2.5 0 0 1 5 0v.006c0 .07 0 .27-.038.494H15a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h2.038A2.968 2.968 0 0 1 3 2.506V2.5zm1.068.5H7v-.5a1.5 1.5 0 1 0-3 0c0 .085.002.274.045.43a.522.522 0 0 0 .023.07zM9 3h2.932a.56.56 0 0 0 .023-.07c.043-.156.045-.345.045-.43a1.5 1.5 0 0 0-3 0V3z"/><path d="M15 7v7.5a1.5 1.5 0 0 1-1.5 1.5H9V7h6zM2.5 16A1.5 1.5 0 0 1 1 14.5V7h6v9H2.5z"/>');// eslint-disable-next-line
|
|
var BIconGlobe=/*#__PURE__*/makeIcon('Globe','<path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077zM4.09 4H2.255a7.025 7.025 0 0 1 3.072-2.472 6.7 6.7 0 0 0-.597.933c-.247.464-.462.98-.64 1.539zm-.582 3.5h-2.49c.062-.89.291-1.733.656-2.5H3.82a13.652 13.652 0 0 0-.312 2.5zM4.847 5H7.5v2.5H4.51A12.5 12.5 0 0 1 4.846 5zM8.5 5v2.5h2.99a12.495 12.495 0 0 0-.337-2.5H8.5zM4.51 8.5H7.5V11H4.847a12.5 12.5 0 0 1-.338-2.5zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5H8.5zM5.145 12H7.5v2.923c-.67-.204-1.335-.82-1.887-1.855A7.97 7.97 0 0 1 5.145 12zm.182 2.472a6.696 6.696 0 0 1-.597-.933A9.268 9.268 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472zM3.82 11H1.674a6.958 6.958 0 0 1-.656-2.5h2.49c.03.877.138 1.718.312 2.5zm6.853 3.472A7.024 7.024 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933zM8.5 12h2.355a7.967 7.967 0 0 1-.468 1.068c-.552 1.035-1.218 1.65-1.887 1.855V12zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.65 13.65 0 0 1-.312 2.5zm2.802-3.5h-2.49A13.65 13.65 0 0 0 12.18 5h2.146c.365.767.594 1.61.656 2.5zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933zM10.855 4H8.5V1.077c.67.204 1.335.82 1.887 1.855.173.324.33.682.468 1.068z"/>');// eslint-disable-next-line
|
|
var BIconGlobe2=/*#__PURE__*/makeIcon('Globe2','<path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077zM4.249 3.539a8.372 8.372 0 0 1-1.198-.49 7.01 7.01 0 0 1 2.276-1.52 6.7 6.7 0 0 0-.597.932 8.854 8.854 0 0 0-.48 1.079zM3.509 7.5H1.017A6.964 6.964 0 0 1 2.38 3.825c.47.258.995.482 1.565.667A13.4 13.4 0 0 0 3.508 7.5zm1.4-2.741c.808.187 1.681.301 2.591.332V7.5H4.51c.035-.987.176-1.914.399-2.741zM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.301-2.591.332zM4.51 8.5H7.5v2.409c-.91.03-1.783.145-2.591.332a12.343 12.343 0 0 1-.4-2.741zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5zm-3.282 3.696A12.63 12.63 0 0 1 7.5 11.91v3.014c-.67-.204-1.335-.82-1.887-1.855a7.776 7.776 0 0 1-.395-.872zm.11 2.276a6.696 6.696 0 0 1-.598-.933 8.853 8.853 0 0 1-.481-1.079 8.38 8.38 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522zm-1.383-2.964a9.083 9.083 0 0 0-1.565.667A6.963 6.963 0 0 1 1.018 8.5h2.49a13.36 13.36 0 0 0 .437 3.008zm6.728 2.964a7.009 7.009 0 0 0 2.275-1.521 8.376 8.376 0 0 0-1.197-.49 8.853 8.853 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zM8.5 11.909c.81.03 1.577.13 2.282.287-.12.312-.252.604-.395.872-.552 1.035-1.218 1.65-1.887 1.855V11.91zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.36 13.36 0 0 1-.437 3.008zM14.982 7.5h-2.49a13.361 13.361 0 0 0-.437-3.008 9.123 9.123 0 0 0 1.565-.667A6.963 6.963 0 0 1 14.982 7.5zM11.27 2.461c.177.334.339.694.482 1.078a8.368 8.368 0 0 0 1.196-.49 7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932zm-.488 1.343c-.705.157-1.473.257-2.282.287V1.077c.67.204 1.335.82 1.887 1.855.143.268.276.56.395.872z"/>');// eslint-disable-next-line
|
|
var BIconGraphDown=/*#__PURE__*/makeIcon('GraphDown','<path fill-rule="evenodd" d="M0 0h1v15h15v1H0V0zm10 11.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-1 0v2.6l-3.613-4.417a.5.5 0 0 0-.74-.037L7.06 8.233 3.404 3.206a.5.5 0 0 0-.808.588l4 5.5a.5.5 0 0 0 .758.06l2.609-2.61L13.445 11H10.5a.5.5 0 0 0-.5.5z"/>');// eslint-disable-next-line
|
|
var BIconGraphUp=/*#__PURE__*/makeIcon('GraphUp','<path fill-rule="evenodd" d="M0 0h1v15h15v1H0V0zm10 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0V4.9l-3.613 4.417a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61L13.445 4H10.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconGrid=/*#__PURE__*/makeIcon('Grid','<path fill-rule="evenodd" d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zM2.5 2a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3zm6.5.5A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3zM1 10.5A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3zm6.5.5A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3z"/>');// eslint-disable-next-line
|
|
var BIconGrid1x2=/*#__PURE__*/makeIcon('Grid1x2','<path fill-rule="evenodd" d="M6 1H1v14h5V1zm9 0h-5v5h5V1zm0 9h-5v5h5v-5zM0 1a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1zm9 0a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1V1zm1 8a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1h-5z"/>');// eslint-disable-next-line
|
|
var BIconGrid1x2Fill=/*#__PURE__*/makeIcon('Grid1x2Fill','<path d="M0 1a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1zm9 0a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1V1zm0 9a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-5z"/>');// eslint-disable-next-line
|
|
var BIconGrid3x2=/*#__PURE__*/makeIcon('Grid3x2','<path fill-rule="evenodd" d="M0 3.5A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5v8a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 11.5v-8zM1.5 3a.5.5 0 0 0-.5.5V7h4V3H1.5zM5 8H1v3.5a.5.5 0 0 0 .5.5H5V8zm1 0h4v4H6V8zm4-1H6V3h4v4zm1 1v4h3.5a.5.5 0 0 0 .5-.5V8h-4zm0-1V3h3.5a.5.5 0 0 1 .5.5V7h-4z"/>');// eslint-disable-next-line
|
|
var BIconGrid3x2Gap=/*#__PURE__*/makeIcon('Grid3x2Gap','<path fill-rule="evenodd" d="M4 4H2v2h2V4zm1 7V9a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zm0-5V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zm5 5V9a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zm0-5V4a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zM9 4H7v2h2V4zm5 0h-2v2h2V4zM4 9H2v2h2V9zm5 0H7v2h2V9zm5 0h-2v2h2V9zm-3-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4zm1 4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1h-2z"/>');// eslint-disable-next-line
|
|
var BIconGrid3x2GapFill=/*#__PURE__*/makeIcon('Grid3x2GapFill','<path d="M1 4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4zM1 9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V9zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V9zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V9z"/>');// eslint-disable-next-line
|
|
var BIconGrid3x3=/*#__PURE__*/makeIcon('Grid3x3','<path fill-rule="evenodd" d="M0 1.5A1.5 1.5 0 0 1 1.5 0h13A1.5 1.5 0 0 1 16 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5v-13zM1.5 1a.5.5 0 0 0-.5.5V5h4V1H1.5zM5 6H1v4h4V6zm1 4V6h4v4H6zm-1 1H1v3.5a.5.5 0 0 0 .5.5H5v-4zm1 0h4v4H6v-4zm5 0v4h3.5a.5.5 0 0 0 .5-.5V11h-4zm0-1h4V6h-4v4zm0-5h4V1.5a.5.5 0 0 0-.5-.5H11v4zm-1 0H6V1h4v4z"/>');// eslint-disable-next-line
|
|
var BIconGrid3x3Gap=/*#__PURE__*/makeIcon('Grid3x3Gap','<path fill-rule="evenodd" d="M4 2H2v2h2V2zm1 12v-2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zm0-5V7a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zm0-5V2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zm5 10v-2a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zm0-5V7a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zm0-5V2a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zM9 2H7v2h2V2zm5 0h-2v2h2V2zM4 7H2v2h2V7zm5 0H7v2h2V7zm5 0h-2v2h2V7zM4 12H2v2h2v-2zm5 0H7v2h2v-2zm5 0h-2v2h2v-2zM12 1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1h-2zm-1 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V7zm1 4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2z"/>');// eslint-disable-next-line
|
|
var BIconGrid3x3GapFill=/*#__PURE__*/makeIcon('Grid3x3GapFill','<path d="M1 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V2zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V2zM1 7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V7zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V7zM1 12a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-2zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-2zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-2z"/>');// eslint-disable-next-line
|
|
var BIconGridFill=/*#__PURE__*/makeIcon('GridFill','<path fill-rule="evenodd" d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3z"/>');// eslint-disable-next-line
|
|
var BIconGripHorizontal=/*#__PURE__*/makeIcon('GripHorizontal','<path d="M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"/>');// eslint-disable-next-line
|
|
var BIconGripVertical=/*#__PURE__*/makeIcon('GripVertical','<path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconHammer=/*#__PURE__*/makeIcon('Hammer','<path d="M9.812 1.952a.5.5 0 0 1-.312.89c-1.671 0-2.852.596-3.616 1.185L4.857 5.073V6.21a.5.5 0 0 1-.146.354L3.425 7.853a.5.5 0 0 1-.708 0L.146 5.274a.5.5 0 0 1 0-.706l1.286-1.29a.5.5 0 0 1 .354-.146H2.84C4.505 1.228 6.216.862 7.557 1.04a5.009 5.009 0 0 1 2.077.782l.178.129z"/><path fill-rule="evenodd" d="M6.012 3.5a.5.5 0 0 1 .359.165l9.146 8.646A.5.5 0 0 1 15.5 13L14 14.5a.5.5 0 0 1-.756-.056L4.598 5.297a.5.5 0 0 1 .048-.65l1-1a.5.5 0 0 1 .366-.147z"/>');// eslint-disable-next-line
|
|
var BIconHandIndex=/*#__PURE__*/makeIcon('HandIndex','<path fill-rule="evenodd" d="M6.75 1a.75.75 0 0 0-.75.75V9a.5.5 0 0 1-1 0v-.89l-1.003.2a.5.5 0 0 0-.399.546l.345 3.105a1.5 1.5 0 0 0 .243.666l1.433 2.15a.5.5 0 0 0 .416.223h6.385a.5.5 0 0 0 .434-.252l1.395-2.442a2.5 2.5 0 0 0 .317-.991l.272-2.715a1 1 0 0 0-.995-1.1H13.5v1a.5.5 0 0 1-1 0V7.154a4.208 4.208 0 0 0-.2-.26c-.187-.222-.368-.383-.486-.43-.124-.05-.392-.063-.708-.039a4.844 4.844 0 0 0-.106.01V8a.5.5 0 0 1-1 0V5.986c0-.167-.073-.272-.15-.314a1.657 1.657 0 0 0-.448-.182c-.179-.035-.5-.04-.816-.027l-.086.004V8a.5.5 0 0 1-1 0V1.75A.75.75 0 0 0 6.75 1zM8.5 4.466V1.75a1.75 1.75 0 0 0-3.5 0v5.34l-1.199.24a1.5 1.5 0 0 0-1.197 1.636l.345 3.106a2.5 2.5 0 0 0 .405 1.11l1.433 2.15A1.5 1.5 0 0 0 6.035 16h6.385a1.5 1.5 0 0 0 1.302-.756l1.395-2.441a3.5 3.5 0 0 0 .444-1.389l.272-2.715a2 2 0 0 0-1.99-2.199h-.582a5.184 5.184 0 0 0-.195-.248c-.191-.229-.51-.568-.88-.716-.364-.146-.846-.132-1.158-.108l-.132.012a1.26 1.26 0 0 0-.56-.642 2.634 2.634 0 0 0-.738-.288c-.31-.062-.739-.058-1.05-.046l-.048.002zm2.094 2.025z"/>');// eslint-disable-next-line
|
|
var BIconHandIndexThumb=/*#__PURE__*/makeIcon('HandIndexThumb','<path fill-rule="evenodd" d="M6.75 1a.75.75 0 0 0-.75.75V9.5a.5.5 0 0 1-.854.354l-2.41-2.411a.517.517 0 0 0-.809.631l2.512 4.185 1.232 2.465a.5.5 0 0 0 .447.276h6.302a.5.5 0 0 0 .434-.252l1.395-2.442a2.5 2.5 0 0 0 .317-.991l.272-2.715a1 1 0 0 0-.995-1.1H13.5v1a.5.5 0 1 1-1 0V7.154a4.208 4.208 0 0 0-.2-.26c-.187-.222-.368-.383-.486-.43-.124-.05-.392-.063-.708-.039a4.844 4.844 0 0 0-.106.01V8a.5.5 0 1 1-1 0V5.986c0-.167-.073-.272-.15-.314a1.657 1.657 0 0 0-.448-.182c-.179-.035-.5-.04-.816-.027l-.086.004V8a.5.5 0 1 1-1 0V1.75A.75.75 0 0 0 6.75 1zM8.5 4.466V1.75a1.75 1.75 0 1 0-3.5 0v6.543L3.443 6.736A1.517 1.517 0 0 0 1.07 8.588l2.491 4.153 1.215 2.43A1.5 1.5 0 0 0 6.118 16h6.302a1.5 1.5 0 0 0 1.302-.756l1.395-2.441a3.5 3.5 0 0 0 .444-1.389l.272-2.715a2 2 0 0 0-1.99-2.199h-.582a5.114 5.114 0 0 0-.195-.248c-.191-.229-.51-.568-.88-.716-.364-.146-.846-.132-1.158-.108l-.132.012a1.26 1.26 0 0 0-.56-.642 2.634 2.634 0 0 0-.738-.288c-.31-.062-.739-.058-1.05-.046l-.048.002zm2.094 2.025z"/>');// eslint-disable-next-line
|
|
var BIconHandThumbsDown=/*#__PURE__*/makeIcon('HandThumbsDown','<path fill-rule="evenodd" d="M6.956 14.534c.065.936.952 1.659 1.908 1.42l.261-.065a1.378 1.378 0 0 0 1.012-.965c.22-.816.533-2.512.062-4.51.136.02.285.037.443.051.713.065 1.669.071 2.516-.211.518-.173.994-.68 1.2-1.272a1.896 1.896 0 0 0-.234-1.734c.058-.118.103-.242.138-.362.077-.27.113-.568.113-.857 0-.288-.036-.585-.113-.856a2.094 2.094 0 0 0-.16-.403c.169-.387.107-.82-.003-1.149a3.162 3.162 0 0 0-.488-.9c.054-.153.076-.313.076-.465a1.86 1.86 0 0 0-.253-.912C13.1.757 12.437.28 11.5.28v1c.563 0 .901.272 1.066.56.086.15.121.3.121.416 0 .12-.035.165-.04.17l-.354.353.353.354c.202.202.407.512.505.805.104.312.043.44-.005.488l-.353.353.353.354c.043.043.105.141.154.315.048.167.075.37.075.581 0 .212-.027.415-.075.582-.05.174-.111.272-.154.315l-.353.353.353.354c.353.352.373.714.267 1.021-.122.35-.396.593-.571.651-.653.218-1.447.224-2.11.164a8.907 8.907 0 0 1-1.094-.17l-.014-.004H9.62a.5.5 0 0 0-.595.643 8.34 8.34 0 0 1 .145 4.725c-.03.112-.128.215-.288.255l-.262.066c-.306.076-.642-.156-.667-.519-.075-1.081-.239-2.15-.482-2.85-.174-.502-.603-1.267-1.238-1.977C5.597 8.926 4.715 8.23 3.62 7.93 3.226 7.823 3 7.534 3 7.28V3.279c0-.26.22-.515.553-.55 1.293-.138 1.936-.53 2.491-.869l.04-.024c.27-.165.495-.296.776-.393.277-.096.63-.163 1.14-.163h3.5v-1H8c-.605 0-1.07.08-1.466.217a4.823 4.823 0 0 0-.97.485l-.048.029c-.504.308-.999.61-2.068.723C2.682 1.815 2 2.434 2 3.279v4c0 .851.685 1.433 1.357 1.616.849.232 1.574.787 2.132 1.41.56.626.914 1.28 1.039 1.638.199.575.356 1.54.428 2.591z"/>');// eslint-disable-next-line
|
|
var BIconHandThumbsUp=/*#__PURE__*/makeIcon('HandThumbsUp','<path fill-rule="evenodd" d="M6.956 1.745C7.021.81 7.908.087 8.864.325l.261.066c.463.116.874.456 1.012.965.22.816.533 2.511.062 4.51a9.84 9.84 0 0 1 .443-.051c.713-.065 1.669-.072 2.516.21.518.173.994.681 1.2 1.273.184.532.16 1.162-.234 1.733.058.119.103.242.138.363.077.27.113.567.113.856 0 .289-.036.586-.113.856-.039.135-.09.273-.16.404.169.387.107.819-.003 1.148a3.163 3.163 0 0 1-.488.901c.054.152.076.312.076.465 0 .305-.089.625-.253.912C13.1 15.522 12.437 16 11.5 16v-1c.563 0 .901-.272 1.066-.56a.865.865 0 0 0 .121-.416c0-.12-.035-.165-.04-.17l-.354-.354.353-.354c.202-.201.407-.511.505-.804.104-.312.043-.441-.005-.488l-.353-.354.353-.354c.043-.042.105-.14.154-.315.048-.167.075-.37.075-.581 0-.211-.027-.414-.075-.581-.05-.174-.111-.273-.154-.315L12.793 9l.353-.354c.353-.352.373-.713.267-1.02-.122-.35-.396-.593-.571-.652-.653-.217-1.447-.224-2.11-.164a8.907 8.907 0 0 0-1.094.171l-.014.003-.003.001a.5.5 0 0 1-.595-.643 8.34 8.34 0 0 0 .145-4.726c-.03-.111-.128-.215-.288-.255l-.262-.065c-.306-.077-.642.156-.667.518-.075 1.082-.239 2.15-.482 2.85-.174.502-.603 1.268-1.238 1.977-.637.712-1.519 1.41-2.614 1.708-.394.108-.62.396-.62.65v4.002c0 .26.22.515.553.55 1.293.137 1.936.53 2.491.868l.04.025c.27.164.495.296.776.393.277.095.63.163 1.14.163h3.5v1H8c-.605 0-1.07-.081-1.466-.218a4.82 4.82 0 0 1-.97-.484l-.048-.03c-.504-.307-.999-.609-2.068-.722C2.682 14.464 2 13.846 2 13V9c0-.85.685-1.432 1.357-1.615.849-.232 1.574-.787 2.132-1.41.56-.627.914-1.28 1.039-1.639.199-.575.356-1.539.428-2.59z"/>');// eslint-disable-next-line
|
|
var BIconHandbag=/*#__PURE__*/makeIcon('Handbag','<path fill-rule="evenodd" d="M8 1a2 2 0 0 0-2 2v2h4V3a2 2 0 0 0-2-2zm3 4V3a3 3 0 1 0-6 0v2H3.361a1.5 1.5 0 0 0-1.483 1.277L.85 13.13A2.5 2.5 0 0 0 3.322 16h9.356a2.5 2.5 0 0 0 2.472-2.87l-1.028-6.853A1.5 1.5 0 0 0 12.64 5H11zm-1 1v1.5a.5.5 0 0 0 1 0V6h1.639a.5.5 0 0 1 .494.426l1.028 6.851A1.5 1.5 0 0 1 12.678 15H3.322a1.5 1.5 0 0 1-1.483-1.723l1.028-6.851A.5.5 0 0 1 3.36 6H5v1.5a.5.5 0 0 0 1 0V6h4z"/>');// eslint-disable-next-line
|
|
var BIconHandbagFill=/*#__PURE__*/makeIcon('HandbagFill','<path d="M8 1a2 2 0 0 0-2 2v2H5V3a3 3 0 0 1 6 0v2h-1V3a2 2 0 0 0-2-2zM5 5H3.361a1.5 1.5 0 0 0-1.483 1.277L.85 13.13A2.5 2.5 0 0 0 3.322 16h9.356a2.5 2.5 0 0 0 2.472-2.87l-1.028-6.853A1.5 1.5 0 0 0 12.64 5H11v1.5a.5.5 0 0 1-1 0V5H6v1.5a.5.5 0 0 1-1 0V5z"/>');// eslint-disable-next-line
|
|
var BIconHash=/*#__PURE__*/makeIcon('Hash','<path d="M8.39 12.648a1.32 1.32 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1.06 1.06 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.512.512 0 0 0-.523-.516.539.539 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532 0 .312.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531 0 .313.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242l-.515 2.492zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/>');// eslint-disable-next-line
|
|
var BIconHdd=/*#__PURE__*/makeIcon('Hdd','<path fill-rule="evenodd" d="M14 9H2a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zM2 8a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1a2 2 0 0 0-2-2H2z"/><path d="M5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path fill-rule="evenodd" d="M4.094 4a.5.5 0 0 0-.44.26l-2.47 4.532A1.5 1.5 0 0 0 1 9.51v.99H0v-.99c0-.418.105-.83.305-1.197l2.472-4.531A1.5 1.5 0 0 1 4.094 3h7.812a1.5 1.5 0 0 1 1.317.782l2.472 4.53c.2.368.305.78.305 1.198v.99h-1v-.99a1.5 1.5 0 0 0-.183-.718L12.345 4.26a.5.5 0 0 0-.439-.26H4.094z"/>');// eslint-disable-next-line
|
|
var BIconHddFill=/*#__PURE__*/makeIcon('HddFill','<path fill-rule="evenodd" d="M0 10a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-1zm2.5 1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/><path d="M.91 7.204A2.993 2.993 0 0 1 2 7h12c.384 0 .752.072 1.09.204l-1.867-3.422A1.5 1.5 0 0 0 11.906 3H4.094a1.5 1.5 0 0 0-1.317.782L.91 7.204z"/>');// eslint-disable-next-line
|
|
var BIconHddNetwork=/*#__PURE__*/makeIcon('HddNetwork','<path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/><path d="M5 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path fill-rule="evenodd" d="M7.5 10V7h1v3a1.5 1.5 0 0 1 1.5 1.5h5.5a.5.5 0 0 1 0 1H10A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5H.5a.5.5 0 0 1 0-1H6A1.5 1.5 0 0 1 7.5 10zm0 1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconHddNetworkFill=/*#__PURE__*/makeIcon('HddNetworkFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h5.5v3A1.5 1.5 0 0 0 6 11.5H.5a.5.5 0 0 0 0 1H6A1.5 1.5 0 0 0 7.5 14h1a1.5 1.5 0 0 0 1.5-1.5h5.5a.5.5 0 0 0 0-1H10A1.5 1.5 0 0 0 8.5 10V7H14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm.5 3a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/>');// eslint-disable-next-line
|
|
var BIconHddRack=/*#__PURE__*/makeIcon('HddRack','<path fill-rule="evenodd" d="M14 10H2a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zM2 9a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1a2 2 0 0 0-2-2H2z"/><path d="M5 11.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/><path d="M5 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path fill-rule="evenodd" d="M3 9V7h1v2H3zm9 0V7h1v2h-1z"/>');// eslint-disable-next-line
|
|
var BIconHddRackFill=/*#__PURE__*/makeIcon('HddRackFill','<path fill-rule="evenodd" d="M2 9a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1a2 2 0 0 0-2-2H2zm.5 3a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM2 2a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm.5 3a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM3 9V7h1v2H3zm9 0V7h1v2h-1z"/>');// eslint-disable-next-line
|
|
var BIconHddStack=/*#__PURE__*/makeIcon('HddStack','<path fill-rule="evenodd" d="M14 10H2a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zM2 9a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1a2 2 0 0 0-2-2H2z"/><path d="M5 11.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/><path d="M5 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/>');// eslint-disable-next-line
|
|
var BIconHddStackFill=/*#__PURE__*/makeIcon('HddStackFill','<path fill-rule="evenodd" d="M2 9a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1a2 2 0 0 0-2-2H2zm.5 3a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM2 2a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm.5 3a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/>');// eslint-disable-next-line
|
|
var BIconHeadphones=/*#__PURE__*/makeIcon('Headphones','<path fill-rule="evenodd" d="M8 3a5 5 0 0 0-5 5v4.5H2V8a6 6 0 1 1 12 0v4.5h-1V8a5 5 0 0 0-5-5z"/><path d="M11 10a1 1 0 0 1 1-1h2v4a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-3zm-6 0a1 1 0 0 0-1-1H2v4a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-3z"/>');// eslint-disable-next-line
|
|
var BIconHeadset=/*#__PURE__*/makeIcon('Headset','<path fill-rule="evenodd" d="M8 1a5 5 0 0 0-5 5v4.5H2V6a6 6 0 1 1 12 0v4.5h-1V6a5 5 0 0 0-5-5z"/><path d="M11 8a1 1 0 0 1 1-1h2v4a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V8zM5 8a1 1 0 0 0-1-1H2v4a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V8z"/><path fill-rule="evenodd" d="M13.5 8.5a.5.5 0 0 1 .5.5v3a2.5 2.5 0 0 1-2.5 2.5H8a.5.5 0 0 1 0-1h3.5A1.5 1.5 0 0 0 13 12V9a.5.5 0 0 1 .5-.5z"/><path d="M6.5 14a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2h-1a1 1 0 0 1-1-1z"/>');// eslint-disable-next-line
|
|
var BIconHeart=/*#__PURE__*/makeIcon('Heart','<path fill-rule="evenodd" d="M8 2.748l-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01L8 2.748zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143c.06.055.119.112.176.171a3.12 3.12 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15z"/>');// eslint-disable-next-line
|
|
var BIconHeartFill=/*#__PURE__*/makeIcon('HeartFill','<path fill-rule="evenodd" d="M8 1.314C12.438-3.248 23.534 4.735 8 15-7.534 4.736 3.562-3.248 8 1.314z"/>');// eslint-disable-next-line
|
|
var BIconHeartHalf=/*#__PURE__*/makeIcon('HeartHalf','<path fill-rule="evenodd" d="M8 1.314C3.562-3.248-7.534 4.735 8 15V1.314z"/><path fill-rule="evenodd" d="M8 2.748l-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01L8 2.748zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143c.06.055.119.112.176.171a3.12 3.12 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15z"/>');// eslint-disable-next-line
|
|
var BIconHeptagon=/*#__PURE__*/makeIcon('Heptagon','<path fill-rule="evenodd" d="M7.779.052a.5.5 0 0 1 .442 0l6.015 2.97a.5.5 0 0 1 .267.34l1.485 6.676a.5.5 0 0 1-.093.415l-4.162 5.354a.5.5 0 0 1-.395.193H4.662a.5.5 0 0 1-.395-.193L.105 10.453a.5.5 0 0 1-.093-.415l1.485-6.676a.5.5 0 0 1 .267-.34L7.779.053zM2.422 3.813l-1.383 6.212L4.907 15h6.186l3.868-4.975-1.383-6.212L8 1.058 2.422 3.813z"/>');// eslint-disable-next-line
|
|
var BIconHeptagonFill=/*#__PURE__*/makeIcon('HeptagonFill','<path fill-rule="evenodd" d="M7.779.052a.5.5 0 0 1 .442 0l6.015 2.97a.5.5 0 0 1 .267.34l1.485 6.676a.5.5 0 0 1-.093.415l-4.162 5.354a.5.5 0 0 1-.395.193H4.662a.5.5 0 0 1-.395-.193L.105 10.453a.5.5 0 0 1-.093-.415l1.485-6.676a.5.5 0 0 1 .267-.34L7.779.053z"/>');// eslint-disable-next-line
|
|
var BIconHeptagonHalf=/*#__PURE__*/makeIcon('HeptagonHalf','<path fill-rule="evenodd" d="M7.779.052a.5.5 0 0 1 .442 0l6.015 2.97a.5.5 0 0 1 .267.34l1.485 6.676a.5.5 0 0 1-.093.415l-4.162 5.354a.5.5 0 0 1-.395.193H4.662a.5.5 0 0 1-.395-.193L.105 10.453a.5.5 0 0 1-.093-.415l1.485-6.676a.5.5 0 0 1 .267-.34L7.779.053zM8 15h3.093l3.868-4.975-1.383-6.212L8 1.058V15z"/>');// eslint-disable-next-line
|
|
var BIconHexagon=/*#__PURE__*/makeIcon('Hexagon','<path fill-rule="evenodd" d="M14 4.577L8 1 2 4.577v6.846L8 15l6-3.577V4.577zM8.5.134a1 1 0 0 0-1 0l-6 3.577a1 1 0 0 0-.5.866v6.846a1 1 0 0 0 .5.866l6 3.577a1 1 0 0 0 1 0l6-3.577a1 1 0 0 0 .5-.866V4.577a1 1 0 0 0-.5-.866L8.5.134z"/>');// eslint-disable-next-line
|
|
var BIconHexagonFill=/*#__PURE__*/makeIcon('HexagonFill','<path fill-rule="evenodd" d="M8.5.134a1 1 0 0 0-1 0l-6 3.577a1 1 0 0 0-.5.866v6.846a1 1 0 0 0 .5.866l6 3.577a1 1 0 0 0 1 0l6-3.577a1 1 0 0 0 .5-.866V4.577a1 1 0 0 0-.5-.866L8.5.134z"/>');// eslint-disable-next-line
|
|
var BIconHexagonHalf=/*#__PURE__*/makeIcon('HexagonHalf','<path fill-rule="evenodd" d="M14 4.577L8 1v14l6-3.577V4.577zM8.5.134a1 1 0 0 0-1 0l-6 3.577a1 1 0 0 0-.5.866v6.846a1 1 0 0 0 .5.866l6 3.577a1 1 0 0 0 1 0l6-3.577a1 1 0 0 0 .5-.866V4.577a1 1 0 0 0-.5-.866L8.5.134z"/>');// eslint-disable-next-line
|
|
var BIconHourglass=/*#__PURE__*/makeIcon('Hourglass','<path fill-rule="evenodd" d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702c0 .7-.478 1.235-1.011 1.491A3.5 3.5 0 0 0 4.5 13v1h7v-1a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351v-.702c0-.7.478-1.235 1.011-1.491A3.5 3.5 0 0 0 11.5 3V2h-7z"/>');// eslint-disable-next-line
|
|
var BIconHourglassBottom=/*#__PURE__*/makeIcon('HourglassBottom','<path fill-rule="evenodd" d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702s.18.149.5.149.5-.15.5-.15v-.7c0-.701.478-1.236 1.011-1.492A3.5 3.5 0 0 0 11.5 3V2h-7z"/>');// eslint-disable-next-line
|
|
var BIconHourglassSplit=/*#__PURE__*/makeIcon('HourglassSplit','<path fill-rule="evenodd" d="M2.5 15a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11zm2-13v1c0 .537.12 1.045.337 1.5h6.326c.216-.455.337-.963.337-1.5V2h-7zm3 6.35c0 .701-.478 1.236-1.011 1.492A3.5 3.5 0 0 0 4.5 13s.866-1.299 3-1.48V8.35zm1 0c0 .701.478 1.236 1.011 1.492A3.5 3.5 0 0 1 11.5 13s-.866-1.299-3-1.48V8.35z"/>');// eslint-disable-next-line
|
|
var BIconHourglassTop=/*#__PURE__*/makeIcon('HourglassTop','<path fill-rule="evenodd" d="M2 14.5a.5.5 0 0 0 .5.5h11a.5.5 0 1 0 0-1h-1v-1a4.5 4.5 0 0 0-2.557-4.06c-.29-.139-.443-.377-.443-.59v-.7c0-.213.154-.451.443-.59A4.5 4.5 0 0 0 12.5 3V2h1a.5.5 0 0 0 0-1h-11a.5.5 0 0 0 0 1h1v1a4.5 4.5 0 0 0 2.557 4.06c.29.139.443.377.443.59v.7c0 .213-.154.451-.443.59A4.5 4.5 0 0 0 3.5 13v1h-1a.5.5 0 0 0-.5.5zm2.5-.5v-1a3.5 3.5 0 0 1 1.989-3.158c.533-.256 1.011-.79 1.011-1.491v-.702s.18.101.5.101.5-.1.5-.1v.7c0 .701.478 1.236 1.011 1.492A3.5 3.5 0 0 1 11.5 13v1h-7z"/>');// eslint-disable-next-line
|
|
var BIconHouse=/*#__PURE__*/makeIcon('House','<path fill-rule="evenodd" d="M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z"/><path fill-rule="evenodd" d="M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z"/>');// eslint-disable-next-line
|
|
var BIconHouseDoor=/*#__PURE__*/makeIcon('HouseDoor','<path fill-rule="evenodd" d="M7.646 1.146a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 .146.354v7a.5.5 0 0 1-.5.5H9.5a.5.5 0 0 1-.5-.5v-4H7v4a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .146-.354l6-6zM2.5 7.707V14H6v-4a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4h3.5V7.707L8 2.207l-5.5 5.5z"/><path fill-rule="evenodd" d="M13 2.5V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconHouseDoorFill=/*#__PURE__*/makeIcon('HouseDoorFill','<path d="M6.5 10.995V14.5a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .146-.354l6-6a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 .146.354v7a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5V11c0-.25-.25-.5-.5-.5H7c-.25 0-.5.25-.5.495z"/><path fill-rule="evenodd" d="M13 2.5V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconHouseFill=/*#__PURE__*/makeIcon('HouseFill','<path fill-rule="evenodd" d="M8 3.293l6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293l6-6zm5-.793V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z"/><path fill-rule="evenodd" d="M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z"/>');// eslint-disable-next-line
|
|
var BIconHr=/*#__PURE__*/makeIcon('Hr','<path fill-rule="evenodd" d="M0 8a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5A.5.5 0 0 1 0 8z"/><path d="M4 3h8a1 1 0 0 1 1 1v2.5h1V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v2.5h1V4a1 1 0 0 1 1-1zM3 9.5H2V12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V9.5h-1V12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9.5z"/>');// eslint-disable-next-line
|
|
var BIconImage=/*#__PURE__*/makeIcon('Image','<path fill-rule="evenodd" d="M14.002 2h-12a1 1 0 0 0-1 1v9l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094L15.002 9.5V3a1 1 0 0 0-1-1zm-12-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2h-12zm4 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconImageAlt=/*#__PURE__*/makeIcon('ImageAlt','<path d="M10.648 6.646a.5.5 0 0 1 .577-.093l4.777 3.947V15a1 1 0 0 1-1 1h-14a1 1 0 0 1-1-1v-2l3.646-4.354a.5.5 0 0 1 .63-.062l2.66 2.773 3.71-4.71z"/><path fill-rule="evenodd" d="M4.5 5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/>');// eslint-disable-next-line
|
|
var BIconImageFill=/*#__PURE__*/makeIcon('ImageFill','<path fill-rule="evenodd" d="M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2V3zm1 9l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094L15.002 9.5V13a1 1 0 0 1-1 1h-12a1 1 0 0 1-1-1v-1zm5-6.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconImages=/*#__PURE__*/makeIcon('Images','<path fill-rule="evenodd" d="M12.002 4h-10a1 1 0 0 0-1 1v8l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094l1.777 1.947V5a1 1 0 0 0-1-1zm-10-1a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2h-10zm4 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path fill-rule="evenodd" d="M4 2h10a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1v1a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1z"/>');// eslint-disable-next-line
|
|
var BIconInbox=/*#__PURE__*/makeIcon('Inbox','<path fill-rule="evenodd" d="M4.98 4a.5.5 0 0 0-.39.188L1.54 8H6a.5.5 0 0 1 .5.5 1.5 1.5 0 1 0 3 0A.5.5 0 0 1 10 8h4.46l-3.05-3.812A.5.5 0 0 0 11.02 4H4.98zm9.954 5H10.45a2.5 2.5 0 0 1-4.9 0H1.066l.32 2.562a.5.5 0 0 0 .497.438h12.234a.5.5 0 0 0 .496-.438L14.933 9zM3.809 3.563A1.5 1.5 0 0 1 4.981 3h6.038a1.5 1.5 0 0 1 1.172.563l3.7 4.625a.5.5 0 0 1 .105.374l-.39 3.124A1.5 1.5 0 0 1 14.117 13H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .106-.374l3.7-4.625z"/>');// eslint-disable-next-line
|
|
var BIconInboxFill=/*#__PURE__*/makeIcon('InboxFill','<path fill-rule="evenodd" d="M4.98 4a.5.5 0 0 0-.39.188L1.54 8H6a.5.5 0 0 1 .5.5 1.5 1.5 0 1 0 3 0A.5.5 0 0 1 10 8h4.46l-3.05-3.812A.5.5 0 0 0 11.02 4H4.98zm-1.17-.437A1.5 1.5 0 0 1 4.98 3h6.04a1.5 1.5 0 0 1 1.17.563l3.7 4.625a.5.5 0 0 1 .106.374l-.39 3.124A1.5 1.5 0 0 1 14.117 13H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .106-.374l3.7-4.625z"/>');// eslint-disable-next-line
|
|
var BIconInboxes=/*#__PURE__*/makeIcon('Inboxes','<path fill-rule="evenodd" d="M4.98 1a.5.5 0 0 0-.39.188L1.54 5H6a.5.5 0 0 1 .5.5 1.5 1.5 0 0 0 3 0A.5.5 0 0 1 10 5h4.46l-3.05-3.812A.5.5 0 0 0 11.02 1H4.98zm9.954 5H10.45a2.5 2.5 0 0 1-4.9 0H1.066l.32 2.562A.5.5 0 0 0 1.884 9h12.234a.5.5 0 0 0 .496-.438L14.933 6zM3.809.563A1.5 1.5 0 0 1 4.981 0h6.038a1.5 1.5 0 0 1 1.172.563l3.7 4.625a.5.5 0 0 1 .105.374l-.39 3.124A1.5 1.5 0 0 1 14.117 10H1.883A1.5 1.5 0 0 1 .394 8.686l-.39-3.124a.5.5 0 0 1 .106-.374L3.81.563zM.125 11.17A.5.5 0 0 1 .5 11H6a.5.5 0 0 1 .5.5 1.5 1.5 0 0 0 3 0 .5.5 0 0 1 .5-.5h5.5a.5.5 0 0 1 .496.562l-.39 3.124A1.5 1.5 0 0 1 14.117 16H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .121-.393zm.941.83l.32 2.562a.5.5 0 0 0 .497.438h12.234a.5.5 0 0 0 .496-.438l.32-2.562H10.45a2.5 2.5 0 0 1-4.9 0H1.066z"/>');// eslint-disable-next-line
|
|
var BIconInboxesFill=/*#__PURE__*/makeIcon('InboxesFill','<path fill-rule="evenodd" d="M4.98 1a.5.5 0 0 0-.39.188L1.54 5H6a.5.5 0 0 1 .5.5 1.5 1.5 0 0 0 3 0A.5.5 0 0 1 10 5h4.46l-3.05-3.812A.5.5 0 0 0 11.02 1H4.98zM3.81.563A1.5 1.5 0 0 1 4.98 0h6.04a1.5 1.5 0 0 1 1.17.563l3.7 4.625a.5.5 0 0 1 .106.374l-.39 3.124A1.5 1.5 0 0 1 14.117 10H1.883A1.5 1.5 0 0 1 .394 8.686l-.39-3.124a.5.5 0 0 1 .106-.374L3.81.563zM.125 11.17A.5.5 0 0 1 .5 11H6a.5.5 0 0 1 .5.5 1.5 1.5 0 0 0 3 0 .5.5 0 0 1 .5-.5h5.5a.5.5 0 0 1 .496.562l-.39 3.124A1.5 1.5 0 0 1 14.117 16H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .121-.393z"/>');// eslint-disable-next-line
|
|
var BIconInfo=/*#__PURE__*/makeIcon('Info','<path d="M8.93 6.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588z"/><circle cx="8" cy="4.5" r="1"/>');// eslint-disable-next-line
|
|
var BIconInfoCircle=/*#__PURE__*/makeIcon('InfoCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="M8.93 6.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588z"/><circle cx="8" cy="4.5" r="1"/>');// eslint-disable-next-line
|
|
var BIconInfoCircleFill=/*#__PURE__*/makeIcon('InfoCircleFill','<path fill-rule="evenodd" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM8 5.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconInfoSquare=/*#__PURE__*/makeIcon('InfoSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M8.93 6.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588z"/><circle cx="8" cy="4.5" r="1"/>');// eslint-disable-next-line
|
|
var BIconInfoSquareFill=/*#__PURE__*/makeIcon('InfoSquareFill','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm8.93 4.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM8 5.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconInputCursor=/*#__PURE__*/makeIcon('InputCursor','<path d="M10 5h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4v1h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4v1zM6 5V4H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v-1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4z"/><path fill-rule="evenodd" d="M8 1a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-1 0v-13A.5.5 0 0 1 8 1z"/>');// eslint-disable-next-line
|
|
var BIconInputCursorText=/*#__PURE__*/makeIcon('InputCursorText','<path fill-rule="evenodd" d="M5 2a.5.5 0 0 1 .5-.5c.862 0 1.573.287 2.06.566.174.099.321.198.44.286.119-.088.266-.187.44-.286A4.165 4.165 0 0 1 10.5 1.5a.5.5 0 0 1 0 1c-.638 0-1.177.213-1.564.434a3.49 3.49 0 0 0-.436.294V7.5H9a.5.5 0 0 1 0 1h-.5v4.272c.1.08.248.187.436.294.387.221.926.434 1.564.434a.5.5 0 0 1 0 1 4.165 4.165 0 0 1-2.06-.566A4.561 4.561 0 0 1 8 13.65a4.561 4.561 0 0 1-.44.285 4.165 4.165 0 0 1-2.06.566.5.5 0 0 1 0-1c.638 0 1.177-.213 1.564-.434.188-.107.335-.214.436-.294V8.5H7a.5.5 0 0 1 0-1h.5V3.228a3.49 3.49 0 0 0-.436-.294A3.166 3.166 0 0 0 5.5 2.5.5.5 0 0 1 5 2z"/><path d="M10 5h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4v1h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4v1zM6 5V4H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v-1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4z"/>');// eslint-disable-next-line
|
|
var BIconIntersect=/*#__PURE__*/makeIcon('Intersect','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm5 10v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2v5a2 2 0 0 1-2 2H5zm6-8H6a2 2 0 0 0-2 2v5H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v2z"/>');// eslint-disable-next-line
|
|
var BIconJournal=/*#__PURE__*/makeIcon('Journal','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/>');// eslint-disable-next-line
|
|
var BIconJournalAlbum=/*#__PURE__*/makeIcon('JournalAlbum','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm4-6.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-5z"/><path fill-rule="evenodd" d="M6 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconJournalArrowDown=/*#__PURE__*/makeIcon('JournalArrowDown','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M8 5a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 9.293V5.5A.5.5 0 0 1 8 5z"/>');// eslint-disable-next-line
|
|
var BIconJournalArrowUp=/*#__PURE__*/makeIcon('JournalArrowUp','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M8 11a.5.5 0 0 0 .5-.5V6.707l1.146 1.147a.5.5 0 0 0 .708-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L7.5 6.707V10.5a.5.5 0 0 0 .5.5z"/>');// eslint-disable-next-line
|
|
var BIconJournalBookmark=/*#__PURE__*/makeIcon('JournalBookmark','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M6 8V1h1v6.117L8.743 6.07a.5.5 0 0 1 .514 0L11 7.117V1h1v7a.5.5 0 0 1-.757.429L9 7.083 6.757 8.43A.5.5 0 0 1 6 8z"/>');// eslint-disable-next-line
|
|
var BIconJournalBookmarkFill=/*#__PURE__*/makeIcon('JournalBookmarkFill','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M6 1h6v7a.5.5 0 0 1-.757.429L9 7.083 6.757 8.43A.5.5 0 0 1 6 8V1z"/>');// eslint-disable-next-line
|
|
var BIconJournalCheck=/*#__PURE__*/makeIcon('JournalCheck','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M10.854 6.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 8.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconJournalCode=/*#__PURE__*/makeIcon('JournalCode','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M8.646 5.646a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.293 8 8.646 6.354a.5.5 0 0 1 0-.708zm-1.292 0a.5.5 0 0 0-.708 0l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L5.707 8l1.647-1.646a.5.5 0 0 0 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconJournalMedical=/*#__PURE__*/makeIcon('JournalMedical','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M8 4a.5.5 0 0 1 .5.5v.634l.549-.317a.5.5 0 1 1 .5.866L9 6l.549.317a.5.5 0 1 1-.5.866L8.5 6.866V7.5a.5.5 0 0 1-1 0v-.634l-.549.317a.5.5 0 1 1-.5-.866L7 6l-.549-.317a.5.5 0 0 1 .5-.866l.549.317V4.5A.5.5 0 0 1 8 4zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconJournalMinus=/*#__PURE__*/makeIcon('JournalMinus','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M5.5 8a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconJournalPlus=/*#__PURE__*/makeIcon('JournalPlus','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M8 5.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V10a.5.5 0 0 1-1 0V8.5H6a.5.5 0 0 1 0-1h1.5V6a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconJournalRichtext=/*#__PURE__*/makeIcon('JournalRichtext','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm1.639-4.208l1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047L11 4.75V7a.5.5 0 0 1-.5.5h-5A.5.5 0 0 1 5 7v-.5s1.54-1.274 1.639-1.208zM6.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z"/>');// eslint-disable-next-line
|
|
var BIconJournalText=/*#__PURE__*/makeIcon('JournalText','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M5 10.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconJournalX=/*#__PURE__*/makeIcon('JournalX','<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/><path fill-rule="evenodd" d="M6.146 6.146a.5.5 0 0 1 .708 0L8 7.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 8l1.147 1.146a.5.5 0 0 1-.708.708L8 8.707 6.854 9.854a.5.5 0 0 1-.708-.708L7.293 8 6.146 6.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconJournals=/*#__PURE__*/makeIcon('Journals','<path d="M3 2h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2h1a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1H1a2 2 0 0 1 2-2z"/><path d="M5 0h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1H3a2 2 0 0 1 2-2zM1 6v-.5a.5.5 0 0 1 1 0V6h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V9h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/>');// eslint-disable-next-line
|
|
var BIconJoystick=/*#__PURE__*/makeIcon('Joystick','<path d="M7.106 15.553L.553 12.276A1 1 0 0 1 0 11.382V9.471a1 1 0 0 1 .606-.89L6 6.269v1.088L1 9.5l5.658 2.83a3 3 0 0 0 2.684 0L15 9.5l-5-2.143V6.27l5.394 2.312a1 1 0 0 1 .606.89v1.911a1 1 0 0 1-.553.894l-6.553 3.277a2 2 0 0 1-1.788 0z"/><path fill-rule="evenodd" d="M7.5 9.5v-6h1v6h-1z"/><path d="M10 9.75c0 .414-.895.75-2 .75s-2-.336-2-.75S6.895 9 8 9s2 .336 2 .75zM10 2a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"/>');// eslint-disable-next-line
|
|
var BIconJustify=/*#__PURE__*/makeIcon('Justify','<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconJustifyLeft=/*#__PURE__*/makeIcon('JustifyLeft','<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconJustifyRight=/*#__PURE__*/makeIcon('JustifyRight','<path fill-rule="evenodd" d="M6 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconKanban=/*#__PURE__*/makeIcon('Kanban','<path fill-rule="evenodd" d="M13.5 1h-11a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zm-11-1a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2h-11z"/><path d="M6.5 3a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V3zm-4 0a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V3zm8 0a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V3z"/>');// eslint-disable-next-line
|
|
var BIconKanbanFill=/*#__PURE__*/makeIcon('KanbanFill','<path fill-rule="evenodd" d="M2.5 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2h-11zm5 2a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-1zm-5 1a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V3zm9-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-1z"/>');// eslint-disable-next-line
|
|
var BIconKey=/*#__PURE__*/makeIcon('Key','<path fill-rule="evenodd" d="M0 8a4 4 0 0 1 7.465-2H14a.5.5 0 0 1 .354.146l1.5 1.5a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0L13 9.207l-.646.647a.5.5 0 0 1-.708 0L11 9.207l-.646.647a.5.5 0 0 1-.708 0L9 9.207l-.646.647A.5.5 0 0 1 8 10h-.535A4 4 0 0 1 0 8zm4-3a3 3 0 1 0 2.712 4.285A.5.5 0 0 1 7.163 9h.63l.853-.854a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.793-.793-1-1h-6.63a.5.5 0 0 1-.451-.285A3 3 0 0 0 4 5z"/><path d="M4 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconKeyFill=/*#__PURE__*/makeIcon('KeyFill','<path fill-rule="evenodd" d="M3.5 11.5a3.5 3.5 0 1 1 3.163-5H14L15.5 8 14 9.5l-1-1-1 1-1-1-1 1-1-1-1 1H6.663a3.5 3.5 0 0 1-3.163 2zM2.5 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconKeyboard=/*#__PURE__*/makeIcon('Keyboard','<path fill-rule="evenodd" d="M14 5H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zM2 4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2z"/><path d="M13 10.25a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5zm0-2a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5zm-5 0A.25.25 0 0 1 8.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 8 8.75v-.5zm2 0a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-.5zm1 2a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5zm-5-2A.25.25 0 0 1 6.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 6 8.75v-.5zm-2 0A.25.25 0 0 1 4.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 4 8.75v-.5zm-2 0A.25.25 0 0 1 2.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 2 8.75v-.5zm11-2a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5zm-2 0a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5zm-2 0A.25.25 0 0 1 9.25 6h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 9 6.75v-.5zm-2 0A.25.25 0 0 1 7.25 6h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 7 6.75v-.5zm-2 0A.25.25 0 0 1 5.25 6h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 5 6.75v-.5zm-3 0A.25.25 0 0 1 2.25 6h1.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-1.5A.25.25 0 0 1 2 6.75v-.5zm0 4a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5zm2 0a.25.25 0 0 1 .25-.25h5.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-5.5a.25.25 0 0 1-.25-.25v-.5z"/>');// eslint-disable-next-line
|
|
var BIconKeyboardFill=/*#__PURE__*/makeIcon('KeyboardFill','<path fill-rule="evenodd" d="M0 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm13 .25a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5zM2.25 8a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h.5A.25.25 0 0 0 3 8.75v-.5A.25.25 0 0 0 2.75 8h-.5zM4 8.25A.25.25 0 0 1 4.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 4 8.75v-.5zM6.25 8a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h.5A.25.25 0 0 0 7 8.75v-.5A.25.25 0 0 0 6.75 8h-.5zM8 8.25A.25.25 0 0 1 8.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 8 8.75v-.5zM13.25 8a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h.5a.25.25 0 0 0 .25-.25v-.5a.25.25 0 0 0-.25-.25h-.5zm0 2a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h.5a.25.25 0 0 0 .25-.25v-.5a.25.25 0 0 0-.25-.25h-.5zm-3-2a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h1.5a.25.25 0 0 0 .25-.25v-.5a.25.25 0 0 0-.25-.25h-1.5zm.75 2.25a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5zM11.25 6a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h.5a.25.25 0 0 0 .25-.25v-.5a.25.25 0 0 0-.25-.25h-.5zM9 6.25A.25.25 0 0 1 9.25 6h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 9 6.75v-.5zM7.25 6a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h.5A.25.25 0 0 0 8 6.75v-.5A.25.25 0 0 0 7.75 6h-.5zM5 6.25A.25.25 0 0 1 5.25 6h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 5 6.75v-.5zM2.25 6a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h1.5A.25.25 0 0 0 4 6.75v-.5A.25.25 0 0 0 3.75 6h-1.5zM2 10.25a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5zM4.25 10a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h5.5a.25.25 0 0 0 .25-.25v-.5a.25.25 0 0 0-.25-.25h-5.5z"/>');// eslint-disable-next-line
|
|
var BIconLadder=/*#__PURE__*/makeIcon('Ladder','<path fill-rule="evenodd" d="M4.5 1a.5.5 0 0 1 .5.5V2h6v-.5a.5.5 0 0 1 1 0v14a.5.5 0 0 1-1 0V15H5v.5a.5.5 0 0 1-1 0v-14a.5.5 0 0 1 .5-.5zM5 14h6v-2H5v2zm0-3h6V9H5v2zm0-3h6V6H5v2zm0-3h6V3H5v2z"/>');// eslint-disable-next-line
|
|
var BIconLamp=/*#__PURE__*/makeIcon('Lamp','<path fill-rule="evenodd" d="M13 3H3v4h10V3zM3 2a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H3zm4.5-1l.276-.553a.25.25 0 0 1 .448 0L8.5 1h-1zm-.012 9c-.337.646-.677 1.33-.95 1.949-.176.396-.318.75-.413 1.042a3.904 3.904 0 0 0-.102.36c-.01.047-.016.083-.02.11L6 13.5c0 .665.717 1.5 2 1.5s2-.835 2-1.5c0 0 0-.013-.004-.039a1.347 1.347 0 0 0-.02-.11 3.696 3.696 0 0 0-.1-.36 11.747 11.747 0 0 0-.413-1.042A34.827 34.827 0 0 0 8.513 10H7.487zm1.627-1h-2.23C6.032 10.595 5 12.69 5 13.5 5 14.88 6.343 16 8 16s3-1.12 3-2.5c0-.81-1.032-2.905-1.885-4.5z"/>');// eslint-disable-next-line
|
|
var BIconLampFill=/*#__PURE__*/makeIcon('LampFill','<path d="M2 3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3z"/><path fill-rule="evenodd" d="M7.5 1l.276-.553a.25.25 0 0 1 .448 0L8.5 1h-1zm-.615 8h2.23C9.968 10.595 11 12.69 11 13.5c0 1.38-1.343 2.5-3 2.5s-3-1.12-3-2.5c0-.81 1.032-2.905 1.885-4.5z"/>');// eslint-disable-next-line
|
|
var BIconLaptop=/*#__PURE__*/makeIcon('Laptop','<path fill-rule="evenodd" d="M13.5 3h-11a.5.5 0 0 0-.5.5V11h12V3.5a.5.5 0 0 0-.5-.5zm-11-1A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2h-11z"/><path d="M0 12h16v.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5V12z"/>');// eslint-disable-next-line
|
|
var BIconLaptopFill=/*#__PURE__*/makeIcon('LaptopFill','<path fill-rule="evenodd" d="M2.5 2A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2h-11z"/><path d="M0 12h16v.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5V12z"/>');// eslint-disable-next-line
|
|
var BIconLayers=/*#__PURE__*/makeIcon('Layers','<path fill-rule="evenodd" d="M3.188 8L.264 9.559a.5.5 0 0 0 0 .882l7.5 4a.5.5 0 0 0 .47 0l7.5-4a.5.5 0 0 0 0-.882L12.813 8l-1.063.567L14.438 10 8 13.433 1.562 10 4.25 8.567 3.187 8z"/><path fill-rule="evenodd" d="M7.765 1.559a.5.5 0 0 1 .47 0l7.5 4a.5.5 0 0 1 0 .882l-7.5 4a.5.5 0 0 1-.47 0l-7.5-4a.5.5 0 0 1 0-.882l7.5-4zM1.563 6L8 9.433 14.438 6 8 2.567 1.562 6z"/>');// eslint-disable-next-line
|
|
var BIconLayersFill=/*#__PURE__*/makeIcon('LayersFill','<path fill-rule="evenodd" d="M7.765 1.559a.5.5 0 0 1 .47 0l7.5 4a.5.5 0 0 1 0 .882l-7.5 4a.5.5 0 0 1-.47 0l-7.5-4a.5.5 0 0 1 0-.882l7.5-4z"/><path fill-rule="evenodd" d="M2.125 8.567l-1.86.992a.5.5 0 0 0 0 .882l7.5 4a.5.5 0 0 0 .47 0l7.5-4a.5.5 0 0 0 0-.882l-1.86-.992-5.17 2.756a1.5 1.5 0 0 1-1.41 0l-5.17-2.756z"/>');// eslint-disable-next-line
|
|
var BIconLayersHalf=/*#__PURE__*/makeIcon('LayersHalf','<path fill-rule="evenodd" d="M3.188 8L.264 9.559a.5.5 0 0 0 0 .882l7.5 4a.5.5 0 0 0 .47 0l7.5-4a.5.5 0 0 0 0-.882L12.813 8l-4.578 2.441a.5.5 0 0 1-.47 0L3.188 8z"/><path fill-rule="evenodd" d="M7.765 1.559a.5.5 0 0 1 .47 0l7.5 4a.5.5 0 0 1 0 .882l-7.5 4a.5.5 0 0 1-.47 0l-7.5-4a.5.5 0 0 1 0-.882l7.5-4zM1.563 6L8 9.433 14.438 6 8 2.567 1.562 6z"/>');// eslint-disable-next-line
|
|
var BIconLayoutSidebar=/*#__PURE__*/makeIcon('LayoutSidebar','<path fill-rule="evenodd" d="M14 2H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zM2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M4 14V2h1v12H4z"/>');// eslint-disable-next-line
|
|
var BIconLayoutSidebarInset=/*#__PURE__*/makeIcon('LayoutSidebarInset','<path fill-rule="evenodd" d="M14 2H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zM2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z"/><path d="M3 4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4z"/>');// eslint-disable-next-line
|
|
var BIconLayoutSidebarInsetReverse=/*#__PURE__*/makeIcon('LayoutSidebarInsetReverse','<path fill-rule="evenodd" d="M2 2h12a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm12-1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h12z"/><path d="M13 4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V4z"/>');// eslint-disable-next-line
|
|
var BIconLayoutSidebarReverse=/*#__PURE__*/makeIcon('LayoutSidebarReverse','<path fill-rule="evenodd" d="M14 2H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zM2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M11 14V2h1v12h-1z"/>');// eslint-disable-next-line
|
|
var BIconLayoutSplit=/*#__PURE__*/makeIcon('LayoutSplit','<path fill-rule="evenodd" d="M14 2H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zM2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M7.5 14V2h1v12h-1z"/>');// eslint-disable-next-line
|
|
var BIconLayoutTextSidebar=/*#__PURE__*/makeIcon('LayoutTextSidebar','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M11 15V1h1v14h-1zM3 3.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconLayoutTextSidebarReverse=/*#__PURE__*/makeIcon('LayoutTextSidebarReverse','<path fill-rule="evenodd" d="M2 1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm12-1a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/><path fill-rule="evenodd" d="M5 15V1H4v14h1zm8-11.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 .5-.5zm0 3a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 .5-.5zm0 3a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 .5-.5zm0 3a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconLayoutTextWindow=/*#__PURE__*/makeIcon('LayoutTextWindow','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M11 15V4h1v11h-1zm4.5-11H.5V3h15v1zM3 6.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconLayoutTextWindowReverse=/*#__PURE__*/makeIcon('LayoutTextWindowReverse','<path fill-rule="evenodd" d="M2 1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm12-1a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/><path fill-rule="evenodd" d="M5 15V4H4v11h1zM.5 4h15V3H.5v1zM13 6.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 .5-.5zm0 3a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 .5-.5zm0 3a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconLayoutThreeColumns=/*#__PURE__*/makeIcon('LayoutThreeColumns','<path fill-rule="evenodd" d="M0 2.5A1.5 1.5 0 0 1 1.5 1h13A1.5 1.5 0 0 1 16 2.5v11a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-11zM1.5 2a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-13z"/><path fill-rule="evenodd" d="M5 15V1h1v14H5zm5 0V1h1v14h-1z"/>');// eslint-disable-next-line
|
|
var BIconLayoutWtf=/*#__PURE__*/makeIcon('LayoutWtf','<path fill-rule="evenodd" d="M5 1H1v8h4V1zM1 0a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1H1zm13 2H9v5h5V2zM9 1a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H9zM5 13H3v2h2v-2zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H3zm12-1H9v2h6v-2zm-6-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H9z"/>');// eslint-disable-next-line
|
|
var BIconLifePreserver=/*#__PURE__*/makeIcon('LifePreserver','<path fill-rule="evenodd" d="M14.43 10.772l-2.788-1.115a4.015 4.015 0 0 1-1.985 1.985l1.115 2.788a7.025 7.025 0 0 0 3.658-3.658zM5.228 14.43l1.115-2.788a4.015 4.015 0 0 1-1.985-1.985L1.57 10.772a7.025 7.025 0 0 0 3.658 3.658zm9.202-9.202a7.025 7.025 0 0 0-3.658-3.658L9.657 4.358a4.015 4.015 0 0 1 1.985 1.985l2.788-1.115zm-8.087-.87L5.228 1.57A7.025 7.025 0 0 0 1.57 5.228l2.788 1.115a4.015 4.015 0 0 1 1.985-1.985zM8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm0-5a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>');// eslint-disable-next-line
|
|
var BIconLightning=/*#__PURE__*/makeIcon('Lightning','<path fill-rule="evenodd" d="M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09zM4.157 8.5H7a.5.5 0 0 1 .478.647L6.11 13.59l5.732-6.09H9a.5.5 0 0 1-.478-.647L9.89 2.41 4.157 8.5z"/>');// eslint-disable-next-line
|
|
var BIconLightningFill=/*#__PURE__*/makeIcon('LightningFill','<path fill-rule="evenodd" d="M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09z"/>');// eslint-disable-next-line
|
|
var BIconLink=/*#__PURE__*/makeIcon('Link','<path d="M6.354 5.5H4a3 3 0 0 0 0 6h3a3 3 0 0 0 2.83-4H9c-.086 0-.17.01-.25.031A2 2 0 0 1 7 10.5H4a2 2 0 1 1 0-4h1.535c.218-.376.495-.714.82-1z"/><path d="M9 5.5a3 3 0 0 0-2.83 4h1.098A2 2 0 0 1 9 6.5h3a2 2 0 1 1 0 4h-1.535a4.02 4.02 0 0 1-.82 1H12a3 3 0 1 0 0-6H9z"/>');// eslint-disable-next-line
|
|
var BIconLink45deg=/*#__PURE__*/makeIcon('Link45deg','<path d="M4.715 6.542L3.343 7.914a3 3 0 1 0 4.243 4.243l1.828-1.829A3 3 0 0 0 8.586 5.5L8 6.086a1.001 1.001 0 0 0-.154.199 2 2 0 0 1 .861 3.337L6.88 11.45a2 2 0 1 1-2.83-2.83l.793-.792a4.018 4.018 0 0 1-.128-1.287z"/><path d="M6.586 4.672A3 3 0 0 0 7.414 9.5l.775-.776a2 2 0 0 1-.896-3.346L9.12 3.55a2 2 0 0 1 2.83 2.83l-.793.792c.112.42.155.855.128 1.287l1.372-1.372a3 3 0 0 0-4.243-4.243L6.586 4.672z"/>');// eslint-disable-next-line
|
|
var BIconList=/*#__PURE__*/makeIcon('List','<path fill-rule="evenodd" d="M2.5 11.5A.5.5 0 0 1 3 11h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 3h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconListCheck=/*#__PURE__*/makeIcon('ListCheck','<path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3.854 2.146a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708L2 3.293l1.146-1.147a.5.5 0 0 1 .708 0zm0 4a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708L2 7.293l1.146-1.147a.5.5 0 0 1 .708 0zm0 4a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconListNested=/*#__PURE__*/makeIcon('ListNested','<path fill-rule="evenodd" d="M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconListOl=/*#__PURE__*/makeIcon('ListOl','<path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z"/><path d="M1.713 11.865v-.474H2c.217 0 .363-.137.363-.317 0-.185-.158-.31-.361-.31-.223 0-.367.152-.373.31h-.59c.016-.467.373-.787.986-.787.588-.002.954.291.957.703a.595.595 0 0 1-.492.594v.033a.615.615 0 0 1 .569.631c.003.533-.502.8-1.051.8-.656 0-1-.37-1.008-.794h.582c.008.178.186.306.422.309.254 0 .424-.145.422-.35-.002-.195-.155-.348-.414-.348h-.3zm-.004-4.699h-.604v-.035c0-.408.295-.844.958-.844.583 0 .96.326.96.756 0 .389-.257.617-.476.848l-.537.572v.03h1.054V9H1.143v-.395l.957-.99c.138-.142.293-.304.293-.508 0-.18-.147-.32-.342-.32a.33.33 0 0 0-.342.338v.041zM2.564 5h-.635V2.924h-.031l-.598.42v-.567l.629-.443h.635V5z"/>');// eslint-disable-next-line
|
|
var BIconListStars=/*#__PURE__*/makeIcon('ListStars','<path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z"/><path d="M2.242 2.194a.27.27 0 0 1 .516 0l.162.53c.035.115.14.194.258.194h.551c.259 0 .37.333.164.493l-.468.363a.277.277 0 0 0-.094.3l.173.569c.078.256-.213.462-.423.3l-.417-.324a.267.267 0 0 0-.328 0l-.417.323c-.21.163-.5-.043-.423-.299l.173-.57a.277.277 0 0 0-.094-.299l-.468-.363c-.206-.16-.095-.493.164-.493h.55a.271.271 0 0 0 .259-.194l.162-.53zm0 4a.27.27 0 0 1 .516 0l.162.53c.035.115.14.194.258.194h.551c.259 0 .37.333.164.493l-.468.363a.277.277 0 0 0-.094.3l.173.569c.078.255-.213.462-.423.3l-.417-.324a.267.267 0 0 0-.328 0l-.417.323c-.21.163-.5-.043-.423-.299l.173-.57a.277.277 0 0 0-.094-.299l-.468-.363c-.206-.16-.095-.493.164-.493h.55a.271.271 0 0 0 .259-.194l.162-.53zm0 4a.27.27 0 0 1 .516 0l.162.53c.035.115.14.194.258.194h.551c.259 0 .37.333.164.493l-.468.363a.277.277 0 0 0-.094.3l.173.569c.078.255-.213.462-.423.3l-.417-.324a.267.267 0 0 0-.328 0l-.417.323c-.21.163-.5-.043-.423-.299l.173-.57a.277.277 0 0 0-.094-.299l-.468-.363c-.206-.16-.095-.493.164-.493h.55a.271.271 0 0 0 .259-.194l.162-.53z"/>');// eslint-disable-next-line
|
|
var BIconListTask=/*#__PURE__*/makeIcon('ListTask','<path fill-rule="evenodd" d="M2 2.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H2zM3 3H2v1h1V3z"/><path d="M5 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM5.5 7a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 4a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9z"/><path fill-rule="evenodd" d="M1.5 7a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V7zM2 7h1v1H2V7zm0 3.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2zm1 .5H2v1h1v-1z"/>');// eslint-disable-next-line
|
|
var BIconListUl=/*#__PURE__*/makeIcon('ListUl','<path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm-3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconLock=/*#__PURE__*/makeIcon('Lock','<path fill-rule="evenodd" d="M11.5 8h-7a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1zm-7-1a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h7a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-7zm0-3a3.5 3.5 0 1 1 7 0v3h-1V4a2.5 2.5 0 0 0-5 0v3h-1V4z"/>');// eslint-disable-next-line
|
|
var BIconLockFill=/*#__PURE__*/makeIcon('LockFill','<path d="M2.5 9a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9z"/><path fill-rule="evenodd" d="M4.5 4a3.5 3.5 0 1 1 7 0v3h-1V4a2.5 2.5 0 0 0-5 0v3h-1V4z"/>');// eslint-disable-next-line
|
|
var BIconMailbox=/*#__PURE__*/makeIcon('Mailbox','<path fill-rule="evenodd" d="M4 4a3 3 0 0 0-3 3v6h6V7a3 3 0 0 0-3-3zm0-1h8a4 4 0 0 1 4 4v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7a4 4 0 0 1 4-4zm2.646 1A3.99 3.99 0 0 1 8 7v6h7V7a3 3 0 0 0-3-3H6.646z"/><path fill-rule="evenodd" d="M11.793 8.5H9v-1h5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.354-.146l-.853-.854z"/><path d="M5 7c0 .552-.448 0-1 0s-1 .552-1 0a1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconMailbox2=/*#__PURE__*/makeIcon('Mailbox2','<path fill-rule="evenodd" d="M12 3H4a4 4 0 0 0-4 4v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7a4 4 0 0 0-4-4zM8 7a3.99 3.99 0 0 0-1.354-3H12a3 3 0 0 1 3 3v6H8V7zm1 1.5h2.793l.853.854A.5.5 0 0 0 13 9.5h1a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5H9v1zM4.585 7.157C4.836 7.264 5 7.334 5 7a1 1 0 0 0-2 0c0 .334.164.264.415.157C3.58 7.087 3.782 7 4 7c.218 0 .42.086.585.157z"/>');// eslint-disable-next-line
|
|
var BIconMap=/*#__PURE__*/makeIcon('Map','<path fill-rule="evenodd" d="M15.817.113A.5.5 0 0 1 16 .5v14a.5.5 0 0 1-.402.49l-5 1a.502.502 0 0 1-.196 0L5.5 15.01l-4.902.98A.5.5 0 0 1 0 15.5v-14a.5.5 0 0 1 .402-.49l5-1a.5.5 0 0 1 .196 0L10.5.99l4.902-.98a.5.5 0 0 1 .415.103zM10 1.91l-4-.8v12.98l4 .8V1.91zm1 12.98l4-.8V1.11l-4 .8v12.98zm-6-.8V1.11l-4 .8v12.98l4-.8z"/>');// eslint-disable-next-line
|
|
var BIconMapFill=/*#__PURE__*/makeIcon('MapFill','<path fill-rule="evenodd" d="M16 .5a.5.5 0 0 0-.598-.49L10.5.99 5.598.01a.5.5 0 0 0-.196 0l-5 1A.5.5 0 0 0 0 1.5v14a.5.5 0 0 0 .598.49l4.902-.98 4.902.98a.502.502 0 0 0 .196 0l5-1A.5.5 0 0 0 16 14.5V.5zM5 14.09V1.11l.5-.1.5.1v12.98l-.402-.08a.498.498 0 0 0-.196 0L5 14.09zm5 .8V1.91l.402.08a.5.5 0 0 0 .196 0L11 1.91v12.98l-.5.1-.5-.1z"/>');// eslint-disable-next-line
|
|
var BIconMarkdown=/*#__PURE__*/makeIcon('Markdown','<path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M9.146 8.146a.5.5 0 0 1 .708 0L11.5 9.793l1.646-1.647a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M11.5 5a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 1 .5-.5z"/><path d="M3.56 11V7.01h.056l1.428 3.239h.774l1.42-3.24h.056V11h1.073V5.001h-1.2l-1.71 3.894h-.039l-1.71-3.894H2.5V11h1.06z"/>');// eslint-disable-next-line
|
|
var BIconMarkdownFill=/*#__PURE__*/makeIcon('MarkdownFill','<path fill-rule="evenodd" d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm11.5 1a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L11 9.293V5.5a.5.5 0 0 1 .5-.5zM3.56 7.01V11H2.5V5.001h1.208l1.71 3.894h.04l1.709-3.894h1.2V11H7.294V7.01h-.057l-1.42 3.239h-.773l-1.428-3.24H3.56z"/>');// eslint-disable-next-line
|
|
var BIconMenuApp=/*#__PURE__*/makeIcon('MenuApp','<path fill-rule="evenodd" d="M0 1.5A1.5 1.5 0 0 1 1.5 0h2A1.5 1.5 0 0 1 5 1.5v2A1.5 1.5 0 0 1 3.5 5h-2A1.5 1.5 0 0 1 0 3.5v-2zM1.5 1a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5h-2zM14 7H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zM2 6a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M15 11H1v-1h14v1zM2 12.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconMenuAppFill=/*#__PURE__*/makeIcon('MenuAppFill','<path fill-rule="evenodd" d="M0 1.5A1.5 1.5 0 0 1 1.5 0h2A1.5 1.5 0 0 1 5 1.5v2A1.5 1.5 0 0 1 3.5 5h-2A1.5 1.5 0 0 1 0 3.5v-2zM14 7H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zM2 6a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M15 11H1v-1h14v1zM2 12.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconMenuButton=/*#__PURE__*/makeIcon('MenuButton','<path fill-rule="evenodd" d="M0 1.5A1.5 1.5 0 0 1 1.5 0h8A1.5 1.5 0 0 1 11 1.5v2A1.5 1.5 0 0 1 9.5 5h-8A1.5 1.5 0 0 1 0 3.5v-2zM1.5 1a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5h-8zM14 7H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zM2 6a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M15 11H1v-1h14v1zM2 12.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z"/><path d="M7.823 2.823l-.396-.396A.25.25 0 0 1 7.604 2h.792a.25.25 0 0 1 .177.427l-.396.396a.25.25 0 0 1-.354 0z"/>');// eslint-disable-next-line
|
|
var BIconMenuButtonFill=/*#__PURE__*/makeIcon('MenuButtonFill','<path fill-rule="evenodd" d="M14 7H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zM2 6a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M15 11H1v-1h14v1zM2 12.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM1.5 0A1.5 1.5 0 0 0 0 1.5v2A1.5 1.5 0 0 0 1.5 5h8A1.5 1.5 0 0 0 11 3.5v-2A1.5 1.5 0 0 0 9.5 0h-8zm5.927 2.427l.396.396a.25.25 0 0 0 .354 0l.396-.396A.25.25 0 0 0 8.396 2h-.792a.25.25 0 0 0-.177.427z"/>');// eslint-disable-next-line
|
|
var BIconMenuButtonWide=/*#__PURE__*/makeIcon('MenuButtonWide','<path fill-rule="evenodd" d="M0 1.5A1.5 1.5 0 0 1 1.5 0h13A1.5 1.5 0 0 1 16 1.5v2A1.5 1.5 0 0 1 14.5 5h-13A1.5 1.5 0 0 1 0 3.5v-2zM1.5 1a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5h-13zM14 7H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zM2 6a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M15 11H1v-1h14v1zM2 12.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-10a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm0 6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z"/><path d="M12.823 2.823l-.396-.396A.25.25 0 0 1 12.604 2h.792a.25.25 0 0 1 .177.427l-.396.396a.25.25 0 0 1-.354 0z"/>');// eslint-disable-next-line
|
|
var BIconMenuButtonWideFill=/*#__PURE__*/makeIcon('MenuButtonWideFill','<path fill-rule="evenodd" d="M14 7H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zM2 6a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M15 11H1v-1h14v1zM2 12.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM1.5 0A1.5 1.5 0 0 0 0 1.5v2A1.5 1.5 0 0 0 1.5 5h13A1.5 1.5 0 0 0 16 3.5v-2A1.5 1.5 0 0 0 14.5 0h-13zm1 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zm9.927.427l.396.396a.25.25 0 0 0 .354 0l.396-.396A.25.25 0 0 0 13.396 2h-.792a.25.25 0 0 0-.177.427z"/>');// eslint-disable-next-line
|
|
var BIconMenuDown=/*#__PURE__*/makeIcon('MenuDown','<path fill-rule="evenodd" d="M15 13V4a1 1 0 0 0-1-1h-3.586A2 2 0 0 1 9 2.414l-1-1-1 1A2 2 0 0 1 5.586 3H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1zM2 2a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-3.586a1 1 0 0 1-.707-.293L8.354.354a.5.5 0 0 0-.708 0L6.293 1.707A1 1 0 0 1 5.586 2H2z"/><path fill-rule="evenodd" d="M15 11H1v-1h14v1zm0-4H1V6h14v1zM2 12.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconMenuUp=/*#__PURE__*/makeIcon('MenuUp','<path fill-rule="evenodd" d="M15 3.207v9a1 1 0 0 1-1 1h-3.586A2 2 0 0 0 9 13.793l-1 1-1-1a2 2 0 0 0-1.414-.586H2a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zm-13 11a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-3.586a1 1 0 0 0-.707.293l-1.353 1.354a.5.5 0 0 1-.708 0L6.293 14.5a1 1 0 0 0-.707-.293H2z"/><path fill-rule="evenodd" d="M15 5.207H1v1h14v-1zm0 4H1v1h14v-1zm-13-5.5a.5.5 0 0 0 .5.5h6a.5.5 0 1 0 0-1h-6a.5.5 0 0 0-.5.5zm0 4a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 0-1h-11a.5.5 0 0 0-.5.5zm0 4a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 0-1h-8a.5.5 0 0 0-.5.5z"/>');// eslint-disable-next-line
|
|
var BIconMic=/*#__PURE__*/makeIcon('Mic','<path fill-rule="evenodd" d="M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z"/><path fill-rule="evenodd" d="M10 8V3a2 2 0 1 0-4 0v5a2 2 0 1 0 4 0zM8 0a3 3 0 0 0-3 3v5a3 3 0 0 0 6 0V3a3 3 0 0 0-3-3z"/>');// eslint-disable-next-line
|
|
var BIconMicFill=/*#__PURE__*/makeIcon('MicFill','<path d="M5 3a3 3 0 0 1 6 0v5a3 3 0 0 1-6 0V3z"/><path fill-rule="evenodd" d="M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconMicMute=/*#__PURE__*/makeIcon('MicMute','<path fill-rule="evenodd" d="M12.734 9.613A4.995 4.995 0 0 0 13 8V7a.5.5 0 0 0-1 0v1c0 .274-.027.54-.08.799l.814.814zm-2.522 1.72A4 4 0 0 1 4 8V7a.5.5 0 0 0-1 0v1a5 5 0 0 0 4.5 4.975V15h-3a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-3v-2.025a4.973 4.973 0 0 0 2.43-.923l-.718-.719zM11 7.88V3a3 3 0 0 0-5.842-.963l.845.845A2 2 0 0 1 10 3v3.879l1 1zM8.738 9.86l.748.748A3 3 0 0 1 5 8V6.121l1 1V8a2 2 0 0 0 2.738 1.86zm4.908 3.494l-12-12 .708-.708 12 12-.708.707z"/>');// eslint-disable-next-line
|
|
var BIconMicMuteFill=/*#__PURE__*/makeIcon('MicMuteFill','<path fill-rule="evenodd" d="M12.734 9.613A4.995 4.995 0 0 0 13 8V7a.5.5 0 0 0-1 0v1c0 .274-.027.54-.08.799l.814.814zm-2.522 1.72A4 4 0 0 1 4 8V7a.5.5 0 0 0-1 0v1a5 5 0 0 0 4.5 4.975V15h-3a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-3v-2.025a4.973 4.973 0 0 0 2.43-.923l-.718-.719zM11 7.88V3a3 3 0 0 0-5.842-.963L11 7.879zM5 6.12l4.486 4.486A3 3 0 0 1 5 8V6.121zm8.646 7.234l-12-12 .708-.708 12 12-.708.707z"/>');// eslint-disable-next-line
|
|
var BIconMinecart=/*#__PURE__*/makeIcon('Minecart','<path fill-rule="evenodd" d="M4 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm8-1a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM.115 3.18A.5.5 0 0 1 .5 3h15a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 14 12H2a.5.5 0 0 1-.491-.408l-1.5-8a.5.5 0 0 1 .106-.411zm.987.82l1.313 7h11.17l1.313-7H1.102z"/>');// eslint-disable-next-line
|
|
var BIconMinecartLoaded=/*#__PURE__*/makeIcon('MinecartLoaded','<path fill-rule="evenodd" d="M4 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm8-1a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM.115 3.18A.5.5 0 0 1 .5 3h15a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 14 12H2a.5.5 0 0 1-.491-.408l-1.5-8a.5.5 0 0 1 .106-.411zm.987.82l1.313 7h11.17l1.313-7H1.102z"/><path fill-rule="evenodd" d="M6 1a2.498 2.498 0 0 1 4 0c.818 0 1.545.394 2 1 .67 0 1.552.57 2 1h-2c-.314 0-.611-.15-.8-.4-.274-.365-.71-.6-1.2-.6-.314 0-.611-.15-.8-.4a1.497 1.497 0 0 0-2.4 0c-.189.25-.486.4-.8.4-.507 0-.955.251-1.228.638-.09.13-.194.25-.308.362H3c.13-.147.401-.432.562-.545a1.63 1.63 0 0 0 .393-.393A2.498 2.498 0 0 1 6 1z"/>');// eslint-disable-next-line
|
|
var BIconMoon=/*#__PURE__*/makeIcon('Moon','<path fill-rule="evenodd" d="M14.53 10.53a7 7 0 0 1-9.058-9.058A7.003 7.003 0 0 0 8 15a7.002 7.002 0 0 0 6.53-4.47z"/>');// eslint-disable-next-line
|
|
var BIconMouse=/*#__PURE__*/makeIcon('Mouse','<path fill-rule="evenodd" d="M8 3a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 3zm4 8V5a4 4 0 0 0-8 0v6a4 4 0 0 0 8 0zM8 0a5 5 0 0 0-5 5v6a5 5 0 0 0 10 0V5a5 5 0 0 0-5-5z"/>');// eslint-disable-next-line
|
|
var BIconMouse2=/*#__PURE__*/makeIcon('Mouse2','<path fill-rule="evenodd" d="M3 5.188C3 2.341 5.22 0 8 0s5 2.342 5 5.188v5.625C13 13.658 10.78 16 8 16s-5-2.342-5-5.188V5.189zm4.5-4.155C5.541 1.289 4 3.035 4 5.188V5.5h3.5V1.033zm1 0V5.5H12v-.313c0-2.152-1.541-3.898-3.5-4.154zM12 6.5H4v4.313C4 13.145 5.81 15 8 15s4-1.855 4-4.188V6.5z"/>');// eslint-disable-next-line
|
|
var BIconMouse3=/*#__PURE__*/makeIcon('Mouse3','<path fill-rule="evenodd" d="M5.473.463C5.896.157 6.407 0 7 0c1.26 0 2.981.123 4.403.825.72.355 1.375.864 1.85 1.59.475.728.747 1.642.747 2.772v5.625C14 13.659 11.78 16 9 16H7c-2.78 0-5-2.342-5-5.188V8.236A2.5 2.5 0 0 1 3.382 6L4 5.691v-.503c0-1.31.124-2.569.543-3.517.213-.482.512-.906.93-1.208zM4.017 6.801l-.188.093A1.5 1.5 0 0 0 3 8.236v2.576C3 13.146 4.81 15 7 15h2c2.19 0 4-1.855 4-4.188V5.189c0-.964-.23-1.683-.585-2.226-.356-.546-.86-.947-1.454-1.24C9.754 1.127 8.226 1 7 1c-.407 0-.708.105-.941.274-.239.172-.44.435-.602.801C5.127 2.823 5 3.907 5 5.187v.844a16.734 16.734 0 0 0 .008.448c.007.3.023.715.053 1.175.063.937.186 2.005.413 2.688a.5.5 0 1 1-.948.316c-.273-.817-.4-2-.462-2.937a27.75 27.75 0 0 1-.047-.92z"/><path fill-rule="evenodd" d="M9 .5a.5.5 0 0 1 .5.5v5.099l4.108.913a.5.5 0 0 1-.216.976l-9-2a.5.5 0 1 1 .216-.976l3.892.865V1A.5.5 0 0 1 9 .5z"/>');// eslint-disable-next-line
|
|
var BIconMusicNote=/*#__PURE__*/makeIcon('MusicNote','<path d="M9 13c0 1.105-1.12 2-2.5 2S4 14.105 4 13s1.12-2 2.5-2 2.5.895 2.5 2z"/><path fill-rule="evenodd" d="M9 3v10H8V3h1z"/><path d="M8 2.82a1 1 0 0 1 .804-.98l3-.6A1 1 0 0 1 13 2.22V4L8 5V2.82z"/>');// eslint-disable-next-line
|
|
var BIconMusicNoteBeamed=/*#__PURE__*/makeIcon('MusicNoteBeamed','<path d="M6 13c0 1.105-1.12 2-2.5 2S1 14.105 1 13c0-1.104 1.12-2 2.5-2s2.5.896 2.5 2zm9-2c0 1.105-1.12 2-2.5 2s-2.5-.895-2.5-2 1.12-2 2.5-2 2.5.895 2.5 2z"/><path fill-rule="evenodd" d="M14 11V2h1v9h-1zM6 3v10H5V3h1z"/><path d="M5 2.905a1 1 0 0 1 .9-.995l8-.8a1 1 0 0 1 1.1.995V3L5 4V2.905z"/>');// eslint-disable-next-line
|
|
var BIconMusicNoteList=/*#__PURE__*/makeIcon('MusicNoteList','<path d="M12 13c0 1.105-1.12 2-2.5 2S7 14.105 7 13s1.12-2 2.5-2 2.5.895 2.5 2z"/><path fill-rule="evenodd" d="M12 3v10h-1V3h1z"/><path d="M11 2.82a1 1 0 0 1 .804-.98l3-.6A1 1 0 0 1 16 2.22V4l-5 1V2.82z"/><path fill-rule="evenodd" d="M0 11.5a.5.5 0 0 1 .5-.5H4a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 .5 7H8a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 .5 3H8a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconMusicPlayer=/*#__PURE__*/makeIcon('MusicPlayer','<path fill-rule="evenodd" d="M12 1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4z"/><path fill-rule="evenodd" d="M11 3H5v3h6V3zM5 2a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H5zm3 11a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/><circle cx="8" cy="11" r="1"/>');// eslint-disable-next-line
|
|
var BIconMusicPlayerFill=/*#__PURE__*/makeIcon('MusicPlayerFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm2 1a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2.5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V3zm7 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/><circle cx="8" cy="11" r="1"/>');// eslint-disable-next-line
|
|
var BIconNewspaper=/*#__PURE__*/makeIcon('Newspaper','<path fill-rule="evenodd" d="M0 2.5A1.5 1.5 0 0 1 1.5 1h11A1.5 1.5 0 0 1 14 2.5v10.528c0 .3-.05.654-.238.972h.738a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 1 1 0v9a1.5 1.5 0 0 1-1.5 1.5H1.497A1.497 1.497 0 0 1 0 13.5v-11zM12 14c.37 0 .654-.211.853-.441.092-.106.147-.279.147-.531V2.5a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5v11c0 .278.223.5.497.5H12z"/><path d="M2 3h10v2H2V3zm0 3h4v3H2V6zm0 4h4v1H2v-1zm0 2h4v1H2v-1zm5-6h2v1H7V6zm3 0h2v1h-2V6zM7 8h2v1H7V8zm3 0h2v1h-2V8zm-3 2h2v1H7v-1zm3 0h2v1h-2v-1zm-3 2h2v1H7v-1zm3 0h2v1h-2v-1z"/>');// eslint-disable-next-line
|
|
var BIconNodeMinus=/*#__PURE__*/makeIcon('NodeMinus','<path fill-rule="evenodd" d="M11 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8zM6.025 7.5a5 5 0 1 1 0 1H4A1.5 1.5 0 0 1 2.5 10h-1A1.5 1.5 0 0 1 0 8.5v-1A1.5 1.5 0 0 1 1.5 6h1A1.5 1.5 0 0 1 4 7.5h2.025zM1.5 7a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zM8 8a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5A.5.5 0 0 1 8 8z"/>');// eslint-disable-next-line
|
|
var BIconNodeMinusFill=/*#__PURE__*/makeIcon('NodeMinusFill','<path fill-rule="evenodd" d="M16 8a5 5 0 0 1-9.975.5H4A1.5 1.5 0 0 1 2.5 10h-1A1.5 1.5 0 0 1 0 8.5v-1A1.5 1.5 0 0 1 1.5 6h1A1.5 1.5 0 0 1 4 7.5h2.025A5 5 0 0 1 16 8zm-2 0a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h5A.5.5 0 0 0 14 8z"/>');// eslint-disable-next-line
|
|
var BIconNodePlus=/*#__PURE__*/makeIcon('NodePlus','<path fill-rule="evenodd" d="M11 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8zM6.025 7.5a5 5 0 1 1 0 1H4A1.5 1.5 0 0 1 2.5 10h-1A1.5 1.5 0 0 1 0 8.5v-1A1.5 1.5 0 0 1 1.5 6h1A1.5 1.5 0 0 1 4 7.5h2.025zM11 5a.5.5 0 0 1 .5.5v2h2a.5.5 0 0 1 0 1h-2v2a.5.5 0 0 1-1 0v-2h-2a.5.5 0 0 1 0-1h2v-2A.5.5 0 0 1 11 5zM1.5 7a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/>');// eslint-disable-next-line
|
|
var BIconNodePlusFill=/*#__PURE__*/makeIcon('NodePlusFill','<path fill-rule="evenodd" d="M11 13a5 5 0 1 0-4.975-5.5H4A1.5 1.5 0 0 0 2.5 6h-1A1.5 1.5 0 0 0 0 7.5v1A1.5 1.5 0 0 0 1.5 10h1A1.5 1.5 0 0 0 4 8.5h2.025A5 5 0 0 0 11 13zm.5-7.5a.5.5 0 0 0-1 0v2h-2a.5.5 0 0 0 0 1h2v2a.5.5 0 0 0 1 0v-2h2a.5.5 0 0 0 0-1h-2v-2z"/>');// eslint-disable-next-line
|
|
var BIconNut=/*#__PURE__*/makeIcon('Nut','<path fill-rule="evenodd" d="M11.42 2H4.58L1.152 8l3.428 6h6.84l3.428-6-3.428-6zM4.58 1a1 1 0 0 0-.868.504l-3.429 6a1 1 0 0 0 0 .992l3.429 6A1 1 0 0 0 4.58 15h6.84a1 1 0 0 0 .868-.504l3.428-6a1 1 0 0 0 0-.992l-3.428-6A1 1 0 0 0 11.42 1H4.58z"/><path fill-rule="evenodd" d="M6.848 5.933a2.5 2.5 0 1 0 2.5 4.33 2.5 2.5 0 0 0-2.5-4.33zM5.067 9.848a3.5 3.5 0 1 1 6.062-3.5 3.5 3.5 0 0 1-6.062 3.5z"/>');// eslint-disable-next-line
|
|
var BIconNutFill=/*#__PURE__*/makeIcon('NutFill','<path fill-rule="evenodd" d="M4.58 1a1 1 0 0 0-.868.504l-3.429 6a1 1 0 0 0 0 .992l3.429 6A1 1 0 0 0 4.58 15h6.84a1 1 0 0 0 .868-.504l3.428-6a1 1 0 0 0 0-.992l-3.428-6A1 1 0 0 0 11.42 1H4.58zm5.018 9.696a3 3 0 1 0-3-5.196 3 3 0 0 0 3 5.196z"/>');// eslint-disable-next-line
|
|
var BIconOctagon=/*#__PURE__*/makeIcon('Octagon','<path fill-rule="evenodd" d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1H5.1z"/>');// eslint-disable-next-line
|
|
var BIconOctagonFill=/*#__PURE__*/makeIcon('OctagonFill','<path d="M11.107 0a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146A.5.5 0 0 1 4.893 0h6.214z"/>');// eslint-disable-next-line
|
|
var BIconOctagonHalf=/*#__PURE__*/makeIcon('OctagonHalf','<path fill-rule="evenodd" d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM8 15h2.9l4.1-4.1V5.1L10.9 1H8v14z"/>');// eslint-disable-next-line
|
|
var BIconOption=/*#__PURE__*/makeIcon('Option','<path fill-rule="evenodd" d="M1 2.5a.5.5 0 0 1 .5-.5h3.797a.5.5 0 0 1 .439.26L11 13h3.5a.5.5 0 0 1 0 1h-3.797a.5.5 0 0 1-.439-.26L5 3H1.5a.5.5 0 0 1-.5-.5zm10 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconOutlet=/*#__PURE__*/makeIcon('Outlet','<path fill-rule="evenodd" d="M3.34 2.994c.275-.338.68-.494 1.074-.494h7.172c.393 0 .798.156 1.074.494.578.708 1.84 2.534 1.84 5.006 0 2.472-1.262 4.297-1.84 5.006-.276.338-.68.494-1.074.494H4.414c-.394 0-.799-.156-1.074-.494C2.762 12.297 1.5 10.472 1.5 8c0-2.472 1.262-4.297 1.84-5.006zm1.074.506a.376.376 0 0 0-.299.126C3.599 4.259 2.5 5.863 2.5 8c0 2.137 1.099 3.74 1.615 4.374.06.073.163.126.3.126h7.17c.137 0 .24-.053.3-.126.516-.633 1.615-2.237 1.615-4.374 0-2.137-1.099-3.74-1.615-4.374a.376.376 0 0 0-.3-.126h-7.17z"/><path fill-rule="evenodd" d="M6 5.5a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm4 0a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5z"/><path d="M7 10v1h2v-1a1 1 0 0 0-2 0z"/>');// eslint-disable-next-line
|
|
var BIconPaperclip=/*#__PURE__*/makeIcon('Paperclip','<path fill-rule="evenodd" d="M4.5 3a2.5 2.5 0 0 1 5 0v9a1.5 1.5 0 0 1-3 0V5a.5.5 0 0 1 1 0v7a.5.5 0 0 0 1 0V3a1.5 1.5 0 1 0-3 0v9a2.5 2.5 0 0 0 5 0V5a.5.5 0 0 1 1 0v7a3.5 3.5 0 1 1-7 0V3z"/>');// eslint-disable-next-line
|
|
var BIconParagraph=/*#__PURE__*/makeIcon('Paragraph','<path fill-rule="evenodd" d="M8 1h4.5a.5.5 0 0 1 0 1H11v12.5a.5.5 0 0 1-1 0V2H9v12.5a.5.5 0 0 1-1 0V1z"/><path d="M9 1v8H7a4 4 0 1 1 0-8h2z"/>');// eslint-disable-next-line
|
|
var BIconPatchCheck=/*#__PURE__*/makeIcon('PatchCheck','<path fill-rule="evenodd" d="M10.273 2.513l-.921-.944.715-.698.622.637.89-.011a2.89 2.89 0 0 1 2.924 2.924l-.01.89.636.622a2.89 2.89 0 0 1 0 4.134l-.637.622.011.89a2.89 2.89 0 0 1-2.924 2.924l-.89-.01-.622.636a2.89 2.89 0 0 1-4.134 0l-.622-.637-.89.011a2.89 2.89 0 0 1-2.924-2.924l.01-.89-.636-.622a2.89 2.89 0 0 1 0-4.134l.637-.622-.011-.89a2.89 2.89 0 0 1 2.924-2.924l.89.01.622-.636a2.89 2.89 0 0 1 4.134 0l-.715.698a1.89 1.89 0 0 0-2.704 0l-.92.944-1.32-.016a1.89 1.89 0 0 0-1.911 1.912l.016 1.318-.944.921a1.89 1.89 0 0 0 0 2.704l.944.92-.016 1.32a1.89 1.89 0 0 0 1.912 1.911l1.318-.016.921.944a1.89 1.89 0 0 0 2.704 0l.92-.944 1.32.016a1.89 1.89 0 0 0 1.911-1.912l-.016-1.318.944-.921a1.89 1.89 0 0 0 0-2.704l-.944-.92.016-1.32a1.89 1.89 0 0 0-1.912-1.911l-1.318.016z"/><path fill-rule="evenodd" d="M10.354 6.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7 8.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconPatchCheckFll=/*#__PURE__*/makeIcon('PatchCheckFll','<path fill-rule="evenodd" d="M10.067.87a2.89 2.89 0 0 0-4.134 0l-.622.638-.89-.011a2.89 2.89 0 0 0-2.924 2.924l.01.89-.636.622a2.89 2.89 0 0 0 0 4.134l.637.622-.011.89a2.89 2.89 0 0 0 2.924 2.924l.89-.01.622.636a2.89 2.89 0 0 0 4.134 0l.622-.637.89.011a2.89 2.89 0 0 0 2.924-2.924l-.01-.89.636-.622a2.89 2.89 0 0 0 0-4.134l-.637-.622.011-.89a2.89 2.89 0 0 0-2.924-2.924l-.89.01-.622-.636zm.287 5.984a.5.5 0 0 0-.708-.708L7 8.793 5.854 7.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconPatchExclamation=/*#__PURE__*/makeIcon('PatchExclamation','<path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/><path fill-rule="evenodd" d="M10.273 2.513l-.921-.944.715-.698.622.637.89-.011a2.89 2.89 0 0 1 2.924 2.924l-.01.89.636.622a2.89 2.89 0 0 1 0 4.134l-.637.622.011.89a2.89 2.89 0 0 1-2.924 2.924l-.89-.01-.622.636a2.89 2.89 0 0 1-4.134 0l-.622-.637-.89.011a2.89 2.89 0 0 1-2.924-2.924l.01-.89-.636-.622a2.89 2.89 0 0 1 0-4.134l.637-.622-.011-.89a2.89 2.89 0 0 1 2.924-2.924l.89.01.622-.636a2.89 2.89 0 0 1 4.134 0l-.715.698a1.89 1.89 0 0 0-2.704 0l-.92.944-1.32-.016a1.89 1.89 0 0 0-1.911 1.912l.016 1.318-.944.921a1.89 1.89 0 0 0 0 2.704l.944.92-.016 1.32a1.89 1.89 0 0 0 1.912 1.911l1.318-.016.921.944a1.89 1.89 0 0 0 2.704 0l.92-.944 1.32.016a1.89 1.89 0 0 0 1.911-1.912l-.016-1.318.944-.921a1.89 1.89 0 0 0 0-2.704l-.944-.92.016-1.32a1.89 1.89 0 0 0-1.912-1.911l-1.318.016z"/>');// eslint-disable-next-line
|
|
var BIconPatchExclamationFll=/*#__PURE__*/makeIcon('PatchExclamationFll','<path fill-rule="evenodd" d="M10.067.87a2.89 2.89 0 0 0-4.134 0l-.622.638-.89-.011a2.89 2.89 0 0 0-2.924 2.924l.01.89-.636.622a2.89 2.89 0 0 0 0 4.134l.637.622-.011.89a2.89 2.89 0 0 0 2.924 2.924l.89-.01.622.636a2.89 2.89 0 0 0 4.134 0l.622-.637.89.011a2.89 2.89 0 0 0 2.924-2.924l-.01-.89.636-.622a2.89 2.89 0 0 0 0-4.134l-.637-.622.011-.89a2.89 2.89 0 0 0-2.924-2.924l-.89.01-.622-.636zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.553.553 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconPatchMinus=/*#__PURE__*/makeIcon('PatchMinus','<path fill-rule="evenodd" d="M5.5 8a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/><path fill-rule="evenodd" d="M10.273 2.513l-.921-.944.715-.698.622.637.89-.011a2.89 2.89 0 0 1 2.924 2.924l-.01.89.636.622a2.89 2.89 0 0 1 0 4.134l-.637.622.011.89a2.89 2.89 0 0 1-2.924 2.924l-.89-.01-.622.636a2.89 2.89 0 0 1-4.134 0l-.622-.637-.89.011a2.89 2.89 0 0 1-2.924-2.924l.01-.89-.636-.622a2.89 2.89 0 0 1 0-4.134l.637-.622-.011-.89a2.89 2.89 0 0 1 2.924-2.924l.89.01.622-.636a2.89 2.89 0 0 1 4.134 0l-.715.698a1.89 1.89 0 0 0-2.704 0l-.92.944-1.32-.016a1.89 1.89 0 0 0-1.911 1.912l.016 1.318-.944.921a1.89 1.89 0 0 0 0 2.704l.944.92-.016 1.32a1.89 1.89 0 0 0 1.912 1.911l1.318-.016.921.944a1.89 1.89 0 0 0 2.704 0l.92-.944 1.32.016a1.89 1.89 0 0 0 1.911-1.912l-.016-1.318.944-.921a1.89 1.89 0 0 0 0-2.704l-.944-.92.016-1.32a1.89 1.89 0 0 0-1.912-1.911l-1.318.016z"/>');// eslint-disable-next-line
|
|
var BIconPatchMinusFll=/*#__PURE__*/makeIcon('PatchMinusFll','<path fill-rule="evenodd" d="M10.067.87a2.89 2.89 0 0 0-4.134 0l-.622.638-.89-.011a2.89 2.89 0 0 0-2.924 2.924l.01.89-.636.622a2.89 2.89 0 0 0 0 4.134l.637.622-.011.89a2.89 2.89 0 0 0 2.924 2.924l.89-.01.622.636a2.89 2.89 0 0 0 4.134 0l.622-.637.89.011a2.89 2.89 0 0 0 2.924-2.924l-.01-.89.636-.622a2.89 2.89 0 0 0 0-4.134l-.637-.622.011-.89a2.89 2.89 0 0 0-2.924-2.924l-.89.01-.622-.636zM6 7.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconPatchPlus=/*#__PURE__*/makeIcon('PatchPlus','<path fill-rule="evenodd" d="M10.273 2.513l-.921-.944.715-.698.622.637.89-.011a2.89 2.89 0 0 1 2.924 2.924l-.01.89.636.622a2.89 2.89 0 0 1 0 4.134l-.637.622.011.89a2.89 2.89 0 0 1-2.924 2.924l-.89-.01-.622.636a2.89 2.89 0 0 1-4.134 0l-.622-.637-.89.011a2.89 2.89 0 0 1-2.924-2.924l.01-.89-.636-.622a2.89 2.89 0 0 1 0-4.134l.637-.622-.011-.89a2.89 2.89 0 0 1 2.924-2.924l.89.01.622-.636a2.89 2.89 0 0 1 4.134 0l-.715.698a1.89 1.89 0 0 0-2.704 0l-.92.944-1.32-.016a1.89 1.89 0 0 0-1.911 1.912l.016 1.318-.944.921a1.89 1.89 0 0 0 0 2.704l.944.92-.016 1.32a1.89 1.89 0 0 0 1.912 1.911l1.318-.016.921.944a1.89 1.89 0 0 0 2.704 0l.92-.944 1.32.016a1.89 1.89 0 0 0 1.911-1.912l-.016-1.318.944-.921a1.89 1.89 0 0 0 0-2.704l-.944-.92.016-1.32a1.89 1.89 0 0 0-1.912-1.911l-1.318.016z"/><path fill-rule="evenodd" d="M8 5.5a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H6a.5.5 0 0 1 0-1h1.5V6a.5.5 0 0 1 .5-.5z"/><path fill-rule="evenodd" d="M7.5 8a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1H8.5V10a.5.5 0 0 1-1 0V8z"/>');// eslint-disable-next-line
|
|
var BIconPatchPlusFll=/*#__PURE__*/makeIcon('PatchPlusFll','<path fill-rule="evenodd" d="M10.067.87a2.89 2.89 0 0 0-4.134 0l-.622.638-.89-.011a2.89 2.89 0 0 0-2.924 2.924l.01.89-.636.622a2.89 2.89 0 0 0 0 4.134l.637.622-.011.89a2.89 2.89 0 0 0 2.924 2.924l.89-.01.622.636a2.89 2.89 0 0 0 4.134 0l.622-.637.89.011a2.89 2.89 0 0 0 2.924-2.924l-.01-.89.636-.622a2.89 2.89 0 0 0 0-4.134l-.637-.622.011-.89a2.89 2.89 0 0 0-2.924-2.924l-.89.01-.622-.636zM8.5 6a.5.5 0 0 0-1 0v1.5H6a.5.5 0 0 0 0 1h1.5V10a.5.5 0 0 0 1 0V8.5H10a.5.5 0 0 0 0-1H8.5V6z"/>');// eslint-disable-next-line
|
|
var BIconPatchQuestion=/*#__PURE__*/makeIcon('PatchQuestion','<path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM8.05 9.6c.336 0 .504-.24.554-.627.04-.534.198-.815.847-1.26.673-.475 1.049-1.09 1.049-1.986 0-1.325-.92-2.227-2.262-2.227-1.02 0-1.792.492-2.1 1.29A1.71 1.71 0 0 0 6 5.48c0 .393.203.64.545.64.272 0 .455-.147.564-.51.158-.592.525-.915 1.074-.915.61 0 1.03.446 1.03 1.084 0 .563-.208.885-.822 1.325-.619.433-.926.914-.926 1.64v.111c0 .428.208.745.585.745z"/><path fill-rule="evenodd" d="M10.273 2.513l-.921-.944.715-.698.622.637.89-.011a2.89 2.89 0 0 1 2.924 2.924l-.01.89.636.622a2.89 2.89 0 0 1 0 4.134l-.637.622.011.89a2.89 2.89 0 0 1-2.924 2.924l-.89-.01-.622.636a2.89 2.89 0 0 1-4.134 0l-.622-.637-.89.011a2.89 2.89 0 0 1-2.924-2.924l.01-.89-.636-.622a2.89 2.89 0 0 1 0-4.134l.637-.622-.011-.89a2.89 2.89 0 0 1 2.924-2.924l.89.01.622-.636a2.89 2.89 0 0 1 4.134 0l-.715.698a1.89 1.89 0 0 0-2.704 0l-.92.944-1.32-.016a1.89 1.89 0 0 0-1.911 1.912l.016 1.318-.944.921a1.89 1.89 0 0 0 0 2.704l.944.92-.016 1.32a1.89 1.89 0 0 0 1.912 1.911l1.318-.016.921.944a1.89 1.89 0 0 0 2.704 0l.92-.944 1.32.016a1.89 1.89 0 0 0 1.911-1.912l-.016-1.318.944-.921a1.89 1.89 0 0 0 0-2.704l-.944-.92.016-1.32a1.89 1.89 0 0 0-1.912-1.911l-1.318.016z"/>');// eslint-disable-next-line
|
|
var BIconPatchQuestionFll=/*#__PURE__*/makeIcon('PatchQuestionFll','<path fill-rule="evenodd" d="M5.933.87a2.89 2.89 0 0 1 4.134 0l.622.638.89-.011a2.89 2.89 0 0 1 2.924 2.924l-.01.89.636.622a2.89 2.89 0 0 1 0 4.134l-.637.622.011.89a2.89 2.89 0 0 1-2.924 2.924l-.89-.01-.622.636a2.89 2.89 0 0 1-4.134 0l-.622-.637-.89.011a2.89 2.89 0 0 1-2.924-2.924l.01-.89-.636-.622a2.89 2.89 0 0 1 0-4.134l.637-.622-.011-.89a2.89 2.89 0 0 1 2.924-2.924l.89.01.622-.636zM7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1.602-2.027c-.05.386-.218.627-.554.627-.377 0-.585-.317-.585-.745v-.11c0-.727.307-1.208.926-1.641.614-.44.822-.762.822-1.325 0-.638-.42-1.084-1.03-1.084-.55 0-.916.323-1.074.914-.109.364-.292.51-.564.51C6.203 6.12 6 5.873 6 5.48c0-.251.045-.468.139-.69.307-.798 1.079-1.29 2.099-1.29 1.341 0 2.262.902 2.262 2.227 0 .896-.376 1.511-1.05 1.986-.648.445-.806.726-.846 1.26z"/>');// eslint-disable-next-line
|
|
var BIconPause=/*#__PURE__*/makeIcon('Pause','<path fill-rule="evenodd" d="M6 3.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5zm4 0a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconPauseFill=/*#__PURE__*/makeIcon('PauseFill','<path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"/>');// eslint-disable-next-line
|
|
var BIconPeace=/*#__PURE__*/makeIcon('Peace','<path fill-rule="evenodd" d="M7.5 1.018a7 7 0 0 0-4.79 11.566L7.5 7.793V1.018zm1 0v6.775l4.79 4.79A7 7 0 0 0 8.5 1.018zm4.084 12.273L8.5 9.207v5.775a6.97 6.97 0 0 0 4.084-1.691zM7.5 14.982V9.207l-4.084 4.084A6.97 6.97 0 0 0 7.5 14.982zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z"/>');// eslint-disable-next-line
|
|
var BIconPeaceFill=/*#__PURE__*/makeIcon('PeaceFill','<path d="M14 13.292A8 8 0 0 0 8.5.015v7.778l5.5 5.5zm-.708.708L8.5 9.206v6.778a7.967 7.967 0 0 0 4.792-1.986zM7.5 15.985V9.207L2.708 14A7.967 7.967 0 0 0 7.5 15.985zM2 13.292A8 8 0 0 1 7.5.015v7.778l-5.5 5.5z"/>');// eslint-disable-next-line
|
|
var BIconPen=/*#__PURE__*/makeIcon('Pen','<path fill-rule="evenodd" d="M13.498.795l.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001zm-.644.766a.5.5 0 0 0-.707 0L1.95 11.756l-.764 3.057 3.057-.764L14.44 3.854a.5.5 0 0 0 0-.708l-1.585-1.585z"/>');// eslint-disable-next-line
|
|
var BIconPenFill=/*#__PURE__*/makeIcon('PenFill','<path fill-rule="evenodd" d="M13.498.795l.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001z"/>');// eslint-disable-next-line
|
|
var BIconPencil=/*#__PURE__*/makeIcon('Pencil','<path fill-rule="evenodd" d="M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168l10-10zM11.207 2.5L13.5 4.793 14.793 3.5 12.5 1.207 11.207 2.5zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293l6.5-6.5zm-9.761 5.175l-.106.106-1.528 3.821 3.821-1.528.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325z"/>');// eslint-disable-next-line
|
|
var BIconPencilFill=/*#__PURE__*/makeIcon('PencilFill','<path fill-rule="evenodd" d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>');// eslint-disable-next-line
|
|
var BIconPencilSquare=/*#__PURE__*/makeIcon('PencilSquare','<path d="M15.502 1.94a.5.5 0 0 1 0 .706L14.459 3.69l-2-2L13.502.646a.5.5 0 0 1 .707 0l1.293 1.293zm-1.75 2.456l-2-2L4.939 9.21a.5.5 0 0 0-.121.196l-.805 2.414a.25.25 0 0 0 .316.316l2.414-.805a.5.5 0 0 0 .196-.12l6.813-6.814z"/><path fill-rule="evenodd" d="M1 13.5A1.5 1.5 0 0 0 2.5 15h11a1.5 1.5 0 0 0 1.5-1.5v-6a.5.5 0 0 0-1 0v6a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9a.5.5 0 0 0 0-1H2.5A1.5 1.5 0 0 0 1 2.5v11z"/>');// eslint-disable-next-line
|
|
var BIconPentagon=/*#__PURE__*/makeIcon('Pentagon','<path fill-rule="evenodd" d="M8 1.288l-6.842 5.56L3.733 15h8.534l2.575-8.153L8 1.288zM16 6.5L8 0 0 6.5 3 16h10l3-9.5z"/>');// eslint-disable-next-line
|
|
var BIconPentagonFill=/*#__PURE__*/makeIcon('PentagonFill','<path d="M8 0l8 6.5-3 9.5H3L0 6.5 8 0z"/>');// eslint-disable-next-line
|
|
var BIconPentagonHalf=/*#__PURE__*/makeIcon('PentagonHalf','<path fill-rule="evenodd" d="M8 1.288V15h4.267l2.575-8.153L8 1.288zM16 6.5L8 0 0 6.5 3 16h10l3-9.5z"/>');// eslint-disable-next-line
|
|
var BIconPeople=/*#__PURE__*/makeIcon('People','<path fill-rule="evenodd" d="M15 14s1 0 1-1-1-4-5-4-5 3-5 4 1 1 1 1h8zm-7.978-1h7.956a.274.274 0 0 0 .014-.002l.008-.002c-.002-.264-.167-1.03-.76-1.72C13.688 10.629 12.718 10 11 10c-1.717 0-2.687.63-3.24 1.276-.593.69-.759 1.457-.76 1.72a1.05 1.05 0 0 0 .022.004zM11 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0zM6.936 9.28a5.88 5.88 0 0 0-1.23-.247A7.35 7.35 0 0 0 5 9c-4 0-5 3-5 4 0 .667.333 1 1 1h4.216A2.238 2.238 0 0 1 5 13c0-1.01.377-2.042 1.09-2.904.243-.294.526-.569.846-.816zM4.92 10c-1.668.02-2.615.64-3.16 1.276C1.163 11.97 1 12.739 1 13h3c0-1.045.323-2.086.92-3zM1.5 5.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0zm3-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"/>');// eslint-disable-next-line
|
|
var BIconPeopleFill=/*#__PURE__*/makeIcon('PeopleFill','<path fill-rule="evenodd" d="M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216zM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/>');// eslint-disable-next-line
|
|
var BIconPercent=/*#__PURE__*/makeIcon('Percent','<path fill-rule="evenodd" d="M13.442 2.558a.625.625 0 0 1 0 .884l-10 10a.625.625 0 1 1-.884-.884l10-10a.625.625 0 0 1 .884 0zM4.5 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm0 1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm7 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm0 1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/>');// eslint-disable-next-line
|
|
var BIconPerson=/*#__PURE__*/makeIcon('Person','<path fill-rule="evenodd" d="M10 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0zM8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm6 5c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z"/>');// eslint-disable-next-line
|
|
var BIconPersonBadge=/*#__PURE__*/makeIcon('PersonBadge','<path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 0 1 4.5 0h7A2.5 2.5 0 0 1 14 2.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2.5zM4.5 1A1.5 1.5 0 0 0 3 2.5v10.795a4.2 4.2 0 0 1 .776-.492C4.608 12.387 5.937 12 8 12s3.392.387 4.224.803a4.2 4.2 0 0 1 .776.492V2.5A1.5 1.5 0 0 0 11.5 1h-7z"/><path fill-rule="evenodd" d="M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM6 2.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconPersonBadgeFill=/*#__PURE__*/makeIcon('PersonBadgeFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm4.5 0a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm5 2.755C12.146 12.825 10.623 12 8 12s-4.146.826-5 1.755V14a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-.245z"/>');// eslint-disable-next-line
|
|
var BIconPersonBoundingBox=/*#__PURE__*/makeIcon('PersonBoundingBox','<path fill-rule="evenodd" d="M1.5 1a.5.5 0 0 0-.5.5v3a.5.5 0 0 1-1 0v-3A1.5 1.5 0 0 1 1.5 0h3a.5.5 0 0 1 0 1h-3zM11 .5a.5.5 0 0 1 .5-.5h3A1.5 1.5 0 0 1 16 1.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 1-.5-.5zM.5 11a.5.5 0 0 1 .5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 1 0 1h-3A1.5 1.5 0 0 1 0 14.5v-3a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v3a1.5 1.5 0 0 1-1.5 1.5h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 1 .5-.5z"/><path fill-rule="evenodd" d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>');// eslint-disable-next-line
|
|
var BIconPersonCheck=/*#__PURE__*/makeIcon('PersonCheck','<path fill-rule="evenodd" d="M8 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0zM6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm6 5c0 1-1 1-1 1H1s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C9.516 10.68 8.289 10 6 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10zm4.854-7.85a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L12.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconPersonCheckFill=/*#__PURE__*/makeIcon('PersonCheckFill','<path fill-rule="evenodd" d="M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm9.854-2.854a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L12.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconPersonCircle=/*#__PURE__*/makeIcon('PersonCircle','<path d="M13.468 12.37C12.758 11.226 11.195 10 8 10s-4.757 1.225-5.468 2.37A6.987 6.987 0 0 0 8 15a6.987 6.987 0 0 0 5.468-2.63z"/><path fill-rule="evenodd" d="M8 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z"/>');// eslint-disable-next-line
|
|
var BIconPersonDash=/*#__PURE__*/makeIcon('PersonDash','<path fill-rule="evenodd" d="M8 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0zM6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm6 5c0 1-1 1-1 1H1s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C9.516 10.68 8.289 10 6 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10zM11 7.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconPersonDashFill=/*#__PURE__*/makeIcon('PersonDashFill','<path fill-rule="evenodd" d="M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm5-.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconPersonFill=/*#__PURE__*/makeIcon('PersonFill','<path fill-rule="evenodd" d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>');// eslint-disable-next-line
|
|
var BIconPersonLinesFill=/*#__PURE__*/makeIcon('PersonLinesFill','<path fill-rule="evenodd" d="M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm7 1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm2 9a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconPersonPlus=/*#__PURE__*/makeIcon('PersonPlus','<path fill-rule="evenodd" d="M8 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0zM6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm6 5c0 1-1 1-1 1H1s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C9.516 10.68 8.289 10 6 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10zM13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconPersonPlusFill=/*#__PURE__*/makeIcon('PersonPlusFill','<path fill-rule="evenodd" d="M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm7.5-3a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconPersonSquare=/*#__PURE__*/makeIcon('PersonSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M2 15v-1c0-1 1-4 6-4s6 3 6 4v1H2zm6-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>');// eslint-disable-next-line
|
|
var BIconPersonX=/*#__PURE__*/makeIcon('PersonX','<path fill-rule="evenodd" d="M8 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0zM6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm6 5c0 1-1 1-1 1H1s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C9.516 10.68 8.289 10 6 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10zm1.146-7.85a.5.5 0 0 1 .708 0L14 6.293l1.146-1.147a.5.5 0 0 1 .708.708L14.707 7l1.147 1.146a.5.5 0 0 1-.708.708L14 7.707l-1.146 1.147a.5.5 0 0 1-.708-.708L13.293 7l-1.147-1.146a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconPersonXFill=/*#__PURE__*/makeIcon('PersonXFill','<path fill-rule="evenodd" d="M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm6.146-2.854a.5.5 0 0 1 .708 0L14 6.293l1.146-1.147a.5.5 0 0 1 .708.708L14.707 7l1.147 1.146a.5.5 0 0 1-.708.708L14 7.707l-1.146 1.147a.5.5 0 0 1-.708-.708L13.293 7l-1.147-1.146a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconPhone=/*#__PURE__*/makeIcon('Phone','<path fill-rule="evenodd" d="M11 1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM5 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H5z"/><path fill-rule="evenodd" d="M8 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconPhoneFill=/*#__PURE__*/makeIcon('PhoneFill','<path fill-rule="evenodd" d="M3 2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V2zm6 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconPhoneLandscape=/*#__PURE__*/makeIcon('PhoneLandscape','<path fill-rule="evenodd" d="M1 4.5v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1zm-1 6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v6z"/><path fill-rule="evenodd" d="M14 7.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0z"/>');// eslint-disable-next-line
|
|
var BIconPhoneLandscapeFill=/*#__PURE__*/makeIcon('PhoneLandscapeFill','<path fill-rule="evenodd" d="M2 12.5a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H2zm11-6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"/>');// eslint-disable-next-line
|
|
var BIconPhoneVibrate=/*#__PURE__*/makeIcon('PhoneVibrate','<path fill-rule="evenodd" d="M10 3H6a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM6 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H6z"/><path fill-rule="evenodd" d="M8 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM1.599 4.058a.5.5 0 0 1 .208.676A6.967 6.967 0 0 0 1 8c0 1.18.292 2.292.807 3.266a.5.5 0 0 1-.884.468A7.968 7.968 0 0 1 0 8c0-1.347.334-2.619.923-3.734a.5.5 0 0 1 .676-.208zm12.802 0a.5.5 0 0 1 .676.208A7.967 7.967 0 0 1 16 8a7.967 7.967 0 0 1-.923 3.734.5.5 0 0 1-.884-.468A6.967 6.967 0 0 0 15 8c0-1.18-.292-2.292-.807-3.266a.5.5 0 0 1 .208-.676zM3.057 5.534a.5.5 0 0 1 .284.648A4.986 4.986 0 0 0 3 8c0 .642.12 1.255.34 1.818a.5.5 0 1 1-.93.364A5.986 5.986 0 0 1 2 8c0-.769.145-1.505.41-2.182a.5.5 0 0 1 .647-.284zm9.886 0a.5.5 0 0 1 .648.284C13.855 6.495 14 7.231 14 8c0 .769-.145 1.505-.41 2.182a.5.5 0 0 1-.93-.364C12.88 9.255 13 8.642 13 8c0-.642-.12-1.255-.34-1.818a.5.5 0 0 1 .283-.648z"/>');// eslint-disable-next-line
|
|
var BIconPieChart=/*#__PURE__*/makeIcon('PieChart','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M7.5 7.793V1h1v6.5H15v1H8.207l-4.853 4.854-.708-.708L7.5 7.793z"/>');// eslint-disable-next-line
|
|
var BIconPieChartFill=/*#__PURE__*/makeIcon('PieChartFill','<path d="M15.985 8.5H8.207l-5.5 5.5a8 8 0 0 0 13.277-5.5zM2 13.292A8 8 0 0 1 7.5.015v7.778l-5.5 5.5zM8.5.015V7.5h7.485A8.001 8.001 0 0 0 8.5.015z"/>');// eslint-disable-next-line
|
|
var BIconPip=/*#__PURE__*/makeIcon('Pip','<path fill-rule="evenodd" d="M0 3.5A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5v-9zM1.5 3a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z"/><path d="M8 8.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-3z"/>');// eslint-disable-next-line
|
|
var BIconPipFill=/*#__PURE__*/makeIcon('PipFill','<path fill-rule="evenodd" d="M1.5 2A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13zm7 6a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-5z"/>');// eslint-disable-next-line
|
|
var BIconPlay=/*#__PURE__*/makeIcon('Play','<path fill-rule="evenodd" d="M10.804 8L5 4.633v6.734L10.804 8zm.792-.696a.802.802 0 0 1 0 1.392l-6.363 3.692C4.713 12.69 4 12.345 4 11.692V4.308c0-.653.713-.998 1.233-.696l6.363 3.692z"/>');// eslint-disable-next-line
|
|
var BIconPlayFill=/*#__PURE__*/makeIcon('PlayFill','<path d="M11.596 8.697l-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"/>');// eslint-disable-next-line
|
|
var BIconPlug=/*#__PURE__*/makeIcon('Plug','<path fill-rule="evenodd" d="M6 0a.5.5 0 0 1 .5.5V3h3V.5a.5.5 0 0 1 1 0V3h1a.5.5 0 0 1 .5.5v3A3.5 3.5 0 0 1 8.5 10c-.002.434-.01.845-.04 1.22-.041.514-.126 1.003-.317 1.424a2.083 2.083 0 0 1-.97 1.028C6.725 13.9 6.169 14 5.5 14c-.998 0-1.61.33-1.974.718A1.922 1.922 0 0 0 3 16H2c0-.616.232-1.367.797-1.968C3.374 13.42 4.261 13 5.5 13c.581 0 .962-.088 1.218-.219.241-.123.4-.3.514-.55.121-.266.193-.621.23-1.09.027-.34.035-.718.037-1.141A3.5 3.5 0 0 1 4 6.5v-3a.5.5 0 0 1 .5-.5h1V.5A.5.5 0 0 1 6 0zM5 4v2.5A2.5 2.5 0 0 0 7.5 9h1A2.5 2.5 0 0 0 11 6.5V4H5z"/>');// eslint-disable-next-line
|
|
var BIconPlugFill=/*#__PURE__*/makeIcon('PlugFill','<path fill-rule="evenodd" d="M6 0a.5.5 0 0 1 .5.5V3h3V.5a.5.5 0 0 1 1 0V3h1a.5.5 0 0 1 .5.5v3A3.5 3.5 0 0 1 8.5 10c-.002.434-.01.845-.04 1.22-.041.514-.126 1.003-.317 1.424a2.083 2.083 0 0 1-.97 1.028C6.725 13.9 6.169 14 5.5 14c-.998 0-1.61.33-1.974.718A1.922 1.922 0 0 0 3 16H2c0-.616.232-1.367.797-1.968C3.374 13.42 4.261 13 5.5 13c.581 0 .962-.088 1.218-.219.241-.123.4-.3.514-.55.121-.266.193-.621.23-1.09.027-.34.035-.718.037-1.141A3.5 3.5 0 0 1 4 6.5v-3a.5.5 0 0 1 .5-.5h1V.5A.5.5 0 0 1 6 0z"/>');// eslint-disable-next-line
|
|
var BIconPlus=/*#__PURE__*/makeIcon('Plus','<path fill-rule="evenodd" d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>');// eslint-disable-next-line
|
|
var BIconPlusCircle=/*#__PURE__*/makeIcon('PlusCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>');// eslint-disable-next-line
|
|
var BIconPlusCircleFill=/*#__PURE__*/makeIcon('PlusCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/>');// eslint-disable-next-line
|
|
var BIconPlusSquare=/*#__PURE__*/makeIcon('PlusSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>');// eslint-disable-next-line
|
|
var BIconPlusSquareFill=/*#__PURE__*/makeIcon('PlusSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/>');// eslint-disable-next-line
|
|
var BIconPower=/*#__PURE__*/makeIcon('Power','<path fill-rule="evenodd" d="M5.578 4.437a5 5 0 1 0 4.922.044l.5-.866a6 6 0 1 1-5.908-.053l.486.875z"/><path fill-rule="evenodd" d="M7.5 8V1h1v7h-1z"/>');// eslint-disable-next-line
|
|
var BIconPrinter=/*#__PURE__*/makeIcon('Printer','<path d="M11 2H5a1 1 0 0 0-1 1v2H3V3a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2h-1V3a1 1 0 0 0-1-1zm3 4H2a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h1v1H2a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z"/><path fill-rule="evenodd" d="M11 9H5a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1zM5 8a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H5z"/><path d="M3 7.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/>');// eslint-disable-next-line
|
|
var BIconPrinterFill=/*#__PURE__*/makeIcon('PrinterFill','<path d="M5 1a2 2 0 0 0-2 2v1h10V3a2 2 0 0 0-2-2H5z"/><path fill-rule="evenodd" d="M11 9H5a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1z"/><path fill-rule="evenodd" d="M0 7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-1v-2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2H2a2 2 0 0 1-2-2V7zm2.5 1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/>');// eslint-disable-next-line
|
|
var BIconPuzzle=/*#__PURE__*/makeIcon('Puzzle','<path d="M4.605 2.5V2v.5zM3.61 3.6l.498-.043V3.55l-.498.05zM7 2.5h.5A.5.5 0 0 0 7 2v.5zm-.676 1.454l.304.397-.304-.397zm3.352 0l-.304.397.304-.397zM9 2.5V2a.5.5 0 0 0-.5.5H9zm3.39 1.1l-.498-.05v.007l.498.043zM12.1 7l-.498-.043a.5.5 0 0 0 .498.543V7zm1.854-.676l.397.304-.397-.304zm0 3.352l.397-.304-.397.304zM12.1 9v-.5a.5.5 0 0 0-.498.542L12.1 9zm.29 3.4l-.498.043v.007l.498-.05zM9 13.5h-.5a.5.5 0 0 0 .5.5v-.5zm.676-1.454l-.304-.397.304.397zm-3.352 0l.304-.397-.304.397zM7 13.5v.5a.5.5 0 0 0 .5-.5H7zm-2.395 0V13v.5zm-.995-1.1l.498.05v-.007L3.61 12.4zM3.9 9l.498.042A.5.5 0 0 0 3.9 8.5V9zm-1.854.676l-.397-.304.397.304zm0-3.352l-.397.304.397-.304zM3.9 7v.5a.5.5 0 0 0 .498-.543L3.9 7zm.705-5a1.5 1.5 0 0 0-1.493 1.65l.995-.1A.5.5 0 0 1 4.605 3V2zM7 2H4.605v1H7V2zm.5.882V2.5h-1v.382h1zm-.872 1.469c.375-.287.872-.773.872-1.469h-1c0 .195-.147.42-.48.675l.608.794zM6.5 4.5l.001-.006a.113.113 0 0 1 .012-.025.459.459 0 0 1 .115-.118l-.608-.794c-.274.21-.52.528-.52.943h1zM8 5c-.491 0-.912-.1-1.19-.24a.86.86 0 0 1-.271-.194.213.213 0 0 1-.039-.063V4.5h-1c0 .568.447.947.862 1.154C6.807 5.877 7.387 6 8 6V5zm1.5-.5v.003a.213.213 0 0 1-.039.064.86.86 0 0 1-.27.193C8.91 4.9 8.49 5 8 5v1c.613 0 1.193-.123 1.638-.346.415-.207.862-.586.862-1.154h-1zm-.128-.15c.065.05.099.092.115.119.008.013.01.021.012.025L9.5 4.5h1c0-.415-.246-.733-.52-.943l-.608.794zM8.5 2.883c0 .696.497 1.182.872 1.469l.608-.794c-.333-.255-.48-.48-.48-.675h-1zm0-.382v.382h1V2.5h-1zm2.895-.5H9v1h2.395V2zm1.493 1.65A1.5 1.5 0 0 0 11.395 2v1a.5.5 0 0 1 .498.55l.995.1zm-.29 3.392l.29-3.4-.996-.085-.29 3.4.996.085zm.284-.542H12.1v1h.782v-1zm.675-.48c-.255.333-.48.48-.675.48v1c.696 0 1.182-.497 1.469-.872l-.794-.608zm.943-.52c-.415 0-.733.246-.943.52l.794.608a.459.459 0 0 1 .118-.115.113.113 0 0 1 .025-.012L14.5 6.5v-1zM16 8c0-.613-.123-1.193-.346-1.638-.207-.415-.586-.862-1.154-.862v1h.003l.01.003a.237.237 0 0 1 .053.036.86.86 0 0 1 .194.27c.14.28.24.7.24 1.191h1zm-1.5 2.5c.568 0 .947-.447 1.154-.862C15.877 9.193 16 8.613 16 8h-1c0 .491-.1.912-.24 1.19a.86.86 0 0 1-.194.271.214.214 0 0 1-.063.039H14.5v1zm-.943-.52c.21.274.528.52.943.52v-1l-.006-.001a.113.113 0 0 1-.025-.012.458.458 0 0 1-.118-.115l-.794.608zm-.675-.48c.195 0 .42.147.675.48l.794-.608c-.287-.375-.773-.872-1.469-.872v1zm-.782 0h.782v-1H12.1v1zm.788 2.858l-.29-3.4-.996.084.29 3.401.996-.085zM11.395 14a1.5 1.5 0 0 0 1.493-1.65l-.995.1a.5.5 0 0 1-.498.55v1zM9 14h2.395v-1H9v1zm.5-.5v-.382h-1v.382h1zm0-.382c0-.195.147-.42.48-.675l-.608-.794c-.375.287-.872.773-.872 1.469h1zm.48-.675c.274-.21.52-.528.52-.943h-1l-.001.006a.113.113 0 0 1-.012.025.459.459 0 0 1-.115.118l.608.794zm.52-.943c0-.568-.447-.947-.862-1.154C9.193 10.123 8.613 10 8 10v1c.492 0 .912.1 1.19.24.14.07.226.14.271.194a.214.214 0 0 1 .039.063v.003h1zM8 10c-.613 0-1.193.123-1.638.346-.415.207-.862.586-.862 1.154h1v-.003l.003-.01a.214.214 0 0 1 .036-.053.859.859 0 0 1 .27-.194C7.09 11.1 7.51 11 8 11v-1zm-2.5 1.5c0 .415.246.733.52.943l.608-.794a.459.459 0 0 1-.115-.118.113.113 0 0 1-.012-.025L6.5 11.5h-1zm.52.943c.333.255.48.48.48.675h1c0-.696-.497-1.182-.872-1.469l-.608.794zm.48.675v.382h1v-.382h-1zM4.605 14H7v-1H4.605v1zm-1.493-1.65A1.5 1.5 0 0 0 4.605 14v-1a.5.5 0 0 1-.498-.55l-.995-.1zm.29-3.393l-.29 3.401.996.085.29-3.4-.996-.086zm-.284.543H3.9v-1h-.782v1zm-.675.48c.255-.333.48-.48.675-.48v-1c-.696 0-1.182.497-1.469.872l.794.608zm-.943.52c.415 0 .733-.246.943-.52l-.794-.608a.459.459 0 0 1-.118.115.112.112 0 0 1-.025.012L1.5 9.5v1zM0 8c0 .613.123 1.193.346 1.638.207.415.586.862 1.154.862v-1h-.003a.213.213 0 0 1-.064-.039.86.86 0 0 1-.193-.27C1.1 8.91 1 8.49 1 8H0zm1.5-2.5c-.568 0-.947.447-1.154.862C.123 6.807 0 7.387 0 8h1c0-.492.1-.912.24-1.19a.86.86 0 0 1 .194-.271.213.213 0 0 1 .063-.039H1.5v-1zm.943.52c-.21-.274-.528-.52-.943-.52v1l.006.001a.112.112 0 0 1 .025.012c.027.016.068.05.118.115l.794-.608zm.675.48c-.195 0-.42-.147-.675-.48l-.794.608c.287.375.773.872 1.469.872v-1zm.782 0h-.782v1H3.9v-1zm-.788-2.858l.29 3.4.996-.085-.29-3.4-.996.085z"/>');// eslint-disable-next-line
|
|
var BIconPuzzleFill=/*#__PURE__*/makeIcon('PuzzleFill','<path fill-rule="evenodd" d="M3.112 3.645A1.5 1.5 0 0 1 4.605 2H7a.5.5 0 0 1 .5.5v.382c0 .696-.497 1.182-.872 1.469a.459.459 0 0 0-.115.118.113.113 0 0 0-.012.025L6.5 4.5v.003l.003.01c.004.01.014.028.036.053a.86.86 0 0 0 .27.194C7.09 4.9 7.51 5 8 5c.492 0 .912-.1 1.19-.24a.86.86 0 0 0 .271-.194.213.213 0 0 0 .036-.054l.003-.01v-.008a.112.112 0 0 0-.012-.025.459.459 0 0 0-.115-.118c-.375-.287-.872-.773-.872-1.469V2.5A.5.5 0 0 1 9 2h2.395a1.5 1.5 0 0 1 1.493 1.645L12.645 6.5h.237c.195 0 .42-.147.675-.48.21-.274.528-.52.943-.52.568 0 .947.447 1.154.862C15.877 6.807 16 7.387 16 8s-.123 1.193-.346 1.638c-.207.415-.586.862-1.154.862-.415 0-.733-.246-.943-.52-.255-.333-.48-.48-.675-.48h-.237l.243 2.855A1.5 1.5 0 0 1 11.395 14H9a.5.5 0 0 1-.5-.5v-.382c0-.696.497-1.182.872-1.469a.459.459 0 0 0 .115-.118.113.113 0 0 0 .012-.025L9.5 11.5v-.003l-.003-.01a.214.214 0 0 0-.036-.053.859.859 0 0 0-.27-.194C8.91 11.1 8.49 11 8 11c-.491 0-.912.1-1.19.24a.859.859 0 0 0-.271.194.214.214 0 0 0-.036.054l-.003.01v.002l.001.006a.113.113 0 0 0 .012.025c.016.027.05.068.115.118.375.287.872.773.872 1.469v.382a.5.5 0 0 1-.5.5H4.605a1.5 1.5 0 0 1-1.493-1.645L3.356 9.5h-.238c-.195 0-.42.147-.675.48-.21.274-.528.52-.943.52-.568 0-.947-.447-1.154-.862C.123 9.193 0 8.613 0 8s.123-1.193.346-1.638C.553 5.947.932 5.5 1.5 5.5c.415 0 .733.246.943.52.255.333.48.48.675.48h.238l-.244-2.855z"/>');// eslint-disable-next-line
|
|
var BIconQuestion=/*#__PURE__*/makeIcon('Question','<path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z"/>');// eslint-disable-next-line
|
|
var BIconQuestionCircle=/*#__PURE__*/makeIcon('QuestionCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z"/>');// eslint-disable-next-line
|
|
var BIconQuestionCircleFill=/*#__PURE__*/makeIcon('QuestionCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.496 6.033a.237.237 0 0 1-.24-.247C5.35 4.091 6.737 3.5 8.005 3.5c1.396 0 2.672.73 2.672 2.24 0 1.08-.635 1.594-1.244 2.057-.737.559-1.01.768-1.01 1.486v.105a.25.25 0 0 1-.25.25h-.81a.25.25 0 0 1-.25-.246l-.004-.217c-.038-.927.495-1.498 1.168-1.987.59-.444.965-.736.965-1.371 0-.825-.628-1.168-1.314-1.168-.803 0-1.253.478-1.342 1.134-.018.137-.128.25-.266.25h-.825zm2.325 6.443c-.584 0-1.009-.394-1.009-.927 0-.552.425-.94 1.01-.94.609 0 1.028.388 1.028.94 0 .533-.42.927-1.029.927z"/>');// eslint-disable-next-line
|
|
var BIconQuestionDiamond=/*#__PURE__*/makeIcon('QuestionDiamond','<path fill-rule="evenodd" d="M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.482 1.482 0 0 1 0-2.098L6.95.435zm1.4.7a.495.495 0 0 0-.7 0L1.134 7.65a.495.495 0 0 0 0 .7l6.516 6.516a.495.495 0 0 0 .7 0l6.516-6.516a.495.495 0 0 0 0-.7L8.35 1.134z"/><path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z"/>');// eslint-disable-next-line
|
|
var BIconQuestionDiamondFill=/*#__PURE__*/makeIcon('QuestionDiamondFill','<path fill-rule="evenodd" d="M9.05.435c-.58-.58-1.52-.58-2.1 0L.436 6.95c-.58.58-.58 1.519 0 2.098l6.516 6.516c.58.58 1.519.58 2.098 0l6.516-6.516c.58-.58.58-1.519 0-2.098L9.05.435zM5.495 6.033a.237.237 0 0 1-.24-.247C5.35 4.091 6.737 3.5 8.005 3.5c1.396 0 2.672.73 2.672 2.24 0 1.08-.635 1.594-1.244 2.057-.737.559-1.01.768-1.01 1.486v.105a.25.25 0 0 1-.25.25h-.81a.25.25 0 0 1-.25-.246l-.004-.217c-.038-.927.495-1.498 1.168-1.987.59-.444.965-.736.965-1.371 0-.825-.628-1.168-1.314-1.168-.803 0-1.253.478-1.342 1.134-.018.137-.128.25-.266.25h-.825zm2.325 6.443c-.584 0-1.009-.394-1.009-.927 0-.552.425-.94 1.01-.94.609 0 1.028.388 1.028.94 0 .533-.42.927-1.029.927z"/>');// eslint-disable-next-line
|
|
var BIconQuestionOctagon=/*#__PURE__*/makeIcon('QuestionOctagon','<path fill-rule="evenodd" d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1H5.1z"/><path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z"/>');// eslint-disable-next-line
|
|
var BIconQuestionOctagonFill=/*#__PURE__*/makeIcon('QuestionOctagonFill','<path fill-rule="evenodd" d="M11.46.146A.5.5 0 0 0 11.107 0H4.893a.5.5 0 0 0-.353.146L.146 4.54A.5.5 0 0 0 0 4.893v6.214a.5.5 0 0 0 .146.353l4.394 4.394a.5.5 0 0 0 .353.146h6.214a.5.5 0 0 0 .353-.146l4.394-4.394a.5.5 0 0 0 .146-.353V4.893a.5.5 0 0 0-.146-.353L11.46.146zM5.496 6.033a.237.237 0 0 1-.24-.247C5.35 4.091 6.737 3.5 8.005 3.5c1.396 0 2.672.73 2.672 2.24 0 1.08-.635 1.594-1.244 2.057-.737.559-1.01.768-1.01 1.486v.105a.25.25 0 0 1-.25.25h-.81a.25.25 0 0 1-.25-.246l-.004-.217c-.038-.927.495-1.498 1.168-1.987.59-.444.965-.736.965-1.371 0-.825-.628-1.168-1.314-1.168-.803 0-1.253.478-1.342 1.134-.018.137-.128.25-.266.25h-.825zm2.325 6.443c-.584 0-1.009-.394-1.009-.927 0-.552.425-.94 1.01-.94.609 0 1.028.388 1.028.94 0 .533-.42.927-1.029.927z"/>');// eslint-disable-next-line
|
|
var BIconQuestionSquare=/*#__PURE__*/makeIcon('QuestionSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z"/>');// eslint-disable-next-line
|
|
var BIconQuestionSquareFill=/*#__PURE__*/makeIcon('QuestionSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm3.496 6.033a.237.237 0 0 1-.24-.247C5.35 4.091 6.737 3.5 8.005 3.5c1.396 0 2.672.73 2.672 2.24 0 1.08-.635 1.594-1.244 2.057-.737.559-1.01.768-1.01 1.486v.105a.25.25 0 0 1-.25.25h-.81a.25.25 0 0 1-.25-.246l-.004-.217c-.038-.927.495-1.498 1.168-1.987.59-.444.965-.736.965-1.371 0-.825-.628-1.168-1.314-1.168-.803 0-1.253.478-1.342 1.134-.018.137-.128.25-.266.25h-.825zm2.325 6.443c-.584 0-1.009-.394-1.009-.927 0-.552.425-.94 1.01-.94.609 0 1.028.388 1.028.94 0 .533-.42.927-1.029.927z"/>');// eslint-disable-next-line
|
|
var BIconReceipt=/*#__PURE__*/makeIcon('Receipt','<path fill-rule="evenodd" d="M1.92.506a.5.5 0 0 1 .434.14L3 1.293l.646-.647a.5.5 0 0 1 .708 0L5 1.293l.646-.647a.5.5 0 0 1 .708 0L7 1.293l.646-.647a.5.5 0 0 1 .708 0L9 1.293l.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .801.13l.5 1A.5.5 0 0 1 15 2v12a.5.5 0 0 1-.053.224l-.5 1a.5.5 0 0 1-.8.13L13 14.707l-.646.647a.5.5 0 0 1-.708 0L11 14.707l-.646.647a.5.5 0 0 1-.708 0L9 14.707l-.646.647a.5.5 0 0 1-.708 0L7 14.707l-.646.647a.5.5 0 0 1-.708 0L5 14.707l-.646.647a.5.5 0 0 1-.708 0L3 14.707l-.646.647a.5.5 0 0 1-.801-.13l-.5-1A.5.5 0 0 1 1 14V2a.5.5 0 0 1 .053-.224l.5-1a.5.5 0 0 1 .367-.27zm.217 1.338L2 2.118v11.764l.137.274.51-.51a.5.5 0 0 1 .707 0l.646.647.646-.646a.5.5 0 0 1 .708 0l.646.646.646-.646a.5.5 0 0 1 .708 0l.646.646.646-.646a.5.5 0 0 1 .708 0l.646.646.646-.646a.5.5 0 0 1 .708 0l.646.646.646-.646a.5.5 0 0 1 .708 0l.509.509.137-.274V2.118l-.137-.274-.51.51a.5.5 0 0 1-.707 0L12 1.707l-.646.647a.5.5 0 0 1-.708 0L10 1.707l-.646.647a.5.5 0 0 1-.708 0L8 1.707l-.646.647a.5.5 0 0 1-.708 0L6 1.707l-.646.647a.5.5 0 0 1-.708 0L4 1.707l-.646.647a.5.5 0 0 1-.708 0l-.509-.51z"/><path fill-rule="evenodd" d="M3 4.5a.5.5 0 0 1 .5-.5h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm8-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconReceiptCutoff=/*#__PURE__*/makeIcon('ReceiptCutoff','<path fill-rule="evenodd" d="M1.92.506a.5.5 0 0 1 .434.14L3 1.293l.646-.647a.5.5 0 0 1 .708 0L5 1.293l.646-.647a.5.5 0 0 1 .708 0L7 1.293l.646-.647a.5.5 0 0 1 .708 0L9 1.293l.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .801.13l.5 1A.5.5 0 0 1 15 2v13h-1V2.118l-.137-.274-.51.51a.5.5 0 0 1-.707 0L12 1.707l-.646.647a.5.5 0 0 1-.708 0L10 1.707l-.646.647a.5.5 0 0 1-.708 0L8 1.707l-.646.647a.5.5 0 0 1-.708 0L6 1.707l-.646.647a.5.5 0 0 1-.708 0L4 1.707l-.646.647a.5.5 0 0 1-.708 0l-.509-.51L2 2.118V15H1V2a.5.5 0 0 1 .053-.224l.5-1a.5.5 0 0 1 .367-.27zM0 15.5a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5z"/><path fill-rule="evenodd" d="M3 4.5a.5.5 0 0 1 .5-.5h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm8-8a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconReception0=/*#__PURE__*/makeIcon('Reception0','<path d="M0 13.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm4 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm4 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm4 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconReception1=/*#__PURE__*/makeIcon('Reception1','<path d="M0 11.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2zm4 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm4 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm4 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconReception2=/*#__PURE__*/makeIcon('Reception2','<path d="M0 11.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2zm4-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-5zm4 5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm4 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconReception3=/*#__PURE__*/makeIcon('Reception3','<path d="M0 11.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2zm4-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-5zm4-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-8zm4 8a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconReception4=/*#__PURE__*/makeIcon('Reception4','<path d="M0 11.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2zm4-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-5zm4-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-8zm4-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-11z"/>');// eslint-disable-next-line
|
|
var BIconReply=/*#__PURE__*/makeIcon('Reply','<path fill-rule="evenodd" d="M9.502 5.013a.144.144 0 0 0-.202.134V6.3a.5.5 0 0 1-.5.5c-.667 0-2.013.005-3.3.822-.984.624-1.99 1.76-2.595 3.876C3.925 10.515 5.09 9.982 6.11 9.7a8.741 8.741 0 0 1 1.921-.306 7.403 7.403 0 0 1 .798.008h.013l.005.001h.001L8.8 9.9l.05-.498a.5.5 0 0 1 .45.498v1.153c0 .108.11.176.202.134l3.984-2.933a.494.494 0 0 1 .042-.028.147.147 0 0 0 0-.252.494.494 0 0 1-.042-.028L9.502 5.013zM8.3 10.386a7.745 7.745 0 0 0-1.923.277c-1.326.368-2.896 1.201-3.94 3.08a.5.5 0 0 1-.933-.305c.464-3.71 1.886-5.662 3.46-6.66 1.245-.79 2.527-.942 3.336-.971v-.66a1.144 1.144 0 0 1 1.767-.96l3.994 2.94a1.147 1.147 0 0 1 0 1.946l-3.994 2.94a1.144 1.144 0 0 1-1.767-.96v-.667z"/>');// eslint-disable-next-line
|
|
var BIconReplyAll=/*#__PURE__*/makeIcon('ReplyAll','<path fill-rule="evenodd" d="M8.002 5.013a.144.144 0 0 0-.202.134V6.3a.5.5 0 0 1-.5.5c-.667 0-2.013.005-3.3.822-.984.624-1.99 1.76-2.595 3.876C2.425 10.515 3.59 9.982 4.61 9.7a8.741 8.741 0 0 1 1.921-.306 7.403 7.403 0 0 1 .798.008h.013l.005.001h.001L7.3 9.9l.05-.498a.5.5 0 0 1 .45.498v1.153c0 .108.11.176.202.134l3.984-2.933a.494.494 0 0 1 .042-.028.147.147 0 0 0 0-.252.494.494 0 0 1-.042-.028L8.002 5.013zM6.8 10.386a7.745 7.745 0 0 0-1.923.277c-1.326.368-2.896 1.201-3.94 3.08a.5.5 0 0 1-.933-.305c.464-3.71 1.886-5.662 3.46-6.66 1.245-.79 2.527-.942 3.336-.971v-.66a1.144 1.144 0 0 1 1.767-.96l3.994 2.94a1.147 1.147 0 0 1 0 1.946l-3.994 2.94a1.144 1.144 0 0 1-1.767-.96v-.667z"/><path fill-rule="evenodd" d="M10.868 4.293a.5.5 0 0 1 .7-.106l3.993 2.94a1.147 1.147 0 0 1 0 1.946l-3.994 2.94a.5.5 0 0 1-.593-.805l4.012-2.954a.493.493 0 0 1 .042-.028.147.147 0 0 0 0-.252.496.496 0 0 1-.042-.028l-4.012-2.954a.5.5 0 0 1-.106-.699z"/>');// eslint-disable-next-line
|
|
var BIconReplyAllFill=/*#__PURE__*/makeIcon('ReplyAllFill','<path d="M8.079 11.9l4.568-3.281a.719.719 0 0 0 0-1.238L8.079 4.1A.716.716 0 0 0 7 4.719V6c-1.5 0-6 0-7 8 2.5-4.5 7-4 7-4v1.281c0 .56.606.898 1.079.62z"/><path fill-rule="evenodd" d="M10.868 4.293a.5.5 0 0 1 .7-.106l3.993 2.94a1.147 1.147 0 0 1 0 1.946l-3.994 2.94a.5.5 0 0 1-.593-.805l4.012-2.954a.493.493 0 0 1 .042-.028.147.147 0 0 0 0-.252.496.496 0 0 1-.042-.028l-4.012-2.954a.5.5 0 0 1-.106-.699z"/>');// eslint-disable-next-line
|
|
var BIconReplyFill=/*#__PURE__*/makeIcon('ReplyFill','<path d="M9.079 11.9l4.568-3.281a.719.719 0 0 0 0-1.238L9.079 4.1A.716.716 0 0 0 8 4.719V6c-1.5 0-6 0-7 8 2.5-4.5 7-4 7-4v1.281c0 .56.606.898 1.079.62z"/>');// eslint-disable-next-line
|
|
var BIconRss=/*#__PURE__*/makeIcon('Rss','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M5.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path fill-rule="evenodd" d="M2.5 3.5a1 1 0 0 1 1-1c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1 6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1-1-1z"/>');// eslint-disable-next-line
|
|
var BIconRssFill=/*#__PURE__*/makeIcon('RssFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm1.5 2.5a1 1 0 0 0 0 2 8 8 0 0 1 8 8 1 1 0 1 0 2 0c0-5.523-4.477-10-10-10zm0 4a1 1 0 0 0 0 2 4 4 0 0 1 4 4 1 1 0 1 0 2 0 6 6 0 0 0-6-6zm.5 7a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconScissors=/*#__PURE__*/makeIcon('Scissors','<path fill-rule="evenodd" d="M3.5 3.5c-.614-.884-.074-1.962.858-2.5L8 7.226 11.642 1c.932.538 1.472 1.616.858 2.5L8.81 8.61l1.556 2.661a2.5 2.5 0 1 1-.794.637L8 9.73l-1.572 2.177a2.5 2.5 0 1 1-.794-.637L7.19 8.61 3.5 3.5zm2.5 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm7 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconScrewdriver=/*#__PURE__*/makeIcon('Screwdriver','<path fill-rule="evenodd" d="M0 1l1-1 3.081 2.2a1 1 0 0 1 .419.815v.07a1 1 0 0 0 .293.708L10.5 9.5l.914-.305a1 1 0 0 1 1.023.242l3.356 3.356a1 1 0 0 1 0 1.414l-1.586 1.586a1 1 0 0 1-1.414 0l-3.356-3.356a1 1 0 0 1-.242-1.023L9.5 10.5 3.793 4.793a1 1 0 0 0-.707-.293h-.071a1 1 0 0 1-.814-.419L0 1zm11.354 9.646a.5.5 0 0 0-.708.708l3 3a.5.5 0 0 0 .708-.708l-3-3z"/>');// eslint-disable-next-line
|
|
var BIconSearch=/*#__PURE__*/makeIcon('Search','<path fill-rule="evenodd" d="M10.442 10.442a1 1 0 0 1 1.415 0l3.85 3.85a1 1 0 0 1-1.414 1.415l-3.85-3.85a1 1 0 0 1 0-1.415z"/><path fill-rule="evenodd" d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"/>');// eslint-disable-next-line
|
|
var BIconSegmentedNav=/*#__PURE__*/makeIcon('SegmentedNav','<path fill-rule="evenodd" d="M14 5H6v4h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zM2 4a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M10 9V5h1v4h-1z"/>');// eslint-disable-next-line
|
|
var BIconServer=/*#__PURE__*/makeIcon('Server','<path fill-rule="evenodd" d="M1.333 2.667C1.333 1.194 4.318 0 8 0s6.667 1.194 6.667 2.667V4C14.665 5.474 11.68 6.667 8 6.667 4.318 6.667 1.333 5.473 1.333 4V2.667zm0 3.667v3C1.333 10.805 4.318 12 8 12c3.68 0 6.665-1.193 6.667-2.665V6.334c-.43.32-.931.58-1.458.79C11.81 7.684 9.967 8 8 8c-1.967 0-3.81-.317-5.21-.876a6.508 6.508 0 0 1-1.457-.79zm13.334 5.334c-.43.319-.931.578-1.458.789-1.4.56-3.242.876-5.209.876-1.967 0-3.81-.316-5.21-.876a6.51 6.51 0 0 1-1.457-.79v1.666C1.333 14.806 4.318 16 8 16s6.667-1.194 6.667-2.667v-1.665z"/>');// eslint-disable-next-line
|
|
var BIconShare=/*#__PURE__*/makeIcon('Share','<path fill-rule="evenodd" d="M13.5 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM11 2.5a2.5 2.5 0 1 1 .603 1.628l-6.718 3.12a2.499 2.499 0 0 1 0 1.504l6.718 3.12a2.5 2.5 0 1 1-.488.876l-6.718-3.12a2.5 2.5 0 1 1 0-3.256l6.718-3.12A2.5 2.5 0 0 1 11 2.5zm-8.5 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm11 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"/>');// eslint-disable-next-line
|
|
var BIconShareFill=/*#__PURE__*/makeIcon('ShareFill','<path fill-rule="evenodd" d="M11 2.5a2.5 2.5 0 1 1 .603 1.628l-6.718 3.12a2.499 2.499 0 0 1 0 1.504l6.718 3.12a2.5 2.5 0 1 1-.488.876l-6.718-3.12a2.5 2.5 0 1 1 0-3.256l6.718-3.12A2.5 2.5 0 0 1 11 2.5z"/>');// eslint-disable-next-line
|
|
var BIconShield=/*#__PURE__*/makeIcon('Shield','<path fill-rule="evenodd" d="M5.443 1.991a60.17 60.17 0 0 0-2.725.802.454.454 0 0 0-.315.366C1.87 7.056 3.1 9.9 4.567 11.773c.736.94 1.533 1.636 2.197 2.093.333.228.626.394.857.5.116.053.21.089.282.11A.73.73 0 0 0 8 14.5c.007-.001.038-.005.097-.023.072-.022.166-.058.282-.111.23-.106.525-.272.857-.5a10.197 10.197 0 0 0 2.197-2.093C12.9 9.9 14.13 7.056 13.597 3.159a.454.454 0 0 0-.315-.366c-.626-.2-1.682-.526-2.725-.802C9.491 1.71 8.51 1.5 8 1.5c-.51 0-1.49.21-2.557.491zm-.256-.966C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.573 4.197-.756 7.307-2.367 9.365a11.191 11.191 0 0 1-2.418 2.3 6.942 6.942 0 0 1-1.007.586c-.27.124-.558.225-.796.225s-.526-.101-.796-.225a6.908 6.908 0 0 1-1.007-.586 11.192 11.192 0 0 1-2.417-2.3C2.167 10.331.839 7.221 1.412 3.024A1.454 1.454 0 0 1 2.415 1.84a61.11 61.11 0 0 1 2.772-.815z"/>');// eslint-disable-next-line
|
|
var BIconShieldCheck=/*#__PURE__*/makeIcon('ShieldCheck','<path fill-rule="evenodd" d="M5.443 1.991a60.17 60.17 0 0 0-2.725.802.454.454 0 0 0-.315.366C1.87 7.056 3.1 9.9 4.567 11.773c.736.94 1.533 1.636 2.197 2.093.333.228.626.394.857.5.116.053.21.089.282.11A.73.73 0 0 0 8 14.5c.007-.001.038-.005.097-.023.072-.022.166-.058.282-.111.23-.106.525-.272.857-.5a10.197 10.197 0 0 0 2.197-2.093C12.9 9.9 14.13 7.056 13.597 3.159a.454.454 0 0 0-.315-.366c-.626-.2-1.682-.526-2.725-.802C9.491 1.71 8.51 1.5 8 1.5c-.51 0-1.49.21-2.557.491zm-.256-.966C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.573 4.197-.756 7.307-2.367 9.365a11.191 11.191 0 0 1-2.418 2.3 6.942 6.942 0 0 1-1.007.586c-.27.124-.558.225-.796.225s-.526-.101-.796-.225a6.908 6.908 0 0 1-1.007-.586 11.192 11.192 0 0 1-2.417-2.3C2.167 10.331.839 7.221 1.412 3.024A1.454 1.454 0 0 1 2.415 1.84a61.11 61.11 0 0 1 2.772-.815z"/><path fill-rule="evenodd" d="M10.854 6.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 8.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconShieldExclamation=/*#__PURE__*/makeIcon('ShieldExclamation','<path fill-rule="evenodd" d="M5.443 1.991a60.17 60.17 0 0 0-2.725.802.454.454 0 0 0-.315.366C1.87 7.056 3.1 9.9 4.567 11.773c.736.94 1.533 1.636 2.197 2.093.333.228.626.394.857.5.116.053.21.089.282.11A.73.73 0 0 0 8 14.5c.007-.001.038-.005.097-.023.072-.022.166-.058.282-.111.23-.106.525-.272.857-.5a10.197 10.197 0 0 0 2.197-2.093C12.9 9.9 14.13 7.056 13.597 3.159a.454.454 0 0 0-.315-.366c-.626-.2-1.682-.526-2.725-.802C9.491 1.71 8.51 1.5 8 1.5c-.51 0-1.49.21-2.557.491zm-.256-.966C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.573 4.197-.756 7.307-2.367 9.365a11.191 11.191 0 0 1-2.418 2.3 6.942 6.942 0 0 1-1.007.586c-.27.124-.558.225-.796.225s-.526-.101-.796-.225a6.908 6.908 0 0 1-1.007-.586 11.192 11.192 0 0 1-2.417-2.3C2.167 10.331.839 7.221 1.412 3.024A1.454 1.454 0 0 1 2.415 1.84a61.11 61.11 0 0 1 2.772-.815z"/><path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>');// eslint-disable-next-line
|
|
var BIconShieldFill=/*#__PURE__*/makeIcon('ShieldFill','<path fill-rule="evenodd" d="M5.187 1.025C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.573 4.197-.756 7.307-2.367 9.365a11.191 11.191 0 0 1-2.418 2.3 6.942 6.942 0 0 1-1.007.586c-.27.124-.558.225-.796.225s-.526-.101-.796-.225a6.908 6.908 0 0 1-1.007-.586 11.192 11.192 0 0 1-2.417-2.3C2.167 10.331.839 7.221 1.412 3.024A1.454 1.454 0 0 1 2.415 1.84a61.11 61.11 0 0 1 2.772-.815z"/>');// eslint-disable-next-line
|
|
var BIconShieldFillCheck=/*#__PURE__*/makeIcon('ShieldFillCheck','<path fill-rule="evenodd" d="M8 .5c-.662 0-1.77.249-2.813.525a61.11 61.11 0 0 0-2.772.815 1.454 1.454 0 0 0-1.003 1.184c-.573 4.197.756 7.307 2.368 9.365a11.192 11.192 0 0 0 2.417 2.3c.371.256.715.451 1.007.586.27.124.558.225.796.225s.527-.101.796-.225c.292-.135.636-.33 1.007-.586a11.191 11.191 0 0 0 2.418-2.3c1.611-2.058 2.94-5.168 2.367-9.365a1.454 1.454 0 0 0-1.003-1.184 61.09 61.09 0 0 0-2.772-.815C9.77.749 8.663.5 8 .5zm2.854 6.354a.5.5 0 0 0-.708-.708L7.5 8.793 6.354 7.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>');// eslint-disable-next-line
|
|
var BIconShieldFillExclamation=/*#__PURE__*/makeIcon('ShieldFillExclamation','<path fill-rule="evenodd" d="M8 .5c-.662 0-1.77.249-2.813.525a61.11 61.11 0 0 0-2.772.815 1.454 1.454 0 0 0-1.003 1.184c-.573 4.197.756 7.307 2.368 9.365a11.192 11.192 0 0 0 2.417 2.3c.371.256.715.451 1.007.586.27.124.558.225.796.225s.527-.101.796-.225c.292-.135.636-.33 1.007-.586a11.191 11.191 0 0 0 2.418-2.3c1.611-2.058 2.94-5.168 2.367-9.365a1.454 1.454 0 0 0-1.003-1.184 61.09 61.09 0 0 0-2.772-.815C9.77.749 8.663.5 8 .5zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.553.553 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconShieldFillMinus=/*#__PURE__*/makeIcon('ShieldFillMinus','<path fill-rule="evenodd" d="M8 .5c-.662 0-1.77.249-2.813.525a61.11 61.11 0 0 0-2.772.815 1.454 1.454 0 0 0-1.003 1.184c-.573 4.197.756 7.307 2.368 9.365a11.192 11.192 0 0 0 2.417 2.3c.371.256.715.451 1.007.586.27.124.558.225.796.225s.527-.101.796-.225c.292-.135.636-.33 1.007-.586a11.191 11.191 0 0 0 2.418-2.3c1.611-2.058 2.94-5.168 2.367-9.365a1.454 1.454 0 0 0-1.003-1.184 61.09 61.09 0 0 0-2.772-.815C9.77.749 8.663.5 8 .5zm-2 7a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6z"/>');// eslint-disable-next-line
|
|
var BIconShieldFillPlus=/*#__PURE__*/makeIcon('ShieldFillPlus','<path fill-rule="evenodd" d="M8 .5c-.662 0-1.77.249-2.813.525a61.11 61.11 0 0 0-2.772.815 1.454 1.454 0 0 0-1.003 1.184c-.573 4.197.756 7.307 2.368 9.365a11.192 11.192 0 0 0 2.417 2.3c.371.256.715.451 1.007.586.27.124.558.225.796.225s.527-.101.796-.225c.292-.135.636-.33 1.007-.586a11.191 11.191 0 0 0 2.418-2.3c1.611-2.058 2.94-5.168 2.367-9.365a1.454 1.454 0 0 0-1.003-1.184 61.09 61.09 0 0 0-2.772-.815C9.77.749 8.663.5 8 .5zM8.5 6a.5.5 0 0 0-1 0v1.5H6a.5.5 0 0 0 0 1h1.5V10a.5.5 0 0 0 1 0V8.5H10a.5.5 0 0 0 0-1H8.5V6z"/>');// eslint-disable-next-line
|
|
var BIconShieldFillX=/*#__PURE__*/makeIcon('ShieldFillX','<path fill-rule="evenodd" d="M8 .5c-.662 0-1.77.249-2.813.525a61.11 61.11 0 0 0-2.772.815 1.454 1.454 0 0 0-1.003 1.184c-.573 4.197.756 7.307 2.368 9.365a11.192 11.192 0 0 0 2.417 2.3c.371.256.715.451 1.007.586.27.124.558.225.796.225s.527-.101.796-.225c.292-.135.636-.33 1.007-.586a11.191 11.191 0 0 0 2.418-2.3c1.611-2.058 2.94-5.168 2.367-9.365a1.454 1.454 0 0 0-1.003-1.184 61.09 61.09 0 0 0-2.772-.815C9.77.749 8.663.5 8 .5zM6.854 6.146a.5.5 0 1 0-.708.708L7.293 8 6.146 9.146a.5.5 0 1 0 .708.708L8 8.707l1.146 1.147a.5.5 0 0 0 .708-.708L8.707 8l1.147-1.146a.5.5 0 0 0-.708-.708L8 7.293 6.854 6.146z"/>');// eslint-disable-next-line
|
|
var BIconShieldLock=/*#__PURE__*/makeIcon('ShieldLock','<path fill-rule="evenodd" d="M5.443 1.991a60.17 60.17 0 0 0-2.725.802.454.454 0 0 0-.315.366C1.87 7.056 3.1 9.9 4.567 11.773c.736.94 1.533 1.636 2.197 2.093.333.228.626.394.857.5.116.053.21.089.282.11A.73.73 0 0 0 8 14.5c.007-.001.038-.005.097-.023.072-.022.166-.058.282-.111.23-.106.525-.272.857-.5a10.197 10.197 0 0 0 2.197-2.093C12.9 9.9 14.13 7.056 13.597 3.159a.454.454 0 0 0-.315-.366c-.626-.2-1.682-.526-2.725-.802C9.491 1.71 8.51 1.5 8 1.5c-.51 0-1.49.21-2.557.491zm-.256-.966C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.573 4.197-.756 7.307-2.367 9.365a11.191 11.191 0 0 1-2.418 2.3 6.942 6.942 0 0 1-1.007.586c-.27.124-.558.225-.796.225s-.526-.101-.796-.225a6.908 6.908 0 0 1-1.007-.586 11.192 11.192 0 0 1-2.417-2.3C2.167 10.331.839 7.221 1.412 3.024A1.454 1.454 0 0 1 2.415 1.84a61.11 61.11 0 0 1 2.772-.815z"/><path d="M9.5 6.5a1.5 1.5 0 0 1-1 1.415l.385 1.99a.5.5 0 0 1-.491.595h-.788a.5.5 0 0 1-.49-.595l.384-1.99a1.5 1.5 0 1 1 2-1.415z"/>');// eslint-disable-next-line
|
|
var BIconShieldLockFill=/*#__PURE__*/makeIcon('ShieldLockFill','<path fill-rule="evenodd" d="M8 .5c-.662 0-1.77.249-2.813.525a61.11 61.11 0 0 0-2.772.815 1.454 1.454 0 0 0-1.003 1.184c-.573 4.197.756 7.307 2.368 9.365a11.192 11.192 0 0 0 2.417 2.3c.371.256.715.451 1.007.586.27.124.558.225.796.225s.527-.101.796-.225c.292-.135.636-.33 1.007-.586a11.191 11.191 0 0 0 2.418-2.3c1.611-2.058 2.94-5.168 2.367-9.365a1.454 1.454 0 0 0-1.003-1.184 61.09 61.09 0 0 0-2.772-.815C9.77.749 8.663.5 8 .5zm.5 7.415a1.5 1.5 0 1 0-1 0l-.385 1.99a.5.5 0 0 0 .491.595h.788a.5.5 0 0 0 .49-.595L8.5 7.915z"/>');// eslint-disable-next-line
|
|
var BIconShieldMinus=/*#__PURE__*/makeIcon('ShieldMinus','<path fill-rule="evenodd" d="M5.443 1.991a60.17 60.17 0 0 0-2.725.802.454.454 0 0 0-.315.366C1.87 7.056 3.1 9.9 4.567 11.773c.736.94 1.533 1.636 2.197 2.093.333.228.626.394.857.5.116.053.21.089.282.11A.73.73 0 0 0 8 14.5c.007-.001.038-.005.097-.023.072-.022.166-.058.282-.111.23-.106.525-.272.857-.5a10.197 10.197 0 0 0 2.197-2.093C12.9 9.9 14.13 7.056 13.597 3.159a.454.454 0 0 0-.315-.366c-.626-.2-1.682-.526-2.725-.802C9.491 1.71 8.51 1.5 8 1.5c-.51 0-1.49.21-2.557.491zm-.256-.966C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.573 4.197-.756 7.307-2.367 9.365a11.191 11.191 0 0 1-2.418 2.3 6.942 6.942 0 0 1-1.007.586c-.27.124-.558.225-.796.225s-.526-.101-.796-.225a6.908 6.908 0 0 1-1.007-.586 11.192 11.192 0 0 1-2.417-2.3C2.167 10.331.839 7.221 1.412 3.024A1.454 1.454 0 0 1 2.415 1.84a61.11 61.11 0 0 1 2.772-.815z"/><path fill-rule="evenodd" d="M5.5 8a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconShieldPlus=/*#__PURE__*/makeIcon('ShieldPlus','<path fill-rule="evenodd" d="M5.443 1.991a60.17 60.17 0 0 0-2.725.802.454.454 0 0 0-.315.366C1.87 7.056 3.1 9.9 4.567 11.773c.736.94 1.533 1.636 2.197 2.093.333.228.626.394.857.5.116.053.21.089.282.11A.73.73 0 0 0 8 14.5c.007-.001.038-.005.097-.023.072-.022.166-.058.282-.111.23-.106.525-.272.857-.5a10.197 10.197 0 0 0 2.197-2.093C12.9 9.9 14.13 7.056 13.597 3.159a.454.454 0 0 0-.315-.366c-.626-.2-1.682-.526-2.725-.802C9.491 1.71 8.51 1.5 8 1.5c-.51 0-1.49.21-2.557.491zm-.256-.966C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.573 4.197-.756 7.307-2.367 9.365a11.191 11.191 0 0 1-2.418 2.3 6.942 6.942 0 0 1-1.007.586c-.27.124-.558.225-.796.225s-.526-.101-.796-.225a6.908 6.908 0 0 1-1.007-.586 11.192 11.192 0 0 1-2.417-2.3C2.167 10.331.839 7.221 1.412 3.024A1.454 1.454 0 0 1 2.415 1.84a61.11 61.11 0 0 1 2.772-.815z"/><path fill-rule="evenodd" d="M8 5.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V10a.5.5 0 0 1-1 0V8.5H6a.5.5 0 0 1 0-1h1.5V6a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconShieldShaded=/*#__PURE__*/makeIcon('ShieldShaded','<path fill-rule="evenodd" d="M5.443 1.991a60.17 60.17 0 0 0-2.725.802.454.454 0 0 0-.315.366C1.87 7.056 3.1 9.9 4.567 11.773c.736.94 1.533 1.636 2.197 2.093.333.228.626.394.857.5.116.053.21.089.282.11A.73.73 0 0 0 8 14.5c.007-.001.038-.005.097-.023.072-.022.166-.058.282-.111.23-.106.525-.272.857-.5a10.197 10.197 0 0 0 2.197-2.093C12.9 9.9 14.13 7.056 13.597 3.159a.454.454 0 0 0-.315-.366c-.626-.2-1.682-.526-2.725-.802C9.491 1.71 8.51 1.5 8 1.5c-.51 0-1.49.21-2.557.491zm-.256-.966C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.573 4.197-.756 7.307-2.367 9.365a11.191 11.191 0 0 1-2.418 2.3 6.942 6.942 0 0 1-1.007.586c-.27.124-.558.225-.796.225s-.526-.101-.796-.225a6.908 6.908 0 0 1-1.007-.586 11.192 11.192 0 0 1-2.417-2.3C2.167 10.331.839 7.221 1.412 3.024A1.454 1.454 0 0 1 2.415 1.84a61.11 61.11 0 0 1 2.772-.815z"/><path d="M8 2.25c.909 0 3.188.685 4.254 1.022a.94.94 0 0 1 .656.773c.814 6.424-4.13 9.452-4.91 9.452V2.25z"/>');// eslint-disable-next-line
|
|
var BIconShieldSlash=/*#__PURE__*/makeIcon('ShieldSlash','<path d="M1.357 3.478c-.42 3.969.87 6.928 2.423 8.911a11.192 11.192 0 0 0 2.417 2.3c.371.256.715.451 1.007.586.27.124.558.225.796.225s.527-.101.796-.225c.292-.135.636-.33 1.007-.586.466-.32.983-.74 1.502-1.263l-.707-.707a9.692 9.692 0 0 1-1.362 1.147 5.934 5.934 0 0 1-.857.5c-.116.053-.21.089-.282.11A.73.73 0 0 1 8 14.5c-.007-.001-.038-.005-.097-.023a2.273 2.273 0 0 1-.282-.111 5.934 5.934 0 0 1-.857-.5 10.197 10.197 0 0 1-2.197-2.093C3.262 10.107 2.145 7.672 2.289 4.41l-.932-.932zm11.053 6.81c.971-1.785 1.594-4.15 1.187-7.129a.454.454 0 0 0-.315-.366c-.626-.2-1.682-.526-2.725-.802C9.491 1.71 8.51 1.5 8 1.5c-.51 0-1.49.21-2.557.491a45.4 45.4 0 0 0-1.041.29l-.806-.806a52.727 52.727 0 0 1 1.591-.45C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.458 3.355-.299 6.015-1.444 7.999l-.735-.735z"/><path fill-rule="evenodd" d="M14.646 15.354l-14-14 .708-.708 14 14-.707.707z"/>');// eslint-disable-next-line
|
|
var BIconShieldSlashFill=/*#__PURE__*/makeIcon('ShieldSlashFill','<path d="M1.357 3.478c-.42 3.969.87 6.928 2.423 8.911a11.192 11.192 0 0 0 2.417 2.3c.371.256.715.451 1.007.586.27.124.558.225.796.225s.527-.101.796-.225c.292-.135.636-.33 1.007-.586.466-.32.983-.74 1.502-1.263L1.357 3.478zm11.787 7.545c1.145-1.984 1.902-4.644 1.444-8a1.454 1.454 0 0 0-1.003-1.183 61.09 61.09 0 0 0-2.772-.815C9.77.749 8.663.5 8 .5c-.662 0-1.77.249-2.813.525-.548.145-1.1.303-1.59.45l9.547 9.548z"/><path fill-rule="evenodd" d="M14.646 15.354l-14-14 .708-.708 14 14-.707.707z"/>');// eslint-disable-next-line
|
|
var BIconShieldX=/*#__PURE__*/makeIcon('ShieldX','<path fill-rule="evenodd" d="M5.443 1.991a60.17 60.17 0 0 0-2.725.802.454.454 0 0 0-.315.366C1.87 7.056 3.1 9.9 4.567 11.773c.736.94 1.533 1.636 2.197 2.093.333.228.626.394.857.5.116.053.21.089.282.11A.73.73 0 0 0 8 14.5c.007-.001.038-.005.097-.023.072-.022.166-.058.282-.111.23-.106.525-.272.857-.5a10.197 10.197 0 0 0 2.197-2.093C12.9 9.9 14.13 7.056 13.597 3.159a.454.454 0 0 0-.315-.366c-.626-.2-1.682-.526-2.725-.802C9.491 1.71 8.51 1.5 8 1.5c-.51 0-1.49.21-2.557.491zm-.256-.966C6.23.749 7.337.5 8 .5c.662 0 1.77.249 2.813.525a61.09 61.09 0 0 1 2.772.815c.528.168.926.623 1.003 1.184.573 4.197-.756 7.307-2.367 9.365a11.191 11.191 0 0 1-2.418 2.3 6.942 6.942 0 0 1-1.007.586c-.27.124-.558.225-.796.225s-.526-.101-.796-.225a6.908 6.908 0 0 1-1.007-.586 11.192 11.192 0 0 1-2.417-2.3C2.167 10.331.839 7.221 1.412 3.024A1.454 1.454 0 0 1 2.415 1.84a61.11 61.11 0 0 1 2.772-.815z"/><path fill-rule="evenodd" d="M6.146 6.146a.5.5 0 0 1 .708 0L8 7.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 8l1.147 1.146a.5.5 0 0 1-.708.708L8 8.707 6.854 9.854a.5.5 0 0 1-.708-.708L7.293 8 6.146 6.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconShift=/*#__PURE__*/makeIcon('Shift','<path fill-rule="evenodd" d="M7.27 2.047a1 1 0 0 1 1.46 0l6.345 6.77c.6.638.146 1.683-.73 1.683H11.5v3a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-3H1.654C.78 10.5.326 9.455.924 8.816L7.27 2.047zM14.346 9.5L8 2.731 1.654 9.5H4.5a1 1 0 0 1 1 1v3h5v-3a1 1 0 0 1 1-1h2.846z"/>');// eslint-disable-next-line
|
|
var BIconShiftFill=/*#__PURE__*/makeIcon('ShiftFill','<path fill-rule="evenodd" d="M7.27 2.047a1 1 0 0 1 1.46 0l6.345 6.77c.6.638.146 1.683-.73 1.683H11.5v3a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-3H1.654C.78 10.5.326 9.455.924 8.816L7.27 2.047z"/>');// eslint-disable-next-line
|
|
var BIconShop=/*#__PURE__*/makeIcon('Shop','<path fill-rule="evenodd" d="M2.97 1.35A1 1 0 0 1 3.73 1h8.54a1 1 0 0 1 .76.35l2.609 3.044A1.5 1.5 0 0 1 16 5.37v.255a2.375 2.375 0 0 1-4.25 1.458A2.371 2.371 0 0 1 9.875 8 2.37 2.37 0 0 1 8 7.083 2.37 2.37 0 0 1 6.125 8a2.37 2.37 0 0 1-1.875-.917A2.375 2.375 0 0 1 0 5.625V5.37a1.5 1.5 0 0 1 .361-.976l2.61-3.045zm1.78 4.275a1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0 1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0 1.375 1.375 0 1 0 2.75 0V5.37a.5.5 0 0 0-.12-.325L12.27 2H3.73L1.12 5.045A.5.5 0 0 0 1 5.37v.255a1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0zM1.5 8.5A.5.5 0 0 1 2 9v6h1v-5a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v5h6V9a.5.5 0 0 1 1 0v6h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1V9a.5.5 0 0 1 .5-.5zM4 15h3v-5H4v5zm5-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3zm3 0h-2v3h2v-3z"/>');// eslint-disable-next-line
|
|
var BIconShopWindow=/*#__PURE__*/makeIcon('ShopWindow','<path fill-rule="evenodd" d="M2.97 1.35A1 1 0 0 1 3.73 1h8.54a1 1 0 0 1 .76.35l2.609 3.044A1.5 1.5 0 0 1 16 5.37v.255a2.375 2.375 0 0 1-4.25 1.458A2.371 2.371 0 0 1 9.875 8 2.37 2.37 0 0 1 8 7.083 2.37 2.37 0 0 1 6.125 8a2.37 2.37 0 0 1-1.875-.917A2.375 2.375 0 0 1 0 5.625V5.37a1.5 1.5 0 0 1 .361-.976l2.61-3.045zm1.78 4.275a1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0 1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0 1.375 1.375 0 1 0 2.75 0V5.37a.5.5 0 0 0-.12-.325L12.27 2H3.73L1.12 5.045A.5.5 0 0 0 1 5.37v.255a1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0zM1.5 8.5A.5.5 0 0 1 2 9v6h12V9a.5.5 0 0 1 1 0v6h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1V9a.5.5 0 0 1 .5-.5zm2 .5a.5.5 0 0 1 .5.5V13h8V9.5a.5.5 0 0 1 1 0V13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconShuffle=/*#__PURE__*/makeIcon('Shuffle','<path fill-rule="evenodd" d="M0 3.5A.5.5 0 0 1 .5 3H1c2.202 0 3.827 1.24 4.874 2.418.49.552.865 1.102 1.126 1.532.26-.43.636-.98 1.126-1.532C9.173 4.24 10.798 3 13 3v1c-1.798 0-3.173 1.01-4.126 2.082A9.624 9.624 0 0 0 7.556 8a9.624 9.624 0 0 0 1.317 1.918C9.828 10.99 11.204 12 13 12v1c-2.202 0-3.827-1.24-4.874-2.418A10.595 10.595 0 0 1 7 9.05c-.26.43-.636.98-1.126 1.532C4.827 11.76 3.202 13 1 13H.5a.5.5 0 0 1 0-1H1c1.798 0 3.173-1.01 4.126-2.082A9.624 9.624 0 0 0 6.444 8a9.624 9.624 0 0 0-1.317-1.918C4.172 5.01 2.796 4 1 4H.5a.5.5 0 0 1-.5-.5z"/><path d="M13 5.466V1.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384l-2.36 1.966a.25.25 0 0 1-.41-.192zm0 9v-3.932a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384l-2.36 1.966a.25.25 0 0 1-.41-.192z"/>');// eslint-disable-next-line
|
|
var BIconSignpost=/*#__PURE__*/makeIcon('Signpost','<path d="M7 1.414V4h2V1.414a1 1 0 0 0-2 0z"/><path fill-rule="evenodd" d="M12.532 5H2v4h10.532l1.666-2-1.666-2zM2 4a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h10.532a1 1 0 0 0 .768-.36l1.933-2.32a.5.5 0 0 0 0-.64L13.3 4.36a1 1 0 0 0-.768-.36H2z"/><path d="M7 10h2v6H7v-6z"/>');// eslint-disable-next-line
|
|
var BIconSignpost2=/*#__PURE__*/makeIcon('Signpost2','<path d="M7 1.414V2h2v-.586a1 1 0 0 0-2 0z"/><path fill-rule="evenodd" d="M13.5 3H2v2h11.5l.75-1-.75-1zM2 2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11.5a1 1 0 0 0 .8-.4l.975-1.3a.5.5 0 0 0 0-.6L14.3 2.4a1 1 0 0 0-.8-.4H2zm.5 6H14v2H2.5l-.75-1 .75-1zM14 7a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2.5a1 1 0 0 1-.8-.4L.725 9.3a.5.5 0 0 1 0-.6L1.7 7.4a1 1 0 0 1 .8-.4H14z"/><path d="M7 6h2v1H7V6zm0 5h2v5H7v-5z"/>');// eslint-disable-next-line
|
|
var BIconSignpost2Fill=/*#__PURE__*/makeIcon('Signpost2Fill','<path d="M7 1.414V16h2V1.414a1 1 0 0 0-2 0z"/><path d="M1 3a1 1 0 0 1 1-1h11.5a1 1 0 0 1 .8.4l.975 1.3a.5.5 0 0 1 0 .6L14.3 5.6a1 1 0 0 1-.8.4H2a1 1 0 0 1-1-1V3zm14 5a1 1 0 0 0-1-1H2.5a1 1 0 0 0-.8.4L.725 8.7a.5.5 0 0 0 0 .6l.975 1.3a1 1 0 0 0 .8.4H14a1 1 0 0 0 1-1V8z"/>');// eslint-disable-next-line
|
|
var BIconSignpostFill=/*#__PURE__*/makeIcon('SignpostFill','<path d="M7 1.414V4h2V1.414a1 1 0 0 0-2 0zM1 5a1 1 0 0 1 1-1h10.532a1 1 0 0 1 .768.36l1.933 2.32a.5.5 0 0 1 0 .64L13.3 9.64a1 1 0 0 1-.768.36H2a1 1 0 0 1-1-1V5zm6 5h2v6H7v-6z"/>');// eslint-disable-next-line
|
|
var BIconSignpostSplit=/*#__PURE__*/makeIcon('SignpostSplit','<path d="M7 16h2V6H8V2h1v-.586a1 1 0 0 0-2 0V7h1v4H7v5z"/><path fill-rule="evenodd" d="M14 3H8v2h6l.75-1L14 3zM8 2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 .8-.4l.975-1.3a.5.5 0 0 0 0-.6L14.8 2.4A1 1 0 0 0 14 2H8zM2 8h6v2H2l-.75-1L2 8zm6-1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-.8-.4L.225 9.3a.5.5 0 0 1 0-.6L1.2 7.4A1 1 0 0 1 2 7h6z"/>');// eslint-disable-next-line
|
|
var BIconSignpostSplitFill=/*#__PURE__*/makeIcon('SignpostSplitFill','<path d="M7 16h2V6h5a1 1 0 0 0 .8-.4l.975-1.3a.5.5 0 0 0 0-.6L14.8 2.4A1 1 0 0 0 14 2H9v-.586a1 1 0 0 0-2 0V7H2a1 1 0 0 0-.8.4L.225 8.7a.5.5 0 0 0 0 .6l.975 1.3a1 1 0 0 0 .8.4h5v5z"/>');// eslint-disable-next-line
|
|
var BIconSim=/*#__PURE__*/makeIcon('Sim','<path fill-rule="evenodd" d="M2 1.5A1.5 1.5 0 0 1 3.5 0h7.086a1.5 1.5 0 0 1 1.06.44l1.915 1.914A1.5 1.5 0 0 1 14 3.414V14.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 14.5v-13zM3.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V3.414a.5.5 0 0 0-.146-.353l-1.915-1.915A.5.5 0 0 0 10.586 1H3.5z"/><path fill-rule="evenodd" d="M5.5 4a.5.5 0 0 0-.5.5V6h2.5V4h-2zm3 0v2H11V4.5a.5.5 0 0 0-.5-.5h-2zM11 7H5v2h6V7zm0 3H8.5v2h2a.5.5 0 0 0 .5-.5V10zm-3.5 2v-2H5v1.5a.5.5 0 0 0 .5.5h2zM4 4.5A1.5 1.5 0 0 1 5.5 3h5A1.5 1.5 0 0 1 12 4.5v7a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 4 11.5v-7z"/>');// eslint-disable-next-line
|
|
var BIconSimFill=/*#__PURE__*/makeIcon('SimFill','<path fill-rule="evenodd" d="M3.5 0A1.5 1.5 0 0 0 2 1.5v13A1.5 1.5 0 0 0 3.5 16h9a1.5 1.5 0 0 0 1.5-1.5V3.414a1.5 1.5 0 0 0-.44-1.06L11.647.439A1.5 1.5 0 0 0 10.586 0H3.5zM5 4.5a.5.5 0 0 1 .5-.5h2v2H5V4.5zM8.5 6V4h2a.5.5 0 0 1 .5.5V6H8.5zM5 7h6v2H5V7zm3.5 3H11v1.5a.5.5 0 0 1-.5.5h-2v-2zm-1 0v2h-2a.5.5 0 0 1-.5-.5V10h2.5zm-2-7A1.5 1.5 0 0 0 4 4.5v7A1.5 1.5 0 0 0 5.5 13h5a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 10.5 3h-5z"/>');// eslint-disable-next-line
|
|
var BIconSkipBackward=/*#__PURE__*/makeIcon('SkipBackward','<path fill-rule="evenodd" d="M.5 3.5A.5.5 0 0 1 1 4v3.248l6.267-3.636c.52-.302 1.233.043 1.233.696v2.94l6.267-3.636c.52-.302 1.233.043 1.233.696v7.384c0 .653-.713.998-1.233.696L8.5 8.752v2.94c0 .653-.713.998-1.233.696L1 8.752V12a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5zm7 1.133L1.696 8 7.5 11.367V4.633zm7.5 0L9.196 8 15 11.367V4.633z"/>');// eslint-disable-next-line
|
|
var BIconSkipBackwardFill=/*#__PURE__*/makeIcon('SkipBackwardFill','<path fill-rule="evenodd" d="M.5 3.5A.5.5 0 0 0 0 4v8a.5.5 0 0 0 1 0V4a.5.5 0 0 0-.5-.5z"/><path d="M.904 8.697l6.363 3.692c.54.313 1.233-.066 1.233-.697V4.308c0-.63-.692-1.01-1.233-.696L.904 7.304a.802.802 0 0 0 0 1.393z"/><path d="M8.404 8.697l6.363 3.692c.54.313 1.233-.066 1.233-.697V4.308c0-.63-.693-1.01-1.233-.696L8.404 7.304a.802.802 0 0 0 0 1.393z"/>');// eslint-disable-next-line
|
|
var BIconSkipEnd=/*#__PURE__*/makeIcon('SkipEnd','<path fill-rule="evenodd" d="M12 3.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5z"/><path fill-rule="evenodd" d="M10.804 8L5 4.633v6.734L10.804 8zm.792-.696a.802.802 0 0 1 0 1.392l-6.363 3.692C4.713 12.69 4 12.345 4 11.692V4.308c0-.653.713-.998 1.233-.696l6.363 3.692z"/>');// eslint-disable-next-line
|
|
var BIconSkipEndFill=/*#__PURE__*/makeIcon('SkipEndFill','<path fill-rule="evenodd" d="M12 3.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5z"/><path d="M11.596 8.697l-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"/>');// eslint-disable-next-line
|
|
var BIconSkipForward=/*#__PURE__*/makeIcon('SkipForward','<path fill-rule="evenodd" d="M15.5 3.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V8.752l-6.267 3.636c-.52.302-1.233-.043-1.233-.696v-2.94l-6.267 3.636C.713 12.69 0 12.345 0 11.692V4.308c0-.653.713-.998 1.233-.696L7.5 7.248v-2.94c0-.653.713-.998 1.233-.696L15 7.248V4a.5.5 0 0 1 .5-.5zM1 4.633v6.734L6.804 8 1 4.633zm7.5 0v6.734L14.304 8 8.5 4.633z"/>');// eslint-disable-next-line
|
|
var BIconSkipForwardFill=/*#__PURE__*/makeIcon('SkipForwardFill','<path fill-rule="evenodd" d="M15.5 3.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5z"/><path d="M7.596 8.697l-6.363 3.692C.693 12.702 0 12.322 0 11.692V4.308c0-.63.693-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"/><path d="M15.096 8.697l-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.693-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"/>');// eslint-disable-next-line
|
|
var BIconSkipStart=/*#__PURE__*/makeIcon('SkipStart','<path fill-rule="evenodd" d="M4.5 3.5A.5.5 0 0 0 4 4v8a.5.5 0 0 0 1 0V4a.5.5 0 0 0-.5-.5z"/><path fill-rule="evenodd" d="M5.696 8L11.5 4.633v6.734L5.696 8zm-.792-.696a.802.802 0 0 0 0 1.392l6.363 3.692c.52.302 1.233-.043 1.233-.696V4.308c0-.653-.713-.998-1.233-.696L4.904 7.304z"/>');// eslint-disable-next-line
|
|
var BIconSkipStartFill=/*#__PURE__*/makeIcon('SkipStartFill','<path fill-rule="evenodd" d="M4.5 3.5A.5.5 0 0 0 4 4v8a.5.5 0 0 0 1 0V4a.5.5 0 0 0-.5-.5z"/><path d="M4.903 8.697l6.364 3.692c.54.313 1.232-.066 1.232-.697V4.308c0-.63-.692-1.01-1.232-.696L4.903 7.304a.802.802 0 0 0 0 1.393z"/>');// eslint-disable-next-line
|
|
var BIconSlash=/*#__PURE__*/makeIcon('Slash','<path fill-rule="evenodd" d="M11.354 4.646a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708l6-6a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconSlashCircle=/*#__PURE__*/makeIcon('SlashCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M11.354 4.646a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708l6-6a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconSlashCircleFill=/*#__PURE__*/makeIcon('SlashCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-4.646-2.646a.5.5 0 0 0-.708-.708l-6 6a.5.5 0 0 0 .708.708l6-6z"/>');// eslint-disable-next-line
|
|
var BIconSlashSquare=/*#__PURE__*/makeIcon('SlashSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M11.354 4.646a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708l6-6a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconSlashSquareFill=/*#__PURE__*/makeIcon('SlashSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm9.354 5.354a.5.5 0 0 0-.708-.708l-6 6a.5.5 0 0 0 .708.708l6-6z"/>');// eslint-disable-next-line
|
|
var BIconSliders=/*#__PURE__*/makeIcon('Sliders','<path fill-rule="evenodd" d="M11.5 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM9.05 3a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0V3h9.05zM4.5 7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM2.05 8a2.5 2.5 0 0 1 4.9 0H16v1H6.95a2.5 2.5 0 0 1-4.9 0H0V8h2.05zm9.45 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm-2.45 1a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0v-1h9.05z"/>');// eslint-disable-next-line
|
|
var BIconSmartwatch=/*#__PURE__*/makeIcon('Smartwatch','<path d="M14 5h.5a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H14V5z"/><path fill-rule="evenodd" d="M8.5 4.5A.5.5 0 0 1 9 5v3.5a.5.5 0 0 1-.5.5H6a.5.5 0 0 1 0-1h2V5a.5.5 0 0 1 .5-.5z"/><path fill-rule="evenodd" d="M4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7A2.5 2.5 0 0 1 4.5 2zm0 1A1.5 1.5 0 0 0 3 4.5v7A1.5 1.5 0 0 0 4.5 13h7a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 11.5 3h-7z"/><path d="M4 2.05v-.383C4 .747 4.746 0 5.667 0h4.666C11.253 0 12 .746 12 1.667v.383a2.512 2.512 0 0 0-.5-.05h-7c-.171 0-.338.017-.5.05zm0 11.9c.162.033.329.05.5.05h7c.171 0 .338-.017.5-.05v.383c0 .92-.746 1.667-1.667 1.667H5.667C4.747 16 4 15.254 4 14.333v-.383z"/>');// eslint-disable-next-line
|
|
var BIconSortAlphaDown=/*#__PURE__*/makeIcon('SortAlphaDown','<path fill-rule="evenodd" d="M4 2a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11A.5.5 0 0 1 4 2z"/><path fill-rule="evenodd" d="M6.354 11.146a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L4 12.793l1.646-1.647a.5.5 0 0 1 .708 0z"/><path d="M9.664 7l.418-1.371h1.781L12.281 7h1.121l-1.78-5.332h-1.235L8.597 7h1.067zM11 2.687l.652 2.157h-1.351l.652-2.157H11zM9.027 14h3.934v-.867h-2.645v-.055l2.567-3.719v-.691H9.098v.867h2.507v.055l-2.578 3.719V14z"/>');// eslint-disable-next-line
|
|
var BIconSortAlphaDownAlt=/*#__PURE__*/makeIcon('SortAlphaDownAlt','<path fill-rule="evenodd" d="M4 2a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11A.5.5 0 0 1 4 2z"/><path fill-rule="evenodd" d="M6.354 11.146a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L4 12.793l1.646-1.647a.5.5 0 0 1 .708 0z"/><path d="M9.027 7h3.934v-.867h-2.645v-.055l2.567-3.719v-.691H9.098v.867h2.507v.055L9.027 6.309V7zm.637 7l.418-1.371h1.781L12.281 14h1.121l-1.78-5.332h-1.235L8.597 14h1.067zM11 9.687l.652 2.157h-1.351l.652-2.156H11z"/>');// eslint-disable-next-line
|
|
var BIconSortAlphaUp=/*#__PURE__*/makeIcon('SortAlphaUp','<path fill-rule="evenodd" d="M4 14a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-1 0v11a.5.5 0 0 0 .5.5z"/><path fill-rule="evenodd" d="M6.354 4.854a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L4 3.207l1.646 1.647a.5.5 0 0 0 .708 0z"/><path d="M9.664 7l.418-1.371h1.781L12.281 7h1.121l-1.78-5.332h-1.235L8.597 7h1.067zM11 2.687l.652 2.157h-1.351l.652-2.157H11zM9.027 14h3.934v-.867h-2.645v-.055l2.567-3.719v-.691H9.098v.867h2.507v.055l-2.578 3.719V14z"/>');// eslint-disable-next-line
|
|
var BIconSortAlphaUpAlt=/*#__PURE__*/makeIcon('SortAlphaUpAlt','<path fill-rule="evenodd" d="M4 14a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-1 0v11a.5.5 0 0 0 .5.5z"/><path fill-rule="evenodd" d="M6.354 4.854a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L4 3.207l1.646 1.647a.5.5 0 0 0 .708 0z"/><path d="M9.027 7h3.934v-.867h-2.645v-.055l2.567-3.719v-.691H9.098v.867h2.507v.055L9.027 6.309V7zm.637 7l.418-1.371h1.781L12.281 14h1.121l-1.78-5.332h-1.235L8.597 14h1.067zM11 9.687l.652 2.157h-1.351l.652-2.156H11z"/>');// eslint-disable-next-line
|
|
var BIconSortDown=/*#__PURE__*/makeIcon('SortDown','<path fill-rule="evenodd" d="M3 2a.5.5 0 0 1 .5.5v10a.5.5 0 0 1-1 0v-10A.5.5 0 0 1 3 2z"/><path fill-rule="evenodd" d="M5.354 10.146a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L3 11.793l1.646-1.647a.5.5 0 0 1 .708 0zM7 9.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0 9a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconSortDownAlt=/*#__PURE__*/makeIcon('SortDownAlt','<path fill-rule="evenodd" d="M3 3a.5.5 0 0 1 .5.5v10a.5.5 0 0 1-1 0v-10A.5.5 0 0 1 3 3z"/><path fill-rule="evenodd" d="M5.354 11.146a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L3 12.793l1.646-1.647a.5.5 0 0 1 .708 0zM7 6.5a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.5.5zm0 3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 0-1h-5a.5.5 0 0 0-.5.5zm0 3a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 0-1h-7a.5.5 0 0 0-.5.5zm0-9a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 0-1h-1a.5.5 0 0 0-.5.5z"/>');// eslint-disable-next-line
|
|
var BIconSortNumericDown=/*#__PURE__*/makeIcon('SortNumericDown','<path fill-rule="evenodd" d="M4 2a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11A.5.5 0 0 1 4 2z"/><path fill-rule="evenodd" d="M6.354 11.146a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L4 12.793l1.646-1.647a.5.5 0 0 1 .708 0z"/><path d="M12.438 7V1.668H11.39l-1.262.906v.969l1.21-.86h.052V7h1.046zm-2.84 5.82c.054.621.625 1.278 1.761 1.278 1.422 0 2.145-.98 2.145-2.848 0-2.05-.973-2.688-2.063-2.688-1.125 0-1.972.688-1.972 1.836 0 1.145.808 1.758 1.719 1.758.69 0 1.113-.351 1.261-.742h.059c.031 1.027-.309 1.856-1.133 1.856-.43 0-.715-.227-.773-.45H9.598zm2.757-2.43c0 .637-.43.973-.933.973-.516 0-.934-.34-.934-.98 0-.625.407-1 .926-1 .543 0 .941.375.941 1.008z"/>');// eslint-disable-next-line
|
|
var BIconSortNumericDownAlt=/*#__PURE__*/makeIcon('SortNumericDownAlt','<path fill-rule="evenodd" d="M4 2a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11A.5.5 0 0 1 4 2z"/><path fill-rule="evenodd" d="M6.354 11.146a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L4 12.793l1.646-1.647a.5.5 0 0 1 .708 0z"/><path d="M9.598 5.82c.054.621.625 1.278 1.761 1.278 1.422 0 2.145-.98 2.145-2.848 0-2.05-.973-2.688-2.063-2.688-1.125 0-1.972.688-1.972 1.836 0 1.145.808 1.758 1.719 1.758.69 0 1.113-.351 1.261-.742h.059c.031 1.027-.309 1.856-1.133 1.856-.43 0-.715-.227-.773-.45H9.598zm2.757-2.43c0 .637-.43.973-.933.973-.516 0-.934-.34-.934-.98 0-.625.407-1 .926-1 .543 0 .941.375.941 1.008zM12.438 14V8.668H11.39l-1.262.906v.969l1.21-.86h.052V14h1.046z"/>');// eslint-disable-next-line
|
|
var BIconSortNumericUp=/*#__PURE__*/makeIcon('SortNumericUp','<path fill-rule="evenodd" d="M4 14a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-1 0v11a.5.5 0 0 0 .5.5z"/><path fill-rule="evenodd" d="M6.354 4.854a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L4 3.207l1.646 1.647a.5.5 0 0 0 .708 0z"/><path d="M12.438 7V1.668H11.39l-1.262.906v.969l1.21-.86h.052V7h1.046zm-2.84 5.82c.054.621.625 1.278 1.761 1.278 1.422 0 2.145-.98 2.145-2.848 0-2.05-.973-2.688-2.063-2.688-1.125 0-1.972.688-1.972 1.836 0 1.145.808 1.758 1.719 1.758.69 0 1.113-.351 1.261-.742h.059c.031 1.027-.309 1.856-1.133 1.856-.43 0-.715-.227-.773-.45H9.598zm2.757-2.43c0 .637-.43.973-.933.973-.516 0-.934-.34-.934-.98 0-.625.407-1 .926-1 .543 0 .941.375.941 1.008z"/>');// eslint-disable-next-line
|
|
var BIconSortNumericUpAlt=/*#__PURE__*/makeIcon('SortNumericUpAlt','<path fill-rule="evenodd" d="M4 14a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-1 0v11a.5.5 0 0 0 .5.5z"/><path fill-rule="evenodd" d="M6.354 4.854a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L4 3.207l1.646 1.647a.5.5 0 0 0 .708 0z"/><path d="M9.598 5.82c.054.621.625 1.278 1.761 1.278 1.422 0 2.145-.98 2.145-2.848 0-2.05-.973-2.688-2.063-2.688-1.125 0-1.972.688-1.972 1.836 0 1.145.808 1.758 1.719 1.758.69 0 1.113-.351 1.261-.742h.059c.031 1.027-.309 1.856-1.133 1.856-.43 0-.715-.227-.773-.45H9.598zm2.757-2.43c0 .637-.43.973-.933.973-.516 0-.934-.34-.934-.98 0-.625.407-1 .926-1 .543 0 .941.375.941 1.008zM12.438 14V8.668H11.39l-1.262.906v.969l1.21-.86h.052V14h1.046z"/>');// eslint-disable-next-line
|
|
var BIconSortUp=/*#__PURE__*/makeIcon('SortUp','<path fill-rule="evenodd" d="M3 13a.5.5 0 0 0 .5-.5v-10a.5.5 0 0 0-1 0v10a.5.5 0 0 0 .5.5z"/><path fill-rule="evenodd" d="M5.354 4.854a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L3 3.207l1.646 1.647a.5.5 0 0 0 .708 0zM7 9.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0 9a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconSortUpAlt=/*#__PURE__*/makeIcon('SortUpAlt','<path fill-rule="evenodd" d="M3 14a.5.5 0 0 0 .5-.5v-10a.5.5 0 0 0-1 0v10a.5.5 0 0 0 .5.5z"/><path fill-rule="evenodd" d="M5.354 5.854a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L3 4.207l1.646 1.647a.5.5 0 0 0 .708 0zM7 6.5a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.5.5zm0 3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 0-1h-5a.5.5 0 0 0-.5.5zm0 3a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 0-1h-7a.5.5 0 0 0-.5.5zm0-9a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 0-1h-1a.5.5 0 0 0-.5.5z"/>');// eslint-disable-next-line
|
|
var BIconSoundwave=/*#__PURE__*/makeIcon('Soundwave','<path fill-rule="evenodd" d="M8.5 2a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5zm-2 2a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 .5-.5zm4 0a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 .5-.5zm-6 1.5A.5.5 0 0 1 5 6v4a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm8 0a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm-10 1A.5.5 0 0 1 3 7v2a.5.5 0 0 1-1 0V7a.5.5 0 0 1 .5-.5zm12 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0V7a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconSpeaker=/*#__PURE__*/makeIcon('Speaker','<path fill-rule="evenodd" d="M12 1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4z"/><path fill-rule="evenodd" d="M8 4.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zM8 6a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm-3.5 1.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>');// eslint-disable-next-line
|
|
var BIconSpeakerFill=/*#__PURE__*/makeIcon('SpeakerFill','<path d="M9 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-2.5 6.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0z"/><path fill-rule="evenodd" d="M4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4zm6 4a2 2 0 1 1-4 0 2 2 0 0 1 4 0zM8 7a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z"/>');// eslint-disable-next-line
|
|
var BIconSpellcheck=/*#__PURE__*/makeIcon('Spellcheck','<path fill-rule="evenodd" d="M8.217 11.068c1.216 0 1.948-.869 1.948-2.31v-.702c0-1.44-.727-2.305-1.929-2.305-.742 0-1.328.347-1.499.889h-.063V3.983h-1.29V11h1.27v-.791h.064c.21.532.776.86 1.499.86zm-.43-1.025c-.66 0-1.113-.518-1.113-1.28V8.12c0-.825.42-1.343 1.098-1.343.684 0 1.075.518 1.075 1.416v.45c0 .888-.386 1.401-1.06 1.401zm-5.583 1.035c.767 0 1.201-.356 1.406-.737h.059V11h1.216V7.519c0-1.314-.947-1.783-2.11-1.783C1.355 5.736.75 6.42.69 7.27h1.216c.064-.323.313-.552.84-.552.527 0 .864.249.864.771v.464H2.346C1.145 7.953.5 8.568.5 9.496c0 .977.693 1.582 1.704 1.582zm.42-.947c-.44 0-.845-.235-.845-.718 0-.395.269-.684.84-.684h.991v.538c0 .503-.444.864-.986.864zm8.897.567c-.577-.4-.9-1.088-.9-1.983v-.65c0-1.42.894-2.338 2.305-2.338 1.352 0 2.119.82 2.139 1.806h-1.187c-.04-.351-.283-.776-.918-.776-.674 0-1.045.517-1.045 1.328v.625c0 .468.121.834.343 1.067l-.737.92z"/><path fill-rule="evenodd" d="M14.469 9.414a.75.75 0 0 1 .117 1.055l-4 5a.75.75 0 0 1-1.116.061l-2.5-2.5a.75.75 0 1 1 1.06-1.06l1.908 1.907 3.476-4.346a.75.75 0 0 1 1.055-.117z"/>');// eslint-disable-next-line
|
|
var BIconSquare=/*#__PURE__*/makeIcon('Square','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>');// eslint-disable-next-line
|
|
var BIconSquareFill=/*#__PURE__*/makeIcon('SquareFill','<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2z"/>');// eslint-disable-next-line
|
|
var BIconSquareHalf=/*#__PURE__*/makeIcon('SquareHalf','<path fill-rule="evenodd" d="M8 1h6a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H8V1zm6-1a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/>');// eslint-disable-next-line
|
|
var BIconStar=/*#__PURE__*/makeIcon('Star','<path fill-rule="evenodd" d="M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.523-3.356c.329-.314.158-.888-.283-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73zm4.905-2.767l-3.686 1.894.694-3.957a.565.565 0 0 0-.163-.505L1.71 6.745l4.052-.576a.525.525 0 0 0 .393-.288l1.847-3.658 1.846 3.658a.525.525 0 0 0 .393.288l4.052.575-2.906 2.77a.564.564 0 0 0-.163.506l.694 3.957-3.686-1.894a.503.503 0 0 0-.461 0z"/>');// eslint-disable-next-line
|
|
var BIconStarFill=/*#__PURE__*/makeIcon('StarFill','<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.283.95l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>');// eslint-disable-next-line
|
|
var BIconStarHalf=/*#__PURE__*/makeIcon('StarHalf','<path fill-rule="evenodd" d="M5.354 5.119L7.538.792A.516.516 0 0 1 8 .5c.183 0 .366.097.465.292l2.184 4.327 4.898.696A.537.537 0 0 1 16 6.32a.55.55 0 0 1-.17.445l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256a.519.519 0 0 1-.146.05c-.341.06-.668-.254-.6-.642l.83-4.73L.173 6.765a.55.55 0 0 1-.171-.403.59.59 0 0 1 .084-.302.513.513 0 0 1 .37-.245l4.898-.696zM8 12.027c.08 0 .16.018.232.056l3.686 1.894-.694-3.957a.564.564 0 0 1 .163-.505l2.906-2.77-4.052-.576a.525.525 0 0 1-.393-.288L8.002 2.223 8 2.226v9.8z"/>');// eslint-disable-next-line
|
|
var BIconStickies=/*#__PURE__*/makeIcon('Stickies','<path fill-rule="evenodd" d="M0 1.5A1.5 1.5 0 0 1 1.5 0H13a1 1 0 0 1 1 1H1.5a.5.5 0 0 0-.5.5V14a1 1 0 0 1-1-1V1.5z"/><path fill-rule="evenodd" d="M2 3.5A1.5 1.5 0 0 1 3.5 2h11A1.5 1.5 0 0 1 16 3.5v6.086a1.5 1.5 0 0 1-.44 1.06l-4.914 4.915a1.5 1.5 0 0 1-1.06.439H3.5A1.5 1.5 0 0 1 2 14.5v-11zM3.5 3a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h6.086a.5.5 0 0 0 .353-.146l4.915-4.915A.5.5 0 0 0 15 9.586V3.5a.5.5 0 0 0-.5-.5h-11z"/><path fill-rule="evenodd" d="M10.5 10a.5.5 0 0 0-.5.5v5H9v-5A1.5 1.5 0 0 1 10.5 9h5v1h-5z"/>');// eslint-disable-next-line
|
|
var BIconStickiesFill=/*#__PURE__*/makeIcon('StickiesFill','<path fill-rule="evenodd" d="M0 1.5A1.5 1.5 0 0 1 1.5 0H13a1 1 0 0 1 1 1H1.5a.5.5 0 0 0-.5.5V14a1 1 0 0 1-1-1V1.5z"/><path fill-rule="evenodd" d="M3.5 2A1.5 1.5 0 0 0 2 3.5v11A1.5 1.5 0 0 0 3.5 16h6.086a1.5 1.5 0 0 0 1.06-.44l4.915-4.914A1.5 1.5 0 0 0 16 9.586V3.5A1.5 1.5 0 0 0 14.5 2h-11zm6 8.5v4.396c0 .223.27.335.427.177l5.146-5.146a.25.25 0 0 0-.177-.427H10.5a1 1 0 0 0-1 1z"/>');// eslint-disable-next-line
|
|
var BIconSticky=/*#__PURE__*/makeIcon('Sticky','<path fill-rule="evenodd" d="M1 2.5A1.5 1.5 0 0 1 2.5 1h11A1.5 1.5 0 0 1 15 2.5v6.086a1.5 1.5 0 0 1-.44 1.06l-4.914 4.915a1.5 1.5 0 0 1-1.06.439H2.5A1.5 1.5 0 0 1 1 13.5v-11zM2.5 2a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h6.086a.5.5 0 0 0 .353-.146l4.915-4.915A.5.5 0 0 0 14 8.586V2.5a.5.5 0 0 0-.5-.5h-11z"/><path fill-rule="evenodd" d="M9.5 9a.5.5 0 0 0-.5.5v5H8v-5A1.5 1.5 0 0 1 9.5 8h5v1h-5z"/>');// eslint-disable-next-line
|
|
var BIconStickyFill=/*#__PURE__*/makeIcon('StickyFill','<path fill-rule="evenodd" d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15h6.086a1.5 1.5 0 0 0 1.06-.44l4.915-4.914A1.5 1.5 0 0 0 15 8.586V2.5A1.5 1.5 0 0 0 13.5 1h-11zm6 8.5v4.396c0 .223.27.335.427.177l5.146-5.146a.25.25 0 0 0-.177-.427H9.5a1 1 0 0 0-1 1z"/>');// eslint-disable-next-line
|
|
var BIconStop=/*#__PURE__*/makeIcon('Stop','<path fill-rule="evenodd" d="M3.5 5A1.5 1.5 0 0 1 5 3.5h6A1.5 1.5 0 0 1 12.5 5v6a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 11V5zM5 4.5a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5V5a.5.5 0 0 0-.5-.5H5z"/>');// eslint-disable-next-line
|
|
var BIconStopFill=/*#__PURE__*/makeIcon('StopFill','<path d="M5 3.5h6A1.5 1.5 0 0 1 12.5 5v6a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 11V5A1.5 1.5 0 0 1 5 3.5z"/>');// eslint-disable-next-line
|
|
var BIconStoplights=/*#__PURE__*/makeIcon('Stoplights','<path d="M9.5 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path fill-rule="evenodd" d="M10 1H6a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM6 0a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H6z"/><path d="M14 2h-2v2c1.2-.4 1.833-1.5 2-2zM2 2h2v2c-1.2-.4-1.833-1.5-2-2zm12 4h-2v2c1.2-.4 1.833-1.5 2-2zM2 6h2v2c-1.2-.4-1.833-1.5-2-2zm12 4h-2v2c1.2-.4 1.833-1.5 2-2zM2 10h2v2c-1.2-.4-1.833-1.5-2-2z"/>');// eslint-disable-next-line
|
|
var BIconStoplightsFill=/*#__PURE__*/makeIcon('StoplightsFill','<path fill-rule="evenodd" d="M6 0a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H6zm3.5 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM8 13a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/><path d="M14 2h-2v2c1.2-.4 1.833-1.5 2-2zM2 2h2v2c-1.2-.4-1.833-1.5-2-2zm12 4h-2v2c1.2-.4 1.833-1.5 2-2zM2 6h2v2c-1.2-.4-1.833-1.5-2-2zm12 4h-2v2c1.2-.4 1.833-1.5 2-2zM2 10h2v2c-1.2-.4-1.833-1.5-2-2z"/>');// eslint-disable-next-line
|
|
var BIconStopwatch=/*#__PURE__*/makeIcon('Stopwatch','<path fill-rule="evenodd" d="M6 .5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1H9v1.07A7.001 7.001 0 0 1 8 16 7 7 0 0 1 7 2.07V1h-.5A.5.5 0 0 1 6 .5zM8 3a6 6 0 1 0 .001 12A6 6 0 0 0 8 3zm0 2.1a.5.5 0 0 1 .5.5V9a.5.5 0 0 1-.5.5H4.5a.5.5 0 0 1 0-1h3V5.6a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconStopwatchFill=/*#__PURE__*/makeIcon('StopwatchFill','<path fill-rule="evenodd" d="M6.5 0a.5.5 0 0 0 0 1H7v1.07A7.001 7.001 0 0 0 8 16 7 7 0 0 0 9 2.07V1h.5a.5.5 0 0 0 0-1h-3zm2 5.6a.5.5 0 1 0-1 0v2.9h-3a.5.5 0 0 0 0 1H8a.5.5 0 0 0 .5-.5V5.6z"/>');// eslint-disable-next-line
|
|
var BIconSubtract=/*#__PURE__*/makeIcon('Subtract','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2z"/>');// eslint-disable-next-line
|
|
var BIconSuitClub=/*#__PURE__*/makeIcon('SuitClub','<path fill-rule="evenodd" d="M8 1a3.25 3.25 0 0 0-3.25 3.25c0 .186 0 .29.016.41.014.12.045.27.12.527l.19.665-.692-.028a3.25 3.25 0 1 0 2.357 5.334.5.5 0 0 1 .844.518l-.003.005-.006.015-.024.055a21.893 21.893 0 0 1-.438.92 22.38 22.38 0 0 1-1.266 2.197c-.013.018-.02.05.001.09.01.02.021.03.03.036A.036.036 0 0 0 5.9 15h4.2c.01 0 .016-.002.022-.006a.092.092 0 0 0 .029-.035c.02-.04.014-.073.001-.091a22.875 22.875 0 0 1-1.704-3.117l-.024-.054-.006-.015-.002-.004a.5.5 0 0 1 .838-.524c.601.7 1.516 1.168 2.496 1.168a3.25 3.25 0 1 0-.139-6.498l-.699.03.199-.671c.14-.47.14-.745.139-.927V4.25A3.25 3.25 0 0 0 8 1zm2.207 12.024c.225.405.487.848.78 1.294C11.437 15 10.975 16 10.1 16H5.9c-.876 0-1.338-1-.887-1.683.291-.442.552-.88.776-1.283a4.25 4.25 0 1 1-2.007-8.187 2.79 2.79 0 0 1-.009-.064c-.023-.187-.023-.348-.023-.52V4.25a4.25 4.25 0 0 1 8.5 0c0 .14 0 .333-.04.596a4.25 4.25 0 0 1-.46 8.476 4.186 4.186 0 0 1-1.543-.298z"/>');// eslint-disable-next-line
|
|
var BIconSuitClubFill=/*#__PURE__*/makeIcon('SuitClubFill','<path d="M11.5 4.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/><path d="M8 9a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0zm7 0a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/><path d="M5.602 14.153c.5-.758 1.224-1.98 1.83-3.498.187-.467.949-.467 1.136 0a19.816 19.816 0 0 0 1.83 3.498c.231.35-.02.847-.438.847H6.04c-.419 0-.67-.497-.438-.847z"/><path d="M7 7h2v4H7V7z"/>');// eslint-disable-next-line
|
|
var BIconSuitDiamond=/*#__PURE__*/makeIcon('SuitDiamond','<path fill-rule="evenodd" d="M8.384 1.226a.463.463 0 0 0-.768 0l-4.56 6.468a.537.537 0 0 0 0 .612l4.56 6.469a.463.463 0 0 0 .768 0l4.56-6.469a.537.537 0 0 0 0-.612l-4.56-6.468zM6.848.613a1.39 1.39 0 0 1 2.304 0l4.56 6.468a1.61 1.61 0 0 1 0 1.838l-4.56 6.468a1.39 1.39 0 0 1-2.304 0L2.288 8.92a1.61 1.61 0 0 1 0-1.838L6.848.613z"/>');// eslint-disable-next-line
|
|
var BIconSuitDiamondFill=/*#__PURE__*/makeIcon('SuitDiamondFill','<path d="M2.45 7.4L7.2 1.067a1 1 0 0 1 1.6 0L13.55 7.4a1 1 0 0 1 0 1.2L8.8 14.933a1 1 0 0 1-1.6 0L2.45 8.6a1 1 0 0 1 0-1.2z"/>');// eslint-disable-next-line
|
|
var BIconSuitHeart=/*#__PURE__*/makeIcon('SuitHeart','<path fill-rule="evenodd" d="M8 6.236l.894-1.789c.222-.443.607-1.08 1.152-1.595C10.582 2.345 11.224 2 12 2c1.676 0 3 1.326 3 2.92 0 1.211-.554 2.066-1.868 3.37-.337.334-.721.695-1.146 1.093C10.878 10.423 9.5 11.717 8 13.447c-1.5-1.73-2.878-3.024-3.986-4.064-.425-.398-.81-.76-1.146-1.093C1.554 6.986 1 6.131 1 4.92 1 3.326 2.324 2 4 2c.776 0 1.418.345 1.954.852.545.515.93 1.152 1.152 1.595L8 6.236zm.392 8.292a.513.513 0 0 1-.784 0c-1.601-1.902-3.05-3.262-4.243-4.381C1.3 8.208 0 6.989 0 4.92 0 2.755 1.79 1 4 1c1.6 0 2.719 1.05 3.404 2.008.26.365.458.716.596.992a7.55 7.55 0 0 1 .596-.992C9.281 2.049 10.4 1 12 1c2.21 0 4 1.755 4 3.92 0 2.069-1.3 3.288-3.365 5.227-1.193 1.12-2.642 2.48-4.243 4.38z"/>');// eslint-disable-next-line
|
|
var BIconSuitHeartFill=/*#__PURE__*/makeIcon('SuitHeartFill','<path d="M4 1c2.21 0 4 1.755 4 3.92C8 2.755 9.79 1 12 1s4 1.755 4 3.92c0 3.263-3.234 4.414-7.608 9.608a.513.513 0 0 1-.784 0C3.234 9.334 0 8.183 0 4.92 0 2.755 1.79 1 4 1z"/>');// eslint-disable-next-line
|
|
var BIconSuitSpade=/*#__PURE__*/makeIcon('SuitSpade','<path fill-rule="evenodd" d="M8 0a.5.5 0 0 1 .429.243c1.359 2.265 2.925 3.682 4.25 4.882.096.086.19.17.282.255C14.308 6.604 15.5 7.747 15.5 9.5a4 4 0 0 1-5.406 3.746c.235.39.491.782.722 1.131.434.659-.01 1.623-.856 1.623H6.04c-.845 0-1.29-.964-.856-1.623.263-.397.51-.777.728-1.134A4 4 0 0 1 .5 9.5c0-1.753 1.192-2.896 2.539-4.12l.281-.255c1.326-1.2 2.892-2.617 4.251-4.882A.5.5 0 0 1 8 0zM3.711 6.12C2.308 7.396 1.5 8.253 1.5 9.5a3 3 0 0 0 5.275 1.956.5.5 0 0 1 .868.43c-.094.438-.33.932-.611 1.428a29.247 29.247 0 0 1-1.013 1.614.03.03 0 0 0-.005.018.074.074 0 0 0 .024.054h3.924a.074.074 0 0 0 .024-.054.03.03 0 0 0-.005-.018c-.3-.455-.658-1.005-.96-1.535-.294-.514-.57-1.064-.664-1.507a.5.5 0 0 1 .868-.43A3 3 0 0 0 14.5 9.5c0-1.247-.808-2.104-2.211-3.38L12 5.86c-1.196-1.084-2.668-2.416-4-4.424-1.332 2.008-2.804 3.34-4 4.422l-.289.261z"/>');// eslint-disable-next-line
|
|
var BIconSuitSpadeFill=/*#__PURE__*/makeIcon('SuitSpadeFill','<path d="M5.602 14.153C6.272 13.136 7.348 11.28 8 9c.652 2.28 1.727 4.136 2.398 5.153.231.35-.02.847-.438.847H6.04c-.419 0-.67-.497-.438-.847z"/><path d="M4.5 12.5A3.5 3.5 0 0 0 8 9a3.5 3.5 0 1 0 7 0c0-3-4-4-7-9-3 5-7 6-7 9a3.5 3.5 0 0 0 3.5 3.5z"/>');// eslint-disable-next-line
|
|
var BIconSun=/*#__PURE__*/makeIcon('Sun','<path d="M3.5 8a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0z"/><path fill-rule="evenodd" d="M8.202.28a.25.25 0 0 0-.404 0l-.91 1.255a.25.25 0 0 1-.334.067L5.232.79a.25.25 0 0 0-.374.155l-.36 1.508a.25.25 0 0 1-.282.19l-1.532-.245a.25.25 0 0 0-.286.286l.244 1.532a.25.25 0 0 1-.189.282l-1.509.36a.25.25 0 0 0-.154.374l.812 1.322a.25.25 0 0 1-.067.333l-1.256.91a.25.25 0 0 0 0 .405l1.256.91a.25.25 0 0 1 .067.334L.79 10.768a.25.25 0 0 0 .154.374l1.51.36a.25.25 0 0 1 .188.282l-.244 1.532a.25.25 0 0 0 .286.286l1.532-.244a.25.25 0 0 1 .282.189l.36 1.508a.25.25 0 0 0 .374.155l1.322-.812a.25.25 0 0 1 .333.067l.91 1.256a.25.25 0 0 0 .405 0l.91-1.256a.25.25 0 0 1 .334-.067l1.322.812a.25.25 0 0 0 .374-.155l.36-1.508a.25.25 0 0 1 .282-.19l1.532.245a.25.25 0 0 0 .286-.286l-.244-1.532a.25.25 0 0 1 .189-.282l1.508-.36a.25.25 0 0 0 .155-.374l-.812-1.322a.25.25 0 0 1 .067-.333l1.256-.91a.25.25 0 0 0 0-.405l-1.256-.91a.25.25 0 0 1-.067-.334l.812-1.322a.25.25 0 0 0-.155-.374l-1.508-.36a.25.25 0 0 1-.19-.282l.245-1.532a.25.25 0 0 0-.286-.286l-1.532.244a.25.25 0 0 1-.282-.189l-.36-1.508a.25.25 0 0 0-.374-.155l-1.322.812a.25.25 0 0 1-.333-.067L8.203.28zM8 2.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z"/>');// eslint-disable-next-line
|
|
var BIconSunglasses=/*#__PURE__*/makeIcon('Sunglasses','<path fill-rule="evenodd" d="M3 5a2 2 0 0 0-2 2v.5H.5a.5.5 0 0 0 0 1H1V9a2 2 0 0 0 2 2h1a3 3 0 0 0 3-3 1 1 0 1 1 2 0 3 3 0 0 0 3 3h1a2 2 0 0 0 2-2v-.5h.5a.5.5 0 0 0 0-1H15V7a2 2 0 0 0-2-2h-2a2 2 0 0 0-1.888 1.338A1.99 1.99 0 0 0 8 6a1.99 1.99 0 0 0-1.112.338A2 2 0 0 0 5 5H3zm0 1a1 1 0 0 0-1 1v.941c0 .264.356.348.474.112l.228-.457a2 2 0 0 1 .894-.894l.457-.228C4.289 6.356 4.205 6 3.94 6H3z"/>');// eslint-disable-next-line
|
|
var BIconTable=/*#__PURE__*/makeIcon('Table','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm15 2h-4v3h4V4zm0 4h-4v3h4V8zm0 4h-4v3h3a1 1 0 0 0 1-1v-2zm-5 3v-3H6v3h4zm-5 0v-3H1v2a1 1 0 0 0 1 1h3zm-4-4h4V8H1v3zm0-4h4V4H1v3zm5-3v3h4V4H6zm4 4H6v3h4V8z"/>');// eslint-disable-next-line
|
|
var BIconTablet=/*#__PURE__*/makeIcon('Tablet','<path fill-rule="evenodd" d="M12 1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4z"/><path fill-rule="evenodd" d="M8 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>');// eslint-disable-next-line
|
|
var BIconTabletFill=/*#__PURE__*/makeIcon('TabletFill','<path fill-rule="evenodd" d="M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm7 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>');// eslint-disable-next-line
|
|
var BIconTabletLandscape=/*#__PURE__*/makeIcon('TabletLandscape','<path fill-rule="evenodd" d="M1 4v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1zm-1 8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v8z"/><path fill-rule="evenodd" d="M14 8a1 1 0 1 0-2 0 1 1 0 0 0 2 0z"/>');// eslint-disable-next-line
|
|
var BIconTabletLandscapeFill=/*#__PURE__*/makeIcon('TabletLandscapeFill','<path fill-rule="evenodd" d="M2 14a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2zm11-7a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"/>');// eslint-disable-next-line
|
|
var BIconTag=/*#__PURE__*/makeIcon('Tag','<path fill-rule="evenodd" d="M2 2v4.586l7 7L13.586 9l-7-7H2zM1 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 1 6.586V2z"/><path fill-rule="evenodd" d="M4.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconTagFill=/*#__PURE__*/makeIcon('TagFill','<path fill-rule="evenodd" d="M2 1a1 1 0 0 0-1 1v4.586a1 1 0 0 0 .293.707l7 7a1 1 0 0 0 1.414 0l4.586-4.586a1 1 0 0 0 0-1.414l-7-7A1 1 0 0 0 6.586 1H2zm4 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconTags=/*#__PURE__*/makeIcon('Tags','<path fill-rule="evenodd" d="M3 2v4.586l7 7L14.586 9l-7-7H3zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586V2z"/><path fill-rule="evenodd" d="M5.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/><path d="M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1v5.086z"/>');// eslint-disable-next-line
|
|
var BIconTagsFill=/*#__PURE__*/makeIcon('TagsFill','<path fill-rule="evenodd" d="M3 1a1 1 0 0 0-1 1v4.586a1 1 0 0 0 .293.707l7 7a1 1 0 0 0 1.414 0l4.586-4.586a1 1 0 0 0 0-1.414l-7-7A1 1 0 0 0 7.586 1H3zm4 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path d="M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1v5.086z"/>');// eslint-disable-next-line
|
|
var BIconTelephone=/*#__PURE__*/makeIcon('Telephone','<path fill-rule="evenodd" d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneFill=/*#__PURE__*/makeIcon('TelephoneFill','<path fill-rule="evenodd" d="M2.267.98a1.636 1.636 0 0 1 2.448.152l1.681 2.162c.309.396.418.913.296 1.4l-.513 2.053a.636.636 0 0 0 .167.604L8.65 9.654a.636.636 0 0 0 .604.167l2.052-.513a1.636 1.636 0 0 1 1.401.296l2.162 1.681c.777.604.849 1.753.153 2.448l-.97.97c-.693.693-1.73.998-2.697.658a17.47 17.47 0 0 1-6.571-4.144A17.47 17.47 0 0 1 .639 4.646c-.34-.967-.035-2.004.658-2.698l.97-.969z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneForward=/*#__PURE__*/makeIcon('TelephoneForward','<path fill-rule="evenodd" d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zm10.762.135a.5.5 0 0 1 .708 0l2.5 2.5a.5.5 0 0 1 0 .708l-2.5 2.5a.5.5 0 0 1-.708-.708L14.293 4H9.5a.5.5 0 0 1 0-1h4.793l-1.647-1.646a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneForwardFill=/*#__PURE__*/makeIcon('TelephoneForwardFill','<path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zm10.761.135a.5.5 0 0 1 .708 0l2.5 2.5a.5.5 0 0 1 0 .708l-2.5 2.5a.5.5 0 0 1-.708-.708L14.293 4H9.5a.5.5 0 0 1 0-1h4.793l-1.647-1.646a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneInbound=/*#__PURE__*/makeIcon('TelephoneInbound','<path fill-rule="evenodd" d="M15.854.146a.5.5 0 0 1 0 .708L11.707 5H14.5a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 1 0v2.793L15.146.146a.5.5 0 0 1 .708 0zm-12.2 1.182a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneInboundFill=/*#__PURE__*/makeIcon('TelephoneInboundFill','<path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zM15.854.146a.5.5 0 0 1 0 .708L11.707 5H14.5a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 1 0v2.793L15.146.146a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneMinus=/*#__PURE__*/makeIcon('TelephoneMinus','<path fill-rule="evenodd" d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zM10 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneMinusFill=/*#__PURE__*/makeIcon('TelephoneMinusFill','<path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zM10 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneOutbound=/*#__PURE__*/makeIcon('TelephoneOutbound','<path fill-rule="evenodd" d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zM11 .5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0V1.707l-4.146 4.147a.5.5 0 0 1-.708-.708L14.293 1H11.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneOutboundFill=/*#__PURE__*/makeIcon('TelephoneOutboundFill','<path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zM11 .5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0V1.707l-4.146 4.147a.5.5 0 0 1-.708-.708L14.293 1H11.5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTelephonePlus=/*#__PURE__*/makeIcon('TelephonePlus','<path fill-rule="evenodd" d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zM12.5 1a.5.5 0 0 1 .5.5V3h1.5a.5.5 0 0 1 0 1H13v1.5a.5.5 0 0 1-1 0V4h-1.5a.5.5 0 0 1 0-1H12V1.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTelephonePlusFill=/*#__PURE__*/makeIcon('TelephonePlusFill','<path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zM12.5 1a.5.5 0 0 1 .5.5V3h1.5a.5.5 0 0 1 0 1H13v1.5a.5.5 0 0 1-1 0V4h-1.5a.5.5 0 0 1 0-1H12V1.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneX=/*#__PURE__*/makeIcon('TelephoneX','<path fill-rule="evenodd" d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zm9.262 1.135a.5.5 0 0 1 .708 0L13 2.793l1.146-1.147a.5.5 0 0 1 .708.708L13.707 3.5l1.147 1.146a.5.5 0 0 1-.708.708L13 4.207l-1.146 1.147a.5.5 0 0 1-.708-.708L12.293 3.5l-1.147-1.146a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconTelephoneXFill=/*#__PURE__*/makeIcon('TelephoneXFill','<path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zm9.261 1.135a.5.5 0 0 1 .708 0L13 2.793l1.146-1.147a.5.5 0 0 1 .708.708L13.707 3.5l1.147 1.146a.5.5 0 0 1-.708.708L13 4.207l-1.146 1.147a.5.5 0 0 1-.708-.708L12.293 3.5l-1.147-1.146a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconTerminal=/*#__PURE__*/makeIcon('Terminal','<path fill-rule="evenodd" d="M14 2H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zM2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M6 9a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 9zM3.146 4.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 1 1-.708-.708L4.793 6.5 3.146 4.854a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconTerminalFill=/*#__PURE__*/makeIcon('TerminalFill','<path fill-rule="evenodd" d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3zm9.5 5.5h-3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm-6.354-.354L4.793 6.5 3.146 4.854a.5.5 0 1 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708z"/>');// eslint-disable-next-line
|
|
var BIconTextCenter=/*#__PURE__*/makeIcon('TextCenter','<path fill-rule="evenodd" d="M4 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTextIndentLeft=/*#__PURE__*/makeIcon('TextIndentLeft','<path fill-rule="evenodd" d="M2 3.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm.646 2.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L4.293 8 2.646 6.354a.5.5 0 0 1 0-.708zM7 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm-5 3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTextIndentRight=/*#__PURE__*/makeIcon('TextIndentRight','<path fill-rule="evenodd" d="M2 3.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm10.646 2.146a.5.5 0 0 1 .708.708L11.707 8l1.647 1.646a.5.5 0 0 1-.708.708l-2-2a.5.5 0 0 1 0-.708l2-2zM2 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTextLeft=/*#__PURE__*/makeIcon('TextLeft','<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTextParagraph=/*#__PURE__*/makeIcon('TextParagraph','<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm4-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTextRight=/*#__PURE__*/makeIcon('TextRight','<path fill-rule="evenodd" d="M6 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm4-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconTextarea=/*#__PURE__*/makeIcon('Textarea','<path fill-rule="evenodd" d="M1.5 2.5A1.5 1.5 0 0 1 3 1h10a1.5 1.5 0 0 1 1.5 1.5v3.563a2 2 0 0 1 0 3.874V13.5A1.5 1.5 0 0 1 13 15H3a1.5 1.5 0 0 1-1.5-1.5V9.937a2 2 0 0 1 0-3.874V2.5zm1 3.563a2 2 0 0 1 0 3.874V13.5a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V9.937a2 2 0 0 1 0-3.874V2.5A.5.5 0 0 0 13 2H3a.5.5 0 0 0-.5.5v3.563zM2 7a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm12 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconTextareaResize=/*#__PURE__*/makeIcon('TextareaResize','<path fill-rule="evenodd" d="M0 3.5A2.5 2.5 0 0 1 2.5 1h11A2.5 2.5 0 0 1 16 3.5v8.854a2.5 2.5 0 0 1-2.5 2.5h-11a2.5 2.5 0 0 1-2.5-2.5V3.5zM2.5 2A1.5 1.5 0 0 0 1 3.5v8.854a1.5 1.5 0 0 0 1.5 1.5h11a1.5 1.5 0 0 0 1.5-1.5V3.5A1.5 1.5 0 0 0 13.5 2h-11zm10.854 6.5a.5.5 0 0 1 0 .707l-3 3a.5.5 0 1 1-.708-.707l3-3a.5.5 0 0 1 .708 0zm0 2.5a.5.5 0 0 1 0 .707l-.5.5a.5.5 0 0 1-.708-.707l.5-.5a.5.5 0 0 1 .708 0z"/>');// eslint-disable-next-line
|
|
var BIconTextareaT=/*#__PURE__*/makeIcon('TextareaT','<path fill-rule="evenodd" d="M1.5 2.5A1.5 1.5 0 0 1 3 1h10a1.5 1.5 0 0 1 1.5 1.5v3.563a2 2 0 0 1 0 3.874V13.5A1.5 1.5 0 0 1 13 15H3a1.5 1.5 0 0 1-1.5-1.5V9.937a2 2 0 0 1 0-3.874V2.5zm1 3.563a2 2 0 0 1 0 3.874V13.5a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V9.937a2 2 0 0 1 0-3.874V2.5A.5.5 0 0 0 13 2H3a.5.5 0 0 0-.5.5v3.563zM2 7a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm12 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/><path d="M11.434 4H4.566L4.5 5.994h.386c.21-1.252.612-1.446 2.173-1.495l.343-.011v6.343c0 .537-.116.665-1.049.748V12h3.294v-.421c-.938-.083-1.054-.21-1.054-.748V4.488l.348.01c1.56.05 1.963.244 2.173 1.496h.386L11.434 4z"/>');// eslint-disable-next-line
|
|
var BIconThermometer=/*#__PURE__*/makeIcon('Thermometer','<path fill-rule="evenodd" d="M6 2a2 2 0 1 1 4 0v7.627a3.5 3.5 0 1 1-4 0V2zm2-1a1 1 0 0 0-1 1v7.901a.5.5 0 0 1-.25.433A2.499 2.499 0 0 0 8 15a2.5 2.5 0 0 0 1.25-4.666.5.5 0 0 1-.25-.433V2a1 1 0 0 0-1-1z"/><path d="M9.5 12.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconThermometerHalf=/*#__PURE__*/makeIcon('ThermometerHalf','<path fill-rule="evenodd" d="M6 2a2 2 0 1 1 4 0v7.627a3.5 3.5 0 1 1-4 0V2zm2-1a1 1 0 0 0-1 1v7.901a.5.5 0 0 1-.25.433A2.499 2.499 0 0 0 8 15a2.5 2.5 0 0 0 1.25-4.666.5.5 0 0 1-.25-.433V2a1 1 0 0 0-1-1z"/><path d="M8.25 2a.25.25 0 0 0-.5 0v9.02a1.514 1.514 0 0 1 .5 0V2z"/><path d="M9.5 12.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconThreeDots=/*#__PURE__*/makeIcon('ThreeDots','<path fill-rule="evenodd" d="M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>');// eslint-disable-next-line
|
|
var BIconThreeDotsVertical=/*#__PURE__*/makeIcon('ThreeDotsVertical','<path fill-rule="evenodd" d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>');// eslint-disable-next-line
|
|
var BIconToggle2Off=/*#__PURE__*/makeIcon('Toggle2Off','<path d="M9 11c.628-.836 1-1.874 1-3a4.978 4.978 0 0 0-1-3h4a3 3 0 1 1 0 6H9z"/><path fill-rule="evenodd" d="M5 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 1A5 5 0 1 0 5 3a5 5 0 0 0 0 10z"/>');// eslint-disable-next-line
|
|
var BIconToggle2On=/*#__PURE__*/makeIcon('Toggle2On','<path d="M7 5H3a3 3 0 0 0 0 6h4a4.995 4.995 0 0 1-.584-1H3a2 2 0 1 1 0-4h3.416c.156-.357.352-.692.584-1z"/><path d="M16 8A5 5 0 1 1 6 8a5 5 0 0 1 10 0z"/>');// eslint-disable-next-line
|
|
var BIconToggleOff=/*#__PURE__*/makeIcon('ToggleOff','<path fill-rule="evenodd" d="M11 4a4 4 0 0 1 0 8H8a4.992 4.992 0 0 0 2-4 4.992 4.992 0 0 0-2-4h3zm-6 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zM0 8a5 5 0 0 0 5 5h6a5 5 0 0 0 0-10H5a5 5 0 0 0-5 5z"/>');// eslint-disable-next-line
|
|
var BIconToggleOn=/*#__PURE__*/makeIcon('ToggleOn','<path fill-rule="evenodd" d="M5 3a5 5 0 0 0 0 10h6a5 5 0 0 0 0-10H5zm6 9a4 4 0 1 0 0-8 4 4 0 0 0 0 8z"/>');// eslint-disable-next-line
|
|
var BIconToggles=/*#__PURE__*/makeIcon('Toggles','<path fill-rule="evenodd" d="M4.5 9a3.5 3.5 0 1 0 0 7h7a3.5 3.5 0 1 0 0-7h-7zm7 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm-7-14a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm2.45 0A3.49 3.49 0 0 1 8 3.5 3.49 3.49 0 0 1 6.95 6h4.55a2.5 2.5 0 0 0 0-5H6.95zM4.5 0h7a3.5 3.5 0 1 1 0 7h-7a3.5 3.5 0 1 1 0-7z"/>');// eslint-disable-next-line
|
|
var BIconToggles2=/*#__PURE__*/makeIcon('Toggles2','<path fill-rule="evenodd" d="M2 4a2 2 0 0 1 2-2h8a2 2 0 1 1 0 4H4a2 2 0 0 1-2-2zm2-1a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H4z"/><path d="M14 4a4 4 0 1 1-8 0 4 4 0 0 1 8 0z"/><path fill-rule="evenodd" d="M9.465 10H12a2 2 0 1 1 0 4H9.465c.34-.588.535-1.271.535-2 0-.729-.195-1.412-.535-2z"/><path fill-rule="evenodd" d="M6 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0 1a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/>');// eslint-disable-next-line
|
|
var BIconTools=/*#__PURE__*/makeIcon('Tools','<path fill-rule="evenodd" d="M0 1l1-1 3.081 2.2a1 1 0 0 1 .419.815v.07a1 1 0 0 0 .293.708L10.5 9.5l.914-.305a1 1 0 0 1 1.023.242l3.356 3.356a1 1 0 0 1 0 1.414l-1.586 1.586a1 1 0 0 1-1.414 0l-3.356-3.356a1 1 0 0 1-.242-1.023L9.5 10.5 3.793 4.793a1 1 0 0 0-.707-.293h-.071a1 1 0 0 1-.814-.419L0 1zm11.354 9.646a.5.5 0 0 0-.708.708l3 3a.5.5 0 0 0 .708-.708l-3-3z"/><path fill-rule="evenodd" d="M15.898 2.223a3.003 3.003 0 0 1-3.679 3.674L5.878 12.15a3 3 0 1 1-2.027-2.027l6.252-6.341A3 3 0 0 1 13.778.1l-2.142 2.142L12 4l1.757.364 2.141-2.141zm-13.37 9.019L3.001 11l.471.242.529.026.287.445.445.287.026.529L5 13l-.242.471-.026.529-.445.287-.287.445-.529.026L3 15l-.471-.242L2 14.732l-.287-.445L1.268 14l-.026-.529L1 13l.242-.471.026-.529.445-.287.287-.445.529-.026z"/>');// eslint-disable-next-line
|
|
var BIconTrash=/*#__PURE__*/makeIcon('Trash','<path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"/><path fill-rule="evenodd" d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4L4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"/>');// eslint-disable-next-line
|
|
var BIconTrash2=/*#__PURE__*/makeIcon('Trash2','<path fill-rule="evenodd" d="M3.18 4l1.528 9.164a1 1 0 0 0 .986.836h4.612a1 1 0 0 0 .986-.836L12.82 4H3.18zm.541 9.329A2 2 0 0 0 5.694 15h4.612a2 2 0 0 0 1.973-1.671L14 3H2l1.721 10.329z"/><path d="M14 3c0 1.105-2.686 2-6 2s-6-.895-6-2 2.686-2 6-2 6 .895 6 2z"/><path fill-rule="evenodd" d="M12.9 3c-.18-.14-.497-.307-.974-.466C10.967 2.214 9.58 2 8 2s-2.968.215-3.926.534c-.477.16-.795.327-.975.466.18.14.498.307.975.466C5.032 3.786 6.42 4 8 4s2.967-.215 3.926-.534c.477-.16.795-.327.975-.466zM8 5c3.314 0 6-.895 6-2s-2.686-2-6-2-6 .895-6 2 2.686 2 6 2z"/>');// eslint-disable-next-line
|
|
var BIconTrash2Fill=/*#__PURE__*/makeIcon('Trash2Fill','<path d="M2.037 3.225l1.684 10.104A2 2 0 0 0 5.694 15h4.612a2 2 0 0 0 1.973-1.671l1.684-10.104C13.627 4.224 11.085 5 8 5c-3.086 0-5.627-.776-5.963-1.775z"/><path fill-rule="evenodd" d="M12.9 3c-.18-.14-.497-.307-.974-.466C10.967 2.214 9.58 2 8 2s-2.968.215-3.926.534c-.477.16-.795.327-.975.466.18.14.498.307.975.466C5.032 3.786 6.42 4 8 4s2.967-.215 3.926-.534c.477-.16.795-.327.975-.466zM8 5c3.314 0 6-.895 6-2s-2.686-2-6-2-6 .895-6 2 2.686 2 6 2z"/>');// eslint-disable-next-line
|
|
var BIconTrashFill=/*#__PURE__*/makeIcon('TrashFill','<path fill-rule="evenodd" d="M2.5 1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1H3v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V4h.5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1H2.5zm3 4a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 .5-.5zM8 5a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7A.5.5 0 0 1 8 5zm3 .5a.5.5 0 0 0-1 0v7a.5.5 0 0 0 1 0v-7z"/>');// eslint-disable-next-line
|
|
var BIconTree=/*#__PURE__*/makeIcon('Tree','<path fill-rule="evenodd" d="M8 0a.5.5 0 0 1 .416.223l3 4.5A.5.5 0 0 1 11 5.5h-.098l2.022 3.235a.5.5 0 0 1-.424.765h-.191l1.638 3.276a.5.5 0 0 1-.447.724h-11a.5.5 0 0 1-.447-.724L3.69 9.5H3.5a.5.5 0 0 1-.424-.765L5.098 5.5H5a.5.5 0 0 1-.416-.777l3-4.5A.5.5 0 0 1 8 0zM5.934 4.5H6a.5.5 0 0 1 .424.765L4.402 8.5H4.5a.5.5 0 0 1 .447.724L3.31 12.5h9.382l-1.638-3.276A.5.5 0 0 1 11.5 8.5h.098L9.576 5.265A.5.5 0 0 1 10 4.5h.066L8 1.401 5.934 4.5z"/><path d="M7 13.5h2V16H7v-2.5z"/>');// eslint-disable-next-line
|
|
var BIconTreeFill=/*#__PURE__*/makeIcon('TreeFill','<path fill-rule="evenodd" d="M8 0a.5.5 0 0 1 .416.223l3 4.5A.5.5 0 0 1 11 5.5h-.098l2.022 3.235a.5.5 0 0 1-.424.765h-.191l1.638 3.276a.5.5 0 0 1-.447.724h-11a.5.5 0 0 1-.447-.724L3.69 9.5H3.5a.5.5 0 0 1-.424-.765L5.098 5.5H5a.5.5 0 0 1-.416-.777l3-4.5A.5.5 0 0 1 8 0z"/><path d="M7 13.5h2V16H7v-2.5z"/>');// eslint-disable-next-line
|
|
var BIconTriangle=/*#__PURE__*/makeIcon('Triangle','<path fill-rule="evenodd" d="M7.938 2.016a.146.146 0 0 0-.054.057L1.027 13.74a.176.176 0 0 0-.002.183c.016.03.037.05.054.06.015.01.034.017.066.017h13.713a.12.12 0 0 0 .066-.017.163.163 0 0 0 .055-.06.176.176 0 0 0-.003-.183L8.12 2.073a.146.146 0 0 0-.054-.057A.13.13 0 0 0 8.002 2a.13.13 0 0 0-.064.016zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/>');// eslint-disable-next-line
|
|
var BIconTriangleFill=/*#__PURE__*/makeIcon('TriangleFill','<path fill-rule="evenodd" d="M7.022 1.566a1.13 1.13 0 0 1 1.96 0l6.857 11.667c.457.778-.092 1.767-.98 1.767H1.144c-.889 0-1.437-.99-.98-1.767L7.022 1.566z"/>');// eslint-disable-next-line
|
|
var BIconTriangleHalf=/*#__PURE__*/makeIcon('TriangleHalf','<path fill-rule="evenodd" d="M8.065 2.016a.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.162.162 0 0 1-.054.06.115.115 0 0 1-.066.017l-6.856-.017V2a.13.13 0 0 1 .063.016zm-1.043-.45a1.13 1.13 0 0 1 1.96 0l6.857 11.667c.457.778-.092 1.767-.98 1.767H1.144c-.889 0-1.437-.99-.98-1.767L7.022 1.566z"/>');// eslint-disable-next-line
|
|
var BIconTrophy=/*#__PURE__*/makeIcon('Trophy','<path fill-rule="evenodd" d="M2.5.5A.5.5 0 0 1 3 0h10a.5.5 0 0 1 .5.5c0 .538-.012 1.05-.034 1.536a3 3 0 1 1-1.133 5.89c-.79 1.865-1.878 2.777-2.833 3.011v2.173l1.425.356c.194.048.377.135.537.255L13.3 15.1a.5.5 0 0 1-.3.9H3a.5.5 0 0 1-.3-.9l1.838-1.379c.16-.12.343-.207.537-.255L6.5 13.11v-2.173c-.955-.234-2.043-1.146-2.833-3.012a3 3 0 1 1-1.132-5.89A33.076 33.076 0 0 1 2.5.5zm.099 2.54a2 2 0 0 0 .72 3.935c-.333-1.05-.588-2.346-.72-3.935zm10.083 3.935a2 2 0 0 0 .72-3.935c-.133 1.59-.388 2.885-.72 3.935zM3.504 1c.007.517.026 1.006.056 1.469.13 2.028.457 3.546.87 4.667C5.294 9.48 6.484 10 7 10a.5.5 0 0 1 .5.5v2.61a1 1 0 0 1-.757.97l-1.426.356a.5.5 0 0 0-.179.085L4.5 15h7l-.638-.479a.501.501 0 0 0-.18-.085l-1.425-.356a1 1 0 0 1-.757-.97V10.5A.5.5 0 0 1 9 10c.516 0 1.706-.52 2.57-2.864.413-1.12.74-2.64.87-4.667.03-.463.049-.952.056-1.469H3.504z"/>');// eslint-disable-next-line
|
|
var BIconTrophyFill=/*#__PURE__*/makeIcon('TrophyFill','<path fill-rule="evenodd" d="M2.5.5A.5.5 0 0 1 3 0h10a.5.5 0 0 1 .5.5c0 .538-.012 1.05-.034 1.536a3 3 0 1 1-1.133 5.89c-.79 1.865-1.878 2.777-2.833 3.011v2.173l1.425.356c.194.048.377.135.537.255L13.3 15.1a.5.5 0 0 1-.3.9H3a.5.5 0 0 1-.3-.9l1.838-1.379c.16-.12.343-.207.537-.255L6.5 13.11v-2.173c-.955-.234-2.043-1.146-2.833-3.012a3 3 0 1 1-1.132-5.89A33.076 33.076 0 0 1 2.5.5zm.099 2.54a2 2 0 0 0 .72 3.935c-.333-1.05-.588-2.346-.72-3.935zm10.083 3.935a2 2 0 0 0 .72-3.935c-.133 1.59-.388 2.885-.72 3.935z"/>');// eslint-disable-next-line
|
|
var BIconTruck=/*#__PURE__*/makeIcon('Truck','<path fill-rule="evenodd" d="M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5v-7zm1.294 7.456A1.999 1.999 0 0 1 4.732 11h5.536a2.01 2.01 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456zM12 10a2 2 0 0 1 1.732 1h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12v4zm-9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>');// eslint-disable-next-line
|
|
var BIconTruckFlatbed=/*#__PURE__*/makeIcon('TruckFlatbed','<path fill-rule="evenodd" d="M11.5 4a.5.5 0 0 1 .5.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-4 0 1 1 0 0 1-1-1v-1h11V4.5a.5.5 0 0 1 .5-.5zM3 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm1.732 0A2 2 0 0 0 12 10V6h1.02a.5.5 0 0 1 .39.188l1.48 1.85a.5.5 0 0 1 .11.313V10.5a.5.5 0 0 1-.5.5h-.768z"/>');// eslint-disable-next-line
|
|
var BIconTv=/*#__PURE__*/makeIcon('Tv','<path fill-rule="evenodd" d="M2.5 13.5A.5.5 0 0 1 3 13h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zM13.991 3H2c-.325 0-.502.078-.602.145a.758.758 0 0 0-.254.302A1.46 1.46 0 0 0 1 4.01V10c0 .325.078.502.145.602.07.105.17.188.302.254a1.464 1.464 0 0 0 .538.143L2.01 11H14c.325 0 .502-.078.602-.145a.758.758 0 0 0 .254-.302 1.464 1.464 0 0 0 .143-.538L15 9.99V4c0-.325-.078-.502-.145-.602a.757.757 0 0 0-.302-.254A1.46 1.46 0 0 0 13.99 3zM14 2H2C0 2 0 4 0 4v6c0 2 2 2 2 2h12c2 0 2-2 2-2V4c0-2-2-2-2-2z"/>');// eslint-disable-next-line
|
|
var BIconTvFill=/*#__PURE__*/makeIcon('TvFill','<path fill-rule="evenodd" d="M2.5 13.5A.5.5 0 0 1 3 13h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zM2 2h12s2 0 2 2v6s0 2-2 2H2s-2 0-2-2V4s0-2 2-2z"/>');// eslint-disable-next-line
|
|
var BIconType=/*#__PURE__*/makeIcon('Type','<path d="M2.244 13.081l.943-2.803H6.66l.944 2.803H8.86L5.54 3.75H4.322L1 13.081h1.244zm2.7-7.923L6.34 9.314H3.51l1.4-4.156h.034zm9.146 7.027h.035v.896h1.128V8.125c0-1.51-1.114-2.345-2.646-2.345-1.736 0-2.59.916-2.666 2.174h1.108c.068-.718.595-1.19 1.517-1.19.971 0 1.518.52 1.518 1.464v.731H12.19c-1.647.007-2.522.8-2.522 2.058 0 1.319.957 2.18 2.345 2.18 1.06 0 1.716-.43 2.078-1.011zm-1.763.035c-.752 0-1.456-.397-1.456-1.244 0-.65.424-1.115 1.408-1.115h1.805v.834c0 .896-.752 1.525-1.757 1.525z"/>');// eslint-disable-next-line
|
|
var BIconTypeBold=/*#__PURE__*/makeIcon('TypeBold','<path d="M8.21 13c2.106 0 3.412-1.087 3.412-2.823 0-1.306-.984-2.283-2.324-2.386v-.055a2.176 2.176 0 0 0 1.852-2.14c0-1.51-1.162-2.46-3.014-2.46H3.843V13H8.21zM5.908 4.674h1.696c.963 0 1.517.451 1.517 1.244 0 .834-.629 1.32-1.73 1.32H5.908V4.673zm0 6.788V8.598h1.73c1.217 0 1.88.492 1.88 1.415 0 .943-.643 1.449-1.832 1.449H5.907z"/>');// eslint-disable-next-line
|
|
var BIconTypeH1=/*#__PURE__*/makeIcon('TypeH1','<path d="M8.637 13V3.669H7.379V7.62H2.758V3.67H1.5V13h1.258V8.728h4.62V13h1.259zm5.329 0V3.669h-1.244L10.5 5.316v1.265l2.16-1.565h.062V13h1.244z"/>');// eslint-disable-next-line
|
|
var BIconTypeH2=/*#__PURE__*/makeIcon('TypeH2','<path d="M7.638 13V3.669H6.38V7.62H1.759V3.67H.5V13h1.258V8.728h4.62V13h1.259zm3.022-6.733v-.048c0-.889.63-1.668 1.716-1.668.957 0 1.675.608 1.675 1.572 0 .855-.554 1.504-1.067 2.085l-3.513 3.999V13H15.5v-1.094h-4.245v-.075l2.481-2.844c.875-.998 1.586-1.784 1.586-2.953 0-1.463-1.155-2.556-2.919-2.556-1.941 0-2.966 1.326-2.966 2.74v.049h1.223z"/>');// eslint-disable-next-line
|
|
var BIconTypeH3=/*#__PURE__*/makeIcon('TypeH3','<path d="M7.637 13V3.669H6.379V7.62H1.758V3.67H.5V13h1.258V8.728h4.62V13h1.259zm3.625-4.272h1.018c1.142 0 1.935.67 1.949 1.674.013 1.005-.78 1.737-2.01 1.73-1.08-.007-1.853-.588-1.935-1.32H9.108c.069 1.327 1.224 2.386 3.083 2.386 1.935 0 3.343-1.155 3.309-2.789-.027-1.51-1.251-2.16-2.037-2.249v-.068c.704-.123 1.764-.91 1.723-2.229-.035-1.353-1.176-2.4-2.954-2.385-1.873.006-2.857 1.162-2.898 2.358h1.196c.062-.69.711-1.299 1.696-1.299.998 0 1.695.622 1.695 1.525.007.922-.718 1.592-1.695 1.592h-.964v1.074z"/>');// eslint-disable-next-line
|
|
var BIconTypeItalic=/*#__PURE__*/makeIcon('TypeItalic','<path d="M7.991 11.674L9.53 4.455c.123-.595.246-.71 1.347-.807l.11-.52H7.211l-.11.52c1.06.096 1.128.212 1.005.807L6.57 11.674c-.123.595-.246.71-1.346.806l-.11.52h3.774l.11-.52c-1.06-.095-1.129-.211-1.006-.806z"/>');// eslint-disable-next-line
|
|
var BIconTypeStrikethrough=/*#__PURE__*/makeIcon('TypeStrikethrough','<path d="M8.527 13.164c-2.153 0-3.589-1.107-3.705-2.81h1.23c.144 1.06 1.129 1.703 2.544 1.703 1.34 0 2.31-.705 2.31-1.675 0-.827-.547-1.374-1.914-1.675L8.046 8.5h3.45c.468.437.675.994.675 1.697 0 1.826-1.436 2.967-3.644 2.967zM6.602 6.5H5.167a2.776 2.776 0 0 1-.099-.76c0-1.627 1.436-2.768 3.48-2.768 1.969 0 3.39 1.175 3.445 2.85h-1.23c-.11-1.08-.964-1.743-2.25-1.743-1.23 0-2.18.602-2.18 1.607 0 .31.083.581.27.814z"/><path fill-rule="evenodd" d="M15 8.5H1v-1h14v1z"/>');// eslint-disable-next-line
|
|
var BIconTypeUnderline=/*#__PURE__*/makeIcon('TypeUnderline','<path d="M5.313 3.136h-1.23V9.54c0 2.105 1.47 3.623 3.917 3.623s3.917-1.518 3.917-3.623V3.136h-1.23v6.323c0 1.49-.978 2.57-2.687 2.57-1.709 0-2.687-1.08-2.687-2.57V3.136z"/><path fill-rule="evenodd" d="M12.5 15h-9v-1h9v1z"/>');// eslint-disable-next-line
|
|
var BIconUiChecks=/*#__PURE__*/makeIcon('UiChecks','<path d="M7 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-1z"/><path fill-rule="evenodd" d="M2 1a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm0 8a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H2zm.854-3.646l2-2a.5.5 0 1 0-.708-.708L2.5 4.293l-.646-.647a.5.5 0 1 0-.708.708l1 1a.5.5 0 0 0 .708 0zm0 8l2-2a.5.5 0 0 0-.708-.708L2.5 12.293l-.646-.647a.5.5 0 0 0-.708.708l1 1a.5.5 0 0 0 .708 0z"/><path d="M7 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-1z"/><path fill-rule="evenodd" d="M7 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 8a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>');// eslint-disable-next-line
|
|
var BIconUiChecksGrid=/*#__PURE__*/makeIcon('UiChecksGrid','<path fill-rule="evenodd" d="M2 10a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H2zm9-9a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1h-3zm0 9a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-3zm0-10a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2h-3zM2 9a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H2zm7 2a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-3a2 2 0 0 1-2-2v-3zM0 2a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm5.354.854l-2 2a.5.5 0 0 1-.708 0l-1-1a.5.5 0 1 1 .708-.708L3 3.793l1.646-1.647a.5.5 0 1 1 .708.708z"/>');// eslint-disable-next-line
|
|
var BIconUiRadios=/*#__PURE__*/makeIcon('UiRadios','<path d="M7 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-1zM0 12a3 3 0 1 1 6 0 3 3 0 0 1-6 0zm7-1.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-1z"/><path fill-rule="evenodd" d="M7 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 8a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zM3 1a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm0 4.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>');// eslint-disable-next-line
|
|
var BIconUiRadiosGrid=/*#__PURE__*/makeIcon('UiRadiosGrid','<path fill-rule="evenodd" d="M3.5 15a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm9-9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm0 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM16 3.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0zm-9 9a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0zm5.5 3.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zm-9-11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm0 2a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z"/>');// eslint-disable-next-line
|
|
var BIconUnion=/*#__PURE__*/makeIcon('Union','<path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2z"/>');// eslint-disable-next-line
|
|
var BIconUnlock=/*#__PURE__*/makeIcon('Unlock','<path fill-rule="evenodd" d="M9.655 8H2.333c-.264 0-.398.068-.471.121a.73.73 0 0 0-.224.296 1.626 1.626 0 0 0-.138.59V14c0 .342.076.531.14.635.064.106.151.18.256.237a1.122 1.122 0 0 0 .436.127l.013.001h7.322c.264 0 .398-.068.471-.121a.73.73 0 0 0 .224-.296 1.627 1.627 0 0 0 .138-.59V9c0-.342-.076-.531-.14-.635a.658.658 0 0 0-.255-.237A1.122 1.122 0 0 0 9.655 8zm.012-1H2.333C.5 7 .5 9 .5 9v5c0 2 1.833 2 1.833 2h7.334c1.833 0 1.833-2 1.833-2V9c0-2-1.833-2-1.833-2zM8.5 4a3.5 3.5 0 1 1 7 0v3h-1V4a2.5 2.5 0 0 0-5 0v3h-1V4z"/>');// eslint-disable-next-line
|
|
var BIconUnlockFill=/*#__PURE__*/makeIcon('UnlockFill','<path d="M.5 9a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9z"/><path fill-rule="evenodd" d="M8.5 4a3.5 3.5 0 1 1 7 0v3h-1V4a2.5 2.5 0 0 0-5 0v3h-1V4z"/>');// eslint-disable-next-line
|
|
var BIconUpc=/*#__PURE__*/makeIcon('Upc','<path d="M3 4.5a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7zm2 0a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7zm2 0a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7zm2 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-7zm3 0a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7z"/>');// eslint-disable-next-line
|
|
var BIconUpcScan=/*#__PURE__*/makeIcon('UpcScan','<path fill-rule="evenodd" d="M1.5 1a.5.5 0 0 0-.5.5v3a.5.5 0 0 1-1 0v-3A1.5 1.5 0 0 1 1.5 0h3a.5.5 0 0 1 0 1h-3zM11 .5a.5.5 0 0 1 .5-.5h3A1.5 1.5 0 0 1 16 1.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 1-.5-.5zM.5 11a.5.5 0 0 1 .5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 1 0 1h-3A1.5 1.5 0 0 1 0 14.5v-3a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v3a1.5 1.5 0 0 1-1.5 1.5h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 1 .5-.5z"/><path d="M3 4.5a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7zm2 0a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7zm2 0a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7zm2 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-7zm3 0a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7z"/>');// eslint-disable-next-line
|
|
var BIconUpload=/*#__PURE__*/makeIcon('Upload','<path fill-rule="evenodd" d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/><path fill-rule="evenodd" d="M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708l3-3z"/>');// eslint-disable-next-line
|
|
var BIconVectorPen=/*#__PURE__*/makeIcon('VectorPen','<path fill-rule="evenodd" d="M10.646.646a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1 0 .708l-1.902 1.902-.829 3.313a1.5 1.5 0 0 1-1.024 1.073L1.254 14.746 4.358 4.4A1.5 1.5 0 0 1 5.43 3.377l3.313-.828L10.646.646zm-1.8 2.908l-3.173.793a.5.5 0 0 0-.358.342l-2.57 8.565 8.567-2.57a.5.5 0 0 0 .34-.357l.794-3.174-3.6-3.6z"/><path fill-rule="evenodd" d="M2.832 13.228L8 9a1 1 0 1 0-1-1l-4.228 5.168-.026.086.086-.026z"/>');// eslint-disable-next-line
|
|
var BIconViewList=/*#__PURE__*/makeIcon('ViewList','<path fill-rule="evenodd" d="M3 4.5h10a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H3zM1 2a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 2zm0 12a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 14z"/>');// eslint-disable-next-line
|
|
var BIconViewStacked=/*#__PURE__*/makeIcon('ViewStacked','<path fill-rule="evenodd" d="M3 0h10a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3zm0 8h10a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H3z"/>');// eslint-disable-next-line
|
|
var BIconVoicemail=/*#__PURE__*/makeIcon('Voicemail','<path fill-rule="evenodd" d="M7 8.5A3.49 3.49 0 0 1 5.95 11h4.1a3.5 3.5 0 1 1 2.45 1h-9A3.5 3.5 0 1 1 7 8.5zm-6 0a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0zm14 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/>');// eslint-disable-next-line
|
|
var BIconVolumeDown=/*#__PURE__*/makeIcon('VolumeDown','<path fill-rule="evenodd" d="M8.717 3.55A.5.5 0 0 1 9 4v8a.5.5 0 0 1-.812.39L5.825 10.5H3.5A.5.5 0 0 1 3 10V6a.5.5 0 0 1 .5-.5h2.325l2.363-1.89a.5.5 0 0 1 .529-.06zM8 5.04L6.312 6.39A.5.5 0 0 1 6 6.5H4v3h2a.5.5 0 0 1 .312.11L8 10.96V5.04z"/><path d="M10.707 11.182A4.486 4.486 0 0 0 12.025 8a4.486 4.486 0 0 0-1.318-3.182L10 5.525A3.489 3.489 0 0 1 11.025 8c0 .966-.392 1.841-1.025 2.475l.707.707z"/>');// eslint-disable-next-line
|
|
var BIconVolumeDownFill=/*#__PURE__*/makeIcon('VolumeDownFill','<path fill-rule="evenodd" d="M8.717 3.55A.5.5 0 0 1 9 4v8a.5.5 0 0 1-.812.39L5.825 10.5H3.5A.5.5 0 0 1 3 10V6a.5.5 0 0 1 .5-.5h2.325l2.363-1.89a.5.5 0 0 1 .529-.06z"/><path d="M10.707 11.182A4.486 4.486 0 0 0 12.025 8a4.486 4.486 0 0 0-1.318-3.182L10 5.525A3.489 3.489 0 0 1 11.025 8c0 .966-.392 1.841-1.025 2.475l.707.707z"/>');// eslint-disable-next-line
|
|
var BIconVolumeMute=/*#__PURE__*/makeIcon('VolumeMute','<path fill-rule="evenodd" d="M6.717 3.55A.5.5 0 0 1 7 4v8a.5.5 0 0 1-.812.39L3.825 10.5H1.5A.5.5 0 0 1 1 10V6a.5.5 0 0 1 .5-.5h2.325l2.363-1.89a.5.5 0 0 1 .529-.06zM6 5.04L4.312 6.39A.5.5 0 0 1 4 6.5H2v3h2a.5.5 0 0 1 .312.11L6 10.96V5.04zm7.854.606a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708l4-4a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M9.146 5.646a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0z"/>');// eslint-disable-next-line
|
|
var BIconVolumeMuteFill=/*#__PURE__*/makeIcon('VolumeMuteFill','<path fill-rule="evenodd" d="M6.717 3.55A.5.5 0 0 1 7 4v8a.5.5 0 0 1-.812.39L3.825 10.5H1.5A.5.5 0 0 1 1 10V6a.5.5 0 0 1 .5-.5h2.325l2.363-1.89a.5.5 0 0 1 .529-.06zm7.137 2.096a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708l4-4a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M9.146 5.646a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0z"/>');// eslint-disable-next-line
|
|
var BIconVolumeOff=/*#__PURE__*/makeIcon('VolumeOff','<path fill-rule="evenodd" d="M10.717 3.55A.5.5 0 0 1 11 4v8a.5.5 0 0 1-.812.39L7.825 10.5H5.5A.5.5 0 0 1 5 10V6a.5.5 0 0 1 .5-.5h2.325l2.363-1.89a.5.5 0 0 1 .529-.06zM10 5.04L8.312 6.39A.5.5 0 0 1 8 6.5H6v3h2a.5.5 0 0 1 .312.11L10 10.96V5.04z"/>');// eslint-disable-next-line
|
|
var BIconVolumeOffFill=/*#__PURE__*/makeIcon('VolumeOffFill','<path fill-rule="evenodd" d="M10.717 3.55A.5.5 0 0 1 11 4v8a.5.5 0 0 1-.812.39L7.825 10.5H5.5A.5.5 0 0 1 5 10V6a.5.5 0 0 1 .5-.5h2.325l2.363-1.89a.5.5 0 0 1 .529-.06z"/>');// eslint-disable-next-line
|
|
var BIconVolumeUp=/*#__PURE__*/makeIcon('VolumeUp','<path fill-rule="evenodd" d="M6.717 3.55A.5.5 0 0 1 7 4v8a.5.5 0 0 1-.812.39L3.825 10.5H1.5A.5.5 0 0 1 1 10V6a.5.5 0 0 1 .5-.5h2.325l2.363-1.89a.5.5 0 0 1 .529-.06zM6 5.04L4.312 6.39A.5.5 0 0 1 4 6.5H2v3h2a.5.5 0 0 1 .312.11L6 10.96V5.04z"/><path d="M11.536 14.01A8.473 8.473 0 0 0 14.026 8a8.473 8.473 0 0 0-2.49-6.01l-.708.707A7.476 7.476 0 0 1 13.025 8c0 2.071-.84 3.946-2.197 5.303l.708.707z"/><path d="M10.121 12.596A6.48 6.48 0 0 0 12.025 8a6.48 6.48 0 0 0-1.904-4.596l-.707.707A5.483 5.483 0 0 1 11.025 8a5.483 5.483 0 0 1-1.61 3.89l.706.706z"/><path d="M8.707 11.182A4.486 4.486 0 0 0 10.025 8a4.486 4.486 0 0 0-1.318-3.182L8 5.525A3.489 3.489 0 0 1 9.025 8 3.49 3.49 0 0 1 8 10.475l.707.707z"/>');// eslint-disable-next-line
|
|
var BIconVolumeUpFill=/*#__PURE__*/makeIcon('VolumeUpFill','<path d="M11.536 14.01A8.473 8.473 0 0 0 14.026 8a8.473 8.473 0 0 0-2.49-6.01l-.708.707A7.476 7.476 0 0 1 13.025 8c0 2.071-.84 3.946-2.197 5.303l.708.707z"/><path d="M10.121 12.596A6.48 6.48 0 0 0 12.025 8a6.48 6.48 0 0 0-1.904-4.596l-.707.707A5.483 5.483 0 0 1 11.025 8a5.483 5.483 0 0 1-1.61 3.89l.706.706z"/><path d="M8.707 11.182A4.486 4.486 0 0 0 10.025 8a4.486 4.486 0 0 0-1.318-3.182L8 5.525A3.489 3.489 0 0 1 9.025 8 3.49 3.49 0 0 1 8 10.475l.707.707z"/><path fill-rule="evenodd" d="M6.717 3.55A.5.5 0 0 1 7 4v8a.5.5 0 0 1-.812.39L3.825 10.5H1.5A.5.5 0 0 1 1 10V6a.5.5 0 0 1 .5-.5h2.325l2.363-1.89a.5.5 0 0 1 .529-.06z"/>');// eslint-disable-next-line
|
|
var BIconVr=/*#__PURE__*/makeIcon('Vr','<path d="M3 12V4a1 1 0 0 1 1-1h2.5V2H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5v-1H4a1 1 0 0 1-1-1zm6.5 1v1H12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H9.5v1H12a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H9.5z"/><path fill-rule="evenodd" d="M8 16a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 1 0v15a.5.5 0 0 1-.5.5z"/>');// eslint-disable-next-line
|
|
var BIconWallet=/*#__PURE__*/makeIcon('Wallet','<path fill-rule="evenodd" d="M0 3a2 2 0 0 1 2-2h13.5a.5.5 0 0 1 0 1H15v2a1 1 0 0 1 1 1v8.5a1.5 1.5 0 0 1-1.5 1.5h-12A2.5 2.5 0 0 1 0 12.5V3zm1 1.732V12.5A1.5 1.5 0 0 0 2.5 14h12a.5.5 0 0 0 .5-.5V5H2a1.99 1.99 0 0 1-1-.268zM1 3a1 1 0 0 0 1 1h12V2H2a1 1 0 0 0-1 1z"/>');// eslint-disable-next-line
|
|
var BIconWallet2=/*#__PURE__*/makeIcon('Wallet2','<path fill-rule="evenodd" d="M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499L12.136.326zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484L5.562 3zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z"/>');// eslint-disable-next-line
|
|
var BIconWalletFill=/*#__PURE__*/makeIcon('WalletFill','<path d="M1.5 2A1.5 1.5 0 0 0 0 3.5v2h6a.5.5 0 0 1 .5.5c0 .253.08.644.306.958.207.288.557.542 1.194.542.637 0 .987-.254 1.194-.542.226-.314.306-.705.306-.958a.5.5 0 0 1 .5-.5h6v-2A1.5 1.5 0 0 0 14.5 2h-13z"/><path d="M16 6.5h-5.551a2.678 2.678 0 0 1-.443 1.042C9.613 8.088 8.963 8.5 8 8.5c-.963 0-1.613-.412-2.006-.958A2.679 2.679 0 0 1 5.551 6.5H0v6A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-6z"/>');// eslint-disable-next-line
|
|
var BIconWatch=/*#__PURE__*/makeIcon('Watch','<path fill-rule="evenodd" d="M4 14.333v-1.86A5.985 5.985 0 0 1 2 8c0-1.777.772-3.374 2-4.472V1.667C4 .747 4.746 0 5.667 0h4.666C11.253 0 12 .746 12 1.667v1.86A5.985 5.985 0 0 1 14 8a5.985 5.985 0 0 1-2 4.472v1.861c0 .92-.746 1.667-1.667 1.667H5.667C4.747 16 4 15.254 4 14.333zM13 8A5 5 0 1 0 3 8a5 5 0 0 0 10 0z"/><path d="M13.918 8.993A.502.502 0 0 0 14.5 8.5v-1a.5.5 0 0 0-.582-.493 6.044 6.044 0 0 1 0 1.986z"/><path fill-rule="evenodd" d="M8 4.5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5H6a.5.5 0 0 1 0-1h1.5V5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconWifi=/*#__PURE__*/makeIcon('Wifi','<path d="M15.385 6.115a.485.485 0 0 0-.048-.736A12.443 12.443 0 0 0 8 3 12.44 12.44 0 0 0 .663 5.379a.485.485 0 0 0-.048.736.518.518 0 0 0 .668.05A11.448 11.448 0 0 1 8 4c2.507 0 4.827.802 6.717 2.164.204.148.489.13.668-.049z"/><path d="M13.229 8.271c.216-.216.194-.578-.063-.745A9.456 9.456 0 0 0 8 6c-1.905 0-3.68.56-5.166 1.526a.48.48 0 0 0-.063.745.525.525 0 0 0 .652.065A8.46 8.46 0 0 1 8 7a8.46 8.46 0 0 1 4.577 1.336c.205.132.48.108.652-.065zm-2.183 2.183c.226-.226.185-.605-.1-.75A6.472 6.472 0 0 0 8 9c-1.06 0-2.062.254-2.946.704-.285.145-.326.524-.1.75l.015.015c.16.16.408.19.611.09A5.478 5.478 0 0 1 8 10c.868 0 1.69.201 2.42.56.203.1.45.07.611-.091l.015-.015zM9.06 12.44c.196-.196.198-.52-.04-.66A1.99 1.99 0 0 0 8 11.5a1.99 1.99 0 0 0-1.02.28c-.238.14-.236.464-.04.66l.706.706a.5.5 0 0 0 .708 0l.707-.707z"/>');// eslint-disable-next-line
|
|
var BIconWifi1=/*#__PURE__*/makeIcon('Wifi1','<path d="M11.046 10.454c.226-.226.185-.605-.1-.75A6.473 6.473 0 0 0 8 9c-1.06 0-2.062.254-2.946.704-.285.145-.326.524-.1.75l.015.015c.16.16.407.19.611.09A5.478 5.478 0 0 1 8 10c.868 0 1.69.201 2.42.56.203.1.45.07.611-.091l.015-.015zM9.06 12.44c.196-.196.198-.52-.04-.66A1.99 1.99 0 0 0 8 11.5a1.99 1.99 0 0 0-1.02.28c-.238.14-.236.464-.04.66l.706.706a.5.5 0 0 0 .707 0l.708-.707z"/>');// eslint-disable-next-line
|
|
var BIconWifi2=/*#__PURE__*/makeIcon('Wifi2','<path d="M13.229 8.271c.216-.216.194-.578-.063-.745A9.456 9.456 0 0 0 8 6c-1.905 0-3.68.56-5.166 1.526a.48.48 0 0 0-.063.745.525.525 0 0 0 .652.065A8.46 8.46 0 0 1 8 7a8.46 8.46 0 0 1 4.577 1.336c.205.132.48.108.652-.065zm-2.183 2.183c.226-.226.185-.605-.1-.75A6.473 6.473 0 0 0 8 9c-1.06 0-2.062.254-2.946.704-.285.145-.326.524-.1.75l.015.015c.16.16.408.19.611.09A5.478 5.478 0 0 1 8 10c.868 0 1.69.201 2.42.56.203.1.45.07.611-.091l.015-.015zM9.06 12.44c.196-.196.198-.52-.04-.66A1.99 1.99 0 0 0 8 11.5a1.99 1.99 0 0 0-1.02.28c-.238.14-.236.464-.04.66l.706.706a.5.5 0 0 0 .708 0l.707-.707z"/>');// eslint-disable-next-line
|
|
var BIconWifiOff=/*#__PURE__*/makeIcon('WifiOff','<path d="M10.706 3.294A12.545 12.545 0 0 0 8 3 12.44 12.44 0 0 0 .663 5.379a.485.485 0 0 0-.048.736.518.518 0 0 0 .668.05A11.448 11.448 0 0 1 8 4c.63 0 1.249.05 1.852.148l.854-.854zM8 6c-1.905 0-3.68.56-5.166 1.526a.48.48 0 0 0-.063.745.525.525 0 0 0 .652.065 8.448 8.448 0 0 1 3.51-1.27L8 6zm2.596 1.404l.785-.785c.63.24 1.228.545 1.785.907a.482.482 0 0 1 .063.745.525.525 0 0 1-.652.065 8.462 8.462 0 0 0-1.98-.932zM8 10l.934-.933a6.454 6.454 0 0 1 2.012.637c.285.145.326.524.1.75l-.015.015a.532.532 0 0 1-.611.09A5.478 5.478 0 0 0 8 10zm4.905-4.905l.747-.747c.59.3 1.153.645 1.685 1.03a.485.485 0 0 1 .048.737.518.518 0 0 1-.668.05 11.496 11.496 0 0 0-1.812-1.07zM9.02 11.78c.238.14.236.464.04.66l-.706.706a.5.5 0 0 1-.708 0l-.707-.707c-.195-.195-.197-.518.04-.66A1.99 1.99 0 0 1 8 11.5c.373 0 .722.102 1.02.28zm4.355-9.905a.53.53 0 1 1 .75.75l-10.75 10.75a.53.53 0 0 1-.75-.75l10.75-10.75z"/>');// eslint-disable-next-line
|
|
var BIconWindow=/*#__PURE__*/makeIcon('Window','<path fill-rule="evenodd" d="M14 2H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zM2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M15 6H1V5h14v1z"/><path d="M3 3.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1.5 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1.5 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/>');// eslint-disable-next-line
|
|
var BIconWrench=/*#__PURE__*/makeIcon('Wrench','<path fill-rule="evenodd" d="M.102 2.223A3.004 3.004 0 0 0 3.78 5.897l6.341 6.252A3.003 3.003 0 0 0 13 16a3 3 0 1 0-.851-5.878L5.897 3.781A3.004 3.004 0 0 0 2.223.1l2.141 2.142L4 4l-1.757.364L.102 2.223zm13.37 9.019L13 11l-.471.242-.529.026-.287.445-.445.287-.026.529L11 13l.242.471.026.529.445.287.287.445.529.026L13 15l.471-.242.529-.026.287-.445.445-.287.026-.529L15 13l-.242-.471-.026-.529-.445-.287-.287-.445-.529-.026z"/>');// eslint-disable-next-line
|
|
var BIconX=/*#__PURE__*/makeIcon('X','<path fill-rule="evenodd" d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconXCircle=/*#__PURE__*/makeIcon('XCircle','<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path fill-rule="evenodd" d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconXCircleFill=/*#__PURE__*/makeIcon('XCircleFill','<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/>');// eslint-disable-next-line
|
|
var BIconXDiamond=/*#__PURE__*/makeIcon('XDiamond','<path fill-rule="evenodd" d="M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.482 1.482 0 0 1 0-2.098L6.95.435zm1.4.7a.495.495 0 0 0-.7 0L1.134 7.65a.495.495 0 0 0 0 .7l6.516 6.516a.495.495 0 0 0 .7 0l6.516-6.516a.495.495 0 0 0 0-.7L8.35 1.134z"/><path fill-rule="evenodd" d="M8.361 1.17a.51.51 0 0 0-.722 0L4.766 4.044 8 7.278l3.234-3.234L8.361 1.17zm3.595 3.596L8.722 8l3.234 3.234 2.873-2.873c.2-.2.2-.523 0-.722l-2.873-2.873zm-.722 7.19L8 8.722l-3.234 3.234 2.873 2.873c.2.2.523.2.722 0l2.873-2.873zm-7.19-.722L7.278 8 4.044 4.766 1.17 7.639a.511.511 0 0 0 0 .722l2.874 2.873zM6.917.45a1.531 1.531 0 0 1 2.166 0l6.469 6.468a1.532 1.532 0 0 1 0 2.166l-6.47 6.469a1.532 1.532 0 0 1-2.165 0L.45 9.082a1.531 1.531 0 0 1 0-2.165L6.917.45z"/>');// eslint-disable-next-line
|
|
var BIconXDiamondFill=/*#__PURE__*/makeIcon('XDiamondFill','<path fill-rule="evenodd" d="M9.05.435c-.58-.58-1.52-.58-2.1 0L4.047 3.339 8 7.293l3.954-3.954L9.049.435zm3.61 3.611L8.708 8l3.954 3.954 2.904-2.905c.58-.58.58-1.519 0-2.098l-2.904-2.905zm-.706 8.615L8 8.707l-3.954 3.954 2.905 2.904c.58.58 1.519.58 2.098 0l2.905-2.904zm-8.615-.707L7.293 8 3.339 4.046.435 6.951c-.58.58-.58 1.519 0 2.098l2.904 2.905z"/>');// eslint-disable-next-line
|
|
var BIconXOctagon=/*#__PURE__*/makeIcon('XOctagon','<path fill-rule="evenodd" d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1H5.1z"/><path fill-rule="evenodd" d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconXOctagonFill=/*#__PURE__*/makeIcon('XOctagonFill','<path fill-rule="evenodd" d="M11.46.146A.5.5 0 0 0 11.107 0H4.893a.5.5 0 0 0-.353.146L.146 4.54A.5.5 0 0 0 0 4.893v6.214a.5.5 0 0 0 .146.353l4.394 4.394a.5.5 0 0 0 .353.146h6.214a.5.5 0 0 0 .353-.146l4.394-4.394a.5.5 0 0 0 .146-.353V4.893a.5.5 0 0 0-.146-.353L11.46.146zm-6.106 4.5a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/>');// eslint-disable-next-line
|
|
var BIconXSquare=/*#__PURE__*/makeIcon('XSquare','<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path fill-rule="evenodd" d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>');// eslint-disable-next-line
|
|
var BIconXSquareFill=/*#__PURE__*/makeIcon('XSquareFill','<path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm3.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/>');// eslint-disable-next-line
|
|
var BIconZoomIn=/*#__PURE__*/makeIcon('ZoomIn','<path fill-rule="evenodd" d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"/><path d="M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z"/><path fill-rule="evenodd" d="M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5z"/>');// eslint-disable-next-line
|
|
var BIconZoomOut=/*#__PURE__*/makeIcon('ZoomOut','<path fill-rule="evenodd" d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"/><path d="M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z"/><path fill-rule="evenodd" d="M3 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z"/>');// --- END AUTO-GENERATED FILE ---
|
|
|
|
var findIconComponent = function findIconComponent(ctx, iconName) {
|
|
if (!ctx) {
|
|
return null;
|
|
}
|
|
|
|
var components = (ctx.$options || {}).components;
|
|
var iconComponent = components[iconName];
|
|
return iconComponent || findIconComponent(ctx.$parent, iconName);
|
|
}; // Helper BIcon component
|
|
// Requires the requested icon component to be installed
|
|
|
|
|
|
var BIcon = /*#__PURE__*/Vue.extend({
|
|
name: NAME_ICON,
|
|
functional: true,
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2({
|
|
icon: {
|
|
type: String,
|
|
default: null
|
|
}
|
|
}, commonIconProps), {}, {
|
|
stacked: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_ICON),
|
|
render: function render(h, _ref) {
|
|
var data = _ref.data,
|
|
props = _ref.props,
|
|
parent = _ref.parent;
|
|
var icon = pascalCase(trim(props.icon || '')).replace(RX_ICON_PREFIX, ''); // If parent context exists, we check to see if the icon has been registered
|
|
// either locally in the parent component, or globally at the `$root` level
|
|
// If not registered, we render a blank icon
|
|
|
|
return h(icon ? findIconComponent(parent, "BIcon".concat(icon)) || BIconBlank : BIconBlank, mergeData(data, {
|
|
props: _objectSpread2(_objectSpread2({}, props), {}, {
|
|
icon: null
|
|
})
|
|
}));
|
|
}
|
|
});
|
|
|
|
var CLASS_NAME$1 = 'b-avatar';
|
|
var SIZES = ['sm', null, 'lg'];
|
|
var FONT_SIZE_SCALE = 0.4;
|
|
var BADGE_FONT_SIZE_SCALE = FONT_SIZE_SCALE * 0.7; // --- Utility methods ---
|
|
|
|
var computeSize = function computeSize(value) {
|
|
// Parse to number when value is a float-like string
|
|
value = isString(value) && RX_NUMBER.test(value) ? toFloat(value, 0) : value; // Convert all numbers to pixel values
|
|
|
|
return isNumber(value) ? "".concat(value, "px") : value || null;
|
|
}; // --- Props ---
|
|
|
|
var linkProps$1 = omit(props$1, ['active', 'event', 'routerTag']); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BAvatar = /*#__PURE__*/Vue.extend({
|
|
name: NAME_AVATAR,
|
|
mixins: [normalizeSlotMixin],
|
|
inject: {
|
|
bvAvatarGroup: {
|
|
default: null
|
|
}
|
|
},
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2({
|
|
src: {
|
|
type: String // default: null
|
|
|
|
},
|
|
text: {
|
|
type: String // default: null
|
|
|
|
},
|
|
icon: {
|
|
type: String // default: null
|
|
|
|
},
|
|
alt: {
|
|
type: String,
|
|
default: 'avatar'
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
size: {
|
|
type: [Number, String] // default: null
|
|
|
|
},
|
|
square: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
rounded: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
button: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
buttonType: {
|
|
type: String,
|
|
default: 'button'
|
|
},
|
|
badge: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
badgeVariant: {
|
|
type: String,
|
|
default: 'primary'
|
|
},
|
|
badgeTop: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
badgeLeft: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
badgeOffset: {
|
|
type: String,
|
|
default: '0px'
|
|
}
|
|
}, linkProps$1), {}, {
|
|
ariaLabel: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}), NAME_AVATAR),
|
|
data: function data() {
|
|
return {
|
|
localSrc: this.src || null
|
|
};
|
|
},
|
|
computed: {
|
|
computedSize: function computedSize() {
|
|
// Always use the avatar group size
|
|
var bvAvatarGroup = this.bvAvatarGroup;
|
|
return computeSize(bvAvatarGroup ? bvAvatarGroup.size : this.size);
|
|
},
|
|
computedVariant: function computedVariant() {
|
|
var bvAvatarGroup = this.bvAvatarGroup;
|
|
return bvAvatarGroup && bvAvatarGroup.variant ? bvAvatarGroup.variant : this.variant;
|
|
},
|
|
computedRounded: function computedRounded() {
|
|
var bvAvatarGroup = this.bvAvatarGroup;
|
|
var square = bvAvatarGroup && bvAvatarGroup.square ? true : this.square;
|
|
var rounded = bvAvatarGroup && bvAvatarGroup.rounded ? bvAvatarGroup.rounded : this.rounded;
|
|
return square ? '0' : rounded === '' ? true : rounded || 'circle';
|
|
},
|
|
fontStyle: function fontStyle() {
|
|
var size = this.computedSize;
|
|
var fontSize = SIZES.indexOf(size) === -1 ? "calc(".concat(size, " * ").concat(FONT_SIZE_SCALE, ")") : null;
|
|
return fontSize ? {
|
|
fontSize: fontSize
|
|
} : {};
|
|
},
|
|
marginStyle: function marginStyle() {
|
|
var size = this.computedSize,
|
|
bvAvatarGroup = this.bvAvatarGroup;
|
|
var overlapScale = bvAvatarGroup ? bvAvatarGroup.overlapScale : 0;
|
|
var value = size && overlapScale ? "calc(".concat(size, " * -").concat(overlapScale, ")") : null;
|
|
return value ? {
|
|
marginLeft: value,
|
|
marginRight: value
|
|
} : {};
|
|
},
|
|
badgeStyle: function badgeStyle() {
|
|
var size = this.computedSize,
|
|
badgeTop = this.badgeTop,
|
|
badgeLeft = this.badgeLeft,
|
|
badgeOffset = this.badgeOffset;
|
|
var offset = badgeOffset || '0px';
|
|
return {
|
|
fontSize: SIZES.indexOf(size) === -1 ? "calc(".concat(size, " * ").concat(BADGE_FONT_SIZE_SCALE, " )") : null,
|
|
top: badgeTop ? offset : null,
|
|
bottom: badgeTop ? null : offset,
|
|
left: badgeLeft ? offset : null,
|
|
right: badgeLeft ? null : offset
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
src: function src(newSrc, oldSrc) {
|
|
if (newSrc !== oldSrc) {
|
|
this.localSrc = newSrc || null;
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
onImgError: function onImgError(evt) {
|
|
this.localSrc = null;
|
|
this.$emit('img-error', evt);
|
|
},
|
|
onClick: function onClick(evt) {
|
|
this.$emit('click', evt);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _class2;
|
|
|
|
var variant = this.computedVariant,
|
|
disabled = this.disabled,
|
|
rounded = this.computedRounded,
|
|
icon = this.icon,
|
|
src = this.localSrc,
|
|
text = this.text,
|
|
fontStyle = this.fontStyle,
|
|
marginStyle = this.marginStyle,
|
|
size = this.computedSize,
|
|
button = this.button,
|
|
type = this.buttonType,
|
|
badge = this.badge,
|
|
badgeVariant = this.badgeVariant,
|
|
badgeStyle = this.badgeStyle;
|
|
var link = !button && isLink(this);
|
|
var tag = button ? BButton : link ? BLink : 'span';
|
|
var alt = this.alt;
|
|
var ariaLabel = this.ariaLabel || null;
|
|
var $content = null;
|
|
|
|
if (this.hasNormalizedSlot()) {
|
|
// Default slot overrides props
|
|
$content = h('span', {
|
|
staticClass: 'b-avatar-custom'
|
|
}, [this.normalizeSlot()]);
|
|
} else if (src) {
|
|
$content = h('img', {
|
|
style: variant ? {} : {
|
|
width: '100%',
|
|
height: '100%'
|
|
},
|
|
attrs: {
|
|
src: src,
|
|
alt: alt
|
|
},
|
|
on: {
|
|
error: this.onImgError
|
|
}
|
|
});
|
|
$content = h('span', {
|
|
staticClass: 'b-avatar-img'
|
|
}, [$content]);
|
|
} else if (icon) {
|
|
$content = h(BIcon, {
|
|
props: {
|
|
icon: icon
|
|
},
|
|
attrs: {
|
|
'aria-hidden': 'true',
|
|
alt: alt
|
|
}
|
|
});
|
|
} else if (text) {
|
|
$content = h('span', {
|
|
staticClass: 'b-avatar-text',
|
|
style: fontStyle
|
|
}, [h('span', text)]);
|
|
} else {
|
|
// Fallback default avatar content
|
|
$content = h(BIconPersonFill, {
|
|
attrs: {
|
|
'aria-hidden': 'true',
|
|
alt: alt
|
|
}
|
|
});
|
|
}
|
|
|
|
var $badge = h();
|
|
var hasBadgeSlot = this.hasNormalizedSlot('badge');
|
|
|
|
if (badge || badge === '' || hasBadgeSlot) {
|
|
var badgeText = badge === true ? '' : badge;
|
|
$badge = h('span', {
|
|
staticClass: 'b-avatar-badge',
|
|
class: _defineProperty({}, "badge-".concat(badgeVariant), !!badgeVariant),
|
|
style: badgeStyle
|
|
}, [hasBadgeSlot ? this.normalizeSlot('badge') : badgeText]);
|
|
}
|
|
|
|
var componentData = {
|
|
staticClass: CLASS_NAME$1,
|
|
class: (_class2 = {}, _defineProperty(_class2, "".concat(CLASS_NAME$1, "-").concat(size), size && SIZES.indexOf(size) !== -1), _defineProperty(_class2, "badge-".concat(variant), !button && variant), _defineProperty(_class2, "rounded", rounded === true), _defineProperty(_class2, "rounded-".concat(rounded), rounded && rounded !== true), _defineProperty(_class2, "disabled", disabled), _class2),
|
|
style: _objectSpread2(_objectSpread2({}, marginStyle), {}, {
|
|
width: size,
|
|
height: size
|
|
}),
|
|
attrs: {
|
|
'aria-label': ariaLabel || null
|
|
},
|
|
props: button ? {
|
|
variant: variant,
|
|
disabled: disabled,
|
|
type: type
|
|
} : link ? pluckProps(linkProps$1, this) : {},
|
|
on: button || link ? {
|
|
click: this.onClick
|
|
} : {}
|
|
};
|
|
return h(tag, componentData, [$content, $badge]);
|
|
}
|
|
});
|
|
|
|
// @vue/component
|
|
|
|
var BAvatarGroup = /*#__PURE__*/Vue.extend({
|
|
name: NAME_AVATAR_GROUP,
|
|
mixins: [normalizeSlotMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvAvatarGroup: this
|
|
};
|
|
},
|
|
props: makePropsConfigurable({
|
|
variant: {
|
|
// Child avatars will prefer this variant over their own
|
|
type: String,
|
|
default: null
|
|
},
|
|
size: {
|
|
// Child avatars will always use this over their own size
|
|
type: String // default: null
|
|
|
|
},
|
|
overlap: {
|
|
type: [Number, String],
|
|
default: 0.3
|
|
},
|
|
square: {
|
|
// Child avatars will prefer this prop (if set) over their own
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
rounded: {
|
|
// Child avatars will prefer this prop (if set) over their own
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
}
|
|
}, NAME_AVATAR_GROUP),
|
|
computed: {
|
|
computedSize: function computedSize() {
|
|
return computeSize(this.size);
|
|
},
|
|
overlapScale: function overlapScale() {
|
|
return mathMin(mathMax(toFloat(this.overlap, 0), 0), 1) / 2;
|
|
},
|
|
paddingStyle: function paddingStyle() {
|
|
var value = this.computedSize;
|
|
value = value ? "calc(".concat(value, " * ").concat(this.overlapScale, ")") : null;
|
|
return value ? {
|
|
paddingLeft: value,
|
|
paddingRight: value
|
|
} : {};
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var $inner = h('div', {
|
|
staticClass: 'b-avatar-group-inner',
|
|
style: this.paddingStyle
|
|
}, [this.normalizeSlot()]);
|
|
return h(this.tag, {
|
|
staticClass: 'b-avatar-group',
|
|
attrs: {
|
|
role: 'group'
|
|
}
|
|
}, [$inner]);
|
|
}
|
|
});
|
|
|
|
var AvatarPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BAvatar: BAvatar,
|
|
BAvatarGroup: BAvatarGroup
|
|
}
|
|
});
|
|
|
|
var linkProps$2 = omit(props$1, ['event', 'routerTag']);
|
|
delete linkProps$2.href.default;
|
|
delete linkProps$2.to.default;
|
|
var props$3 = makePropsConfigurable(_objectSpread2({
|
|
tag: {
|
|
type: String,
|
|
default: 'span'
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
pill: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, linkProps$2), NAME_BADGE); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BBadge = /*#__PURE__*/Vue.extend({
|
|
name: NAME_BADGE,
|
|
functional: true,
|
|
props: props$3,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var link = isLink(props);
|
|
var tag = link ? BLink : props.tag;
|
|
var componentData = {
|
|
staticClass: 'badge',
|
|
class: [props.variant ? "badge-".concat(props.variant) : 'badge-secondary', {
|
|
'badge-pill': props.pill,
|
|
active: props.active,
|
|
disabled: props.disabled
|
|
}],
|
|
props: link ? pluckProps(linkProps$2, props) : {}
|
|
};
|
|
return h(tag, mergeData(data, componentData), children);
|
|
}
|
|
});
|
|
|
|
var BadgePlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BBadge: BBadge
|
|
}
|
|
});
|
|
|
|
var stripTags = function stripTags() {
|
|
var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
return String(text).replace(RX_HTML_TAGS, '');
|
|
}; // Generate a `domProps` object for either `innerHTML`, `textContent` or an empty object
|
|
|
|
var htmlOrText = function htmlOrText(innerHTML, textContent) {
|
|
return innerHTML ? {
|
|
innerHTML: innerHTML
|
|
} : textContent ? {
|
|
textContent: textContent
|
|
} : {};
|
|
};
|
|
|
|
var props$4 = makePropsConfigurable(_objectSpread2({
|
|
text: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
html: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
ariaCurrent: {
|
|
type: String,
|
|
default: 'location'
|
|
}
|
|
}, omit(props$1, ['event', 'routerTag'])), NAME_BREADCRUMB_LINK); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BBreadcrumbLink = /*#__PURE__*/Vue.extend({
|
|
name: NAME_BREADCRUMB_LINK,
|
|
functional: true,
|
|
props: props$4,
|
|
render: function render(h, _ref) {
|
|
var suppliedProps = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var active = suppliedProps.active;
|
|
var tag = active ? 'span' : BLink;
|
|
var componentData = {
|
|
attrs: {
|
|
'aria-current': active ? suppliedProps.ariaCurrent : null
|
|
},
|
|
props: pluckProps(props$4, suppliedProps)
|
|
};
|
|
|
|
if (!children) {
|
|
componentData.domProps = htmlOrText(suppliedProps.html, suppliedProps.text);
|
|
}
|
|
|
|
return h(tag, mergeData(data, componentData), children);
|
|
}
|
|
});
|
|
|
|
var BBreadcrumbItem = /*#__PURE__*/Vue.extend({
|
|
name: NAME_BREADCRUMB_ITEM,
|
|
functional: true,
|
|
props: makePropsConfigurable(props$4, NAME_BREADCRUMB_ITEM),
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h('li', mergeData(data, {
|
|
staticClass: 'breadcrumb-item',
|
|
class: {
|
|
active: props.active
|
|
}
|
|
}), [h(BBreadcrumbLink, {
|
|
props: props
|
|
}, children)]);
|
|
}
|
|
});
|
|
|
|
var props$5 = makePropsConfigurable({
|
|
items: {
|
|
type: Array,
|
|
default: null
|
|
}
|
|
}, NAME_BREADCRUMB); // @vue/component
|
|
|
|
var BBreadcrumb = /*#__PURE__*/Vue.extend({
|
|
name: NAME_BREADCRUMB,
|
|
functional: true,
|
|
props: props$5,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var childNodes = children; // Build child nodes from items if given.
|
|
|
|
if (isArray(props.items)) {
|
|
var activeDefined = false;
|
|
childNodes = props.items.map(function (item, idx) {
|
|
if (!isObject(item)) {
|
|
item = {
|
|
text: toString$1(item)
|
|
};
|
|
} // Copy the value here so we can normalize it.
|
|
|
|
|
|
var active = item.active;
|
|
|
|
if (active) {
|
|
activeDefined = true;
|
|
}
|
|
|
|
if (!active && !activeDefined) {
|
|
// Auto-detect active by position in list.
|
|
active = idx + 1 === props.items.length;
|
|
}
|
|
|
|
return h(BBreadcrumbItem, {
|
|
props: _objectSpread2(_objectSpread2({}, item), {}, {
|
|
active: active
|
|
})
|
|
});
|
|
});
|
|
}
|
|
|
|
return h('ol', mergeData(data, {
|
|
staticClass: 'breadcrumb'
|
|
}), childNodes);
|
|
}
|
|
});
|
|
|
|
var BreadcrumbPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BBreadcrumb: BBreadcrumb,
|
|
BBreadcrumbItem: BBreadcrumbItem,
|
|
BBreadcrumbLink: BBreadcrumbLink
|
|
}
|
|
});
|
|
|
|
var ButtonPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BButton: BButton,
|
|
BBtn: BButton,
|
|
BButtonClose: BButtonClose,
|
|
BBtnClose: BButtonClose
|
|
}
|
|
});
|
|
|
|
var props$6 = makePropsConfigurable(_objectSpread2({
|
|
vertical: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
size: {
|
|
type: String // default: null
|
|
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
ariaRole: {
|
|
type: String,
|
|
default: 'group'
|
|
}
|
|
}, pick(props$2, ['size'])), NAME_BUTTON_GROUP); // @vue/component
|
|
|
|
var BButtonGroup = /*#__PURE__*/Vue.extend({
|
|
name: NAME_BUTTON_GROUP,
|
|
functional: true,
|
|
props: props$6,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
class: _defineProperty({
|
|
'btn-group': !props.vertical,
|
|
'btn-group-vertical': props.vertical
|
|
}, "btn-group-".concat(props.size), props.size),
|
|
attrs: {
|
|
role: props.ariaRole
|
|
}
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var ButtonGroupPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BButtonGroup: BButtonGroup,
|
|
BBtnGroup: BButtonGroup
|
|
}
|
|
});
|
|
|
|
var ITEM_SELECTOR = ['.btn:not(.disabled):not([disabled]):not(.dropdown-item)', '.form-control:not(.disabled):not([disabled])', 'select:not(.disabled):not([disabled])', 'input[type="checkbox"]:not(.disabled)', 'input[type="radio"]:not(.disabled)'].join(','); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BButtonToolbar = /*#__PURE__*/Vue.extend({
|
|
name: NAME_BUTTON_TOOLBAR,
|
|
mixins: [normalizeSlotMixin],
|
|
props: makePropsConfigurable({
|
|
justify: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
keyNav: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_BUTTON_TOOLBAR),
|
|
mounted: function mounted() {
|
|
// Pre-set the tabindexes if the markup does not include
|
|
// `tabindex="-1"` on the toolbar items
|
|
if (this.keyNav) {
|
|
this.getItems();
|
|
}
|
|
},
|
|
methods: {
|
|
getItems: function getItems() {
|
|
var items = selectAll(ITEM_SELECTOR, this.$el); // Ensure `tabindex="-1"` is set on every item
|
|
|
|
items.forEach(function (item) {
|
|
item.tabIndex = -1;
|
|
});
|
|
return items.filter(function (el) {
|
|
return isVisible(el);
|
|
});
|
|
},
|
|
focusFirst: function focusFirst() {
|
|
var items = this.getItems();
|
|
attemptFocus(items[0]);
|
|
},
|
|
focusPrev: function focusPrev(evt) {
|
|
var items = this.getItems();
|
|
var index = items.indexOf(evt.target);
|
|
|
|
if (index > -1) {
|
|
items = items.slice(0, index).reverse();
|
|
attemptFocus(items[0]);
|
|
}
|
|
},
|
|
focusNext: function focusNext(evt) {
|
|
var items = this.getItems();
|
|
var index = items.indexOf(evt.target);
|
|
|
|
if (index > -1) {
|
|
items = items.slice(index + 1);
|
|
attemptFocus(items[0]);
|
|
}
|
|
},
|
|
focusLast: function focusLast() {
|
|
var items = this.getItems().reverse();
|
|
attemptFocus(items[0]);
|
|
},
|
|
onFocusin: function onFocusin(evt) {
|
|
var $el = this.$el;
|
|
|
|
if (evt.target === $el && !contains($el, evt.relatedTarget)) {
|
|
stopEvent(evt);
|
|
this.focusFirst(evt);
|
|
}
|
|
},
|
|
onKeydown: function onKeydown(evt) {
|
|
var keyCode = evt.keyCode,
|
|
shiftKey = evt.shiftKey;
|
|
|
|
if (keyCode === CODE_UP || keyCode === CODE_LEFT) {
|
|
stopEvent(evt);
|
|
shiftKey ? this.focusFirst(evt) : this.focusPrev(evt);
|
|
} else if (keyCode === CODE_DOWN || keyCode === CODE_RIGHT) {
|
|
stopEvent(evt);
|
|
shiftKey ? this.focusLast(evt) : this.focusNext(evt);
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
return h('div', {
|
|
staticClass: 'btn-toolbar',
|
|
class: {
|
|
'justify-content-between': this.justify
|
|
},
|
|
attrs: {
|
|
role: 'toolbar',
|
|
tabindex: this.keyNav ? '0' : null
|
|
},
|
|
on: this.keyNav ? {
|
|
focusin: this.onFocusin,
|
|
keydown: this.onKeydown
|
|
} : {}
|
|
}, [this.normalizeSlot()]);
|
|
}
|
|
});
|
|
|
|
var ButtonToolbarPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BButtonToolbar: BButtonToolbar,
|
|
BBtnToolbar: BButtonToolbar
|
|
}
|
|
});
|
|
|
|
var CALENDAR_GREGORY = 'gregory';
|
|
var CALENDAR_LONG = 'long';
|
|
var CALENDAR_NARROW = 'narrow';
|
|
var CALENDAR_SHORT = 'short';
|
|
var DATE_FORMAT_2_DIGIT = '2-digit';
|
|
var DATE_FORMAT_NUMERIC = 'numeric';
|
|
|
|
// Create or clone a date (`new Date(...)` shortcut)
|
|
|
|
var createDate = function createDate() {
|
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
args[_key] = arguments[_key];
|
|
}
|
|
|
|
return _construct(Date, args);
|
|
}; // Parse a date sting, or Date object, into a Date object (with no time information)
|
|
|
|
var parseYMD = function parseYMD(date) {
|
|
if (isString(date) && RX_DATE.test(date.trim())) {
|
|
var _date$split$map = date.split(RX_DATE_SPLIT).map(function (v) {
|
|
return toInteger(v, 1);
|
|
}),
|
|
_date$split$map2 = _slicedToArray(_date$split$map, 3),
|
|
year = _date$split$map2[0],
|
|
month = _date$split$map2[1],
|
|
day = _date$split$map2[2];
|
|
|
|
return createDate(year, month - 1, day);
|
|
} else if (isDate(date)) {
|
|
return createDate(date.getFullYear(), date.getMonth(), date.getDate());
|
|
}
|
|
|
|
return null;
|
|
}; // Format a date object as `YYYY-MM-DD` format
|
|
|
|
var formatYMD = function formatYMD(date) {
|
|
date = parseYMD(date);
|
|
|
|
if (!date) {
|
|
return null;
|
|
}
|
|
|
|
var year = date.getFullYear();
|
|
var month = "0".concat(date.getMonth() + 1).slice(-2);
|
|
var day = "0".concat(date.getDate()).slice(-2);
|
|
return "".concat(year, "-").concat(month, "-").concat(day);
|
|
}; // Given a locale (or locales), resolve the browser available locale
|
|
|
|
var resolveLocale = function resolveLocale(locales)
|
|
/* istanbul ignore next */
|
|
{
|
|
var calendar = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : CALENDAR_GREGORY;
|
|
locales = concat(locales).filter(identity);
|
|
var fmt = new Intl.DateTimeFormat(locales, {
|
|
calendar: calendar
|
|
});
|
|
return fmt.resolvedOptions().locale;
|
|
}; // Create a `Intl.DateTimeFormat` formatter function
|
|
|
|
var createDateFormatter = function createDateFormatter(locale, options)
|
|
/* istanbul ignore next */
|
|
{
|
|
var dtf = new Intl.DateTimeFormat(locale, options);
|
|
return dtf.format;
|
|
}; // Determine if two dates are the same date (ignoring time portion)
|
|
|
|
var datesEqual = function datesEqual(date1, date2) {
|
|
// Returns true of the date portion of two date objects are equal
|
|
// We don't compare the time portion
|
|
return formatYMD(date1) === formatYMD(date2);
|
|
}; // --- Date "math" utility methods (for BCalendar component mainly) ---
|
|
|
|
var firstDateOfMonth = function firstDateOfMonth(date) {
|
|
date = createDate(date);
|
|
date.setDate(1);
|
|
return date;
|
|
};
|
|
var lastDateOfMonth = function lastDateOfMonth(date) {
|
|
date = createDate(date);
|
|
date.setMonth(date.getMonth() + 1);
|
|
date.setDate(0);
|
|
return date;
|
|
};
|
|
var addYears = function addYears(date, numberOfYears) {
|
|
date = createDate(date);
|
|
var month = date.getMonth();
|
|
date.setFullYear(date.getFullYear() + numberOfYears); // Handle Feb 29th for leap years
|
|
|
|
if (date.getMonth() !== month) {
|
|
date.setDate(0);
|
|
}
|
|
|
|
return date;
|
|
};
|
|
var oneMonthAgo = function oneMonthAgo(date) {
|
|
date = createDate(date);
|
|
var month = date.getMonth();
|
|
date.setMonth(month - 1); // Handle when days in month are different
|
|
|
|
if (date.getMonth() === month) {
|
|
date.setDate(0);
|
|
}
|
|
|
|
return date;
|
|
};
|
|
var oneMonthAhead = function oneMonthAhead(date) {
|
|
date = createDate(date);
|
|
var month = date.getMonth();
|
|
date.setMonth(month + 1); // Handle when days in month are different
|
|
|
|
if (date.getMonth() === (month + 2) % 12) {
|
|
date.setDate(0);
|
|
}
|
|
|
|
return date;
|
|
};
|
|
var oneYearAgo = function oneYearAgo(date) {
|
|
return addYears(date, -1);
|
|
};
|
|
var oneYearAhead = function oneYearAhead(date) {
|
|
return addYears(date, 1);
|
|
};
|
|
var oneDecadeAgo = function oneDecadeAgo(date) {
|
|
return addYears(date, -10);
|
|
};
|
|
var oneDecadeAhead = function oneDecadeAhead(date) {
|
|
return addYears(date, 10);
|
|
}; // Helper function to constrain a date between two values
|
|
// Always returns a `Date` object or `null` if no date passed
|
|
|
|
var constrainDate = function constrainDate(date) {
|
|
var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
// Ensure values are `Date` objects (or `null`)
|
|
date = parseYMD(date);
|
|
min = parseYMD(min) || date;
|
|
max = parseYMD(max) || date; // Return a new `Date` object (or `null`)
|
|
|
|
return date ? date < min ? min : date > max ? max : date : null;
|
|
};
|
|
|
|
// Localization utilities
|
|
|
|
var RTL_LANGS = ['ar', 'az', 'ckb', 'fa', 'he', 'ks', 'lrc', 'mzn', 'ps', 'sd', 'te', 'ug', 'ur', 'yi'].map(function (locale) {
|
|
return locale.toLowerCase();
|
|
}); // Returns true if the locale is RTL
|
|
|
|
var isLocaleRTL = function isLocaleRTL(locale) {
|
|
// Determines if the locale is RTL (only single locale supported)
|
|
var parts = toString$1(locale).toLowerCase().replace(RX_STRIP_LOCALE_MODS, '').split('-');
|
|
var locale1 = parts.slice(0, 2).join('-');
|
|
var locale2 = parts[0];
|
|
return arrayIncludes(RTL_LANGS, locale1) || arrayIncludes(RTL_LANGS, locale2);
|
|
};
|
|
|
|
// SSR safe client-side ID attribute generation
|
|
// ID's can only be generated client-side, after mount
|
|
// `this._uid` is not synched between server and client
|
|
// @vue/component
|
|
var idMixin = {
|
|
props: {
|
|
id: {
|
|
type: String // default: null
|
|
|
|
}
|
|
},
|
|
data: function data() {
|
|
return {
|
|
localId_: null
|
|
};
|
|
},
|
|
computed: {
|
|
safeId: function safeId() {
|
|
// Computed property that returns a dynamic function for creating the ID
|
|
// Reacts to changes in both `.id` and `.localId_` and regenerates a new function
|
|
var id = this.id || this.localId_; // We return a function that accepts an optional suffix string
|
|
// So this computed prop looks and works like a method
|
|
// but benefits from Vue's computed prop caching
|
|
|
|
var fn = function fn(suffix) {
|
|
if (!id) {
|
|
return null;
|
|
}
|
|
|
|
suffix = String(suffix || '').replace(/\s+/g, '_');
|
|
return suffix ? id + '_' + suffix : id;
|
|
};
|
|
|
|
return fn;
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
var _this = this;
|
|
|
|
// `mounted()` only occurs client-side
|
|
this.$nextTick(function () {
|
|
// Update DOM with auto-generated ID after mount
|
|
// to prevent SSR hydration errors
|
|
_this.localId_ = "__BVID__".concat(_this._uid);
|
|
});
|
|
}
|
|
};
|
|
|
|
var props$7 = makePropsConfigurable({
|
|
value: {
|
|
type: [String, Date] // default: null
|
|
|
|
},
|
|
valueAsDate: {
|
|
// Always return the `v-model` value as a date object
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
initialDate: {
|
|
// This specifies the calendar year/month/day that will be shown when
|
|
// first opening the datepicker if no v-model value is provided
|
|
// Default is the current date (or `min`/`max`)
|
|
type: [String, Date] // default: null
|
|
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
min: {
|
|
type: [String, Date] // default: null
|
|
|
|
},
|
|
max: {
|
|
type: [String, Date] // default: null
|
|
|
|
},
|
|
dateDisabledFn: {
|
|
type: Function // default: null
|
|
|
|
},
|
|
startWeekday: {
|
|
// `0` (Sunday), `1` (Monday), ... `6` (Saturday)
|
|
// Day of week to start calendar on
|
|
type: [Number, String],
|
|
default: 0
|
|
},
|
|
locale: {
|
|
// Locale(s) to use
|
|
// Default is to use page/browser default setting
|
|
type: [String, Array] // default: null
|
|
|
|
},
|
|
direction: {
|
|
// 'ltr', 'rtl', or `null` (for auto detect)
|
|
type: String // default: null
|
|
|
|
},
|
|
selectedVariant: {
|
|
// Variant color to use for the selected date
|
|
type: String,
|
|
default: 'primary'
|
|
},
|
|
todayVariant: {
|
|
// Variant color to use for today's date (defaults to `selectedVariant`)
|
|
type: String // default: null
|
|
|
|
},
|
|
navButtonVariant: {
|
|
// Variant color to use for the navigation buttons
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
noHighlightToday: {
|
|
// Disable highlighting today's date
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
dateInfoFn: {
|
|
// Function to set a class of (classes) on the date cell
|
|
// if passed a string or an array
|
|
// TODO:
|
|
// If the function returns an object, look for class prop for classes,
|
|
// and other props for handling events/details/descriptions
|
|
type: Function // default: null
|
|
|
|
},
|
|
width: {
|
|
// Has no effect if prop `block` is set
|
|
type: String,
|
|
default: '270px'
|
|
},
|
|
block: {
|
|
// Makes calendar the full width of its parent container
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
hideHeader: {
|
|
// When true makes the selected date header `sr-only`
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
showDecadeNav: {
|
|
// When `true` enables the decade navigation buttons
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
hidden: {
|
|
// When `true`, renders a comment node, but keeps the component instance active
|
|
// Mainly for <b-form-date>, so that we can get the component's value and locale
|
|
// But we might just use separate date formatters, using the resolved locale
|
|
// (adjusted for the gregorian calendar)
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
ariaControls: {
|
|
type: String // default: null
|
|
|
|
},
|
|
noKeyNav: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
roleDescription: {
|
|
type: String // default: null
|
|
|
|
},
|
|
// Labels for buttons and keyboard shortcuts
|
|
labelPrevDecade: {
|
|
type: String,
|
|
default: 'Previous decade'
|
|
},
|
|
labelPrevYear: {
|
|
type: String,
|
|
default: 'Previous year'
|
|
},
|
|
labelPrevMonth: {
|
|
type: String,
|
|
default: 'Previous month'
|
|
},
|
|
labelCurrentMonth: {
|
|
type: String,
|
|
default: 'Current month'
|
|
},
|
|
labelNextMonth: {
|
|
type: String,
|
|
default: 'Next month'
|
|
},
|
|
labelNextYear: {
|
|
type: String,
|
|
default: 'Next year'
|
|
},
|
|
labelNextDecade: {
|
|
type: String,
|
|
default: 'Next decade'
|
|
},
|
|
labelToday: {
|
|
type: String,
|
|
default: 'Today'
|
|
},
|
|
labelSelected: {
|
|
type: String,
|
|
default: 'Selected date'
|
|
},
|
|
labelNoDateSelected: {
|
|
type: String,
|
|
default: 'No date selected'
|
|
},
|
|
labelCalendar: {
|
|
type: String,
|
|
default: 'Calendar'
|
|
},
|
|
labelNav: {
|
|
type: String,
|
|
default: 'Calendar navigation'
|
|
},
|
|
labelHelp: {
|
|
type: String,
|
|
default: 'Use cursor keys to navigate calendar dates'
|
|
},
|
|
dateFormatOptions: {
|
|
// `Intl.DateTimeFormat` object
|
|
// Note: This value is *not* to be placed in the global config
|
|
type: Object,
|
|
default: function _default() {
|
|
return {
|
|
year: DATE_FORMAT_NUMERIC,
|
|
month: CALENDAR_LONG,
|
|
day: DATE_FORMAT_NUMERIC,
|
|
weekday: CALENDAR_LONG
|
|
};
|
|
}
|
|
},
|
|
weekdayHeaderFormat: {
|
|
// Format of the weekday names at the top of the calendar
|
|
// Note: This value is *not* to be placed in the global config
|
|
type: String,
|
|
// `short` is typically a 3 letter abbreviation,
|
|
// `narrow` is typically a single letter
|
|
// `long` is the full week day name
|
|
// Although some locales may override this (i.e `ar`, etc.)
|
|
default: CALENDAR_SHORT,
|
|
validator: function validator(value) {
|
|
return arrayIncludes([CALENDAR_LONG, CALENDAR_SHORT, CALENDAR_NARROW], value);
|
|
}
|
|
}
|
|
}, NAME_CALENDAR); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BCalendar = Vue.extend({
|
|
name: NAME_CALENDAR,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin, idMixin, normalizeSlotMixin],
|
|
model: {
|
|
// Even though this is the default that Vue assumes, we need
|
|
// to add it for the docs to reflect that this is the model
|
|
// And also for some validation libraries to work
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: props$7,
|
|
data: function data() {
|
|
var selected = formatYMD(this.value) || '';
|
|
return {
|
|
// Selected date
|
|
selectedYMD: selected,
|
|
// Date in calendar grid that has `tabindex` of `0`
|
|
activeYMD: selected || formatYMD(constrainDate(this.initialDate || this.getToday()), this.min, this.max),
|
|
// Will be true if the calendar grid has/contains focus
|
|
gridHasFocus: false,
|
|
// Flag to enable the `aria-live` region(s) after mount
|
|
// to prevent screen reader "outbursts" when mounting
|
|
isLive: false
|
|
};
|
|
},
|
|
computed: {
|
|
valueId: function valueId() {
|
|
return this.safeId();
|
|
},
|
|
widgetId: function widgetId() {
|
|
return this.safeId('_calendar-wrapper_');
|
|
},
|
|
navId: function navId() {
|
|
return this.safeId('_calendar-nav_');
|
|
},
|
|
gridId: function gridId() {
|
|
return this.safeId('_calendar-grid_');
|
|
},
|
|
gridCaptionId: function gridCaptionId() {
|
|
return this.safeId('_calendar-grid-caption_');
|
|
},
|
|
gridHelpId: function gridHelpId() {
|
|
return this.safeId('_calendar-grid-help_');
|
|
},
|
|
activeId: function activeId() {
|
|
return this.activeYMD ? this.safeId("_cell-".concat(this.activeYMD, "_")) : null;
|
|
},
|
|
// TODO: Use computed props to convert `YYYY-MM-DD` to `Date` object
|
|
selectedDate: function selectedDate() {
|
|
// Selected as a `Date` object
|
|
return parseYMD(this.selectedYMD);
|
|
},
|
|
activeDate: function activeDate() {
|
|
// Active as a `Date` object
|
|
return parseYMD(this.activeYMD);
|
|
},
|
|
computedMin: function computedMin() {
|
|
return parseYMD(this.min);
|
|
},
|
|
computedMax: function computedMax() {
|
|
return parseYMD(this.max);
|
|
},
|
|
computedWeekStarts: function computedWeekStarts() {
|
|
// `startWeekday` is a prop (constrained to `0` through `6`)
|
|
return mathMax(toInteger(this.startWeekday, 0), 0) % 7;
|
|
},
|
|
computedLocale: function computedLocale() {
|
|
// Returns the resolved locale used by the calendar
|
|
return resolveLocale(concat(this.locale).filter(identity), CALENDAR_GREGORY);
|
|
},
|
|
computedDateDisabledFn: function computedDateDisabledFn() {
|
|
var dateDisabledFn = this.dateDisabledFn;
|
|
var result = null;
|
|
|
|
try {
|
|
result = dateDisabledFn();
|
|
} catch (_unused) {}
|
|
|
|
return isUndefined(result) ? function () {
|
|
return false;
|
|
} : dateDisabledFn;
|
|
},
|
|
// TODO: Change `dateInfoFn` to handle events and notes as well as classes
|
|
computedDateInfoFn: function computedDateInfoFn() {
|
|
var dateInfoFn = this.dateInfoFn;
|
|
var result = null;
|
|
|
|
try {
|
|
result = dateInfoFn();
|
|
} catch (_unused2) {}
|
|
|
|
return isUndefined(result) ? function () {
|
|
return {};
|
|
} : dateInfoFn;
|
|
},
|
|
calendarLocale: function calendarLocale() {
|
|
// This locale enforces the gregorian calendar (for use in formatter functions)
|
|
// Needed because IE 11 resolves `ar-IR` as islamic-civil calendar
|
|
// and IE 11 (and some other browsers) do not support the `calendar` option
|
|
// And we currently only support the gregorian calendar
|
|
var fmt = new Intl.DateTimeFormat(this.computedLocale, {
|
|
calendar: CALENDAR_GREGORY
|
|
});
|
|
var calendar = fmt.resolvedOptions().calendar;
|
|
var locale = fmt.resolvedOptions().locale;
|
|
/* istanbul ignore if: mainly for IE 11 and a few other browsers, hard to test in JSDOM */
|
|
|
|
if (calendar !== CALENDAR_GREGORY) {
|
|
// Ensure the locale requests the gregorian calendar
|
|
// Mainly for IE 11, and currently we can't handle non-gregorian calendars
|
|
// TODO: Should we always return this value?
|
|
locale = locale.replace(/-u-.+$/i, '').concat('-u-ca-gregory');
|
|
}
|
|
|
|
return locale;
|
|
},
|
|
calendarYear: function calendarYear() {
|
|
return this.activeDate.getFullYear();
|
|
},
|
|
calendarMonth: function calendarMonth() {
|
|
return this.activeDate.getMonth();
|
|
},
|
|
calendarFirstDay: function calendarFirstDay() {
|
|
// We set the time for this date to 12pm to work around
|
|
// date formatting issues in Firefox and Safari
|
|
// See: https://github.com/bootstrap-vue/bootstrap-vue/issues/5818
|
|
return createDate(this.calendarYear, this.calendarMonth, 1, 12);
|
|
},
|
|
calendarDaysInMonth: function calendarDaysInMonth() {
|
|
// We create a new date as to not mutate the original
|
|
var date = createDate(this.calendarFirstDay);
|
|
date.setMonth(date.getMonth() + 1, 0);
|
|
return date.getDate();
|
|
},
|
|
computedVariant: function computedVariant() {
|
|
return "btn-".concat(this.selectedVariant || 'primary');
|
|
},
|
|
computedTodayVariant: function computedTodayVariant() {
|
|
return "btn-outline-".concat(this.todayVariant || this.selectedVariant || 'primary');
|
|
},
|
|
computedNavButtonVariant: function computedNavButtonVariant() {
|
|
return "btn-outline-".concat(this.navButtonVariant || 'primary');
|
|
},
|
|
isRTL: function isRTL() {
|
|
// `true` if the language requested is RTL
|
|
var dir = toString$1(this.direction).toLowerCase();
|
|
|
|
if (dir === 'rtl') {
|
|
/* istanbul ignore next */
|
|
return true;
|
|
} else if (dir === 'ltr') {
|
|
/* istanbul ignore next */
|
|
return false;
|
|
}
|
|
|
|
return isLocaleRTL(this.computedLocale);
|
|
},
|
|
context: function context() {
|
|
var selectedYMD = this.selectedYMD,
|
|
activeYMD = this.activeYMD;
|
|
var selectedDate = parseYMD(selectedYMD);
|
|
var activeDate = parseYMD(activeYMD);
|
|
return {
|
|
// The current value of the `v-model`
|
|
selectedYMD: selectedYMD,
|
|
selectedDate: selectedDate,
|
|
selectedFormatted: selectedDate ? this.formatDateString(selectedDate) : this.labelNoDateSelected,
|
|
// Which date cell is considered active due to navigation
|
|
activeYMD: activeYMD,
|
|
activeDate: activeDate,
|
|
activeFormatted: activeDate ? this.formatDateString(activeDate) : '',
|
|
// `true` if the date is disabled (when using keyboard navigation)
|
|
disabled: this.dateDisabled(activeDate),
|
|
// Locales used in formatting dates
|
|
locale: this.computedLocale,
|
|
calendarLocale: this.calendarLocale,
|
|
rtl: this.isRTL
|
|
};
|
|
},
|
|
// Computed props that return a function reference
|
|
dateOutOfRange: function dateOutOfRange() {
|
|
// Check whether a date is within the min/max range
|
|
// Returns a new function ref if the pops change
|
|
// We do this as we need to trigger the calendar computed prop
|
|
// to update when these props update
|
|
var min = this.computedMin,
|
|
max = this.computedMax;
|
|
return function (date) {
|
|
// Handle both `YYYY-MM-DD` and `Date` objects
|
|
date = parseYMD(date);
|
|
return min && date < min || max && date > max;
|
|
};
|
|
},
|
|
dateDisabled: function dateDisabled() {
|
|
var _this = this;
|
|
|
|
// Returns a function for validating if a date is within range
|
|
// We grab this variables first to ensure a new function ref
|
|
// is generated when the props value changes
|
|
// We do this as we need to trigger the calendar computed prop
|
|
// to update when these props update
|
|
var rangeFn = this.dateOutOfRange; // Return the function ref
|
|
|
|
return function (date) {
|
|
// Handle both `YYYY-MM-DD` and `Date` objects
|
|
date = parseYMD(date);
|
|
var ymd = formatYMD(date);
|
|
return !!(rangeFn(date) || _this.computedDateDisabledFn(ymd, date));
|
|
};
|
|
},
|
|
// Computed props that return date formatter functions
|
|
formatDateString: function formatDateString() {
|
|
// Returns a date formatter function
|
|
return createDateFormatter(this.calendarLocale, _objectSpread2(_objectSpread2({
|
|
// Ensure we have year, month, day shown for screen readers/ARIA
|
|
// If users really want to leave one of these out, they can
|
|
// pass `undefined` for the property value
|
|
year: DATE_FORMAT_NUMERIC,
|
|
month: DATE_FORMAT_2_DIGIT,
|
|
day: DATE_FORMAT_2_DIGIT
|
|
}, this.dateFormatOptions), {}, {
|
|
// Ensure hours/minutes/seconds are not shown
|
|
// As we do not support the time portion (yet)
|
|
hour: undefined,
|
|
minute: undefined,
|
|
second: undefined,
|
|
// Ensure calendar is gregorian
|
|
calendar: CALENDAR_GREGORY
|
|
}));
|
|
},
|
|
formatYearMonth: function formatYearMonth() {
|
|
// Returns a date formatter function
|
|
return createDateFormatter(this.calendarLocale, {
|
|
year: DATE_FORMAT_NUMERIC,
|
|
month: CALENDAR_LONG,
|
|
calendar: CALENDAR_GREGORY
|
|
});
|
|
},
|
|
formatWeekdayName: function formatWeekdayName() {
|
|
// Long weekday name for weekday header aria-label
|
|
return createDateFormatter(this.calendarLocale, {
|
|
weekday: CALENDAR_LONG,
|
|
calendar: CALENDAR_GREGORY
|
|
});
|
|
},
|
|
formatWeekdayNameShort: function formatWeekdayNameShort() {
|
|
// Weekday header cell format
|
|
// defaults to 'short' 3 letter days, where possible
|
|
return createDateFormatter(this.calendarLocale, {
|
|
weekday: this.weekdayHeaderFormat || CALENDAR_SHORT,
|
|
calendar: CALENDAR_GREGORY
|
|
});
|
|
},
|
|
formatDay: function formatDay() {
|
|
// Calendar grid day number formatter
|
|
// We don't use DateTimeFormatter here as it can place extra
|
|
// character(s) after the number (i.e the `zh` locale)
|
|
var nf = new Intl.NumberFormat([this.computedLocale], {
|
|
style: 'decimal',
|
|
minimumIntegerDigits: 1,
|
|
minimumFractionDigits: 0,
|
|
maximumFractionDigits: 0,
|
|
notation: 'standard'
|
|
}); // Return a formatter function instance
|
|
|
|
return function (date) {
|
|
return nf.format(date.getDate());
|
|
};
|
|
},
|
|
// Disabled states for the nav buttons
|
|
prevDecadeDisabled: function prevDecadeDisabled() {
|
|
var min = this.computedMin;
|
|
return this.disabled || min && lastDateOfMonth(oneDecadeAgo(this.activeDate)) < min;
|
|
},
|
|
prevYearDisabled: function prevYearDisabled() {
|
|
var min = this.computedMin;
|
|
return this.disabled || min && lastDateOfMonth(oneYearAgo(this.activeDate)) < min;
|
|
},
|
|
prevMonthDisabled: function prevMonthDisabled() {
|
|
var min = this.computedMin;
|
|
return this.disabled || min && lastDateOfMonth(oneMonthAgo(this.activeDate)) < min;
|
|
},
|
|
thisMonthDisabled: function thisMonthDisabled() {
|
|
// TODO: We could/should check if today is out of range
|
|
return this.disabled;
|
|
},
|
|
nextMonthDisabled: function nextMonthDisabled() {
|
|
var max = this.computedMax;
|
|
return this.disabled || max && firstDateOfMonth(oneMonthAhead(this.activeDate)) > max;
|
|
},
|
|
nextYearDisabled: function nextYearDisabled() {
|
|
var max = this.computedMax;
|
|
return this.disabled || max && firstDateOfMonth(oneYearAhead(this.activeDate)) > max;
|
|
},
|
|
nextDecadeDisabled: function nextDecadeDisabled() {
|
|
var max = this.computedMax;
|
|
return this.disabled || max && firstDateOfMonth(oneDecadeAhead(this.activeDate)) > max;
|
|
},
|
|
// Calendar dates generation
|
|
calendar: function calendar() {
|
|
var matrix = [];
|
|
var firstDay = this.calendarFirstDay;
|
|
var calendarYear = firstDay.getFullYear();
|
|
var calendarMonth = firstDay.getMonth();
|
|
var daysInMonth = this.calendarDaysInMonth;
|
|
var startIndex = firstDay.getDay(); // `0`..`6`
|
|
|
|
var weekOffset = (this.computedWeekStarts > startIndex ? 7 : 0) - this.computedWeekStarts; // Build the calendar matrix
|
|
|
|
var currentDay = 0 - weekOffset - startIndex;
|
|
|
|
for (var week = 0; week < 6 && currentDay < daysInMonth; week++) {
|
|
// For each week
|
|
matrix[week] = []; // The following could be a map function
|
|
|
|
for (var j = 0; j < 7; j++) {
|
|
// For each day in week
|
|
currentDay++;
|
|
var date = createDate(calendarYear, calendarMonth, currentDay);
|
|
var month = date.getMonth();
|
|
var dayYMD = formatYMD(date);
|
|
var dayDisabled = this.dateDisabled(date); // TODO: This could be a normalizer method
|
|
|
|
var dateInfo = this.computedDateInfoFn(dayYMD, parseYMD(dayYMD));
|
|
dateInfo = isString(dateInfo) || isArray(dateInfo) ?
|
|
/* istanbul ignore next */
|
|
{
|
|
class: dateInfo
|
|
} : isPlainObject(dateInfo) ? _objectSpread2({
|
|
class: ''
|
|
}, dateInfo) :
|
|
/* istanbul ignore next */
|
|
{
|
|
class: ''
|
|
};
|
|
matrix[week].push({
|
|
ymd: dayYMD,
|
|
// Cell content
|
|
day: this.formatDay(date),
|
|
label: this.formatDateString(date),
|
|
// Flags for styling
|
|
isThisMonth: month === calendarMonth,
|
|
isDisabled: dayDisabled,
|
|
// TODO: Handle other dateInfo properties such as notes/events
|
|
info: dateInfo
|
|
});
|
|
}
|
|
}
|
|
|
|
return matrix;
|
|
},
|
|
calendarHeadings: function calendarHeadings() {
|
|
var _this2 = this;
|
|
|
|
return this.calendar[0].map(function (d) {
|
|
return {
|
|
text: _this2.formatWeekdayNameShort(parseYMD(d.ymd)),
|
|
label: _this2.formatWeekdayName(parseYMD(d.ymd))
|
|
};
|
|
});
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newVal, oldVal) {
|
|
var selected = formatYMD(newVal) || '';
|
|
var old = formatYMD(oldVal) || '';
|
|
|
|
if (!datesEqual(selected, old)) {
|
|
this.activeYMD = selected || this.activeYMD;
|
|
this.selectedYMD = selected;
|
|
}
|
|
},
|
|
selectedYMD: function selectedYMD(newYMD, oldYMD) {
|
|
// TODO:
|
|
// Should we compare to `formatYMD(this.value)` and emit
|
|
// only if they are different?
|
|
if (newYMD !== oldYMD) {
|
|
this.$emit('input', this.valueAsDate ? parseYMD(newYMD) || null : newYMD || '');
|
|
}
|
|
},
|
|
context: function context(newVal, oldVal) {
|
|
if (!looseEqual(newVal, oldVal)) {
|
|
this.$emit('context', newVal);
|
|
}
|
|
},
|
|
hidden: function hidden(newVal) {
|
|
// Reset the active focused day when hidden
|
|
this.activeYMD = this.selectedYMD || formatYMD(this.value || this.constrainDate(this.initialDate || this.getToday())); // Enable/disable the live regions
|
|
|
|
this.setLive(!newVal);
|
|
}
|
|
},
|
|
created: function created() {
|
|
var _this3 = this;
|
|
|
|
this.$nextTick(function () {
|
|
_this3.$emit('context', _this3.context);
|
|
});
|
|
},
|
|
mounted: function mounted() {
|
|
this.setLive(true);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
activated: function activated() {
|
|
this.setLive(true);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
deactivated: function deactivated() {
|
|
this.setLive(false);
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.setLive(false);
|
|
},
|
|
methods: {
|
|
// Public method(s)
|
|
focus: function focus() {
|
|
if (!this.disabled) {
|
|
attemptFocus(this.$refs.grid);
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
if (!this.disabled) {
|
|
attemptBlur(this.$refs.grid);
|
|
}
|
|
},
|
|
// Private methods
|
|
setLive: function setLive(on) {
|
|
var _this4 = this;
|
|
|
|
if (on) {
|
|
this.$nextTick(function () {
|
|
requestAF(function () {
|
|
_this4.isLive = true;
|
|
});
|
|
});
|
|
} else {
|
|
this.isLive = false;
|
|
}
|
|
},
|
|
getToday: function getToday() {
|
|
return parseYMD(createDate());
|
|
},
|
|
constrainDate: function constrainDate$1(date) {
|
|
// Constrains a date between min and max
|
|
// returns a new `Date` object instance
|
|
return constrainDate(date, this.computedMin, this.computedMax);
|
|
},
|
|
emitSelected: function emitSelected(date) {
|
|
var _this5 = this;
|
|
|
|
// Performed in a `$nextTick()` to (probably) ensure
|
|
// the input event has emitted first
|
|
this.$nextTick(function () {
|
|
_this5.$emit('selected', formatYMD(date) || '', parseYMD(date) || null);
|
|
});
|
|
},
|
|
// Event handlers
|
|
setGridFocusFlag: function setGridFocusFlag(evt) {
|
|
// Sets the gridHasFocus flag to make date "button" look focused
|
|
this.gridHasFocus = !this.disabled && evt.type === 'focus';
|
|
},
|
|
onKeydownWrapper: function onKeydownWrapper(evt) {
|
|
// Calendar keyboard navigation
|
|
// Handles PAGEUP/PAGEDOWN/END/HOME/LEFT/UP/RIGHT/DOWN
|
|
// Focuses grid after updating
|
|
if (this.noKeyNav) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
var altKey = evt.altKey,
|
|
ctrlKey = evt.ctrlKey,
|
|
keyCode = evt.keyCode;
|
|
|
|
if (!arrayIncludes([CODE_PAGEUP, CODE_PAGEDOWN, CODE_END, CODE_HOME, CODE_LEFT, CODE_UP, CODE_RIGHT, CODE_DOWN], keyCode)) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
stopEvent(evt);
|
|
var activeDate = createDate(this.activeDate);
|
|
var checkDate = createDate(this.activeDate);
|
|
var day = activeDate.getDate();
|
|
var constrainedToday = this.constrainDate(this.getToday());
|
|
var isRTL = this.isRTL;
|
|
|
|
if (keyCode === CODE_PAGEUP) {
|
|
// PAGEUP - Previous month/year
|
|
activeDate = (altKey ? ctrlKey ? oneDecadeAgo : oneYearAgo : oneMonthAgo)(activeDate); // We check the first day of month to be in rage
|
|
|
|
checkDate = createDate(activeDate);
|
|
checkDate.setDate(1);
|
|
} else if (keyCode === CODE_PAGEDOWN) {
|
|
// PAGEDOWN - Next month/year
|
|
activeDate = (altKey ? ctrlKey ? oneDecadeAhead : oneYearAhead : oneMonthAhead)(activeDate); // We check the last day of month to be in rage
|
|
|
|
checkDate = createDate(activeDate);
|
|
checkDate.setMonth(checkDate.getMonth() + 1);
|
|
checkDate.setDate(0);
|
|
} else if (keyCode === CODE_LEFT) {
|
|
// LEFT - Previous day (or next day for RTL)
|
|
activeDate.setDate(day + (isRTL ? 1 : -1));
|
|
activeDate = this.constrainDate(activeDate);
|
|
checkDate = activeDate;
|
|
} else if (keyCode === CODE_RIGHT) {
|
|
// RIGHT - Next day (or previous day for RTL)
|
|
activeDate.setDate(day + (isRTL ? -1 : 1));
|
|
activeDate = this.constrainDate(activeDate);
|
|
checkDate = activeDate;
|
|
} else if (keyCode === CODE_UP) {
|
|
// UP - Previous week
|
|
activeDate.setDate(day - 7);
|
|
activeDate = this.constrainDate(activeDate);
|
|
checkDate = activeDate;
|
|
} else if (keyCode === CODE_DOWN) {
|
|
// DOWN - Next week
|
|
activeDate.setDate(day + 7);
|
|
activeDate = this.constrainDate(activeDate);
|
|
checkDate = activeDate;
|
|
} else if (keyCode === CODE_HOME) {
|
|
// HOME - Today
|
|
activeDate = constrainedToday;
|
|
checkDate = activeDate;
|
|
} else if (keyCode === CODE_END) {
|
|
// END - Selected date, or today if no selected date
|
|
activeDate = parseYMD(this.selectedDate) || constrainedToday;
|
|
checkDate = activeDate;
|
|
}
|
|
|
|
if (!this.dateOutOfRange(checkDate) && !datesEqual(activeDate, this.activeDate)) {
|
|
// We only jump to date if within min/max
|
|
// We don't check for individual disabled dates though (via user function)
|
|
this.activeYMD = formatYMD(activeDate);
|
|
} // Ensure grid is focused
|
|
|
|
|
|
this.focus();
|
|
},
|
|
onKeydownGrid: function onKeydownGrid(evt) {
|
|
// Pressing enter/space on grid to select active date
|
|
var keyCode = evt.keyCode;
|
|
var activeDate = this.activeDate;
|
|
|
|
if (keyCode === CODE_ENTER || keyCode === CODE_SPACE) {
|
|
stopEvent(evt);
|
|
|
|
if (!this.disabled && !this.readonly && !this.dateDisabled(activeDate)) {
|
|
this.selectedYMD = formatYMD(activeDate);
|
|
this.emitSelected(activeDate);
|
|
} // Ensure grid is focused
|
|
|
|
|
|
this.focus();
|
|
}
|
|
},
|
|
onClickDay: function onClickDay(day) {
|
|
// Clicking on a date "button" to select it
|
|
var selectedDate = this.selectedDate,
|
|
activeDate = this.activeDate;
|
|
var clickedDate = parseYMD(day.ymd);
|
|
|
|
if (!this.disabled && !day.isDisabled && !this.dateDisabled(clickedDate)) {
|
|
if (!this.readonly) {
|
|
// If readonly mode, we don't set the selected date, just the active date
|
|
// If the clicked date is equal to the already selected date, we don't update the model
|
|
this.selectedYMD = formatYMD(datesEqual(clickedDate, selectedDate) ? selectedDate : clickedDate);
|
|
this.emitSelected(clickedDate);
|
|
}
|
|
|
|
this.activeYMD = formatYMD(datesEqual(clickedDate, activeDate) ? activeDate : createDate(clickedDate)); // Ensure grid is focused
|
|
|
|
this.focus();
|
|
}
|
|
},
|
|
gotoPrevDecade: function gotoPrevDecade() {
|
|
this.activeYMD = formatYMD(this.constrainDate(oneDecadeAgo(this.activeDate)));
|
|
},
|
|
gotoPrevYear: function gotoPrevYear() {
|
|
this.activeYMD = formatYMD(this.constrainDate(oneYearAgo(this.activeDate)));
|
|
},
|
|
gotoPrevMonth: function gotoPrevMonth() {
|
|
this.activeYMD = formatYMD(this.constrainDate(oneMonthAgo(this.activeDate)));
|
|
},
|
|
gotoCurrentMonth: function gotoCurrentMonth() {
|
|
// TODO: Maybe this goto date should be configurable?
|
|
this.activeYMD = formatYMD(this.constrainDate(this.getToday()));
|
|
},
|
|
gotoNextMonth: function gotoNextMonth() {
|
|
this.activeYMD = formatYMD(this.constrainDate(oneMonthAhead(this.activeDate)));
|
|
},
|
|
gotoNextYear: function gotoNextYear() {
|
|
this.activeYMD = formatYMD(this.constrainDate(oneYearAhead(this.activeDate)));
|
|
},
|
|
gotoNextDecade: function gotoNextDecade() {
|
|
this.activeYMD = formatYMD(this.constrainDate(oneDecadeAhead(this.activeDate)));
|
|
},
|
|
onHeaderClick: function onHeaderClick() {
|
|
if (!this.disabled) {
|
|
this.activeYMD = this.selectedYMD || formatYMD(this.getToday());
|
|
this.focus();
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this6 = this;
|
|
|
|
// If `hidden` prop is set, render just a placeholder node
|
|
if (this.hidden) {
|
|
return h();
|
|
}
|
|
|
|
var valueId = this.valueId,
|
|
widgetId = this.widgetId,
|
|
navId = this.navId,
|
|
gridId = this.gridId,
|
|
gridCaptionId = this.gridCaptionId,
|
|
gridHelpId = this.gridHelpId,
|
|
activeId = this.activeId,
|
|
disabled = this.disabled,
|
|
noKeyNav = this.noKeyNav,
|
|
isLive = this.isLive,
|
|
isRTL = this.isRTL,
|
|
activeYMD = this.activeYMD,
|
|
selectedYMD = this.selectedYMD,
|
|
safeId = this.safeId;
|
|
var hideDecadeNav = !this.showDecadeNav;
|
|
var todayYMD = formatYMD(this.getToday());
|
|
var highlightToday = !this.noHighlightToday; // Header showing current selected date
|
|
|
|
var $header = h('output', {
|
|
staticClass: 'form-control form-control-sm text-center',
|
|
class: {
|
|
'text-muted': disabled,
|
|
readonly: this.readonly || disabled
|
|
},
|
|
attrs: {
|
|
id: valueId,
|
|
for: gridId,
|
|
role: 'status',
|
|
tabindex: disabled ? null : '-1',
|
|
// Mainly for testing purposes, as we do not know
|
|
// the exact format `Intl` will format the date string
|
|
'data-selected': toString$1(selectedYMD),
|
|
// We wait until after mount to enable `aria-live`
|
|
// to prevent initial announcement on page render
|
|
'aria-live': isLive ? 'polite' : 'off',
|
|
'aria-atomic': isLive ? 'true' : null
|
|
},
|
|
on: {
|
|
// Transfer focus/click to focus grid
|
|
// and focus active date (or today if no selection)
|
|
click: this.onHeaderClick,
|
|
focus: this.onHeaderClick
|
|
}
|
|
}, this.selectedDate ? [// We use `bdi` elements here in case the label doesn't match the locale
|
|
// Although IE 11 does not deal with <BDI> at all (equivalent to a span)
|
|
h('bdi', {
|
|
staticClass: 'sr-only'
|
|
}, " (".concat(toString$1(this.labelSelected), ") ")), h('bdi', this.formatDateString(this.selectedDate))] : this.labelNoDateSelected || "\xA0" // ' '
|
|
);
|
|
$header = h('header', {
|
|
staticClass: 'b-calendar-header',
|
|
class: {
|
|
'sr-only': this.hideHeader
|
|
},
|
|
attrs: {
|
|
title: this.selectedDate ? this.labelSelectedDate || null : null
|
|
}
|
|
}, [$header]); // Content for the date navigation buttons
|
|
|
|
var navScope = {
|
|
isRTL: isRTL
|
|
};
|
|
var navProps = {
|
|
shiftV: 0.5
|
|
};
|
|
|
|
var navPrevProps = _objectSpread2(_objectSpread2({}, navProps), {}, {
|
|
flipH: isRTL
|
|
});
|
|
|
|
var navNextProps = _objectSpread2(_objectSpread2({}, navProps), {}, {
|
|
flipH: !isRTL
|
|
});
|
|
|
|
var $prevDecadeIcon = this.normalizeSlot('nav-prev-decade', navScope) || h(BIconChevronBarLeft, {
|
|
props: navPrevProps
|
|
});
|
|
var $prevYearIcon = this.normalizeSlot('nav-prev-year', navScope) || h(BIconChevronDoubleLeft, {
|
|
props: navPrevProps
|
|
});
|
|
var $prevMonthIcon = this.normalizeSlot('nav-prev-month', navScope) || h(BIconChevronLeft, {
|
|
props: navPrevProps
|
|
});
|
|
var $thisMonthIcon = this.normalizeSlot('nav-this-month', navScope) || h(BIconCircleFill, {
|
|
props: navProps
|
|
});
|
|
var $nextMonthIcon = this.normalizeSlot('nav-next-month', navScope) || h(BIconChevronLeft, {
|
|
props: navNextProps
|
|
});
|
|
var $nextYearIcon = this.normalizeSlot('nav-next-year', navScope) || h(BIconChevronDoubleLeft, {
|
|
props: navNextProps
|
|
});
|
|
var $nextDecadeIcon = this.normalizeSlot('nav-next-decade', navScope) || h(BIconChevronBarLeft, {
|
|
props: navNextProps
|
|
}); // Utility to create the date navigation buttons
|
|
|
|
var makeNavBtn = function makeNavBtn(content, label, handler, btnDisabled, shortcut) {
|
|
return h('button', {
|
|
staticClass: 'btn btn-sm border-0 flex-fill',
|
|
class: [_this6.computedNavButtonVariant, {
|
|
disabled: btnDisabled
|
|
}],
|
|
attrs: {
|
|
title: label || null,
|
|
type: 'button',
|
|
tabindex: noKeyNav ? '-1' : null,
|
|
'aria-label': label || null,
|
|
'aria-disabled': btnDisabled ? 'true' : null,
|
|
'aria-keyshortcuts': shortcut || null
|
|
},
|
|
on: btnDisabled ? {} : {
|
|
click: handler
|
|
}
|
|
}, [h('div', {
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
}, [content])]);
|
|
}; // Generate the date navigation buttons
|
|
|
|
|
|
var $nav = h('div', {
|
|
staticClass: 'b-calendar-nav d-flex',
|
|
attrs: {
|
|
id: navId,
|
|
role: 'group',
|
|
tabindex: noKeyNav ? '-1' : null,
|
|
'aria-hidden': disabled ? 'true' : null,
|
|
'aria-label': this.labelNav || null,
|
|
'aria-controls': gridId
|
|
}
|
|
}, [hideDecadeNav ? h() : makeNavBtn($prevDecadeIcon, this.labelPrevDecade, this.gotoPrevDecade, this.prevDecadeDisabled, 'Ctrl+Alt+PageDown'), makeNavBtn($prevYearIcon, this.labelPrevYear, this.gotoPrevYear, this.prevYearDisabled, 'Alt+PageDown'), makeNavBtn($prevMonthIcon, this.labelPrevMonth, this.gotoPrevMonth, this.prevMonthDisabled, 'PageDown'), makeNavBtn($thisMonthIcon, this.labelCurrentMonth, this.gotoCurrentMonth, this.thisMonthDisabled, 'Home'), makeNavBtn($nextMonthIcon, this.labelNextMonth, this.gotoNextMonth, this.nextMonthDisabled, 'PageUp'), makeNavBtn($nextYearIcon, this.labelNextYear, this.gotoNextYear, this.nextYearDisabled, 'Alt+PageUp'), hideDecadeNav ? h() : makeNavBtn($nextDecadeIcon, this.labelNextDecade, this.gotoNextDecade, this.nextDecadeDisabled, 'Ctrl+Alt+PageUp')]); // Caption for calendar grid
|
|
|
|
var $gridCaption = h('header', {
|
|
key: 'grid-caption',
|
|
staticClass: 'b-calendar-grid-caption text-center font-weight-bold',
|
|
class: {
|
|
'text-muted': disabled
|
|
},
|
|
attrs: {
|
|
id: gridCaptionId,
|
|
'aria-live': isLive ? 'polite' : null,
|
|
'aria-atomic': isLive ? 'true' : null
|
|
}
|
|
}, this.formatYearMonth(this.calendarFirstDay)); // Calendar weekday headings
|
|
|
|
var $gridWeekDays = h('div', {
|
|
staticClass: 'b-calendar-grid-weekdays row no-gutters border-bottom',
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
}, this.calendarHeadings.map(function (d, idx) {
|
|
return h('small', {
|
|
key: idx,
|
|
staticClass: 'col text-truncate',
|
|
class: {
|
|
'text-muted': disabled
|
|
},
|
|
attrs: {
|
|
title: d.label === d.text ? null : d.label,
|
|
'aria-label': d.label
|
|
}
|
|
}, d.text);
|
|
})); // Calendar day grid
|
|
|
|
var $gridBody = this.calendar.map(function (week) {
|
|
var $cells = week.map(function (day, dIndex) {
|
|
var _class;
|
|
|
|
var isSelected = day.ymd === selectedYMD;
|
|
var isActive = day.ymd === activeYMD;
|
|
var isToday = day.ymd === todayYMD;
|
|
var idCell = safeId("_cell-".concat(day.ymd, "_")); // "fake" button
|
|
|
|
var $btn = h('span', {
|
|
staticClass: 'btn border-0 rounded-circle text-nowrap',
|
|
// Should we add some classes to signify if today/selected/etc?
|
|
class: (_class = {
|
|
// Give the fake button a focus ring
|
|
focus: isActive && _this6.gridHasFocus,
|
|
// Styling
|
|
disabled: day.isDisabled || disabled,
|
|
active: isSelected
|
|
}, _defineProperty(_class, _this6.computedVariant, isSelected), _defineProperty(_class, _this6.computedTodayVariant, isToday && highlightToday && !isSelected && day.isThisMonth), _defineProperty(_class, 'btn-outline-light', !(isToday && highlightToday) && !isSelected && !isActive), _defineProperty(_class, 'btn-light', !(isToday && highlightToday) && !isSelected && isActive), _defineProperty(_class, 'text-muted', !day.isThisMonth && !isSelected), _defineProperty(_class, 'text-dark', !(isToday && highlightToday) && !isSelected && !isActive && day.isThisMonth), _defineProperty(_class, 'font-weight-bold', (isSelected || day.isThisMonth) && !day.isDisabled), _class),
|
|
on: {
|
|
click: function click() {
|
|
return _this6.onClickDay(day);
|
|
}
|
|
}
|
|
}, day.day);
|
|
return h('div', // Cell with button
|
|
{
|
|
key: dIndex,
|
|
staticClass: 'col p-0',
|
|
class: day.isDisabled ? 'bg-light' : day.info.class || '',
|
|
attrs: {
|
|
id: idCell,
|
|
role: 'button',
|
|
'data-date': day.ymd,
|
|
// Primarily for testing purposes
|
|
// Only days in the month are presented as buttons to screen readers
|
|
'aria-hidden': day.isThisMonth ? null : 'true',
|
|
'aria-disabled': day.isDisabled || disabled ? 'true' : null,
|
|
'aria-label': [day.label, isSelected ? "(".concat(_this6.labelSelected, ")") : null, isToday ? "(".concat(_this6.labelToday, ")") : null].filter(identity).join(' '),
|
|
// NVDA doesn't convey `aria-selected`, but does `aria-current`,
|
|
// ChromeVox doesn't convey `aria-current`, but does `aria-selected`,
|
|
// so we set both attributes for robustness
|
|
'aria-selected': isSelected ? 'true' : null,
|
|
'aria-current': isSelected ? 'date' : null
|
|
}
|
|
}, [$btn]);
|
|
}); // Return the week "row"
|
|
// We use the first day of the weeks YMD value as a
|
|
// key for efficient DOM patching / element re-use
|
|
|
|
return h('div', {
|
|
key: week[0].ymd,
|
|
staticClass: 'row no-gutters'
|
|
}, $cells);
|
|
});
|
|
$gridBody = h('div', {
|
|
// A key is only required on the body if we add in transition support
|
|
// key: this.activeYMD.slice(0, -3),
|
|
staticClass: 'b-calendar-grid-body',
|
|
style: disabled ? {
|
|
pointerEvents: 'none'
|
|
} : {}
|
|
}, $gridBody);
|
|
var $gridHelp = h('footer', {
|
|
staticClass: 'b-calendar-grid-help border-top small text-muted text-center bg-light',
|
|
attrs: {
|
|
id: gridHelpId
|
|
}
|
|
}, [h('div', {
|
|
staticClass: 'small'
|
|
}, this.labelHelp)]);
|
|
var $grid = h('div', {
|
|
ref: 'grid',
|
|
staticClass: 'b-calendar-grid form-control h-auto text-center',
|
|
attrs: {
|
|
id: gridId,
|
|
role: 'application',
|
|
tabindex: noKeyNav ? '-1' : disabled ? null : '0',
|
|
'data-month': activeYMD.slice(0, -3),
|
|
// `YYYY-MM`, mainly for testing
|
|
'aria-roledescription': this.labelCalendar || null,
|
|
'aria-labelledby': gridCaptionId,
|
|
'aria-describedby': gridHelpId,
|
|
// `aria-readonly` is not considered valid on `role="application"`
|
|
// https://www.w3.org/TR/wai-aria-1.1/#aria-readonly
|
|
// 'aria-readonly': this.readonly && !disabled ? 'true' : null,
|
|
'aria-disabled': disabled ? 'true' : null,
|
|
'aria-activedescendant': activeId
|
|
},
|
|
on: {
|
|
keydown: this.onKeydownGrid,
|
|
focus: this.setGridFocusFlag,
|
|
blur: this.setGridFocusFlag
|
|
}
|
|
}, [$gridCaption, $gridWeekDays, $gridBody, $gridHelp]); // Optional bottom slot
|
|
|
|
var $slot = this.normalizeSlot();
|
|
$slot = $slot ? h('footer', {
|
|
staticClass: 'b-calendar-footer'
|
|
}, $slot) : h();
|
|
var $widget = h('div', {
|
|
staticClass: 'b-calendar-inner',
|
|
style: this.block ? {} : {
|
|
width: this.width
|
|
},
|
|
attrs: {
|
|
id: widgetId,
|
|
dir: isRTL ? 'rtl' : 'ltr',
|
|
lang: this.computedLocale || null,
|
|
role: 'group',
|
|
'aria-disabled': disabled ? 'true' : null,
|
|
// If datepicker controls an input, this will specify the ID of the input
|
|
'aria-controls': this.ariaControls || null,
|
|
// This should be a prop (so it can be changed to Date picker, etc, localized
|
|
'aria-roledescription': this.roleDescription || null,
|
|
'aria-describedby': [// Should the attr (if present) go last?
|
|
// Or should this attr be a prop?
|
|
this.bvAttrs['aria-describedby'], valueId, gridHelpId].filter(identity).join(' ')
|
|
},
|
|
on: {
|
|
keydown: this.onKeydownWrapper
|
|
}
|
|
}, [$header, $nav, $grid, $slot]); // Wrap in an outer div that can be styled
|
|
|
|
return h('div', {
|
|
staticClass: 'b-calendar',
|
|
class: {
|
|
'd-block': this.block
|
|
}
|
|
}, [$widget]);
|
|
}
|
|
});
|
|
|
|
var CalendarPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BCalendar: BCalendar
|
|
}
|
|
});
|
|
|
|
var props$8 = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
bgVariant: {
|
|
type: String // default: null
|
|
|
|
},
|
|
borderVariant: {
|
|
type: String // default: null
|
|
|
|
},
|
|
textVariant: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_CARD); // --- Mixin ---
|
|
|
|
var props$9 = makePropsConfigurable({
|
|
title: {
|
|
type: String // default: null
|
|
|
|
},
|
|
titleTag: {
|
|
type: String,
|
|
default: 'h4'
|
|
}
|
|
}, NAME_CARD_TITLE); // @vue/component
|
|
|
|
var BCardTitle = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD_TITLE,
|
|
functional: true,
|
|
props: props$9,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.titleTag, mergeData(data, {
|
|
staticClass: 'card-title'
|
|
}), children || toString$1(props.title));
|
|
}
|
|
});
|
|
|
|
var props$a = makePropsConfigurable({
|
|
subTitle: {
|
|
type: String // default: null
|
|
|
|
},
|
|
subTitleTag: {
|
|
type: String,
|
|
default: 'h6'
|
|
},
|
|
subTitleTextVariant: {
|
|
type: String,
|
|
default: 'muted'
|
|
}
|
|
}, NAME_CARD_SUB_TITLE); // @vue/component
|
|
|
|
var BCardSubTitle = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD_SUB_TITLE,
|
|
functional: true,
|
|
props: props$a,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.subTitleTag, mergeData(data, {
|
|
staticClass: 'card-subtitle',
|
|
class: [props.subTitleTextVariant ? "text-".concat(props.subTitleTextVariant) : null]
|
|
}), children || toString$1(props.subTitle));
|
|
}
|
|
});
|
|
|
|
var props$b = makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, copyProps(props$8, prefixPropName.bind(null, 'body'))), {}, {
|
|
bodyClass: {
|
|
type: [String, Object, Array] // default: null
|
|
|
|
}
|
|
}, props$9), props$a), {}, {
|
|
overlay: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_CARD_BODY); // @vue/component
|
|
|
|
var BCardBody = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD_BODY,
|
|
functional: true,
|
|
props: props$b,
|
|
render: function render(h, _ref) {
|
|
var _ref2;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var cardTitle = h();
|
|
var cardSubTitle = h();
|
|
var cardContent = children || [h()];
|
|
|
|
if (props.title) {
|
|
cardTitle = h(BCardTitle, {
|
|
props: pluckProps(props$9, props)
|
|
});
|
|
}
|
|
|
|
if (props.subTitle) {
|
|
cardSubTitle = h(BCardSubTitle, {
|
|
props: pluckProps(props$a, props),
|
|
class: ['mb-2']
|
|
});
|
|
}
|
|
|
|
return h(props.bodyTag, mergeData(data, {
|
|
staticClass: 'card-body',
|
|
class: [(_ref2 = {
|
|
'card-img-overlay': props.overlay
|
|
}, _defineProperty(_ref2, "bg-".concat(props.bodyBgVariant), props.bodyBgVariant), _defineProperty(_ref2, "border-".concat(props.bodyBorderVariant), props.bodyBorderVariant), _defineProperty(_ref2, "text-".concat(props.bodyTextVariant), props.bodyTextVariant), _ref2), props.bodyClass || {}]
|
|
}), [cardTitle, cardSubTitle].concat(_toConsumableArray(cardContent)));
|
|
}
|
|
});
|
|
|
|
var props$c = makePropsConfigurable(_objectSpread2(_objectSpread2({}, copyProps(props$8, prefixPropName.bind(null, 'header'))), {}, {
|
|
header: {
|
|
type: String // default: null
|
|
|
|
},
|
|
headerHtml: {
|
|
type: String // default: null
|
|
|
|
},
|
|
headerClass: {
|
|
type: [String, Object, Array] // default: null
|
|
|
|
}
|
|
}), NAME_CARD_HEADER); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BCardHeader = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD_HEADER,
|
|
functional: true,
|
|
props: props$c,
|
|
render: function render(h, _ref) {
|
|
var _ref2;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var headerBgVariant = props.headerBgVariant,
|
|
headerBorderVariant = props.headerBorderVariant,
|
|
headerTextVariant = props.headerTextVariant;
|
|
return h(props.headerTag, mergeData(data, {
|
|
staticClass: 'card-header',
|
|
class: [props.headerClass, (_ref2 = {}, _defineProperty(_ref2, "bg-".concat(headerBgVariant), headerBgVariant), _defineProperty(_ref2, "border-".concat(headerBorderVariant), headerBorderVariant), _defineProperty(_ref2, "text-".concat(headerTextVariant), headerTextVariant), _ref2)],
|
|
domProps: children ? {} : htmlOrText(props.headerHtml, props.header)
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$d = makePropsConfigurable(_objectSpread2(_objectSpread2({}, copyProps(props$8, prefixPropName.bind(null, 'footer'))), {}, {
|
|
footer: {
|
|
type: String // default: null
|
|
|
|
},
|
|
footerHtml: {
|
|
type: String // default: null
|
|
|
|
},
|
|
footerClass: {
|
|
type: [String, Object, Array] // default: null
|
|
|
|
}
|
|
}), NAME_CARD_FOOTER); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BCardFooter = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD_FOOTER,
|
|
functional: true,
|
|
props: props$d,
|
|
render: function render(h, _ref) {
|
|
var _ref2;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var footerBgVariant = props.footerBgVariant,
|
|
footerBorderVariant = props.footerBorderVariant,
|
|
footerTextVariant = props.footerTextVariant;
|
|
return h(props.footerTag, mergeData(data, {
|
|
staticClass: 'card-footer',
|
|
class: [props.footerClass, (_ref2 = {}, _defineProperty(_ref2, "bg-".concat(footerBgVariant), footerBgVariant), _defineProperty(_ref2, "border-".concat(footerBorderVariant), footerBorderVariant), _defineProperty(_ref2, "text-".concat(footerTextVariant), footerTextVariant), _ref2)],
|
|
domProps: children ? {} : htmlOrText(props.footerHtml, props.footer)
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$e = makePropsConfigurable({
|
|
src: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
alt: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
top: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
bottom: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
start: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
left: {
|
|
// alias of 'start'
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
end: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
right: {
|
|
// alias of 'end'
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
height: {
|
|
type: [Number, String] // default: null
|
|
|
|
},
|
|
width: {
|
|
type: [Number, String] // default: null
|
|
|
|
}
|
|
}, NAME_CARD_IMG); // @vue/component
|
|
|
|
var BCardImg = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD_IMG,
|
|
functional: true,
|
|
props: props$e,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data;
|
|
var baseClass = 'card-img';
|
|
|
|
if (props.top) {
|
|
baseClass += '-top';
|
|
} else if (props.right || props.end) {
|
|
baseClass += '-right';
|
|
} else if (props.bottom) {
|
|
baseClass += '-bottom';
|
|
} else if (props.left || props.start) {
|
|
baseClass += '-left';
|
|
}
|
|
|
|
return h('img', mergeData(data, {
|
|
class: [baseClass],
|
|
attrs: {
|
|
src: props.src || null,
|
|
alt: props.alt,
|
|
height: props.height || null,
|
|
width: props.width || null
|
|
}
|
|
}));
|
|
}
|
|
});
|
|
|
|
var cardImgProps = copyProps(props$e, prefixPropName.bind(null, 'img'));
|
|
cardImgProps.imgSrc.required = false;
|
|
var props$f = makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$b), props$c), props$d), cardImgProps), props$8), {}, {
|
|
align: {
|
|
type: String // default: null
|
|
|
|
},
|
|
noBody: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_CARD); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BCard = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD,
|
|
functional: true,
|
|
props: props$f,
|
|
render: function render(h, _ref) {
|
|
var _class;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
slots = _ref.slots,
|
|
scopedSlots = _ref.scopedSlots;
|
|
var imgSrc = props.imgSrc,
|
|
imgLeft = props.imgLeft,
|
|
imgRight = props.imgRight,
|
|
imgStart = props.imgStart,
|
|
imgEnd = props.imgEnd,
|
|
imgBottom = props.imgBottom,
|
|
header = props.header,
|
|
headerHtml = props.headerHtml,
|
|
footer = props.footer,
|
|
footerHtml = props.footerHtml,
|
|
align = props.align,
|
|
textVariant = props.textVariant,
|
|
bgVariant = props.bgVariant,
|
|
borderVariant = props.borderVariant;
|
|
var $scopedSlots = scopedSlots || {};
|
|
var $slots = slots();
|
|
var slotScope = {};
|
|
var $imgFirst = h();
|
|
var $imgLast = h();
|
|
|
|
if (imgSrc) {
|
|
var $img = h(BCardImg, {
|
|
props: pluckProps(cardImgProps, props, unprefixPropName.bind(null, 'img'))
|
|
});
|
|
|
|
if (imgBottom) {
|
|
$imgLast = $img;
|
|
} else {
|
|
$imgFirst = $img;
|
|
}
|
|
}
|
|
|
|
var $header = h();
|
|
var hasHeaderSlot = hasNormalizedSlot(SLOT_NAME_HEADER, $scopedSlots, $slots);
|
|
|
|
if (hasHeaderSlot || header || headerHtml) {
|
|
$header = h(BCardHeader, {
|
|
props: pluckProps(props$c, props),
|
|
domProps: hasHeaderSlot ? {} : htmlOrText(headerHtml, header)
|
|
}, normalizeSlot(SLOT_NAME_HEADER, slotScope, $scopedSlots, $slots));
|
|
}
|
|
|
|
var $content = normalizeSlot(SLOT_NAME_DEFAULT, slotScope, $scopedSlots, $slots); // Wrap content in `<card-body>` when `noBody` prop set
|
|
|
|
if (!props.noBody) {
|
|
$content = h(BCardBody, {
|
|
props: pluckProps(props$b, props)
|
|
}, $content); // When the `overlap` prop is set we need to wrap the `<b-card-img>` and `<b-card-body>`
|
|
// into a relative positioned wrapper to don't distract a potential header or footer
|
|
|
|
if (props.overlay && imgSrc) {
|
|
$content = h('div', {
|
|
staticClass: 'position-relative'
|
|
}, [$imgFirst, $content, $imgLast]); // Reset image variables since they are already in the wrapper
|
|
|
|
$imgFirst = h();
|
|
$imgLast = h();
|
|
}
|
|
}
|
|
|
|
var $footer = h();
|
|
var hasFooterSlot = hasNormalizedSlot(SLOT_NAME_FOOTER, $scopedSlots, $slots);
|
|
|
|
if (hasFooterSlot || footer || footerHtml) {
|
|
$footer = h(BCardFooter, {
|
|
props: pluckProps(props$d, props),
|
|
domProps: hasHeaderSlot ? {} : htmlOrText(footerHtml, footer)
|
|
}, normalizeSlot(SLOT_NAME_FOOTER, slotScope, $scopedSlots, $slots));
|
|
}
|
|
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'card',
|
|
class: (_class = {
|
|
'flex-row': imgLeft || imgStart,
|
|
'flex-row-reverse': (imgRight || imgEnd) && !(imgLeft || imgStart)
|
|
}, _defineProperty(_class, "text-".concat(align), align), _defineProperty(_class, "bg-".concat(bgVariant), bgVariant), _defineProperty(_class, "border-".concat(borderVariant), borderVariant), _defineProperty(_class, "text-".concat(textVariant), textVariant), _class)
|
|
}), [$imgFirst, $header, $content, $footer, $imgLast]);
|
|
}
|
|
});
|
|
|
|
var OBSERVER_PROP_NAME = '__bv__visibility_observer';
|
|
|
|
var VisibilityObserver = /*#__PURE__*/function () {
|
|
function VisibilityObserver(el, options, vnode) {
|
|
_classCallCheck(this, VisibilityObserver);
|
|
|
|
this.el = el;
|
|
this.callback = options.callback;
|
|
this.margin = options.margin || 0;
|
|
this.once = options.once || false;
|
|
this.observer = null;
|
|
this.visible = undefined;
|
|
this.doneOnce = false; // Create the observer instance (if possible)
|
|
|
|
this.createObserver(vnode);
|
|
}
|
|
|
|
_createClass(VisibilityObserver, [{
|
|
key: "createObserver",
|
|
value: function createObserver(vnode) {
|
|
var _this = this;
|
|
|
|
// Remove any previous observer
|
|
if (this.observer) {
|
|
/* istanbul ignore next */
|
|
this.stop();
|
|
} // Should only be called once and `callback` prop should be a function
|
|
|
|
|
|
if (this.doneOnce || !isFunction(this.callback)) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // Create the observer instance
|
|
|
|
|
|
try {
|
|
// Future: Possibly add in other modifiers for left/right/top/bottom
|
|
// offsets, root element reference, and thresholds
|
|
this.observer = new IntersectionObserver(this.handler.bind(this), {
|
|
// `null` = 'viewport'
|
|
root: null,
|
|
// Pixels away from view port to consider "visible"
|
|
rootMargin: this.margin,
|
|
// Intersection ratio of el and root (as a value from 0 to 1)
|
|
threshold: 0
|
|
});
|
|
} catch (_unused) {
|
|
// No IntersectionObserver support, so just stop trying to observe
|
|
this.doneOnce = true;
|
|
this.observer = undefined;
|
|
this.callback(null);
|
|
return;
|
|
} // Start observing in a `$nextTick()` (to allow DOM to complete rendering)
|
|
|
|
/* istanbul ignore next: IntersectionObserver not supported in JSDOM */
|
|
|
|
|
|
vnode.context.$nextTick(function () {
|
|
requestAF(function () {
|
|
// Placed in an `if` just in case we were destroyed before
|
|
// this `requestAnimationFrame` runs
|
|
if (_this.observer) {
|
|
_this.observer.observe(_this.el);
|
|
}
|
|
});
|
|
});
|
|
}
|
|
/* istanbul ignore next */
|
|
|
|
}, {
|
|
key: "handler",
|
|
value: function handler(entries) {
|
|
var entry = entries ? entries[0] : {};
|
|
var isIntersecting = Boolean(entry.isIntersecting || entry.intersectionRatio > 0.0);
|
|
|
|
if (isIntersecting !== this.visible) {
|
|
this.visible = isIntersecting;
|
|
this.callback(isIntersecting);
|
|
|
|
if (this.once && this.visible) {
|
|
this.doneOnce = true;
|
|
this.stop();
|
|
}
|
|
}
|
|
}
|
|
}, {
|
|
key: "stop",
|
|
value: function stop() {
|
|
/* istanbul ignore next */
|
|
this.observer && this.observer.disconnect();
|
|
this.observer = null;
|
|
}
|
|
}]);
|
|
|
|
return VisibilityObserver;
|
|
}();
|
|
|
|
var destroy = function destroy(el) {
|
|
var observer = el[OBSERVER_PROP_NAME];
|
|
|
|
if (observer && observer.stop) {
|
|
observer.stop();
|
|
}
|
|
|
|
delete el[OBSERVER_PROP_NAME];
|
|
};
|
|
|
|
var bind = function bind(el, _ref, vnode) {
|
|
var value = _ref.value,
|
|
modifiers = _ref.modifiers;
|
|
// `value` is the callback function
|
|
var options = {
|
|
margin: '0px',
|
|
once: false,
|
|
callback: value
|
|
}; // Parse modifiers
|
|
|
|
keys(modifiers).forEach(function (mod) {
|
|
/* istanbul ignore else: Until <b-img-lazy> is switched to use this directive */
|
|
if (RX_DIGITS.test(mod)) {
|
|
options.margin = "".concat(mod, "px");
|
|
} else if (mod.toLowerCase() === 'once') {
|
|
options.once = true;
|
|
}
|
|
}); // Destroy any previous observer
|
|
|
|
destroy(el); // Create new observer
|
|
|
|
el[OBSERVER_PROP_NAME] = new VisibilityObserver(el, options, vnode); // Store the current modifiers on the object (cloned)
|
|
|
|
el[OBSERVER_PROP_NAME]._prevModifiers = clone(modifiers);
|
|
}; // When the directive options may have been updated (or element)
|
|
|
|
|
|
var componentUpdated = function componentUpdated(el, _ref2, vnode) {
|
|
var value = _ref2.value,
|
|
oldValue = _ref2.oldValue,
|
|
modifiers = _ref2.modifiers;
|
|
// Compare value/oldValue and modifiers to see if anything has changed
|
|
// and if so, destroy old observer and create new observer
|
|
|
|
/* istanbul ignore next */
|
|
modifiers = clone(modifiers);
|
|
/* istanbul ignore next */
|
|
|
|
if (el && (value !== oldValue || !el[OBSERVER_PROP_NAME] || !looseEqual(modifiers, el[OBSERVER_PROP_NAME]._prevModifiers))) {
|
|
// Re-bind on element
|
|
bind(el, {
|
|
value: value,
|
|
modifiers: modifiers
|
|
}, vnode);
|
|
}
|
|
}; // When directive un-binds from element
|
|
|
|
|
|
var unbind = function unbind(el) {
|
|
// Remove the observer
|
|
destroy(el);
|
|
}; // Export the directive
|
|
|
|
|
|
var VBVisible = {
|
|
bind: bind,
|
|
componentUpdated: componentUpdated,
|
|
unbind: unbind
|
|
};
|
|
|
|
// Blank image with fill template
|
|
|
|
var BLANK_TEMPLATE = '<svg width="%{w}" height="%{h}" ' + 'xmlns="http://www.w3.org/2000/svg" ' + 'viewBox="0 0 %{w} %{h}" preserveAspectRatio="none">' + '<rect width="100%" height="100%" style="fill:%{f};"></rect>' + '</svg>';
|
|
var props$g = makePropsConfigurable({
|
|
src: {
|
|
type: String // default: null
|
|
|
|
},
|
|
srcset: {
|
|
type: [String, Array] // default: null
|
|
|
|
},
|
|
sizes: {
|
|
type: [String, Array] // default: null
|
|
|
|
},
|
|
alt: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
width: {
|
|
type: [Number, String] // default: null
|
|
|
|
},
|
|
height: {
|
|
type: [Number, String] // default: null
|
|
|
|
},
|
|
block: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
fluid: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
fluidGrow: {
|
|
// Gives fluid images class `w-100` to make them grow to fit container
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
rounded: {
|
|
// rounded can be:
|
|
// false: no rounding of corners
|
|
// true: slightly rounded corners
|
|
// 'top': top corners rounded
|
|
// 'right': right corners rounded
|
|
// 'bottom': bottom corners rounded
|
|
// 'left': left corners rounded
|
|
// 'circle': circle/oval
|
|
// '0': force rounding off
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
thumbnail: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
left: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
right: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
center: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
blank: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
blankColor: {
|
|
type: String,
|
|
default: 'transparent'
|
|
}
|
|
}, NAME_IMG); // --- Helper methods ---
|
|
|
|
var makeBlankImgSrc = function makeBlankImgSrc(width, height, color) {
|
|
var src = encodeURIComponent(BLANK_TEMPLATE.replace('%{w}', toString$1(width)).replace('%{h}', toString$1(height)).replace('%{f}', color));
|
|
return "data:image/svg+xml;charset=UTF-8,".concat(src);
|
|
}; // @vue/component
|
|
|
|
|
|
var BImg = /*#__PURE__*/Vue.extend({
|
|
name: NAME_IMG,
|
|
functional: true,
|
|
props: props$g,
|
|
render: function render(h, _ref) {
|
|
var _class;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data;
|
|
var src = props.src;
|
|
var width = toInteger(props.width) || null;
|
|
var height = toInteger(props.height) || null;
|
|
var align = null;
|
|
var block = props.block;
|
|
var srcset = concat(props.srcset).filter(identity).join(',');
|
|
var sizes = concat(props.sizes).filter(identity).join(',');
|
|
|
|
if (props.blank) {
|
|
if (!height && width) {
|
|
height = width;
|
|
} else if (!width && height) {
|
|
width = height;
|
|
}
|
|
|
|
if (!width && !height) {
|
|
width = 1;
|
|
height = 1;
|
|
} // Make a blank SVG image
|
|
|
|
|
|
src = makeBlankImgSrc(width, height, props.blankColor || 'transparent'); // Disable srcset and sizes
|
|
|
|
srcset = null;
|
|
sizes = null;
|
|
}
|
|
|
|
if (props.left) {
|
|
align = 'float-left';
|
|
} else if (props.right) {
|
|
align = 'float-right';
|
|
} else if (props.center) {
|
|
align = 'mx-auto';
|
|
block = true;
|
|
}
|
|
|
|
return h('img', mergeData(data, {
|
|
attrs: {
|
|
src: src,
|
|
alt: props.alt,
|
|
width: width ? toString$1(width) : null,
|
|
height: height ? toString$1(height) : null,
|
|
srcset: srcset || null,
|
|
sizes: sizes || null
|
|
},
|
|
class: (_class = {
|
|
'img-thumbnail': props.thumbnail,
|
|
'img-fluid': props.fluid || props.fluidGrow,
|
|
'w-100': props.fluidGrow,
|
|
rounded: props.rounded === '' || props.rounded === true
|
|
}, _defineProperty(_class, "rounded-".concat(props.rounded), isString(props.rounded) && props.rounded !== ''), _defineProperty(_class, align, align), _defineProperty(_class, 'd-block', block), _class)
|
|
}));
|
|
}
|
|
});
|
|
|
|
var props$h = makePropsConfigurable(_objectSpread2(_objectSpread2({}, omit(props$g, ['blank'])), {}, {
|
|
blankSrc: {
|
|
// If null, a blank image is generated
|
|
type: String,
|
|
default: null
|
|
},
|
|
blankColor: {
|
|
type: String,
|
|
default: 'transparent'
|
|
},
|
|
blankWidth: {
|
|
type: [Number, String] // default: null
|
|
|
|
},
|
|
blankHeight: {
|
|
type: [Number, String] // default: null
|
|
|
|
},
|
|
show: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
offset: {
|
|
// Distance away from viewport (in pixels) before being
|
|
// considered "visible"
|
|
type: [Number, String],
|
|
default: 360
|
|
}
|
|
}), NAME_IMG_LAZY); // @vue/component
|
|
|
|
var BImgLazy = /*#__PURE__*/Vue.extend({
|
|
name: NAME_IMG_LAZY,
|
|
directives: {
|
|
bVisible: VBVisible
|
|
},
|
|
props: props$h,
|
|
data: function data() {
|
|
return {
|
|
isShown: this.show
|
|
};
|
|
},
|
|
computed: {
|
|
computedSrc: function computedSrc() {
|
|
return !this.blankSrc || this.isShown ? this.src : this.blankSrc;
|
|
},
|
|
computedBlank: function computedBlank() {
|
|
return !(this.isShown || this.blankSrc);
|
|
},
|
|
computedWidth: function computedWidth() {
|
|
return this.isShown ? this.width : this.blankWidth || this.width;
|
|
},
|
|
computedHeight: function computedHeight() {
|
|
return this.isShown ? this.height : this.blankHeight || this.height;
|
|
},
|
|
computedSrcset: function computedSrcset() {
|
|
var srcset = concat(this.srcset).filter(identity).join(',');
|
|
return !this.blankSrc || this.isShown ? srcset : null;
|
|
},
|
|
computedSizes: function computedSizes() {
|
|
var sizes = concat(this.sizes).filter(identity).join(',');
|
|
return !this.blankSrc || this.isShown ? sizes : null;
|
|
}
|
|
},
|
|
watch: {
|
|
show: function show(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
// If IntersectionObserver support is not available, image is always shown
|
|
var visible = hasIntersectionObserverSupport ? newVal : true;
|
|
this.isShown = visible;
|
|
|
|
if (visible !== newVal) {
|
|
// Ensure the show prop is synced (when no IntersectionObserver)
|
|
this.$nextTick(this.updateShowProp);
|
|
}
|
|
}
|
|
},
|
|
isShown: function isShown(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
// Update synched show prop
|
|
this.updateShowProp();
|
|
}
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
// If IntersectionObserver is not available, image is always shown
|
|
this.isShown = hasIntersectionObserverSupport ? this.show : true;
|
|
},
|
|
methods: {
|
|
updateShowProp: function updateShowProp() {
|
|
this.$emit('update:show', this.isShown);
|
|
},
|
|
doShow: function doShow(visible) {
|
|
// If IntersectionObserver is not supported, the callback
|
|
// will be called with `null` rather than `true` or `false`
|
|
if ((visible || visible === null) && !this.isShown) {
|
|
this.isShown = true;
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var directives = [];
|
|
|
|
if (!this.isShown) {
|
|
var _modifiers;
|
|
|
|
// We only add the visible directive if we are not shown
|
|
directives.push({
|
|
// Visible directive will silently do nothing if
|
|
// IntersectionObserver is not supported
|
|
name: 'b-visible',
|
|
// Value expects a callback (passed one arg of `visible` = `true` or `false`)
|
|
value: this.doShow,
|
|
modifiers: (_modifiers = {}, _defineProperty(_modifiers, "".concat(toInteger(this.offset, 0)), true), _defineProperty(_modifiers, "once", true), _modifiers)
|
|
});
|
|
}
|
|
|
|
return h(BImg, {
|
|
directives: directives,
|
|
props: {
|
|
// Computed value props
|
|
src: this.computedSrc,
|
|
blank: this.computedBlank,
|
|
width: this.computedWidth,
|
|
height: this.computedHeight,
|
|
srcset: this.computedSrcset || null,
|
|
sizes: this.computedSizes || null,
|
|
// Passthrough props
|
|
alt: this.alt,
|
|
blankColor: this.blankColor,
|
|
fluid: this.fluid,
|
|
fluidGrow: this.fluidGrow,
|
|
block: this.block,
|
|
thumbnail: this.thumbnail,
|
|
rounded: this.rounded,
|
|
left: this.left,
|
|
right: this.right,
|
|
center: this.center
|
|
}
|
|
});
|
|
}
|
|
});
|
|
|
|
// The `omit()` util creates a new object, so we can just pass the original props
|
|
|
|
var lazyProps = omit(props$h, ['left', 'right', 'center', 'block', 'rounded', 'thumbnail', 'fluid', 'fluidGrow']);
|
|
var props$i = makePropsConfigurable(_objectSpread2(_objectSpread2({}, lazyProps), {}, {
|
|
top: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
bottom: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
start: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
left: {
|
|
// alias of 'start'
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
end: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
right: {
|
|
// alias of 'end'
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_CARD_IMG_LAZY); // @vue/component
|
|
|
|
var BCardImgLazy = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD_IMG_LAZY,
|
|
functional: true,
|
|
props: props$i,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data;
|
|
var baseClass = 'card-img';
|
|
|
|
if (props.top) {
|
|
baseClass += '-top';
|
|
} else if (props.right || props.end) {
|
|
baseClass += '-right';
|
|
} else if (props.bottom) {
|
|
baseClass += '-bottom';
|
|
} else if (props.left || props.start) {
|
|
baseClass += '-left';
|
|
} // False out the left/center/right props before passing to b-img-lazy
|
|
|
|
|
|
var lazyProps = _objectSpread2(_objectSpread2({}, props), {}, {
|
|
left: false,
|
|
right: false,
|
|
center: false
|
|
});
|
|
|
|
return h(BImgLazy, mergeData(data, {
|
|
class: [baseClass],
|
|
props: lazyProps
|
|
}));
|
|
}
|
|
});
|
|
|
|
var props$j = makePropsConfigurable({
|
|
textTag: {
|
|
type: String,
|
|
default: 'p'
|
|
}
|
|
}, NAME_CARD_TEXT); // @vue/component
|
|
|
|
var BCardText = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD_TEXT,
|
|
functional: true,
|
|
props: props$j,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.textTag, mergeData(data, {
|
|
staticClass: 'card-text'
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$k = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
deck: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
columns: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_CARD_GROUP); // @vue/component
|
|
|
|
var BCardGroup = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CARD_GROUP,
|
|
functional: true,
|
|
props: props$k,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
class: props.deck ? 'card-deck' : props.columns ? 'card-columns' : 'card-group'
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var CardPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BCard: BCard,
|
|
BCardHeader: BCardHeader,
|
|
BCardBody: BCardBody,
|
|
BCardTitle: BCardTitle,
|
|
BCardSubTitle: BCardSubTitle,
|
|
BCardFooter: BCardFooter,
|
|
BCardImg: BCardImg,
|
|
BCardImgLazy: BCardImgLazy,
|
|
BCardText: BCardText,
|
|
BCardGroup: BCardGroup
|
|
}
|
|
});
|
|
|
|
var EVENT_OPTIONS_PASSIVE = {
|
|
passive: true
|
|
};
|
|
var EVENT_OPTIONS_NO_CAPTURE = {
|
|
passive: true,
|
|
capture: false
|
|
};
|
|
|
|
var noop = function noop() {};
|
|
|
|
/**
|
|
* Observe a DOM element changes, falls back to eventListener mode
|
|
* @param {Element} el The DOM element to observe
|
|
* @param {Function} callback callback to be called on change
|
|
* @param {object} [options={childList: true, subtree: true}] observe options
|
|
* @see https://stackoverflow.com/questions/3219758
|
|
*/
|
|
|
|
var observeDom = function observeDom(el, callback, options)
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
{
|
|
// Handle cases where we might be passed a Vue instance
|
|
el = el ? el.$el || el : null; // Early exit when we have no element
|
|
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
|
|
if (!isElement(el)) {
|
|
return null;
|
|
} // Exit and throw a warning when `MutationObserver` isn't available
|
|
|
|
|
|
if (warnNoMutationObserverSupport('observeDom')) {
|
|
return null;
|
|
} // Define a new observer
|
|
|
|
|
|
var obs = new MutationObs(function (mutations) {
|
|
var changed = false; // A mutation can contain several change records, so we loop
|
|
// through them to see what has changed
|
|
// We break out of the loop early if any "significant" change
|
|
// has been detected
|
|
|
|
for (var i = 0; i < mutations.length && !changed; i++) {
|
|
// The mutation record
|
|
var mutation = mutations[i]; // Mutation type
|
|
|
|
var type = mutation.type; // DOM node (could be any DOM node type - HTMLElement, Text, comment, etc.)
|
|
|
|
var target = mutation.target; // Detect whether a change happened based on type and target
|
|
|
|
if (type === 'characterData' && target.nodeType === Node.TEXT_NODE) {
|
|
// We ignore nodes that are not TEXT (i.e. comments, etc.)
|
|
// as they don't change layout
|
|
changed = true;
|
|
} else if (type === 'attributes') {
|
|
changed = true;
|
|
} else if (type === 'childList' && (mutation.addedNodes.length > 0 || mutation.removedNodes.length > 0)) {
|
|
// This includes HTMLElement and text nodes being
|
|
// added/removed/re-arranged
|
|
changed = true;
|
|
}
|
|
} // We only call the callback if a change that could affect
|
|
// layout/size truly happened
|
|
|
|
|
|
if (changed) {
|
|
callback();
|
|
}
|
|
}); // Have the observer observe foo for changes in children, etc
|
|
|
|
obs.observe(el, _objectSpread2({
|
|
childList: true,
|
|
subtree: true
|
|
}, options)); // We return a reference to the observer so that `obs.disconnect()`
|
|
// can be called if necessary
|
|
// To reduce overhead when the root element is hidden
|
|
|
|
return obs;
|
|
};
|
|
|
|
var DIRECTION = {
|
|
next: {
|
|
dirClass: 'carousel-item-left',
|
|
overlayClass: 'carousel-item-next'
|
|
},
|
|
prev: {
|
|
dirClass: 'carousel-item-right',
|
|
overlayClass: 'carousel-item-prev'
|
|
}
|
|
}; // Fallback Transition duration (with a little buffer) in ms
|
|
|
|
var TRANS_DURATION = 600 + 50; // Time for mouse compat events to fire after touch
|
|
|
|
var TOUCH_EVENT_COMPAT_WAIT = 500; // Number of pixels to consider touch move a swipe
|
|
|
|
var SWIPE_THRESHOLD = 40; // PointerEvent pointer types
|
|
|
|
var PointerType = {
|
|
TOUCH: 'touch',
|
|
PEN: 'pen'
|
|
}; // Transition Event names
|
|
|
|
var TransitionEndEvents = {
|
|
WebkitTransition: 'webkitTransitionEnd',
|
|
MozTransition: 'transitionend',
|
|
OTransition: 'otransitionend oTransitionEnd',
|
|
transition: 'transitionend'
|
|
}; // Return the browser specific transitionEnd event name
|
|
|
|
var getTransitionEndEvent = function getTransitionEndEvent(el) {
|
|
for (var name in TransitionEndEvents) {
|
|
if (!isUndefined(el.style[name])) {
|
|
return TransitionEndEvents[name];
|
|
}
|
|
} // Fallback
|
|
|
|
/* istanbul ignore next */
|
|
|
|
|
|
return null;
|
|
}; // @vue/component
|
|
|
|
|
|
var BCarousel = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CAROUSEL,
|
|
mixins: [idMixin, normalizeSlotMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvCarousel: this
|
|
};
|
|
},
|
|
model: {
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: makePropsConfigurable({
|
|
labelPrev: {
|
|
type: String,
|
|
default: 'Previous slide'
|
|
},
|
|
labelNext: {
|
|
type: String,
|
|
default: 'Next slide'
|
|
},
|
|
labelGotoSlide: {
|
|
type: String,
|
|
default: 'Goto slide'
|
|
},
|
|
labelIndicators: {
|
|
type: String,
|
|
default: 'Select a slide to display'
|
|
},
|
|
interval: {
|
|
type: Number,
|
|
default: 5000
|
|
},
|
|
indicators: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
controls: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noAnimation: {
|
|
// Disable slide/fade animation
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
fade: {
|
|
// Enable cross-fade animation instead of slide animation
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noWrap: {
|
|
// Disable wrapping/looping when start/end is reached
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noTouch: {
|
|
// Sniffed by carousel-slide
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noHoverPause: {
|
|
// Disable pause on hover
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
imgWidth: {
|
|
// Sniffed by carousel-slide
|
|
type: [Number, String] // default: undefined
|
|
|
|
},
|
|
imgHeight: {
|
|
// Sniffed by carousel-slide
|
|
type: [Number, String] // default: undefined
|
|
|
|
},
|
|
background: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
value: {
|
|
type: Number,
|
|
default: 0
|
|
}
|
|
}, NAME_CAROUSEL),
|
|
data: function data() {
|
|
return {
|
|
index: this.value || 0,
|
|
isSliding: false,
|
|
transitionEndEvent: null,
|
|
slides: [],
|
|
direction: null,
|
|
isPaused: !(toInteger(this.interval, 0) > 0),
|
|
// Touch event handling values
|
|
touchStartX: 0,
|
|
touchDeltaX: 0
|
|
};
|
|
},
|
|
computed: {
|
|
numSlides: function numSlides() {
|
|
return this.slides.length;
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
this.setSlide(toInteger(newVal, 0));
|
|
}
|
|
},
|
|
interval: function interval(newVal, oldVal) {
|
|
if (newVal === oldVal) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
if (!newVal) {
|
|
// Pausing slide show
|
|
this.pause(false);
|
|
} else {
|
|
// Restarting or Changing interval
|
|
this.pause(true);
|
|
this.start(false);
|
|
}
|
|
},
|
|
isPaused: function isPaused(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
this.$emit(newVal ? 'paused' : 'unpaused');
|
|
}
|
|
},
|
|
index: function index(to, from) {
|
|
if (to === from || this.isSliding) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
this.doSlide(to, from);
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Create private non-reactive props
|
|
this.$_interval = null;
|
|
this.$_animationTimeout = null;
|
|
this.$_touchTimeout = null;
|
|
this.$_observer = null; // Set initial paused state
|
|
|
|
this.isPaused = !(toInteger(this.interval, 0) > 0);
|
|
},
|
|
mounted: function mounted() {
|
|
// Cache current browser transitionend event name
|
|
this.transitionEndEvent = getTransitionEndEvent(this.$el) || null; // Get all slides
|
|
|
|
this.updateSlides(); // Observe child changes so we can update slide list
|
|
|
|
this.setObserver(true);
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.clearInterval();
|
|
this.clearAnimationTimeout();
|
|
this.clearTouchTimeout();
|
|
this.setObserver(false);
|
|
},
|
|
methods: {
|
|
clearInterval: function (_clearInterval) {
|
|
function clearInterval() {
|
|
return _clearInterval.apply(this, arguments);
|
|
}
|
|
|
|
clearInterval.toString = function () {
|
|
return _clearInterval.toString();
|
|
};
|
|
|
|
return clearInterval;
|
|
}(function () {
|
|
clearInterval(this.$_interval);
|
|
this.$_interval = null;
|
|
}),
|
|
clearAnimationTimeout: function clearAnimationTimeout() {
|
|
clearTimeout(this.$_animationTimeout);
|
|
this.$_animationTimeout = null;
|
|
},
|
|
clearTouchTimeout: function clearTouchTimeout() {
|
|
clearTimeout(this.$_touchTimeout);
|
|
this.$_touchTimeout = null;
|
|
},
|
|
setObserver: function setObserver() {
|
|
var on = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
this.$_observer && this.$_observer.disconnect();
|
|
this.$_observer = null;
|
|
|
|
if (on) {
|
|
this.$_observer = observeDom(this.$refs.inner, this.updateSlides.bind(this), {
|
|
subtree: false,
|
|
childList: true,
|
|
attributes: true,
|
|
attributeFilter: ['id']
|
|
});
|
|
}
|
|
},
|
|
// Set slide
|
|
setSlide: function setSlide(slide) {
|
|
var _this = this;
|
|
|
|
var direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
|
|
// Don't animate when page is not visible
|
|
|
|
/* istanbul ignore if: difficult to test */
|
|
if (isBrowser && document.visibilityState && document.hidden) {
|
|
return;
|
|
}
|
|
|
|
var noWrap = this.noWrap;
|
|
var numSlides = this.numSlides; // Make sure we have an integer (you never know!)
|
|
|
|
slide = mathFloor(slide); // Don't do anything if nothing to slide to
|
|
|
|
if (numSlides === 0) {
|
|
return;
|
|
} // Don't change slide while transitioning, wait until transition is done
|
|
|
|
|
|
if (this.isSliding) {
|
|
// Schedule slide after sliding complete
|
|
this.$once('sliding-end', function () {
|
|
// Wrap in `requestAF()` to allow the slide to properly finish to avoid glitching
|
|
requestAF(function () {
|
|
return _this.setSlide(slide, direction);
|
|
});
|
|
});
|
|
return;
|
|
}
|
|
|
|
this.direction = direction; // Set new slide index
|
|
// Wrap around if necessary (if no-wrap not enabled)
|
|
|
|
this.index = slide >= numSlides ? noWrap ? numSlides - 1 : 0 : slide < 0 ? noWrap ? 0 : numSlides - 1 : slide; // Ensure the v-model is synched up if no-wrap is enabled
|
|
// and user tried to slide pass either ends
|
|
|
|
if (noWrap && this.index !== slide && this.index !== this.value) {
|
|
this.$emit('input', this.index);
|
|
}
|
|
},
|
|
// Previous slide
|
|
prev: function prev() {
|
|
this.setSlide(this.index - 1, 'prev');
|
|
},
|
|
// Next slide
|
|
next: function next() {
|
|
this.setSlide(this.index + 1, 'next');
|
|
},
|
|
// Pause auto rotation
|
|
pause: function pause(evt) {
|
|
if (!evt) {
|
|
this.isPaused = true;
|
|
}
|
|
|
|
this.clearInterval();
|
|
},
|
|
// Start auto rotate slides
|
|
start: function start(evt) {
|
|
if (!evt) {
|
|
this.isPaused = false;
|
|
}
|
|
/* istanbul ignore next: most likely will never happen, but just in case */
|
|
|
|
|
|
this.clearInterval(); // Don't start if no interval, or less than 2 slides
|
|
|
|
if (this.interval && this.numSlides > 1) {
|
|
this.$_interval = setInterval(this.next, mathMax(1000, this.interval));
|
|
}
|
|
},
|
|
// Restart auto rotate slides when focus/hover leaves the carousel
|
|
|
|
/* istanbul ignore next */
|
|
restart: function restart() {
|
|
if (!this.$el.contains(getActiveElement())) {
|
|
this.start();
|
|
}
|
|
},
|
|
doSlide: function doSlide(to, from) {
|
|
var _this2 = this;
|
|
|
|
var isCycling = Boolean(this.interval); // Determine sliding direction
|
|
|
|
var direction = this.calcDirection(this.direction, from, to);
|
|
var overlayClass = direction.overlayClass;
|
|
var dirClass = direction.dirClass; // Determine current and next slides
|
|
|
|
var currentSlide = this.slides[from];
|
|
var nextSlide = this.slides[to]; // Don't do anything if there aren't any slides to slide to
|
|
|
|
if (!currentSlide || !nextSlide) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // Start animating
|
|
|
|
|
|
this.isSliding = true;
|
|
|
|
if (isCycling) {
|
|
this.pause(false);
|
|
}
|
|
|
|
this.$emit('sliding-start', to); // Update v-model
|
|
|
|
this.$emit('input', this.index);
|
|
|
|
if (this.noAnimation) {
|
|
addClass(nextSlide, 'active');
|
|
removeClass(currentSlide, 'active');
|
|
this.isSliding = false; // Notify ourselves that we're done sliding (slid)
|
|
|
|
this.$nextTick(function () {
|
|
return _this2.$emit('sliding-end', to);
|
|
});
|
|
} else {
|
|
addClass(nextSlide, overlayClass); // Trigger a reflow of next slide
|
|
|
|
reflow(nextSlide);
|
|
addClass(currentSlide, dirClass);
|
|
addClass(nextSlide, dirClass); // Transition End handler
|
|
|
|
var called = false;
|
|
/* istanbul ignore next: difficult to test */
|
|
|
|
var onceTransEnd = function onceTransEnd() {
|
|
if (called) {
|
|
return;
|
|
}
|
|
|
|
called = true;
|
|
/* istanbul ignore if: transition events cant be tested in JSDOM */
|
|
|
|
if (_this2.transitionEndEvent) {
|
|
var events = _this2.transitionEndEvent.split(/\s+/);
|
|
|
|
events.forEach(function (evt) {
|
|
return eventOff(nextSlide, evt, onceTransEnd, EVENT_OPTIONS_NO_CAPTURE);
|
|
});
|
|
}
|
|
|
|
_this2.clearAnimationTimeout();
|
|
|
|
removeClass(nextSlide, dirClass);
|
|
removeClass(nextSlide, overlayClass);
|
|
addClass(nextSlide, 'active');
|
|
removeClass(currentSlide, 'active');
|
|
removeClass(currentSlide, dirClass);
|
|
removeClass(currentSlide, overlayClass);
|
|
setAttr(currentSlide, 'aria-current', 'false');
|
|
setAttr(nextSlide, 'aria-current', 'true');
|
|
setAttr(currentSlide, 'aria-hidden', 'true');
|
|
setAttr(nextSlide, 'aria-hidden', 'false');
|
|
_this2.isSliding = false;
|
|
_this2.direction = null; // Notify ourselves that we're done sliding (slid)
|
|
|
|
_this2.$nextTick(function () {
|
|
return _this2.$emit('sliding-end', to);
|
|
});
|
|
}; // Set up transitionend handler
|
|
|
|
/* istanbul ignore if: transition events cant be tested in JSDOM */
|
|
|
|
|
|
if (this.transitionEndEvent) {
|
|
var events = this.transitionEndEvent.split(/\s+/);
|
|
events.forEach(function (event) {
|
|
return eventOn(nextSlide, event, onceTransEnd, EVENT_OPTIONS_NO_CAPTURE);
|
|
});
|
|
} // Fallback to setTimeout()
|
|
|
|
|
|
this.$_animationTimeout = setTimeout(onceTransEnd, TRANS_DURATION);
|
|
}
|
|
|
|
if (isCycling) {
|
|
this.start(false);
|
|
}
|
|
},
|
|
// Update slide list
|
|
updateSlides: function updateSlides() {
|
|
this.pause(true); // Get all slides as DOM elements
|
|
|
|
this.slides = selectAll('.carousel-item', this.$refs.inner);
|
|
var numSlides = this.slides.length; // Keep slide number in range
|
|
|
|
var index = mathMax(0, mathMin(mathFloor(this.index), numSlides - 1));
|
|
this.slides.forEach(function (slide, idx) {
|
|
var n = idx + 1;
|
|
|
|
if (idx === index) {
|
|
addClass(slide, 'active');
|
|
setAttr(slide, 'aria-current', 'true');
|
|
} else {
|
|
removeClass(slide, 'active');
|
|
setAttr(slide, 'aria-current', 'false');
|
|
}
|
|
|
|
setAttr(slide, 'aria-posinset', String(n));
|
|
setAttr(slide, 'aria-setsize', String(numSlides));
|
|
}); // Set slide as active
|
|
|
|
this.setSlide(index);
|
|
this.start(this.isPaused);
|
|
},
|
|
calcDirection: function calcDirection() {
|
|
var direction = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
var curIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
var nextIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
|
|
if (!direction) {
|
|
return nextIndex > curIndex ? DIRECTION.next : DIRECTION.prev;
|
|
}
|
|
|
|
return DIRECTION[direction];
|
|
},
|
|
handleClick: function handleClick(evt, fn) {
|
|
var keyCode = evt.keyCode;
|
|
|
|
if (evt.type === 'click' || keyCode === CODE_SPACE || keyCode === CODE_ENTER) {
|
|
stopEvent(evt);
|
|
fn();
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next: JSDOM doesn't support touch events */
|
|
handleSwipe: function handleSwipe() {
|
|
var absDeltaX = mathAbs(this.touchDeltaX);
|
|
|
|
if (absDeltaX <= SWIPE_THRESHOLD) {
|
|
return;
|
|
}
|
|
|
|
var direction = absDeltaX / this.touchDeltaX; // Reset touch delta X
|
|
// https://github.com/twbs/bootstrap/pull/28558
|
|
|
|
this.touchDeltaX = 0;
|
|
|
|
if (direction > 0) {
|
|
// Swipe left
|
|
this.prev();
|
|
} else if (direction < 0) {
|
|
// Swipe right
|
|
this.next();
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next: JSDOM doesn't support touch events */
|
|
touchStart: function touchStart(evt) {
|
|
if (hasPointerEventSupport && PointerType[evt.pointerType.toUpperCase()]) {
|
|
this.touchStartX = evt.clientX;
|
|
} else if (!hasPointerEventSupport) {
|
|
this.touchStartX = evt.touches[0].clientX;
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next: JSDOM doesn't support touch events */
|
|
touchMove: function touchMove(evt) {
|
|
// Ensure swiping with one touch and not pinching
|
|
if (evt.touches && evt.touches.length > 1) {
|
|
this.touchDeltaX = 0;
|
|
} else {
|
|
this.touchDeltaX = evt.touches[0].clientX - this.touchStartX;
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next: JSDOM doesn't support touch events */
|
|
touchEnd: function touchEnd(evt) {
|
|
if (hasPointerEventSupport && PointerType[evt.pointerType.toUpperCase()]) {
|
|
this.touchDeltaX = evt.clientX - this.touchStartX;
|
|
}
|
|
|
|
this.handleSwipe(); // 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(false);
|
|
this.clearTouchTimeout();
|
|
this.$_touchTimeout = setTimeout(this.start, TOUCH_EVENT_COMPAT_WAIT + mathMax(1000, this.interval));
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this3 = this;
|
|
|
|
// Wrapper for slides
|
|
var inner = h('div', {
|
|
ref: 'inner',
|
|
class: ['carousel-inner'],
|
|
attrs: {
|
|
id: this.safeId('__BV_inner_'),
|
|
role: 'list'
|
|
}
|
|
}, [this.normalizeSlot()]); // Prev and next controls
|
|
|
|
var controls = h();
|
|
|
|
if (this.controls) {
|
|
var prevHandler = function prevHandler(evt) {
|
|
/* istanbul ignore next */
|
|
if (!_this3.isSliding) {
|
|
_this3.handleClick(evt, _this3.prev);
|
|
} else {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
}
|
|
};
|
|
|
|
var nextHandler = function nextHandler(evt) {
|
|
/* istanbul ignore next */
|
|
if (!_this3.isSliding) {
|
|
_this3.handleClick(evt, _this3.next);
|
|
} else {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
}
|
|
};
|
|
|
|
controls = [h('a', {
|
|
class: ['carousel-control-prev'],
|
|
attrs: {
|
|
href: '#',
|
|
role: 'button',
|
|
'aria-controls': this.safeId('__BV_inner_'),
|
|
'aria-disabled': this.isSliding ? 'true' : null
|
|
},
|
|
on: {
|
|
click: prevHandler,
|
|
keydown: prevHandler
|
|
}
|
|
}, [h('span', {
|
|
class: ['carousel-control-prev-icon'],
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
}), h('span', {
|
|
class: ['sr-only']
|
|
}, [this.labelPrev])]), h('a', {
|
|
class: ['carousel-control-next'],
|
|
attrs: {
|
|
href: '#',
|
|
role: 'button',
|
|
'aria-controls': this.safeId('__BV_inner_'),
|
|
'aria-disabled': this.isSliding ? 'true' : null
|
|
},
|
|
on: {
|
|
click: nextHandler,
|
|
keydown: nextHandler
|
|
}
|
|
}, [h('span', {
|
|
class: ['carousel-control-next-icon'],
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
}), h('span', {
|
|
class: ['sr-only']
|
|
}, [this.labelNext])])];
|
|
} // Indicators
|
|
|
|
|
|
var indicators = h('ol', {
|
|
class: ['carousel-indicators'],
|
|
directives: [{
|
|
name: 'show',
|
|
rawName: 'v-show',
|
|
value: this.indicators,
|
|
expression: 'indicators'
|
|
}],
|
|
attrs: {
|
|
id: this.safeId('__BV_indicators_'),
|
|
'aria-hidden': this.indicators ? 'false' : 'true',
|
|
'aria-label': this.labelIndicators,
|
|
'aria-owns': this.safeId('__BV_inner_')
|
|
}
|
|
}, this.slides.map(function (slide, n) {
|
|
return h('li', {
|
|
key: "slide_".concat(n),
|
|
class: {
|
|
active: n === _this3.index
|
|
},
|
|
attrs: {
|
|
role: 'button',
|
|
id: _this3.safeId("__BV_indicator_".concat(n + 1, "_")),
|
|
tabindex: _this3.indicators ? '0' : '-1',
|
|
'aria-current': n === _this3.index ? 'true' : 'false',
|
|
'aria-label': "".concat(_this3.labelGotoSlide, " ").concat(n + 1),
|
|
'aria-describedby': _this3.slides[n].id || null,
|
|
'aria-controls': _this3.safeId('__BV_inner_')
|
|
},
|
|
on: {
|
|
click: function click(evt) {
|
|
_this3.handleClick(evt, function () {
|
|
_this3.setSlide(n);
|
|
});
|
|
},
|
|
keydown: function keydown(evt) {
|
|
_this3.handleClick(evt, function () {
|
|
_this3.setSlide(n);
|
|
});
|
|
}
|
|
}
|
|
});
|
|
}));
|
|
var on = {
|
|
mouseenter: this.noHoverPause ? noop : this.pause,
|
|
mouseleave: this.noHoverPause ? noop : this.restart,
|
|
focusin: this.pause,
|
|
focusout: this.restart,
|
|
keydown: function keydown(evt) {
|
|
if (/input|textarea/i.test(evt.target.tagName)) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
var keyCode = evt.keyCode;
|
|
|
|
if (keyCode === CODE_LEFT || keyCode === CODE_RIGHT) {
|
|
stopEvent(evt);
|
|
|
|
_this3[keyCode === CODE_LEFT ? 'prev' : 'next']();
|
|
}
|
|
}
|
|
}; // Touch support event handlers for environment
|
|
|
|
if (!this.noTouch && hasTouchSupport) {
|
|
// Attach appropriate listeners (prepend event name with '&' for passive mode)
|
|
|
|
/* istanbul ignore next: JSDOM doesn't support touch events */
|
|
if (hasPointerEventSupport) {
|
|
on['&pointerdown'] = this.touchStart;
|
|
on['&pointerup'] = this.touchEnd;
|
|
} else {
|
|
on['&touchstart'] = this.touchStart;
|
|
on['&touchmove'] = this.touchMove;
|
|
on['&touchend'] = this.touchEnd;
|
|
}
|
|
} // Return the carousel
|
|
|
|
|
|
return h('div', {
|
|
staticClass: 'carousel',
|
|
class: {
|
|
slide: !this.noAnimation,
|
|
'carousel-fade': !this.noAnimation && this.fade,
|
|
'pointer-event': !this.noTouch && hasTouchSupport && hasPointerEventSupport
|
|
},
|
|
style: {
|
|
background: this.background
|
|
},
|
|
attrs: {
|
|
role: 'region',
|
|
id: this.safeId(),
|
|
'aria-busy': this.isSliding ? 'true' : 'false'
|
|
},
|
|
on: on
|
|
}, [inner, controls, indicators]);
|
|
}
|
|
});
|
|
|
|
var imgProps = {
|
|
imgSrc: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
imgAlt: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
imgWidth: {
|
|
type: [Number, String] // default: undefined
|
|
|
|
},
|
|
imgHeight: {
|
|
type: [Number, String] // default: undefined
|
|
|
|
},
|
|
imgBlank: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
imgBlankColor: {
|
|
type: String,
|
|
default: 'transparent'
|
|
}
|
|
};
|
|
var props$l = makePropsConfigurable(_objectSpread2(_objectSpread2({}, imgProps), {}, {
|
|
contentVisibleUp: {
|
|
type: String
|
|
},
|
|
contentTag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
caption: {
|
|
type: String
|
|
},
|
|
captionHtml: {
|
|
type: String
|
|
},
|
|
captionTag: {
|
|
type: String,
|
|
default: 'h3'
|
|
},
|
|
text: {
|
|
type: String
|
|
},
|
|
textHtml: {
|
|
type: String
|
|
},
|
|
textTag: {
|
|
type: String,
|
|
default: 'p'
|
|
},
|
|
background: {
|
|
type: String
|
|
}
|
|
}), NAME_CAROUSEL_SLIDE); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BCarouselSlide = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CAROUSEL_SLIDE,
|
|
mixins: [idMixin, normalizeSlotMixin],
|
|
inject: {
|
|
bvCarousel: {
|
|
default: function _default() {
|
|
return {
|
|
// Explicitly disable touch if not a child of carousel
|
|
noTouch: true
|
|
};
|
|
}
|
|
}
|
|
},
|
|
props: props$l,
|
|
computed: {
|
|
contentClasses: function contentClasses() {
|
|
return [this.contentVisibleUp ? 'd-none' : '', this.contentVisibleUp ? "d-".concat(this.contentVisibleUp, "-block") : ''];
|
|
},
|
|
computedWidth: function computedWidth() {
|
|
// Use local width, or try parent width
|
|
return this.imgWidth || this.bvCarousel.imgWidth || null;
|
|
},
|
|
computedHeight: function computedHeight() {
|
|
// Use local height, or try parent height
|
|
return this.imgHeight || this.bvCarousel.imgHeight || null;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var $img = this.normalizeSlot('img');
|
|
|
|
if (!$img && (this.imgSrc || this.imgBlank)) {
|
|
var on = {}; // Touch support event handler
|
|
|
|
/* istanbul ignore if: difficult to test in JSDOM */
|
|
|
|
if (!this.bvCarousel.noTouch && hasTouchSupport) {
|
|
on.dragstart = function (evt) {
|
|
return stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
};
|
|
}
|
|
|
|
$img = h(BImg, {
|
|
props: _objectSpread2(_objectSpread2({}, pluckProps(imgProps, this.$props, unprefixPropName.bind(null, 'img'))), {}, {
|
|
width: this.computedWidth,
|
|
height: this.computedHeight,
|
|
fluidGrow: true,
|
|
block: true
|
|
}),
|
|
on: on
|
|
});
|
|
}
|
|
|
|
var $contentChildren = [// Caption
|
|
this.caption || this.captionHtml ? h(this.captionTag, {
|
|
domProps: htmlOrText(this.captionHtml, this.caption)
|
|
}) : false, // Text
|
|
this.text || this.textHtml ? h(this.textTag, {
|
|
domProps: htmlOrText(this.textHtml, this.text)
|
|
}) : false, // Children
|
|
this.normalizeSlot() || false];
|
|
var $content = h();
|
|
|
|
if ($contentChildren.some(Boolean)) {
|
|
$content = h(this.contentTag, {
|
|
staticClass: 'carousel-caption',
|
|
class: this.contentClasses
|
|
}, $contentChildren.map(function ($child) {
|
|
return $child || h();
|
|
}));
|
|
}
|
|
|
|
return h('div', {
|
|
staticClass: 'carousel-item',
|
|
style: {
|
|
background: this.background || this.bvCarousel.background || null
|
|
},
|
|
attrs: {
|
|
id: this.safeId(),
|
|
role: 'listitem'
|
|
}
|
|
}, [$img, $content]);
|
|
}
|
|
});
|
|
|
|
var CarouselPlugin =
|
|
/*#__PURE*/
|
|
pluginFactory({
|
|
components: {
|
|
BCarousel: BCarousel,
|
|
BCarouselSlide: BCarouselSlide
|
|
}
|
|
});
|
|
|
|
// Generic collapse transion helper component
|
|
|
|
var onEnter = function onEnter(el) {
|
|
setStyle(el, 'height', 0); // In a `requestAF()` for `appear` to work
|
|
|
|
requestAF(function () {
|
|
reflow(el);
|
|
setStyle(el, 'height', "".concat(el.scrollHeight, "px"));
|
|
});
|
|
};
|
|
|
|
var onAfterEnter = function onAfterEnter(el) {
|
|
removeStyle(el, 'height');
|
|
};
|
|
|
|
var onLeave = function onLeave(el) {
|
|
setStyle(el, 'height', 'auto');
|
|
setStyle(el, 'display', 'block');
|
|
setStyle(el, 'height', "".concat(getBCR(el).height, "px"));
|
|
reflow(el);
|
|
setStyle(el, 'height', 0);
|
|
};
|
|
|
|
var onAfterLeave = function onAfterLeave(el) {
|
|
removeStyle(el, 'height');
|
|
}; // Default transition props
|
|
// `appear` will use the enter classes
|
|
|
|
|
|
var TRANSITION_PROPS = {
|
|
css: true,
|
|
enterClass: '',
|
|
enterActiveClass: 'collapsing',
|
|
enterToClass: 'collapse show',
|
|
leaveClass: 'collapse show',
|
|
leaveActiveClass: 'collapsing',
|
|
leaveToClass: 'collapse'
|
|
}; // Default transition handlers
|
|
// `appear` will use the enter handlers
|
|
|
|
var TRANSITION_HANDLERS = {
|
|
enter: onEnter,
|
|
afterEnter: onAfterEnter,
|
|
leave: onLeave,
|
|
afterLeave: onAfterLeave
|
|
}; // @vue/component
|
|
|
|
var BVCollapse = /*#__PURE__*/Vue.extend({
|
|
name: NAME_COLLAPSE_HELPER,
|
|
functional: true,
|
|
props: {
|
|
appear: {
|
|
// If `true` (and `visible` is `true` on mount), animate initially visible
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
},
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h('transition', // We merge in the `appear` prop last
|
|
mergeData(data, {
|
|
props: TRANSITION_PROPS,
|
|
on: TRANSITION_HANDLERS
|
|
}, {
|
|
props: props
|
|
}), // Note: `<transition>` supports a single root element only
|
|
children);
|
|
}
|
|
});
|
|
|
|
// @vue/component
|
|
var listenOnRootMixin = {
|
|
methods: {
|
|
/**
|
|
* Safely register event listeners on the root Vue node
|
|
* While Vue automatically removes listeners for individual components,
|
|
* when a component registers a listener on root and is destroyed,
|
|
* this orphans a callback because the node is gone,
|
|
* but the root does not clear the callback
|
|
*
|
|
* When registering a `$root` listener, it also registers a listener on
|
|
* the component's `beforeDestroy()` hook to automatically remove the
|
|
* event listener from the `$root` instance
|
|
*
|
|
* @param {string} event
|
|
* @param {function} callback
|
|
*/
|
|
listenOnRoot: function listenOnRoot(event, callback) {
|
|
var _this = this;
|
|
|
|
this.$root.$on(event, callback);
|
|
this.$on('hook:beforeDestroy', function () {
|
|
_this.$root.$off(event, callback);
|
|
});
|
|
},
|
|
|
|
/**
|
|
* Safely register a `$once()` event listener on the root Vue node
|
|
* While Vue automatically removes listeners for individual components,
|
|
* when a component registers a listener on root and is destroyed,
|
|
* this orphans a callback because the node is gone,
|
|
* but the root does not clear the callback
|
|
*
|
|
* When registering a $root listener, it also registers a listener on
|
|
* the component's `beforeDestroy` hook to automatically remove the
|
|
* event listener from the $root instance.
|
|
*
|
|
* @param {string} event
|
|
* @param {function} callback
|
|
*/
|
|
listenOnRootOnce: function listenOnRootOnce(event, callback) {
|
|
var _this2 = this;
|
|
|
|
this.$root.$once(event, callback);
|
|
this.$on('hook:beforeDestroy', function () {
|
|
_this2.$root.$off(event, callback);
|
|
});
|
|
},
|
|
|
|
/**
|
|
* Convenience method for calling `vm.$emit()` on `vm.$root`
|
|
*
|
|
* @param {string} event
|
|
* @param {*} args
|
|
*/
|
|
emitOnRoot: function emitOnRoot(event) {
|
|
var _this$$root;
|
|
|
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
args[_key - 1] = arguments[_key];
|
|
}
|
|
|
|
(_this$$root = this.$root).$emit.apply(_this$$root, [event].concat(args));
|
|
}
|
|
}
|
|
};
|
|
|
|
// Classes to apply to trigger element
|
|
|
|
var CLASS_BV_TOGGLE_COLLAPSED = 'collapsed';
|
|
var CLASS_BV_TOGGLE_NOT_COLLAPSED = 'not-collapsed'; // Property key for handler storage
|
|
|
|
var BV_BASE = '__BV_toggle'; // Root event listener property (Function)
|
|
|
|
var BV_TOGGLE_ROOT_HANDLER = "".concat(BV_BASE, "_HANDLER__"); // Trigger element click handler property (Function)
|
|
|
|
var BV_TOGGLE_CLICK_HANDLER = "".concat(BV_BASE, "_CLICK__"); // Target visibility state property (Boolean)
|
|
|
|
var BV_TOGGLE_STATE = "".concat(BV_BASE, "_STATE__"); // Target ID list property (Array)
|
|
|
|
var BV_TOGGLE_TARGETS = "".concat(BV_BASE, "_TARGETS__"); // Commonly used strings
|
|
|
|
var STRING_FALSE = 'false';
|
|
var STRING_TRUE = 'true'; // Commonly used attribute names
|
|
|
|
var ATTR_ARIA_CONTROLS = 'aria-controls';
|
|
var ATTR_ARIA_EXPANDED = 'aria-expanded';
|
|
var ATTR_ROLE = 'role';
|
|
var ATTR_TABINDEX = 'tabindex'; // Commonly used style properties
|
|
|
|
var STYLE_OVERFLOW_ANCHOR = 'overflow-anchor'; // Emitted control event for collapse (emitted to collapse)
|
|
|
|
var EVENT_TOGGLE = 'bv::toggle::collapse'; // Listen to event for toggle state update (emitted by collapse)
|
|
|
|
var EVENT_STATE = 'bv::collapse::state'; // Private event emitted on `$root` to ensure the toggle state is always synced
|
|
// Gets emitted even if the state of b-collapse has not changed
|
|
// This event is NOT to be documented as people should not be using it
|
|
|
|
var EVENT_STATE_SYNC = 'bv::collapse::sync::state'; // Private event we send to collapse to request state update sync event
|
|
|
|
var EVENT_STATE_REQUEST = 'bv::request::collapse::state';
|
|
var KEYDOWN_KEY_CODES = [CODE_ENTER, CODE_SPACE]; // --- Helper methods ---
|
|
|
|
var isNonStandardTag$1 = function isNonStandardTag(el) {
|
|
return !arrayIncludes(['button', 'a'], el.tagName.toLowerCase());
|
|
};
|
|
|
|
var getTargets = function getTargets(_ref, el) {
|
|
var modifiers = _ref.modifiers,
|
|
arg = _ref.arg,
|
|
value = _ref.value;
|
|
// Any modifiers are considered target IDs
|
|
var targets = keys(modifiers || {}); // If value is a string, split out individual targets (if space delimited)
|
|
|
|
value = isString(value) ? value.split(RX_SPACE_SPLIT) : value; // Support target ID as link href (`href="#id"`)
|
|
|
|
if (isTag(el.tagName, 'a')) {
|
|
var href = getAttr(el, 'href') || '';
|
|
|
|
if (RX_HASH_ID.test(href)) {
|
|
targets.push(href.replace(RX_HASH, ''));
|
|
}
|
|
} // Add ID from `arg` (if provided), and support value
|
|
// as a single string ID or an array of string IDs
|
|
// If `value` is not an array or string, then it gets filtered out
|
|
|
|
|
|
concat(arg, value).forEach(function (t) {
|
|
return isString(t) && targets.push(t);
|
|
}); // Return only unique and truthy target IDs
|
|
|
|
return targets.filter(function (t, index, arr) {
|
|
return t && arr.indexOf(t) === index;
|
|
});
|
|
};
|
|
|
|
var removeClickListener = function removeClickListener(el) {
|
|
var handler = el[BV_TOGGLE_CLICK_HANDLER];
|
|
|
|
if (handler) {
|
|
eventOff(el, 'click', handler, EVENT_OPTIONS_PASSIVE);
|
|
eventOff(el, 'keydown', handler, EVENT_OPTIONS_PASSIVE);
|
|
}
|
|
|
|
el[BV_TOGGLE_CLICK_HANDLER] = null;
|
|
};
|
|
|
|
var addClickListener = function addClickListener(el, vnode) {
|
|
removeClickListener(el);
|
|
|
|
if (vnode.context) {
|
|
var handler = function handler(evt) {
|
|
if (!(evt.type === 'keydown' && !arrayIncludes(KEYDOWN_KEY_CODES, evt.keyCode)) && !isDisabled(el)) {
|
|
var targets = el[BV_TOGGLE_TARGETS] || [];
|
|
targets.forEach(function (target) {
|
|
vnode.context.$root.$emit(EVENT_TOGGLE, target);
|
|
});
|
|
}
|
|
};
|
|
|
|
el[BV_TOGGLE_CLICK_HANDLER] = handler;
|
|
eventOn(el, 'click', handler, EVENT_OPTIONS_PASSIVE);
|
|
|
|
if (isNonStandardTag$1(el)) {
|
|
eventOn(el, 'keydown', handler, EVENT_OPTIONS_PASSIVE);
|
|
}
|
|
}
|
|
};
|
|
|
|
var removeRootListeners = function removeRootListeners(el, vnode) {
|
|
if (el[BV_TOGGLE_ROOT_HANDLER] && vnode.context) {
|
|
vnode.context.$root.$off([EVENT_STATE, EVENT_STATE_SYNC], el[BV_TOGGLE_ROOT_HANDLER]);
|
|
}
|
|
|
|
el[BV_TOGGLE_ROOT_HANDLER] = null;
|
|
};
|
|
|
|
var addRootListeners = function addRootListeners(el, vnode) {
|
|
removeRootListeners(el, vnode);
|
|
|
|
if (vnode.context) {
|
|
var handler = function handler(id, state) {
|
|
// `state` will be `true` if target is expanded
|
|
if (arrayIncludes(el[BV_TOGGLE_TARGETS] || [], id)) {
|
|
// Set/Clear 'collapsed' visibility class state
|
|
el[BV_TOGGLE_STATE] = state; // Set `aria-expanded` and class state on trigger element
|
|
|
|
setToggleState(el, state);
|
|
}
|
|
};
|
|
|
|
el[BV_TOGGLE_ROOT_HANDLER] = handler; // Listen for toggle state changes (public) and sync (private)
|
|
|
|
vnode.context.$root.$on([EVENT_STATE, EVENT_STATE_SYNC], handler);
|
|
}
|
|
};
|
|
|
|
var setToggleState = function setToggleState(el, state) {
|
|
// State refers to the visibility of the collapse/sidebar
|
|
if (state) {
|
|
removeClass(el, CLASS_BV_TOGGLE_COLLAPSED);
|
|
addClass(el, CLASS_BV_TOGGLE_NOT_COLLAPSED);
|
|
setAttr(el, ATTR_ARIA_EXPANDED, STRING_TRUE);
|
|
} else {
|
|
removeClass(el, CLASS_BV_TOGGLE_NOT_COLLAPSED);
|
|
addClass(el, CLASS_BV_TOGGLE_COLLAPSED);
|
|
setAttr(el, ATTR_ARIA_EXPANDED, STRING_FALSE);
|
|
}
|
|
}; // Reset and remove a property from the provided element
|
|
|
|
|
|
var resetProp = function resetProp(el, prop) {
|
|
el[prop] = null;
|
|
delete el[prop];
|
|
}; // Handle directive updates
|
|
|
|
|
|
var handleUpdate = function handleUpdate(el, binding, vnode) {
|
|
/* istanbul ignore next: should never happen */
|
|
if (!isBrowser || !vnode.context) {
|
|
return;
|
|
} // If element is not a button or link, we add `role="button"`
|
|
// and `tabindex="0"` for accessibility reasons
|
|
|
|
|
|
if (isNonStandardTag$1(el)) {
|
|
if (!hasAttr(el, ATTR_ROLE)) {
|
|
setAttr(el, ATTR_ROLE, 'button');
|
|
}
|
|
|
|
if (!hasAttr(el, ATTR_TABINDEX)) {
|
|
setAttr(el, ATTR_TABINDEX, '0');
|
|
}
|
|
} // Ensure the collapse class and `aria-*` attributes persist
|
|
// after element is updated (either by parent re-rendering
|
|
// or changes to this element or its contents)
|
|
|
|
|
|
setToggleState(el, el[BV_TOGGLE_STATE]); // Parse list of target IDs
|
|
|
|
var targets = getTargets(binding, el); // Ensure the `aria-controls` hasn't been overwritten
|
|
// or removed when vnode updates
|
|
// Also ensure to set `overflow-anchor` to `none` to prevent
|
|
// the browser's scroll anchoring behavior
|
|
|
|
/* istanbul ignore else */
|
|
|
|
if (targets.length > 0) {
|
|
setAttr(el, ATTR_ARIA_CONTROLS, targets.join(' '));
|
|
setStyle(el, STYLE_OVERFLOW_ANCHOR, 'none');
|
|
} else {
|
|
removeAttr(el, ATTR_ARIA_CONTROLS);
|
|
removeStyle(el, STYLE_OVERFLOW_ANCHOR);
|
|
} // Add/Update our click listener(s)
|
|
// Wrap in a `requestAF()` to allow any previous
|
|
// click handling to occur first
|
|
|
|
|
|
requestAF(function () {
|
|
addClickListener(el, vnode);
|
|
}); // If targets array has changed, update
|
|
|
|
if (!looseEqual(targets, el[BV_TOGGLE_TARGETS])) {
|
|
// Update targets array to element storage
|
|
el[BV_TOGGLE_TARGETS] = targets; // Ensure `aria-controls` is up to date
|
|
// Request a state update from targets so that we can
|
|
// ensure expanded state is correct (in most cases)
|
|
|
|
targets.forEach(function (target) {
|
|
vnode.context.$root.$emit(EVENT_STATE_REQUEST, target);
|
|
});
|
|
}
|
|
};
|
|
/*
|
|
* Export our directive
|
|
*/
|
|
|
|
|
|
var VBToggle = {
|
|
bind: function bind(el, binding, vnode) {
|
|
// State is initially collapsed until we receive a state event
|
|
el[BV_TOGGLE_STATE] = false; // Assume no targets initially
|
|
|
|
el[BV_TOGGLE_TARGETS] = []; // Add our root listeners
|
|
|
|
addRootListeners(el, vnode); // Initial update of trigger
|
|
|
|
handleUpdate(el, binding, vnode);
|
|
},
|
|
componentUpdated: handleUpdate,
|
|
updated: handleUpdate,
|
|
unbind: function unbind(el, binding, vnode) {
|
|
removeClickListener(el); // Remove our $root listener
|
|
|
|
removeRootListeners(el, vnode); // Reset custom props
|
|
|
|
resetProp(el, BV_TOGGLE_ROOT_HANDLER);
|
|
resetProp(el, BV_TOGGLE_CLICK_HANDLER);
|
|
resetProp(el, BV_TOGGLE_STATE);
|
|
resetProp(el, BV_TOGGLE_TARGETS); // Reset classes/attrs/styles
|
|
|
|
removeClass(el, CLASS_BV_TOGGLE_COLLAPSED);
|
|
removeClass(el, CLASS_BV_TOGGLE_NOT_COLLAPSED);
|
|
removeAttr(el, ATTR_ARIA_EXPANDED);
|
|
removeAttr(el, ATTR_ARIA_CONTROLS);
|
|
removeAttr(el, ATTR_ROLE);
|
|
removeStyle(el, STYLE_OVERFLOW_ANCHOR);
|
|
}
|
|
};
|
|
|
|
// Accordion event name we emit on `$root`
|
|
|
|
var EVENT_ACCORDION = 'bv::collapse::accordion'; // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BCollapse = /*#__PURE__*/Vue.extend({
|
|
name: NAME_COLLAPSE,
|
|
mixins: [idMixin, listenOnRootMixin, normalizeSlotMixin],
|
|
model: {
|
|
prop: 'visible',
|
|
event: 'input'
|
|
},
|
|
props: makePropsConfigurable({
|
|
isNav: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
accordion: {
|
|
type: String // default: null
|
|
|
|
},
|
|
visible: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
appear: {
|
|
// If `true` (and `visible` is `true` on mount), animate initially visible
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_COLLAPSE),
|
|
data: function data() {
|
|
return {
|
|
show: this.visible,
|
|
transitioning: false
|
|
};
|
|
},
|
|
computed: {
|
|
classObject: function classObject() {
|
|
return {
|
|
'navbar-collapse': this.isNav,
|
|
collapse: !this.transitioning,
|
|
show: this.show && !this.transitioning
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
visible: function visible(newVal) {
|
|
if (newVal !== this.show) {
|
|
this.show = newVal;
|
|
}
|
|
},
|
|
show: function show(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
this.emitState();
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
this.show = this.visible;
|
|
},
|
|
mounted: function mounted() {
|
|
var _this = this;
|
|
|
|
this.show = this.visible; // Listen for toggle events to open/close us
|
|
|
|
this.listenOnRoot(EVENT_TOGGLE, this.handleToggleEvt); // Listen to other collapses for accordion events
|
|
|
|
this.listenOnRoot(EVENT_ACCORDION, this.handleAccordionEvt);
|
|
|
|
if (this.isNav) {
|
|
// Set up handlers
|
|
this.setWindowEvents(true);
|
|
this.handleResize();
|
|
}
|
|
|
|
this.$nextTick(function () {
|
|
_this.emitState();
|
|
}); // Listen for "Sync state" requests from `v-b-toggle`
|
|
|
|
this.listenOnRoot(EVENT_STATE_REQUEST, function (id) {
|
|
if (id === _this.safeId()) {
|
|
_this.$nextTick(_this.emitSync);
|
|
}
|
|
});
|
|
},
|
|
updated: function updated() {
|
|
// Emit a private event every time this component updates to ensure
|
|
// the toggle button is in sync with the collapse's state
|
|
// It is emitted regardless if the visible state changes
|
|
this.emitSync();
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
deactivated: function deactivated() {
|
|
if (this.isNav) {
|
|
this.setWindowEvents(false);
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
activated: function activated() {
|
|
if (this.isNav) {
|
|
this.setWindowEvents(true);
|
|
}
|
|
|
|
this.emitSync();
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
// Trigger state emit if needed
|
|
this.show = false;
|
|
|
|
if (this.isNav && isBrowser) {
|
|
this.setWindowEvents(false);
|
|
}
|
|
},
|
|
methods: {
|
|
setWindowEvents: function setWindowEvents(on) {
|
|
eventOnOff(on, window, 'resize', this.handleResize, EVENT_OPTIONS_NO_CAPTURE);
|
|
eventOnOff(on, window, 'orientationchange', this.handleResize, EVENT_OPTIONS_NO_CAPTURE);
|
|
},
|
|
toggle: function toggle() {
|
|
this.show = !this.show;
|
|
},
|
|
onEnter: function onEnter() {
|
|
this.transitioning = true; // This should be moved out so we can add cancellable events
|
|
|
|
this.$emit('show');
|
|
},
|
|
onAfterEnter: function onAfterEnter() {
|
|
this.transitioning = false;
|
|
this.$emit('shown');
|
|
},
|
|
onLeave: function onLeave() {
|
|
this.transitioning = true; // This should be moved out so we can add cancellable events
|
|
|
|
this.$emit('hide');
|
|
},
|
|
onAfterLeave: function onAfterLeave() {
|
|
this.transitioning = false;
|
|
this.$emit('hidden');
|
|
},
|
|
emitState: function emitState() {
|
|
this.$emit('input', this.show); // Let `v-b-toggle` know the state of this collapse
|
|
|
|
this.emitOnRoot(EVENT_STATE, this.safeId(), this.show);
|
|
|
|
if (this.accordion && this.show) {
|
|
// Tell the other collapses in this accordion to close
|
|
this.emitOnRoot(EVENT_ACCORDION, this.safeId(), this.accordion);
|
|
}
|
|
},
|
|
emitSync: function emitSync() {
|
|
// Emit a private event every time this component updates to ensure
|
|
// the toggle button is in sync with the collapse's state
|
|
// It is emitted regardless if the visible state changes
|
|
this.emitOnRoot(EVENT_STATE_SYNC, this.safeId(), this.show);
|
|
},
|
|
checkDisplayBlock: function checkDisplayBlock() {
|
|
// Check to see if the collapse has `display: block !important` set
|
|
// We can't set `display: none` directly on `this.$el`, as it would
|
|
// trigger a new transition to start (or cancel a current one)
|
|
var restore = hasClass(this.$el, 'show');
|
|
removeClass(this.$el, 'show');
|
|
var isBlock = getCS(this.$el).display === 'block';
|
|
|
|
if (restore) {
|
|
addClass(this.$el, 'show');
|
|
}
|
|
|
|
return isBlock;
|
|
},
|
|
clickHandler: function clickHandler(evt) {
|
|
// If we are in a nav/navbar, close the collapse when non-disabled link clicked
|
|
var el = evt.target;
|
|
|
|
if (!this.isNav || !el || getCS(this.$el).display !== 'block') {
|
|
/* istanbul ignore next: can't test getComputedStyle in JSDOM */
|
|
return;
|
|
}
|
|
|
|
if (matches(el, '.nav-link,.dropdown-item') || closest('.nav-link,.dropdown-item', el)) {
|
|
if (!this.checkDisplayBlock()) {
|
|
// Only close the collapse if it is not forced to be `display: block !important`
|
|
this.show = false;
|
|
}
|
|
}
|
|
},
|
|
handleToggleEvt: function handleToggleEvt(target) {
|
|
if (target !== this.safeId()) {
|
|
return;
|
|
}
|
|
|
|
this.toggle();
|
|
},
|
|
handleAccordionEvt: function handleAccordionEvt(openedId, accordion) {
|
|
if (!this.accordion || accordion !== this.accordion) {
|
|
return;
|
|
}
|
|
|
|
if (openedId === this.safeId()) {
|
|
// Open this collapse if not shown
|
|
if (!this.show) {
|
|
this.toggle();
|
|
}
|
|
} else {
|
|
// Close this collapse if shown
|
|
if (this.show) {
|
|
this.toggle();
|
|
}
|
|
}
|
|
},
|
|
handleResize: function handleResize() {
|
|
// Handler for orientation/resize to set collapsed state in nav/navbar
|
|
this.show = getCS(this.$el).display === 'block';
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this2 = this;
|
|
|
|
var scope = {
|
|
visible: this.show,
|
|
close: function close() {
|
|
return _this2.show = false;
|
|
}
|
|
};
|
|
var content = h(this.tag, {
|
|
class: this.classObject,
|
|
directives: [{
|
|
name: 'show',
|
|
value: this.show
|
|
}],
|
|
attrs: {
|
|
id: this.safeId()
|
|
},
|
|
on: {
|
|
click: this.clickHandler
|
|
}
|
|
}, [this.normalizeSlot(SLOT_NAME_DEFAULT, scope)]);
|
|
return h(BVCollapse, {
|
|
props: {
|
|
appear: this.appear
|
|
},
|
|
on: {
|
|
enter: this.onEnter,
|
|
afterEnter: this.onAfterEnter,
|
|
leave: this.onLeave,
|
|
afterLeave: this.onAfterLeave
|
|
}
|
|
}, [content]);
|
|
}
|
|
});
|
|
|
|
var VBTogglePlugin = /*#__PURE__*/pluginFactory({
|
|
directives: {
|
|
VBToggle: VBToggle
|
|
}
|
|
});
|
|
|
|
var CollapsePlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BCollapse: BCollapse
|
|
},
|
|
plugins: {
|
|
VBTogglePlugin: VBTogglePlugin
|
|
}
|
|
});
|
|
|
|
var PLACEMENT_TOP_START = 'top-start';
|
|
var PLACEMENT_TOP_END = 'top-end';
|
|
var PLACEMENT_BOTTOM_START = 'bottom-start';
|
|
var PLACEMENT_BOTTOM_END = 'bottom-end';
|
|
var PLACEMENT_RIGHT_START = 'right-start';
|
|
var PLACEMENT_LEFT_START = 'left-start';
|
|
|
|
var BvEvent = /*#__PURE__*/function () {
|
|
function BvEvent(type) {
|
|
var eventInit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
_classCallCheck(this, BvEvent);
|
|
|
|
// Start by emulating native Event constructor
|
|
if (!type) {
|
|
/* istanbul ignore next */
|
|
throw new TypeError("Failed to construct '".concat(this.constructor.name, "'. 1 argument required, ").concat(arguments.length, " given."));
|
|
} // Merge defaults first, the eventInit, and the type last
|
|
// so it can't be overwritten
|
|
|
|
|
|
assign(this, BvEvent.Defaults, this.constructor.Defaults, eventInit, {
|
|
type: type
|
|
}); // Freeze some props as readonly, but leave them enumerable
|
|
|
|
defineProperties(this, {
|
|
type: readonlyDescriptor(),
|
|
cancelable: readonlyDescriptor(),
|
|
nativeEvent: readonlyDescriptor(),
|
|
target: readonlyDescriptor(),
|
|
relatedTarget: readonlyDescriptor(),
|
|
vueTarget: readonlyDescriptor(),
|
|
componentId: readonlyDescriptor()
|
|
}); // Create a private variable using closure scoping
|
|
|
|
var defaultPrevented = false; // Recreate preventDefault method. One way setter
|
|
|
|
this.preventDefault = function preventDefault() {
|
|
if (this.cancelable) {
|
|
defaultPrevented = true;
|
|
}
|
|
}; // Create `defaultPrevented` publicly accessible prop that
|
|
// can only be altered by the preventDefault method
|
|
|
|
|
|
defineProperty(this, 'defaultPrevented', {
|
|
enumerable: true,
|
|
get: function get() {
|
|
return defaultPrevented;
|
|
}
|
|
});
|
|
}
|
|
|
|
_createClass(BvEvent, null, [{
|
|
key: "Defaults",
|
|
get: function get() {
|
|
return {
|
|
type: '',
|
|
cancelable: true,
|
|
nativeEvent: null,
|
|
target: null,
|
|
relatedTarget: null,
|
|
vueTarget: null,
|
|
componentId: null
|
|
};
|
|
}
|
|
}]);
|
|
|
|
return BvEvent;
|
|
}(); // Named Exports
|
|
|
|
var clickOutMixin = {
|
|
data: function data() {
|
|
return {
|
|
listenForClickOut: false
|
|
};
|
|
},
|
|
watch: {
|
|
listenForClickOut: function listenForClickOut(newValue, oldValue) {
|
|
if (newValue !== oldValue) {
|
|
eventOff(this.clickOutElement, this.clickOutEventName, this._clickOutHandler, EVENT_OPTIONS_NO_CAPTURE);
|
|
|
|
if (newValue) {
|
|
eventOn(this.clickOutElement, this.clickOutEventName, this._clickOutHandler, EVENT_OPTIONS_NO_CAPTURE);
|
|
}
|
|
}
|
|
}
|
|
},
|
|
beforeCreate: function beforeCreate() {
|
|
// Declare non-reactive properties
|
|
this.clickOutElement = null;
|
|
this.clickOutEventName = null;
|
|
},
|
|
mounted: function mounted() {
|
|
if (!this.clickOutElement) {
|
|
this.clickOutElement = document;
|
|
}
|
|
|
|
if (!this.clickOutEventName) {
|
|
this.clickOutEventName = 'click';
|
|
}
|
|
|
|
if (this.listenForClickOut) {
|
|
eventOn(this.clickOutElement, this.clickOutEventName, this._clickOutHandler, EVENT_OPTIONS_NO_CAPTURE);
|
|
}
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
eventOff(this.clickOutElement, this.clickOutEventName, this._clickOutHandler, EVENT_OPTIONS_NO_CAPTURE);
|
|
},
|
|
methods: {
|
|
isClickOut: function isClickOut(evt) {
|
|
return !contains(this.$el, evt.target);
|
|
},
|
|
_clickOutHandler: function _clickOutHandler(evt) {
|
|
if (this.clickOutHandler && this.isClickOut(evt)) {
|
|
this.clickOutHandler(evt);
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
var focusInMixin = {
|
|
data: function data() {
|
|
return {
|
|
listenForFocusIn: false
|
|
};
|
|
},
|
|
watch: {
|
|
listenForFocusIn: function listenForFocusIn(newValue, oldValue) {
|
|
if (newValue !== oldValue) {
|
|
eventOff(this.focusInElement, 'focusin', this._focusInHandler, EVENT_OPTIONS_NO_CAPTURE);
|
|
|
|
if (newValue) {
|
|
eventOn(this.focusInElement, 'focusin', this._focusInHandler, EVENT_OPTIONS_NO_CAPTURE);
|
|
}
|
|
}
|
|
}
|
|
},
|
|
beforeCreate: function beforeCreate() {
|
|
// Declare non-reactive properties
|
|
this.focusInElement = null;
|
|
},
|
|
mounted: function mounted() {
|
|
if (!this.focusInElement) {
|
|
this.focusInElement = document;
|
|
}
|
|
|
|
if (this.listenForFocusIn) {
|
|
eventOn(this.focusInElement, 'focusin', this._focusInHandler, EVENT_OPTIONS_NO_CAPTURE);
|
|
}
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
eventOff(this.focusInElement, 'focusin', this._focusInHandler, EVENT_OPTIONS_NO_CAPTURE);
|
|
},
|
|
methods: {
|
|
_focusInHandler: function _focusInHandler(evt) {
|
|
if (this.focusInHandler) {
|
|
this.focusInHandler(evt);
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
// Root dropdown event names
|
|
|
|
var ROOT_EVENT_PREFIX = 'bv::dropdown::';
|
|
var ROOT_EVENT_SHOWN = "".concat(ROOT_EVENT_PREFIX, "shown");
|
|
var ROOT_EVENT_HIDDEN = "".concat(ROOT_EVENT_PREFIX, "hidden"); // CSS selectors
|
|
|
|
var SELECTOR_FORM_CHILD = '.dropdown form';
|
|
var SELECTOR_ITEM = ['.dropdown-item', '.b-dropdown-form'].map(function (selector) {
|
|
return "".concat(selector, ":not(.disabled):not([disabled])");
|
|
}).join(', '); // --- Utility methods ---
|
|
// Return an array of visible items
|
|
|
|
var filterVisibles = function filterVisibles(els) {
|
|
return (els || []).filter(isVisible);
|
|
}; // --- Props ---
|
|
|
|
|
|
var commonProps = makePropsConfigurable({
|
|
dropup: {
|
|
// place on top if possible
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
dropright: {
|
|
// place right if possible
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
dropleft: {
|
|
// place left if possible
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
right: {
|
|
// Right align menu (default is left align)
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
offset: {
|
|
// Number of pixels to offset menu, or a CSS unit value (i.e. `1px`, `1rem`, etc.)
|
|
type: [Number, String],
|
|
default: 0
|
|
},
|
|
noFlip: {
|
|
// Disable auto-flipping of menu from bottom <=> top
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
popperOpts: {
|
|
type: Object,
|
|
default: function _default() {}
|
|
},
|
|
boundary: {
|
|
// String: `scrollParent`, `window` or `viewport`
|
|
// HTMLElement: HTML Element reference
|
|
type: [String, HTMLElement],
|
|
default: 'scrollParent'
|
|
}
|
|
}, NAME_DROPDOWN);
|
|
var props$m = _objectSpread2(_objectSpread2({}, commonProps), makePropsConfigurable({
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_DROPDOWN)); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var dropdownMixin = {
|
|
mixins: [idMixin, clickOutMixin, focusInMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvDropdown: this
|
|
};
|
|
},
|
|
inject: {
|
|
bvNavbar: {
|
|
default: null
|
|
}
|
|
},
|
|
props: props$m,
|
|
data: function data() {
|
|
return {
|
|
visible: false,
|
|
visibleChangePrevented: false
|
|
};
|
|
},
|
|
computed: {
|
|
inNavbar: function inNavbar() {
|
|
return !isNull(this.bvNavbar);
|
|
},
|
|
toggler: function toggler() {
|
|
var toggle = this.$refs.toggle;
|
|
return toggle ? toggle.$el || toggle : null;
|
|
},
|
|
directionClass: function directionClass() {
|
|
if (this.dropup) {
|
|
return 'dropup';
|
|
} else if (this.dropright) {
|
|
return 'dropright';
|
|
} else if (this.dropleft) {
|
|
return 'dropleft';
|
|
}
|
|
|
|
return '';
|
|
},
|
|
boundaryClass: function boundaryClass() {
|
|
// Position `static` is needed to allow menu to "breakout" of the `scrollParent`
|
|
// boundaries when boundary is anything other than `scrollParent`
|
|
// See: https://github.com/twbs/bootstrap/issues/24251#issuecomment-341413786
|
|
return this.boundary !== 'scrollParent' && !this.inNavbar ? 'position-static' : '';
|
|
}
|
|
},
|
|
watch: {
|
|
visible: function visible(newValue, oldValue) {
|
|
if (this.visibleChangePrevented) {
|
|
this.visibleChangePrevented = false;
|
|
return;
|
|
}
|
|
|
|
if (newValue !== oldValue) {
|
|
var evtName = newValue ? 'show' : 'hide';
|
|
var bvEvt = new BvEvent(evtName, {
|
|
cancelable: true,
|
|
vueTarget: this,
|
|
target: this.$refs.menu,
|
|
relatedTarget: null,
|
|
componentId: this.safeId ? this.safeId() : this.id || null
|
|
});
|
|
this.emitEvent(bvEvt);
|
|
|
|
if (bvEvt.defaultPrevented) {
|
|
// Reset value and exit if canceled
|
|
this.visibleChangePrevented = true;
|
|
this.visible = oldValue; // Just in case a child element triggered `this.hide(true)`
|
|
|
|
this.$off('hidden', this.focusToggler);
|
|
return;
|
|
}
|
|
|
|
if (evtName === 'show') {
|
|
this.showMenu();
|
|
} else {
|
|
this.hideMenu();
|
|
}
|
|
}
|
|
},
|
|
disabled: function disabled(newValue, oldValue) {
|
|
if (newValue !== oldValue && newValue && this.visible) {
|
|
// Hide dropdown if disabled changes to true
|
|
this.visible = false;
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Create private non-reactive props
|
|
this.$_popper = null;
|
|
this.$_hideTimeout = null;
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
deactivated: function deactivated() {
|
|
// In case we are inside a `<keep-alive>`
|
|
this.visible = false;
|
|
this.whileOpenListen(false);
|
|
this.destroyPopper();
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.visible = false;
|
|
this.whileOpenListen(false);
|
|
this.destroyPopper();
|
|
this.clearHideTimeout();
|
|
},
|
|
methods: {
|
|
// Event emitter
|
|
emitEvent: function emitEvent(bvEvt) {
|
|
var type = bvEvt.type;
|
|
this.$emit(type, bvEvt);
|
|
this.$root.$emit("".concat(ROOT_EVENT_PREFIX).concat(type), bvEvt);
|
|
},
|
|
showMenu: function showMenu() {
|
|
var _this = this;
|
|
|
|
if (this.disabled) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // Only instantiate Popper.js when dropdown is not in `<b-navbar>`
|
|
|
|
|
|
if (!this.inNavbar) {
|
|
if (typeof Popper === 'undefined') {
|
|
/* istanbul ignore next */
|
|
warn('Popper.js not found. Falling back to CSS positioning', NAME_DROPDOWN);
|
|
} else {
|
|
// For dropup with alignment we use the parent element as popper container
|
|
var el = this.dropup && this.right || this.split ? this.$el : this.$refs.toggle; // Make sure we have a reference to an element, not a component!
|
|
|
|
el = el.$el || el; // Instantiate Popper.js
|
|
|
|
this.createPopper(el);
|
|
}
|
|
} // Ensure other menus are closed
|
|
|
|
|
|
this.$root.$emit(ROOT_EVENT_SHOWN, this); // Enable listeners
|
|
|
|
this.whileOpenListen(true); // Wrap in `$nextTick()` to ensure menu is fully rendered/shown
|
|
|
|
this.$nextTick(function () {
|
|
// Focus on the menu container on show
|
|
_this.focusMenu(); // Emit the shown event
|
|
|
|
|
|
_this.$emit('shown');
|
|
});
|
|
},
|
|
hideMenu: function hideMenu() {
|
|
this.whileOpenListen(false);
|
|
this.$root.$emit(ROOT_EVENT_HIDDEN, this);
|
|
this.$emit('hidden');
|
|
this.destroyPopper();
|
|
},
|
|
createPopper: function createPopper(element) {
|
|
this.destroyPopper();
|
|
this.$_popper = new Popper(element, this.$refs.menu, this.getPopperConfig());
|
|
},
|
|
// Ensure popper event listeners are removed cleanly
|
|
destroyPopper: function destroyPopper() {
|
|
this.$_popper && this.$_popper.destroy();
|
|
this.$_popper = null;
|
|
},
|
|
// Instructs popper to re-computes the dropdown position
|
|
// useful if the content changes size
|
|
updatePopper: function updatePopper() {
|
|
try {
|
|
this.$_popper.scheduleUpdate();
|
|
} catch (_unused) {}
|
|
},
|
|
clearHideTimeout: function clearHideTimeout() {
|
|
clearTimeout(this.$_hideTimeout);
|
|
this.$_hideTimeout = null;
|
|
},
|
|
getPopperConfig: function getPopperConfig() {
|
|
var placement = PLACEMENT_BOTTOM_START;
|
|
|
|
if (this.dropup) {
|
|
placement = this.right ? PLACEMENT_TOP_END : PLACEMENT_TOP_START;
|
|
} else if (this.dropright) {
|
|
placement = PLACEMENT_RIGHT_START;
|
|
} else if (this.dropleft) {
|
|
placement = PLACEMENT_LEFT_START;
|
|
} else if (this.right) {
|
|
placement = PLACEMENT_BOTTOM_END;
|
|
}
|
|
|
|
var popperConfig = {
|
|
placement: placement,
|
|
modifiers: {
|
|
offset: {
|
|
offset: this.offset || 0
|
|
},
|
|
flip: {
|
|
enabled: !this.noFlip
|
|
}
|
|
}
|
|
};
|
|
var boundariesElement = this.boundary;
|
|
|
|
if (boundariesElement) {
|
|
popperConfig.modifiers.preventOverflow = {
|
|
boundariesElement: boundariesElement
|
|
};
|
|
}
|
|
|
|
return mergeDeep(popperConfig, this.popperOpts || {});
|
|
},
|
|
// Turn listeners on/off while open
|
|
whileOpenListen: function whileOpenListen(isOpen) {
|
|
// Hide the dropdown when clicked outside
|
|
this.listenForClickOut = isOpen; // Hide the dropdown when it loses focus
|
|
|
|
this.listenForFocusIn = isOpen; // Hide the dropdown when another dropdown is opened
|
|
|
|
var method = isOpen ? '$on' : '$off';
|
|
this.$root[method](ROOT_EVENT_SHOWN, this.rootCloseListener);
|
|
},
|
|
rootCloseListener: function rootCloseListener(vm) {
|
|
if (vm !== this) {
|
|
this.visible = false;
|
|
}
|
|
},
|
|
// Public method to show dropdown
|
|
show: function show() {
|
|
var _this2 = this;
|
|
|
|
if (this.disabled) {
|
|
return;
|
|
} // Wrap in a `requestAF()` to allow any previous
|
|
// click handling to occur first
|
|
|
|
|
|
requestAF(function () {
|
|
_this2.visible = true;
|
|
});
|
|
},
|
|
// Public method to hide dropdown
|
|
hide: function hide() {
|
|
var refocus = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
|
|
/* istanbul ignore next */
|
|
if (this.disabled) {
|
|
return;
|
|
}
|
|
|
|
this.visible = false;
|
|
|
|
if (refocus) {
|
|
// Child element is closing the dropdown on click
|
|
this.$once('hidden', this.focusToggler);
|
|
}
|
|
},
|
|
// Called only by a button that toggles the menu
|
|
toggle: function toggle(evt) {
|
|
evt = evt || {}; // Early exit when not a click event or ENTER, SPACE or DOWN were pressed
|
|
|
|
var _evt = evt,
|
|
type = _evt.type,
|
|
keyCode = _evt.keyCode;
|
|
|
|
if (type !== 'click' && !(type === 'keydown' && [CODE_ENTER, CODE_SPACE, CODE_DOWN].indexOf(keyCode) !== -1)) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
/* istanbul ignore next */
|
|
|
|
|
|
if (this.disabled) {
|
|
this.visible = false;
|
|
return;
|
|
}
|
|
|
|
this.$emit('toggle', evt);
|
|
stopEvent(evt); // Toggle visibility
|
|
|
|
if (this.visible) {
|
|
this.hide(true);
|
|
} else {
|
|
this.show();
|
|
}
|
|
},
|
|
// Mousedown handler for the toggle
|
|
|
|
/* istanbul ignore next */
|
|
onMousedown: function onMousedown(evt) {
|
|
// We prevent the 'mousedown' event for the toggle to stop the
|
|
// 'focusin' event from being fired
|
|
// The event would otherwise be picked up by the global 'focusin'
|
|
// listener and there is no cross-browser solution to detect it
|
|
// relates to the toggle click
|
|
// The 'click' event will still be fired and we handle closing
|
|
// other dropdowns there too
|
|
// See https://github.com/bootstrap-vue/bootstrap-vue/issues/4328
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
},
|
|
// Called from dropdown menu context
|
|
onKeydown: function onKeydown(evt) {
|
|
var keyCode = evt.keyCode;
|
|
|
|
if (keyCode === CODE_ESC) {
|
|
// Close on ESC
|
|
this.onEsc(evt);
|
|
} else if (keyCode === CODE_DOWN) {
|
|
// Down Arrow
|
|
this.focusNext(evt, false);
|
|
} else if (keyCode === CODE_UP) {
|
|
// Up Arrow
|
|
this.focusNext(evt, true);
|
|
}
|
|
},
|
|
// If user presses ESC, close the menu
|
|
onEsc: function onEsc(evt) {
|
|
if (this.visible) {
|
|
this.visible = false;
|
|
stopEvent(evt); // Return focus to original trigger button
|
|
|
|
this.$once('hidden', this.focusToggler);
|
|
}
|
|
},
|
|
// Called only in split button mode, for the split button
|
|
onSplitClick: function onSplitClick(evt) {
|
|
/* istanbul ignore next */
|
|
if (this.disabled) {
|
|
this.visible = false;
|
|
return;
|
|
}
|
|
|
|
this.$emit('click', evt);
|
|
},
|
|
// Shared hide handler between click-out and focus-in events
|
|
hideHandler: function hideHandler(evt) {
|
|
var _this3 = this;
|
|
|
|
var target = evt.target;
|
|
|
|
if (this.visible && !contains(this.$refs.menu, target) && !contains(this.toggler, target)) {
|
|
this.clearHideTimeout();
|
|
this.$_hideTimeout = setTimeout(function () {
|
|
return _this3.hide();
|
|
}, this.inNavbar ? 300 : 0);
|
|
}
|
|
},
|
|
// Document click-out listener
|
|
clickOutHandler: function clickOutHandler(evt) {
|
|
this.hideHandler(evt);
|
|
},
|
|
// Document focus-in listener
|
|
focusInHandler: function focusInHandler(evt) {
|
|
this.hideHandler(evt);
|
|
},
|
|
// Keyboard nav
|
|
focusNext: function focusNext(evt, up) {
|
|
var _this4 = this;
|
|
|
|
// Ignore key up/down on form elements
|
|
var target = evt.target;
|
|
|
|
if (!this.visible || evt && closest(SELECTOR_FORM_CHILD, target)) {
|
|
/* istanbul ignore next: should never happen */
|
|
return;
|
|
}
|
|
|
|
stopEvent(evt);
|
|
this.$nextTick(function () {
|
|
var items = _this4.getItems();
|
|
|
|
if (items.length < 1) {
|
|
/* istanbul ignore next: should never happen */
|
|
return;
|
|
}
|
|
|
|
var index = items.indexOf(target);
|
|
|
|
if (up && index > 0) {
|
|
index--;
|
|
} else if (!up && index < items.length - 1) {
|
|
index++;
|
|
}
|
|
|
|
if (index < 0) {
|
|
/* istanbul ignore next: should never happen */
|
|
index = 0;
|
|
}
|
|
|
|
_this4.focusItem(index, items);
|
|
});
|
|
},
|
|
focusItem: function focusItem(index, items) {
|
|
var el = items.find(function (el, i) {
|
|
return i === index;
|
|
});
|
|
attemptFocus(el);
|
|
},
|
|
getItems: function getItems() {
|
|
// Get all items
|
|
return filterVisibles(selectAll(SELECTOR_ITEM, this.$refs.menu));
|
|
},
|
|
focusMenu: function focusMenu() {
|
|
attemptFocus(this.$refs.menu);
|
|
},
|
|
focusToggler: function focusToggler() {
|
|
var _this5 = this;
|
|
|
|
this.$nextTick(function () {
|
|
attemptFocus(_this5.toggler);
|
|
});
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$n = makePropsConfigurable(_objectSpread2(_objectSpread2({}, props$m), {}, {
|
|
text: {
|
|
type: String // default: null
|
|
|
|
},
|
|
html: {
|
|
type: String // default: null
|
|
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
size: {
|
|
type: String // default: null
|
|
|
|
},
|
|
block: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
menuClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
toggleTag: {
|
|
type: String,
|
|
default: 'button'
|
|
},
|
|
toggleText: {
|
|
// TODO: This really should be `toggleLabel`
|
|
type: String,
|
|
default: 'Toggle dropdown'
|
|
},
|
|
toggleClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
noCaret: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
split: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
splitHref: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
splitTo: {
|
|
type: [String, Object] // default: undefined
|
|
|
|
},
|
|
splitVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
splitClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
splitButtonType: {
|
|
type: String,
|
|
default: 'button',
|
|
validator: function validator(value) {
|
|
return arrayIncludes(['button', 'submit', 'reset'], value);
|
|
}
|
|
},
|
|
lazy: {
|
|
// If true, only render menu contents when open
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
role: {
|
|
type: String,
|
|
default: 'menu'
|
|
}
|
|
}), NAME_DROPDOWN); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BDropdown = /*#__PURE__*/Vue.extend({
|
|
name: NAME_DROPDOWN,
|
|
mixins: [idMixin, dropdownMixin, normalizeSlotMixin],
|
|
props: props$n,
|
|
computed: {
|
|
dropdownClasses: function dropdownClasses() {
|
|
var block = this.block,
|
|
split = this.split;
|
|
return [this.directionClass, this.boundaryClass, {
|
|
show: this.visible,
|
|
// The 'btn-group' class is required in `split` mode for button alignment
|
|
// It needs also to be applied when `block` is disabled to allow multiple
|
|
// dropdowns to be aligned one line
|
|
'btn-group': split || !block,
|
|
// When `block` is enabled and we are in `split` mode the 'd-flex' class
|
|
// needs to be applied to allow the buttons to stretch to full width
|
|
'd-flex': block && split
|
|
}];
|
|
},
|
|
menuClasses: function menuClasses() {
|
|
return [this.menuClass, {
|
|
'dropdown-menu-right': this.right,
|
|
show: this.visible
|
|
}];
|
|
},
|
|
toggleClasses: function toggleClasses() {
|
|
var split = this.split;
|
|
return [this.toggleClass, {
|
|
'dropdown-toggle-split': split,
|
|
'dropdown-toggle-no-caret': this.noCaret && !split
|
|
}];
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var visible = this.visible,
|
|
variant = this.variant,
|
|
size = this.size,
|
|
block = this.block,
|
|
disabled = this.disabled,
|
|
split = this.split,
|
|
role = this.role,
|
|
hide = this.hide,
|
|
toggle = this.toggle;
|
|
var commonProps = {
|
|
variant: variant,
|
|
size: size,
|
|
block: block,
|
|
disabled: disabled
|
|
};
|
|
var buttonContentSlotName = 'button-content';
|
|
var $buttonChildren = this.normalizeSlot(buttonContentSlotName);
|
|
var buttonContentDomProps = this.hasNormalizedSlot(buttonContentSlotName) ? {} : htmlOrText(this.html, this.text);
|
|
var $split = h();
|
|
|
|
if (split) {
|
|
var splitTo = this.splitTo,
|
|
splitHref = this.splitHref,
|
|
splitButtonType = this.splitButtonType;
|
|
|
|
var btnProps = _objectSpread2(_objectSpread2({}, commonProps), {}, {
|
|
variant: this.splitVariant || variant
|
|
}); // We add these as needed due to <router-link> issues with
|
|
// defined property with `undefined`/`null` values
|
|
|
|
|
|
if (splitTo) {
|
|
btnProps.to = splitTo;
|
|
} else if (splitHref) {
|
|
btnProps.href = splitHref;
|
|
} else if (splitButtonType) {
|
|
btnProps.type = splitButtonType;
|
|
}
|
|
|
|
$split = h(BButton, {
|
|
class: this.splitClass,
|
|
attrs: {
|
|
id: this.safeId('_BV_button_')
|
|
},
|
|
props: btnProps,
|
|
domProps: buttonContentDomProps,
|
|
on: {
|
|
click: this.onSplitClick
|
|
},
|
|
ref: 'button'
|
|
}, $buttonChildren); // Overwrite button content for the toggle when in `split` mode
|
|
|
|
$buttonChildren = [h('span', {
|
|
class: ['sr-only']
|
|
}, [this.toggleText])];
|
|
buttonContentDomProps = {};
|
|
}
|
|
|
|
var $toggle = h(BButton, {
|
|
staticClass: 'dropdown-toggle',
|
|
class: this.toggleClasses,
|
|
attrs: {
|
|
id: this.safeId('_BV_toggle_'),
|
|
'aria-haspopup': 'true',
|
|
'aria-expanded': toString$1(visible)
|
|
},
|
|
props: _objectSpread2(_objectSpread2({}, commonProps), {}, {
|
|
tag: this.toggleTag,
|
|
block: block && !split
|
|
}),
|
|
domProps: buttonContentDomProps,
|
|
on: {
|
|
mousedown: this.onMousedown,
|
|
click: toggle,
|
|
keydown: toggle // Handle ENTER, SPACE and DOWN
|
|
|
|
},
|
|
ref: 'toggle'
|
|
}, $buttonChildren);
|
|
var $menu = h('ul', {
|
|
staticClass: 'dropdown-menu',
|
|
class: this.menuClasses,
|
|
attrs: {
|
|
role: role,
|
|
tabindex: '-1',
|
|
'aria-labelledby': this.safeId(split ? '_BV_button_' : '_BV_toggle_')
|
|
},
|
|
on: {
|
|
keydown: this.onKeydown // Handle UP, DOWN and ESC
|
|
|
|
},
|
|
ref: 'menu'
|
|
}, [!this.lazy || visible ? this.normalizeSlot(SLOT_NAME_DEFAULT, {
|
|
hide: hide
|
|
}) : h()]);
|
|
return h('div', {
|
|
staticClass: 'dropdown b-dropdown',
|
|
class: this.dropdownClasses,
|
|
attrs: {
|
|
id: this.safeId()
|
|
}
|
|
}, [$split, $toggle, $menu]);
|
|
}
|
|
});
|
|
|
|
var props$o = omit(props$1, ['event', 'routerTag']); // @vue/component
|
|
|
|
var BDropdownItem = /*#__PURE__*/Vue.extend({
|
|
name: NAME_DROPDOWN_ITEM,
|
|
mixins: [attrsMixin, normalizeSlotMixin],
|
|
inject: {
|
|
bvDropdown: {
|
|
default: null
|
|
}
|
|
},
|
|
inheritAttrs: false,
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2({}, props$o), {}, {
|
|
linkClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
variant: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}), NAME_DROPDOWN_ITEM),
|
|
computed: {
|
|
computedAttrs: function computedAttrs() {
|
|
return _objectSpread2(_objectSpread2({}, this.bvAttrs), {}, {
|
|
role: 'menuitem'
|
|
});
|
|
}
|
|
},
|
|
methods: {
|
|
closeDropdown: function closeDropdown() {
|
|
var _this = this;
|
|
|
|
// Close on next animation frame to allow <b-link> time to process
|
|
requestAF(function () {
|
|
if (_this.bvDropdown) {
|
|
_this.bvDropdown.hide(true);
|
|
}
|
|
});
|
|
},
|
|
onClick: function onClick(evt) {
|
|
this.$emit('click', evt);
|
|
this.closeDropdown();
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var linkClass = this.linkClass,
|
|
variant = this.variant,
|
|
active = this.active,
|
|
disabled = this.disabled,
|
|
onClick = this.onClick;
|
|
return h('li', {
|
|
attrs: {
|
|
role: 'presentation'
|
|
}
|
|
}, [h(BLink, {
|
|
staticClass: 'dropdown-item',
|
|
class: [linkClass, _defineProperty({}, "text-".concat(variant), variant && !(active || disabled))],
|
|
props: this.$props,
|
|
attrs: this.computedAttrs,
|
|
on: {
|
|
click: onClick
|
|
},
|
|
ref: 'item'
|
|
}, this.normalizeSlot())]);
|
|
}
|
|
});
|
|
|
|
var props$p = makePropsConfigurable({
|
|
active: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
activeClass: {
|
|
type: String,
|
|
default: 'active'
|
|
},
|
|
buttonClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
variant: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_DROPDOWN_ITEM_BUTTON); // @vue/component
|
|
|
|
var BDropdownItemButton = /*#__PURE__*/Vue.extend({
|
|
name: NAME_DROPDOWN_ITEM_BUTTON,
|
|
mixins: [attrsMixin, normalizeSlotMixin],
|
|
inject: {
|
|
bvDropdown: {
|
|
default: null
|
|
}
|
|
},
|
|
inheritAttrs: false,
|
|
props: props$p,
|
|
computed: {
|
|
computedAttrs: function computedAttrs() {
|
|
return _objectSpread2(_objectSpread2({}, this.bvAttrs), {}, {
|
|
role: 'menuitem',
|
|
type: 'button',
|
|
disabled: this.disabled
|
|
});
|
|
}
|
|
},
|
|
methods: {
|
|
closeDropdown: function closeDropdown() {
|
|
if (this.bvDropdown) {
|
|
this.bvDropdown.hide(true);
|
|
}
|
|
},
|
|
onClick: function onClick(evt) {
|
|
this.$emit('click', evt);
|
|
this.closeDropdown();
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _ref;
|
|
|
|
return h('li', {
|
|
attrs: {
|
|
role: 'presentation'
|
|
}
|
|
}, [h('button', {
|
|
staticClass: 'dropdown-item',
|
|
class: [this.buttonClass, (_ref = {}, _defineProperty(_ref, this.activeClass, this.active), _defineProperty(_ref, "text-".concat(this.variant), this.variant && !(this.active || this.disabled)), _ref)],
|
|
attrs: this.computedAttrs,
|
|
on: {
|
|
click: this.onClick
|
|
},
|
|
ref: 'button'
|
|
}, this.normalizeSlot())]);
|
|
}
|
|
});
|
|
|
|
var props$q = makePropsConfigurable({
|
|
id: {
|
|
type: String // default: null
|
|
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'header'
|
|
},
|
|
variant: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_DROPDOWN_HEADER); // @vue/component
|
|
|
|
var BDropdownHeader = /*#__PURE__*/Vue.extend({
|
|
name: NAME_DROPDOWN_HEADER,
|
|
functional: true,
|
|
props: props$q,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var $attrs = data.attrs || {};
|
|
data.attrs = {};
|
|
return h('li', mergeData(data, {
|
|
attrs: {
|
|
role: 'presentation'
|
|
}
|
|
}), [h(props.tag, {
|
|
staticClass: 'dropdown-header',
|
|
class: _defineProperty({}, "text-".concat(props.variant), props.variant),
|
|
attrs: _objectSpread2(_objectSpread2({}, $attrs), {}, {
|
|
id: props.id || null,
|
|
role: 'heading'
|
|
}),
|
|
ref: 'header'
|
|
}, children)]);
|
|
}
|
|
});
|
|
|
|
var props$r = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'hr'
|
|
}
|
|
}, NAME_DROPDOWN_DIVIDER); // @vue/component
|
|
|
|
var BDropdownDivider = /*#__PURE__*/Vue.extend({
|
|
name: NAME_DROPDOWN_DIVIDER,
|
|
functional: true,
|
|
props: props$r,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data;
|
|
var $attrs = data.attrs || {};
|
|
data.attrs = {};
|
|
return h('li', mergeData(data, {
|
|
attrs: {
|
|
role: 'presentation'
|
|
}
|
|
}), [h(props.tag, {
|
|
staticClass: 'dropdown-divider',
|
|
attrs: _objectSpread2(_objectSpread2({}, $attrs), {}, {
|
|
role: 'separator',
|
|
'aria-orientation': 'horizontal'
|
|
}),
|
|
ref: 'divider'
|
|
})]);
|
|
}
|
|
});
|
|
|
|
var props$s = makePropsConfigurable({
|
|
id: {
|
|
type: String // default: null
|
|
|
|
},
|
|
inline: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
novalidate: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
validated: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_FORM); // @vue/component
|
|
|
|
var BForm = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM,
|
|
functional: true,
|
|
props: props$s,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h('form', mergeData(data, {
|
|
class: {
|
|
'form-inline': props.inline,
|
|
'was-validated': props.validated
|
|
},
|
|
attrs: {
|
|
id: props.id,
|
|
novalidate: props.novalidate
|
|
}
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var BDropdownForm = /*#__PURE__*/Vue.extend({
|
|
name: NAME_DROPDOWN_FORM,
|
|
functional: true,
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2({}, props$s), {}, {
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
formClass: {
|
|
type: [String, Object, Array] // default: null
|
|
|
|
}
|
|
}), NAME_DROPDOWN_FORM),
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var $attrs = data.attrs || {};
|
|
var $listeners = data.on || {};
|
|
data.attrs = {};
|
|
data.on = {};
|
|
return h('li', mergeData(data, {
|
|
attrs: {
|
|
role: 'presentation'
|
|
}
|
|
}), [h(BForm, {
|
|
ref: 'form',
|
|
staticClass: 'b-dropdown-form',
|
|
class: [props.formClass, {
|
|
disabled: props.disabled
|
|
}],
|
|
props: props,
|
|
attrs: _objectSpread2(_objectSpread2({}, $attrs), {}, {
|
|
disabled: props.disabled,
|
|
// Tab index of -1 for keyboard navigation
|
|
tabindex: props.disabled ? null : '-1'
|
|
}),
|
|
on: $listeners
|
|
}, children)]);
|
|
}
|
|
});
|
|
|
|
var BDropdownText = /*#__PURE__*/Vue.extend({
|
|
name: NAME_DROPDOWN_TEXT,
|
|
functional: true,
|
|
props: makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'p'
|
|
},
|
|
textClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
variant: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_DROPDOWN_TEXT),
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var tag = props.tag,
|
|
textClass = props.textClass,
|
|
variant = props.variant;
|
|
var attrs = data.attrs || {};
|
|
data.attrs = {};
|
|
return h('li', mergeData(data, {
|
|
attrs: {
|
|
role: 'presentation'
|
|
}
|
|
}), [h(tag, {
|
|
staticClass: 'b-dropdown-text',
|
|
class: [textClass, _defineProperty({}, "text-".concat(variant), variant)],
|
|
props: props,
|
|
attrs: attrs,
|
|
ref: 'text'
|
|
}, children)]);
|
|
}
|
|
});
|
|
|
|
var props$t = makePropsConfigurable({
|
|
id: {
|
|
type: String // default: null
|
|
|
|
},
|
|
header: {
|
|
type: String // default: null
|
|
|
|
},
|
|
headerTag: {
|
|
type: String,
|
|
default: 'header'
|
|
},
|
|
headerVariant: {
|
|
type: String // default: null
|
|
|
|
},
|
|
headerClasses: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
ariaDescribedby: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_DROPDOWN_GROUP); // @vue/component
|
|
|
|
var BDropdownGroup = /*#__PURE__*/Vue.extend({
|
|
name: NAME_DROPDOWN_GROUP,
|
|
functional: true,
|
|
props: props$t,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
slots = _ref.slots,
|
|
scopedSlots = _ref.scopedSlots;
|
|
var $slots = slots();
|
|
var $scopedSlots = scopedSlots || {};
|
|
var $attrs = data.attrs || {};
|
|
data.attrs = {};
|
|
var header;
|
|
var headerId = null;
|
|
|
|
if (hasNormalizedSlot(SLOT_NAME_HEADER, $scopedSlots, $slots) || props.header) {
|
|
headerId = props.id ? "_bv_".concat(props.id, "_group_dd_header") : null;
|
|
header = h(props.headerTag, {
|
|
staticClass: 'dropdown-header',
|
|
class: [props.headerClasses, _defineProperty({}, "text-".concat(props.variant), props.variant)],
|
|
attrs: {
|
|
id: headerId,
|
|
role: 'heading'
|
|
}
|
|
}, normalizeSlot(SLOT_NAME_HEADER, {}, $scopedSlots, $slots) || props.header);
|
|
}
|
|
|
|
var adb = [headerId, props.ariaDescribedBy].filter(identity).join(' ').trim();
|
|
return h('li', mergeData(data, {
|
|
attrs: {
|
|
role: 'presentation'
|
|
}
|
|
}), [header || h(), h('ul', {
|
|
staticClass: 'list-unstyled',
|
|
attrs: _objectSpread2(_objectSpread2({}, $attrs), {}, {
|
|
id: props.id || null,
|
|
role: 'group',
|
|
'aria-describedby': adb || null
|
|
})
|
|
}, normalizeSlot(SLOT_NAME_DEFAULT, {}, $scopedSlots, $slots))]);
|
|
}
|
|
});
|
|
|
|
var DropdownPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BDropdown: BDropdown,
|
|
BDd: BDropdown,
|
|
BDropdownItem: BDropdownItem,
|
|
BDdItem: BDropdownItem,
|
|
BDropdownItemButton: BDropdownItemButton,
|
|
BDropdownItemBtn: BDropdownItemButton,
|
|
BDdItemButton: BDropdownItemButton,
|
|
BDdItemBtn: BDropdownItemButton,
|
|
BDropdownHeader: BDropdownHeader,
|
|
BDdHeader: BDropdownHeader,
|
|
BDropdownDivider: BDropdownDivider,
|
|
BDdDivider: BDropdownDivider,
|
|
BDropdownForm: BDropdownForm,
|
|
BDdForm: BDropdownForm,
|
|
BDropdownText: BDropdownText,
|
|
BDdText: BDropdownText,
|
|
BDropdownGroup: BDropdownGroup,
|
|
BDdGroup: BDropdownGroup
|
|
}
|
|
});
|
|
|
|
var TYPES = ['iframe', 'embed', 'video', 'object', 'img', 'b-img', 'b-img-lazy']; // --- Props ---
|
|
|
|
var props$u = makePropsConfigurable({
|
|
type: {
|
|
type: String,
|
|
default: 'iframe',
|
|
validator: function validator(value) {
|
|
return arrayIncludes(TYPES, value);
|
|
}
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
aspect: {
|
|
type: String,
|
|
default: '16by9'
|
|
}
|
|
}, NAME_EMBED); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BEmbed = /*#__PURE__*/Vue.extend({
|
|
name: NAME_EMBED,
|
|
functional: true,
|
|
props: props$u,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, {
|
|
ref: data.ref,
|
|
staticClass: 'embed-responsive',
|
|
class: _defineProperty({}, "embed-responsive-".concat(props.aspect), props.aspect)
|
|
}, [h(props.type, mergeData(data, {
|
|
ref: '',
|
|
staticClass: 'embed-responsive-item'
|
|
}), children)]);
|
|
}
|
|
});
|
|
|
|
var EmbedPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BEmbed: BEmbed
|
|
}
|
|
});
|
|
|
|
var OPTIONS_OBJECT_DEPRECATED_MSG = 'Setting prop "options" to an object is deprecated. Use the array format instead.'; // --- Props ---
|
|
|
|
var props$v = makePropsConfigurable({
|
|
options: {
|
|
type: [Array, Object],
|
|
default: function _default() {
|
|
return [];
|
|
}
|
|
},
|
|
valueField: {
|
|
type: String,
|
|
default: 'value'
|
|
},
|
|
textField: {
|
|
type: String,
|
|
default: 'text'
|
|
},
|
|
htmlField: {
|
|
type: String,
|
|
default: 'html'
|
|
},
|
|
disabledField: {
|
|
type: String,
|
|
default: 'disabled'
|
|
}
|
|
}, 'formOptionControls'); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var formOptionsMixin = {
|
|
props: props$v,
|
|
computed: {
|
|
formOptions: function formOptions() {
|
|
return this.normalizeOptions(this.options);
|
|
}
|
|
},
|
|
methods: {
|
|
normalizeOption: function normalizeOption(option) {
|
|
var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
|
|
// When the option is an object, normalize it
|
|
if (isPlainObject(option)) {
|
|
var value = get(option, this.valueField);
|
|
var text = get(option, this.textField);
|
|
return {
|
|
value: isUndefined(value) ? key || text : value,
|
|
text: stripTags(String(isUndefined(text) ? key : text)),
|
|
html: get(option, this.htmlField),
|
|
disabled: Boolean(get(option, this.disabledField))
|
|
};
|
|
} // Otherwise create an `<option>` object from the given value
|
|
|
|
|
|
return {
|
|
value: key || option,
|
|
text: stripTags(String(option)),
|
|
disabled: false
|
|
};
|
|
},
|
|
normalizeOptions: function normalizeOptions(options) {
|
|
var _this = this;
|
|
|
|
// Normalize the given options array
|
|
if (isArray(options)) {
|
|
return options.map(function (option) {
|
|
return _this.normalizeOption(option);
|
|
});
|
|
} else if (isPlainObject(options)) {
|
|
// Deprecate the object options format
|
|
warn(OPTIONS_OBJECT_DEPRECATED_MSG, this.$options.name); // Normalize a `options` object to an array of options
|
|
|
|
return keys(options).map(function (key) {
|
|
return _this.normalizeOption(options[key] || {}, key);
|
|
});
|
|
} // If not an array or object, return an empty array
|
|
|
|
/* istanbul ignore next */
|
|
|
|
|
|
return [];
|
|
}
|
|
}
|
|
};
|
|
|
|
var BFormDatalist = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_DATALIST,
|
|
mixins: [formOptionsMixin, normalizeSlotMixin],
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2({}, props$v), {}, {
|
|
id: {
|
|
type: String,
|
|
required: true
|
|
}
|
|
}), NAME_FORM_DATALIST),
|
|
render: function render(h) {
|
|
var $options = this.formOptions.map(function (option, index) {
|
|
var value = option.value,
|
|
text = option.text,
|
|
html = option.html,
|
|
disabled = option.disabled;
|
|
return h('option', {
|
|
attrs: {
|
|
value: value,
|
|
disabled: disabled
|
|
},
|
|
domProps: htmlOrText(html, text),
|
|
key: "option_".concat(index)
|
|
});
|
|
});
|
|
return h('datalist', {
|
|
attrs: {
|
|
id: this.id
|
|
}
|
|
}, [$options, this.normalizeSlot()]);
|
|
}
|
|
});
|
|
|
|
var props$w = makePropsConfigurable({
|
|
id: {
|
|
type: String // default: null
|
|
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'small'
|
|
},
|
|
textVariant: {
|
|
type: String,
|
|
default: 'muted'
|
|
},
|
|
inline: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_FORM_TEXT); // @vue/component
|
|
|
|
var BFormText = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_TEXT,
|
|
functional: true,
|
|
props: props$w,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
class: _defineProperty({
|
|
'form-text': !props.inline
|
|
}, "text-".concat(props.textVariant), props.textVariant),
|
|
attrs: {
|
|
id: props.id
|
|
}
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$x = makePropsConfigurable({
|
|
id: {
|
|
type: String // default: null
|
|
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
tooltip: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
forceShow: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
state: {
|
|
// Tri-state prop: `true`, `false`, or `null`
|
|
type: Boolean,
|
|
default: null
|
|
},
|
|
ariaLive: {
|
|
type: String // default: null
|
|
|
|
},
|
|
role: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_FORM_INVALID_FEEDBACK); // @vue/component
|
|
|
|
var BFormInvalidFeedback = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_INVALID_FEEDBACK,
|
|
functional: true,
|
|
props: props$x,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var show = props.forceShow === true || props.state === false;
|
|
return h(props.tag, mergeData(data, {
|
|
class: {
|
|
'invalid-feedback': !props.tooltip,
|
|
'invalid-tooltip': props.tooltip,
|
|
'd-block': show
|
|
},
|
|
attrs: {
|
|
id: props.id || null,
|
|
role: props.role || null,
|
|
'aria-live': props.ariaLive || null,
|
|
'aria-atomic': props.ariaLive ? 'true' : null
|
|
}
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$y = makePropsConfigurable({
|
|
id: {
|
|
type: String // default: null
|
|
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
tooltip: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
forceShow: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
state: {
|
|
// Tri-state prop: `true`, `false`, or `null`
|
|
type: Boolean,
|
|
default: null
|
|
},
|
|
ariaLive: {
|
|
type: String // default: null
|
|
|
|
},
|
|
role: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_FORM_VALID_FEEDBACK); // @vue/component
|
|
|
|
var BFormValidFeedback = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_VALID_FEEDBACK,
|
|
functional: true,
|
|
props: props$y,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var show = props.forceShow === true || props.state === true;
|
|
return h(props.tag, mergeData(data, {
|
|
class: {
|
|
'valid-feedback': !props.tooltip,
|
|
'valid-tooltip': props.tooltip,
|
|
'd-block': show
|
|
},
|
|
attrs: {
|
|
id: props.id || null,
|
|
role: props.role || null,
|
|
'aria-live': props.ariaLive || null,
|
|
'aria-atomic': props.ariaLive ? 'true' : null
|
|
}
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$z = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
}
|
|
}, NAME_FORM_ROW); // @vue/component
|
|
|
|
var BFormRow = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_ROW,
|
|
functional: true,
|
|
props: props$z,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'form-row'
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var FormPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BForm: BForm,
|
|
BFormDatalist: BFormDatalist,
|
|
BDatalist: BFormDatalist,
|
|
BFormText: BFormText,
|
|
BFormInvalidFeedback: BFormInvalidFeedback,
|
|
BFormFeedback: BFormInvalidFeedback,
|
|
BFormValidFeedback: BFormValidFeedback,
|
|
// Added here for convenience
|
|
BFormRow: BFormRow
|
|
}
|
|
}); // BFormRow is not exported here as a named export, as it is exported by Layout
|
|
|
|
var looseIndexOf = function looseIndexOf(arr, val) {
|
|
// Assumes that the first argument is an array
|
|
for (var i = 0; i < arr.length; i++) {
|
|
if (looseEqual(arr[i], val)) {
|
|
return i;
|
|
}
|
|
}
|
|
|
|
return -1;
|
|
};
|
|
|
|
var SELECTOR = 'input, textarea, select'; // --- Props ---
|
|
|
|
var props$A = _objectSpread2({
|
|
id: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
name: {
|
|
type: String // default: undefined
|
|
|
|
}
|
|
}, makePropsConfigurable({
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
required: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
form: {
|
|
type: String // default: null
|
|
|
|
},
|
|
autofocus: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, 'formControls')); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var formControlMixin = {
|
|
props: props$A,
|
|
mounted: function mounted() {
|
|
this.handleAutofocus();
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
activated: function activated() {
|
|
this.handleAutofocus();
|
|
},
|
|
methods: {
|
|
handleAutofocus: function handleAutofocus() {
|
|
var _this = this;
|
|
|
|
this.$nextTick(function () {
|
|
requestAF(function () {
|
|
var el = _this.$el;
|
|
|
|
if (_this.autofocus && isVisible(el)) {
|
|
if (!matches(el, SELECTOR)) {
|
|
el = select(SELECTOR, el);
|
|
}
|
|
|
|
attemptFocus(el);
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$B = makePropsConfigurable({
|
|
plain: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, 'formControls'); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var formCustomMixin = {
|
|
props: props$B,
|
|
computed: {
|
|
custom: function custom() {
|
|
return !this.plain;
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$C = makePropsConfigurable(_objectSpread2(_objectSpread2({}, props$B), {}, {
|
|
value: {// Value when checked
|
|
// type: Object,
|
|
// default: undefined
|
|
},
|
|
checked: {// This is the v-model
|
|
// type: Object,
|
|
// default: undefined
|
|
},
|
|
inline: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
button: {
|
|
// Only applicable in standalone mode (non group)
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
buttonVariant: {
|
|
// Only applicable when rendered with button style
|
|
type: String // default: null
|
|
|
|
},
|
|
ariaLabel: {
|
|
// Placed on the input if present.
|
|
type: String // default: null
|
|
|
|
},
|
|
ariaLabelledby: {
|
|
// Placed on the input if present.
|
|
type: String // default: null
|
|
|
|
}
|
|
}), 'formRadioCheckControls'); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var formRadioCheckMixin = {
|
|
mixins: [attrsMixin, formCustomMixin, normalizeSlotMixin],
|
|
inheritAttrs: false,
|
|
model: {
|
|
prop: 'checked',
|
|
event: 'input'
|
|
},
|
|
props: props$C,
|
|
data: function data() {
|
|
return {
|
|
localChecked: this.isGroup ? this.bvGroup.checked : this.checked,
|
|
hasFocus: false
|
|
};
|
|
},
|
|
computed: {
|
|
computedLocalChecked: {
|
|
get: function get() {
|
|
return this.isGroup ? this.bvGroup.localChecked : this.localChecked;
|
|
},
|
|
set: function set(val) {
|
|
if (this.isGroup) {
|
|
this.bvGroup.localChecked = val;
|
|
} else {
|
|
this.localChecked = val;
|
|
}
|
|
}
|
|
},
|
|
isGroup: function isGroup() {
|
|
// Is this check/radio a child of check-group or radio-group?
|
|
return Boolean(this.bvGroup);
|
|
},
|
|
isBtnMode: function isBtnMode() {
|
|
// Support button style in single input mode
|
|
return this.isGroup ? this.bvGroup.buttons : this.button;
|
|
},
|
|
isPlain: function isPlain() {
|
|
return this.isBtnMode ? false : this.isGroup ? this.bvGroup.plain : this.plain;
|
|
},
|
|
isCustom: function isCustom() {
|
|
return this.isBtnMode ? false : !this.isPlain;
|
|
},
|
|
isSwitch: function isSwitch() {
|
|
// Custom switch styling (checkboxes only)
|
|
return this.isBtnMode || this.isRadio || this.isPlain ? false : this.isGroup ? this.bvGroup.switches : this.switch;
|
|
},
|
|
isInline: function isInline() {
|
|
return this.isGroup ? this.bvGroup.inline : this.inline;
|
|
},
|
|
isDisabled: function isDisabled() {
|
|
// Child can be disabled while parent isn't, but is always disabled if group is
|
|
return this.isGroup ? this.bvGroup.disabled || this.disabled : this.disabled;
|
|
},
|
|
isRequired: function isRequired() {
|
|
// Required only works when a name is provided for the input(s)
|
|
// Child can only be required when parent is
|
|
// Groups will always have a name (either user supplied or auto generated)
|
|
return this.getName && (this.isGroup ? this.bvGroup.required : this.required);
|
|
},
|
|
getName: function getName() {
|
|
// Group name preferred over local name
|
|
return (this.isGroup ? this.bvGroup.groupName : this.name) || null;
|
|
},
|
|
getForm: function getForm() {
|
|
return (this.isGroup ? this.bvGroup.form : this.form) || null;
|
|
},
|
|
getSize: function getSize() {
|
|
return (this.isGroup ? this.bvGroup.size : this.size) || '';
|
|
},
|
|
getState: function getState() {
|
|
return this.isGroup ? this.bvGroup.computedState : this.computedState;
|
|
},
|
|
getButtonVariant: function getButtonVariant() {
|
|
// Local variant preferred over group variant
|
|
if (this.buttonVariant) {
|
|
return this.buttonVariant;
|
|
} else if (this.isGroup && this.bvGroup.buttonVariant) {
|
|
return this.bvGroup.buttonVariant;
|
|
} // default variant
|
|
|
|
|
|
return 'secondary';
|
|
},
|
|
buttonClasses: function buttonClasses() {
|
|
var _ref;
|
|
|
|
// Same for radio & check
|
|
return ['btn', "btn-".concat(this.getButtonVariant), (_ref = {}, _defineProperty(_ref, "btn-".concat(this.getSize), this.getSize), _defineProperty(_ref, "disabled", this.isDisabled), _defineProperty(_ref, "active", this.isChecked), _defineProperty(_ref, "focus", this.hasFocus), _ref)];
|
|
},
|
|
computedAttrs: function computedAttrs() {
|
|
return _objectSpread2(_objectSpread2({}, this.bvAttrs), {}, {
|
|
id: this.safeId(),
|
|
type: this.isRadio ? 'radio' : 'checkbox',
|
|
name: this.getName,
|
|
form: this.getForm,
|
|
disabled: this.isDisabled,
|
|
required: this.isRequired,
|
|
'aria-required': this.isRequired || null,
|
|
'aria-label': this.ariaLabel || null,
|
|
'aria-labelledby': this.ariaLabelledby || null
|
|
});
|
|
}
|
|
},
|
|
watch: {
|
|
checked: function checked(newValue) {
|
|
if (!looseEqual(newValue, this.computedLocalChecked)) {
|
|
this.computedLocalChecked = newValue;
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
handleFocus: function handleFocus(evt) {
|
|
// When in buttons mode, we need to add 'focus' class to label when input focused
|
|
// As it is the hidden input which has actual focus
|
|
if (evt.target) {
|
|
if (evt.type === 'focus') {
|
|
this.hasFocus = true;
|
|
} else if (evt.type === 'blur') {
|
|
this.hasFocus = false;
|
|
}
|
|
}
|
|
},
|
|
// Convenience methods for focusing the input
|
|
focus: function focus() {
|
|
if (!this.isDisabled) {
|
|
attemptFocus(this.$refs.input);
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
if (!this.isDisabled) {
|
|
attemptBlur(this.$refs.input);
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var defaultSlot = this.normalizeSlot(); // Generate the input element
|
|
|
|
var on = {
|
|
change: this.handleChange
|
|
};
|
|
|
|
if (this.isBtnMode) {
|
|
// Handlers for focus styling when in button mode
|
|
on.focus = on.blur = this.handleFocus;
|
|
}
|
|
|
|
var input = h('input', {
|
|
ref: 'input',
|
|
key: 'input',
|
|
on: on,
|
|
class: {
|
|
'form-check-input': this.isPlain,
|
|
'custom-control-input': this.isCustom,
|
|
'is-valid': this.getState === true && !this.isBtnMode,
|
|
'is-invalid': this.getState === false && !this.isBtnMode,
|
|
// https://github.com/bootstrap-vue/bootstrap-vue/issues/2911
|
|
'position-static': this.isPlain && !defaultSlot
|
|
},
|
|
directives: [{
|
|
name: 'model',
|
|
rawName: 'v-model',
|
|
value: this.computedLocalChecked,
|
|
expression: 'computedLocalChecked'
|
|
}],
|
|
attrs: this.computedAttrs,
|
|
domProps: {
|
|
value: this.value,
|
|
checked: this.isChecked
|
|
}
|
|
});
|
|
|
|
if (this.isBtnMode) {
|
|
// Button mode
|
|
var button = h('label', {
|
|
class: this.buttonClasses
|
|
}, [input, defaultSlot]);
|
|
|
|
if (!this.isGroup) {
|
|
// Standalone button mode, so wrap in 'btn-group-toggle'
|
|
// and flag it as inline-block to mimic regular buttons
|
|
button = h('div', {
|
|
class: ['btn-group-toggle', 'd-inline-block']
|
|
}, [button]);
|
|
}
|
|
|
|
return button;
|
|
} else {
|
|
// Not button mode
|
|
var label = h(); // If no label content in plain mode we dont render the label
|
|
// https://github.com/bootstrap-vue/bootstrap-vue/issues/2911
|
|
|
|
if (!(this.isPlain && !defaultSlot)) {
|
|
label = h('label', {
|
|
class: {
|
|
'form-check-label': this.isPlain,
|
|
'custom-control-label': this.isCustom
|
|
},
|
|
attrs: {
|
|
for: this.safeId()
|
|
}
|
|
}, defaultSlot);
|
|
} // Wrap it in a div
|
|
|
|
|
|
return h('div', {
|
|
class: _defineProperty({
|
|
'form-check': this.isPlain,
|
|
'form-check-inline': this.isPlain && this.isInline,
|
|
'custom-control': this.isCustom,
|
|
'custom-control-inline': this.isCustom && this.isInline,
|
|
'custom-checkbox': this.isCustom && this.isCheck && !this.isSwitch,
|
|
'custom-switch': this.isSwitch,
|
|
'custom-radio': this.isCustom && this.isRadio
|
|
}, "b-custom-control-".concat(this.getSize), Boolean(this.getSize && !this.isBtnMode))
|
|
}, [input, label]);
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$D = makePropsConfigurable({
|
|
size: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, 'formControls'); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var formSizeMixin = {
|
|
props: props$D,
|
|
computed: {
|
|
sizeFormClass: function sizeFormClass() {
|
|
return [this.size ? "form-control-".concat(this.size) : null];
|
|
}
|
|
}
|
|
};
|
|
|
|
/* Form control contextual state class computation
|
|
*
|
|
* Returned class is either 'is-valid' or 'is-invalid' based on the 'state' prop
|
|
* state can be one of five values:
|
|
* - true for is-valid
|
|
* - false for is-invalid
|
|
* - null for no contextual state
|
|
*/
|
|
|
|
var props$E = makePropsConfigurable({
|
|
state: {
|
|
// Tri-state prop: true, false, null (or undefined)
|
|
type: Boolean,
|
|
default: null
|
|
}
|
|
}, 'formState'); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var formStateMixin = {
|
|
props: props$E,
|
|
computed: {
|
|
computedState: function computedState() {
|
|
// If not a boolean, ensure that value is null
|
|
return isBoolean(this.state) ? this.state : null;
|
|
},
|
|
stateClass: function stateClass() {
|
|
var state = this.computedState;
|
|
return state === true ? 'is-valid' : state === false ? 'is-invalid' : null;
|
|
}
|
|
}
|
|
};
|
|
|
|
var BFormCheckbox = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_CHECKBOX,
|
|
mixins: [formRadioCheckMixin, // Includes shared render function
|
|
idMixin, formControlMixin, formSizeMixin, formStateMixin],
|
|
inject: {
|
|
bvGroup: {
|
|
from: 'bvCheckGroup',
|
|
default: false
|
|
}
|
|
},
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$A), props$C), props$D), props$E), {}, {
|
|
value: {
|
|
// type: [String, Number, Boolean, Object],
|
|
default: true
|
|
},
|
|
uncheckedValue: {
|
|
// type: [String, Number, Boolean, Object],
|
|
// Not applicable in multi-check mode
|
|
default: false
|
|
},
|
|
indeterminate: {
|
|
// Not applicable in multi-check mode
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
switch: {
|
|
// Custom switch styling
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
checked: {
|
|
// v-model (Array when multiple checkboxes have same name)
|
|
// type: [String, Number, Boolean, Object, Array],
|
|
default: null
|
|
}
|
|
}), NAME_FORM_CHECKBOX),
|
|
computed: {
|
|
isChecked: function isChecked() {
|
|
var value = this.value,
|
|
checked = this.computedLocalChecked;
|
|
return isArray(checked) ? looseIndexOf(checked, value) > -1 : looseEqual(checked, value);
|
|
},
|
|
isRadio: function isRadio() {
|
|
return false;
|
|
},
|
|
isCheck: function isCheck() {
|
|
return true;
|
|
}
|
|
},
|
|
watch: {
|
|
computedLocalChecked: function computedLocalChecked(newValue, oldValue) {
|
|
if (!looseEqual(newValue, oldValue)) {
|
|
this.$emit('input', newValue);
|
|
var $input = this.$refs.input;
|
|
|
|
if ($input) {
|
|
this.$emit('update:indeterminate', $input.indeterminate);
|
|
}
|
|
}
|
|
},
|
|
indeterminate: function indeterminate(newVal) {
|
|
this.setIndeterminate(newVal);
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
// Set initial indeterminate state
|
|
this.setIndeterminate(this.indeterminate);
|
|
},
|
|
methods: {
|
|
handleChange: function handleChange(_ref) {
|
|
var _this = this;
|
|
|
|
var _ref$target = _ref.target,
|
|
checked = _ref$target.checked,
|
|
indeterminate = _ref$target.indeterminate;
|
|
var value = this.value,
|
|
uncheckedValue = this.uncheckedValue; // Update `computedLocalChecked`
|
|
|
|
var localChecked = this.computedLocalChecked;
|
|
|
|
if (isArray(localChecked)) {
|
|
var index = looseIndexOf(localChecked, value);
|
|
|
|
if (checked && index < 0) {
|
|
// Add value to array
|
|
localChecked = localChecked.concat(value);
|
|
} else if (!checked && index > -1) {
|
|
// Remove value from array
|
|
localChecked = localChecked.slice(0, index).concat(localChecked.slice(index + 1));
|
|
}
|
|
} else {
|
|
localChecked = checked ? value : uncheckedValue;
|
|
}
|
|
|
|
this.computedLocalChecked = localChecked; // Fire events in a `$nextTick()` to ensure the `v-model` is updated
|
|
|
|
this.$nextTick(function () {
|
|
// Change is only emitted on user interaction
|
|
_this.$emit('change', localChecked); // If this is a child of `<form-checkbox-group>`,
|
|
// we emit a change event on it as well
|
|
|
|
|
|
if (_this.isGroup) {
|
|
_this.bvGroup.$emit('change', localChecked);
|
|
}
|
|
|
|
_this.$emit('update:indeterminate', indeterminate);
|
|
});
|
|
},
|
|
setIndeterminate: function setIndeterminate(state) {
|
|
// Indeterminate only supported in single checkbox mode
|
|
if (isArray(this.computedLocalChecked)) {
|
|
state = false;
|
|
}
|
|
|
|
var $input = this.$refs.input;
|
|
|
|
if ($input) {
|
|
$input.indeterminate = state; // Emit update event to prop
|
|
|
|
this.$emit('update:indeterminate', state);
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
var BFormRadio = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_RADIO,
|
|
mixins: [idMixin, formRadioCheckMixin, // Includes shared render function
|
|
formControlMixin, formSizeMixin, formStateMixin],
|
|
inject: {
|
|
bvGroup: {
|
|
from: 'bvRadioGroup',
|
|
default: false
|
|
}
|
|
},
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$A), props$C), props$D), props$E), {}, {
|
|
checked: {
|
|
// v-model
|
|
// type: [String, Number, Boolean, Object],
|
|
default: null
|
|
}
|
|
}), NAME_FORM_RADIO),
|
|
computed: {
|
|
isChecked: function isChecked() {
|
|
return looseEqual(this.value, this.computedLocalChecked);
|
|
},
|
|
isRadio: function isRadio() {
|
|
return true;
|
|
},
|
|
isCheck: function isCheck() {
|
|
return false;
|
|
}
|
|
},
|
|
watch: {
|
|
computedLocalChecked: function computedLocalChecked(newValue, oldValue) {
|
|
if (!looseEqual(newValue, oldValue)) {
|
|
this.$emit('input', newValue);
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
handleChange: function handleChange(_ref) {
|
|
var _this = this;
|
|
|
|
var checked = _ref.target.checked;
|
|
var value = this.value;
|
|
var localChecked = checked ? value : null;
|
|
this.computedLocalChecked = value; // Fire events in a `$nextTick()` to ensure the `v-model` is updated
|
|
|
|
this.$nextTick(function () {
|
|
// Change is only emitted on user interaction
|
|
_this.$emit('change', localChecked); // If this is a child of `<form-radio-group>`,
|
|
// we emit a change event on it as well
|
|
|
|
|
|
if (_this.isGroup) {
|
|
_this.bvGroup.$emit('change', localChecked);
|
|
}
|
|
});
|
|
}
|
|
}
|
|
});
|
|
|
|
var props$F = makePropsConfigurable(_objectSpread2(_objectSpread2({}, props$B), {}, {
|
|
validated: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
ariaInvalid: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
stacked: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
buttons: {
|
|
// Render as button style
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
buttonVariant: {
|
|
// Only applicable when rendered with button style
|
|
type: String // default: null
|
|
|
|
}
|
|
}), 'formRadioCheckGroups'); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var formRadioCheckGroupMixin = {
|
|
mixins: [formCustomMixin, normalizeSlotMixin],
|
|
model: {
|
|
prop: 'checked',
|
|
event: 'input'
|
|
},
|
|
props: props$F,
|
|
computed: {
|
|
inline: function inline() {
|
|
return !this.stacked;
|
|
},
|
|
groupName: function groupName() {
|
|
// Checks/Radios tied to the same model must have the same name,
|
|
// especially for ARIA accessibility.
|
|
return this.name || this.safeId();
|
|
},
|
|
groupClasses: function groupClasses() {
|
|
if (this.buttons) {
|
|
return ['btn-group-toggle', this.inline ? 'btn-group' : 'btn-group-vertical', this.size ? "btn-group-".concat(this.size) : '', this.validated ? "was-validated" : ''];
|
|
}
|
|
|
|
return [this.validated ? "was-validated" : ''];
|
|
},
|
|
computedAriaInvalid: function computedAriaInvalid() {
|
|
var ariaInvalid = this.ariaInvalid;
|
|
|
|
if (ariaInvalid === true || ariaInvalid === 'true' || ariaInvalid === '') {
|
|
return 'true';
|
|
}
|
|
|
|
return this.computedState === false ? 'true' : null;
|
|
}
|
|
},
|
|
watch: {
|
|
checked: function checked(newVal) {
|
|
if (!looseEqual(newVal, this.localChecked)) {
|
|
this.localChecked = newVal;
|
|
}
|
|
},
|
|
localChecked: function localChecked(newValue, oldValue) {
|
|
if (!looseEqual(newValue, oldValue)) {
|
|
this.$emit('input', newValue);
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this = this;
|
|
|
|
var $inputs = this.formOptions.map(function (option, index) {
|
|
var key = "BV_option_".concat(index);
|
|
return h(_this.isRadioGroup ? BFormRadio : BFormCheckbox, {
|
|
props: {
|
|
id: _this.safeId(key),
|
|
value: option.value,
|
|
// Individual radios or checks can be disabled in a group
|
|
disabled: option.disabled || false // We don't need to include these, since the input's will know they are inside here
|
|
// name: this.groupName,
|
|
// form: this.form || null,
|
|
// required: Boolean(this.name && this.required)
|
|
|
|
},
|
|
key: key
|
|
}, [h('span', {
|
|
domProps: htmlOrText(option.html, option.text)
|
|
})]);
|
|
});
|
|
return h('div', {
|
|
class: [this.groupClasses, 'bv-no-focus-ring'],
|
|
attrs: {
|
|
id: this.safeId(),
|
|
role: this.isRadioGroup ? 'radiogroup' : 'group',
|
|
// Add `tabindex="-1"` to allow group to be focused if needed by screen readers
|
|
tabindex: '-1',
|
|
'aria-required': this.required ? 'true' : null,
|
|
'aria-invalid': this.computedAriaInvalid
|
|
}
|
|
}, [this.normalizeSlot(SLOT_NAME_FIRST), $inputs, this.normalizeSlot()]);
|
|
}
|
|
};
|
|
|
|
var props$G = makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$A), props$v), props$F), props$D), props$E), {}, {
|
|
switches: {
|
|
// Custom switch styling
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
checked: {
|
|
type: Array,
|
|
default: null
|
|
}
|
|
}), NAME_FORM_CHECKBOX_GROUP); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BFormCheckboxGroup = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_CHECKBOX_GROUP,
|
|
mixins: [idMixin, formControlMixin, formRadioCheckGroupMixin, // Includes render function
|
|
formOptionsMixin, formSizeMixin, formStateMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvCheckGroup: this
|
|
};
|
|
},
|
|
props: props$G,
|
|
data: function data() {
|
|
return {
|
|
localChecked: this.checked || []
|
|
};
|
|
},
|
|
computed: {
|
|
isRadioGroup: function isRadioGroup() {
|
|
return false;
|
|
}
|
|
}
|
|
});
|
|
|
|
var FormCheckboxPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormCheckbox: BFormCheckbox,
|
|
BCheckbox: BFormCheckbox,
|
|
BCheck: BFormCheckbox,
|
|
BFormCheckboxGroup: BFormCheckboxGroup,
|
|
BCheckboxGroup: BFormCheckboxGroup,
|
|
BCheckGroup: BFormCheckboxGroup
|
|
}
|
|
});
|
|
|
|
// v-b-hover directive
|
|
|
|
var PROP = '__BV_hover_handler__';
|
|
var MOUSEENTER = 'mouseenter';
|
|
var MOUSELEAVE = 'mouseleave'; // --- Utility methods ---
|
|
|
|
var createListener = function createListener(handler) {
|
|
var listener = function listener(evt) {
|
|
handler(evt.type === MOUSEENTER, evt);
|
|
};
|
|
|
|
listener.fn = handler;
|
|
return listener;
|
|
};
|
|
|
|
var updateListeners = function updateListeners(on, el, listener) {
|
|
eventOnOff(on, el, MOUSEENTER, listener, EVENT_OPTIONS_NO_CAPTURE);
|
|
eventOnOff(on, el, MOUSELEAVE, listener, EVENT_OPTIONS_NO_CAPTURE);
|
|
}; // --- Directive bind/unbind/update handler ---
|
|
|
|
|
|
var directive = function directive(el, _ref) {
|
|
var _ref$value = _ref.value,
|
|
handler = _ref$value === void 0 ? null : _ref$value;
|
|
|
|
if (isBrowser) {
|
|
var listener = el[PROP];
|
|
var hasListener = isFunction(listener);
|
|
var handlerChanged = !(hasListener && listener.fn === handler);
|
|
|
|
if (hasListener && handlerChanged) {
|
|
updateListeners(false, el, listener);
|
|
delete el[PROP];
|
|
}
|
|
|
|
if (isFunction(handler) && handlerChanged) {
|
|
el[PROP] = createListener(handler);
|
|
updateListeners(true, el, el[PROP]);
|
|
}
|
|
}
|
|
}; // VBHover directive
|
|
|
|
|
|
var VBHover = {
|
|
bind: directive,
|
|
componentUpdated: directive,
|
|
unbind: function unbind(el) {
|
|
directive(el, {
|
|
value: null
|
|
});
|
|
}
|
|
};
|
|
|
|
var props$H = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, omit(props$A, ['autofocus'])), props$D), commonProps), props$E), {}, {
|
|
value: {
|
|
// This is the value placed on the hidden input
|
|
type: String,
|
|
default: ''
|
|
},
|
|
formattedValue: {
|
|
// This is the value shown in the label
|
|
// Defaults back to `value`
|
|
type: String // default: null
|
|
|
|
},
|
|
placeholder: {
|
|
// This is the value placed on the hidden input when no value selected
|
|
type: String // default: null
|
|
|
|
},
|
|
labelSelected: {
|
|
// Value placed in sr-only span inside label when value is present
|
|
type: String // default: null
|
|
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
lang: {
|
|
type: String // default: null
|
|
|
|
},
|
|
rtl: {
|
|
// Tri-state prop: `true`, `false` or `null`
|
|
type: Boolean,
|
|
// We must explicitly default to `null` here otherwise
|
|
// Vue coerces `undefined` into Boolean `false`
|
|
default: null
|
|
},
|
|
buttonOnly: {
|
|
// When true, renders a btn-group wrapper and visually hides the label
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
buttonVariant: {
|
|
// Applicable in button mode only
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
menuClass: {
|
|
// Extra classes to apply to the `dropdown-menu` div
|
|
type: [String, Array, Object] // default: null
|
|
|
|
}
|
|
}); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BVFormBtnLabelControl = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_BUTTON_LABEL_CONTROL,
|
|
directives: {
|
|
BHover: VBHover
|
|
},
|
|
mixins: [idMixin, formSizeMixin, formStateMixin, dropdownMixin, normalizeSlotMixin],
|
|
props: props$H,
|
|
data: function data() {
|
|
return {
|
|
isHovered: false,
|
|
hasFocus: false
|
|
};
|
|
},
|
|
computed: {
|
|
idButton: function idButton() {
|
|
return this.safeId();
|
|
},
|
|
idLabel: function idLabel() {
|
|
return this.safeId('_value_');
|
|
},
|
|
idMenu: function idMenu() {
|
|
return this.safeId('_dialog_');
|
|
},
|
|
idWrapper: function idWrapper() {
|
|
return this.safeId('_outer_');
|
|
},
|
|
computedDir: function computedDir() {
|
|
return this.rtl === true ? 'rtl' : this.rtl === false ? 'ltr' : null;
|
|
}
|
|
},
|
|
methods: {
|
|
focus: function focus() {
|
|
if (!this.disabled) {
|
|
attemptFocus(this.$refs.toggle);
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
if (!this.disabled) {
|
|
attemptBlur(this.$refs.toggle);
|
|
}
|
|
},
|
|
setFocus: function setFocus(evt) {
|
|
this.hasFocus = evt.type === 'focus';
|
|
},
|
|
handleHover: function handleHover(hovered) {
|
|
this.isHovered = hovered;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _class;
|
|
|
|
var idButton = this.idButton,
|
|
idLabel = this.idLabel,
|
|
idMenu = this.idMenu,
|
|
idWrapper = this.idWrapper,
|
|
disabled = this.disabled,
|
|
readonly = this.readonly,
|
|
required = this.required,
|
|
name = this.name,
|
|
state = this.state,
|
|
visible = this.visible,
|
|
size = this.size,
|
|
isHovered = this.isHovered,
|
|
hasFocus = this.hasFocus,
|
|
labelSelected = this.labelSelected,
|
|
buttonVariant = this.buttonVariant;
|
|
var value = toString$1(this.value) || '';
|
|
var buttonOnly = !!this.buttonOnly;
|
|
var invalid = state === false || required && !value;
|
|
var btnScope = {
|
|
isHovered: isHovered,
|
|
hasFocus: hasFocus,
|
|
state: state,
|
|
opened: visible
|
|
};
|
|
var $button = h('button', {
|
|
ref: 'toggle',
|
|
staticClass: 'btn',
|
|
class: (_class = {}, _defineProperty(_class, "btn-".concat(buttonVariant), buttonOnly), _defineProperty(_class, "btn-".concat(size), !!size), _defineProperty(_class, 'h-auto', !buttonOnly), _defineProperty(_class, 'dropdown-toggle', buttonOnly), _defineProperty(_class, 'dropdown-toggle-no-caret', buttonOnly), _class),
|
|
attrs: {
|
|
id: idButton,
|
|
type: 'button',
|
|
disabled: disabled,
|
|
'aria-haspopup': 'dialog',
|
|
'aria-expanded': visible ? 'true' : 'false',
|
|
'aria-invalid': invalid ? 'true' : null,
|
|
'aria-required': required ? 'true' : null
|
|
},
|
|
directives: [{
|
|
name: 'b-hover',
|
|
value: this.handleHover
|
|
}],
|
|
on: {
|
|
mousedown: this.onMousedown,
|
|
click: this.toggle,
|
|
keydown: this.toggle,
|
|
// Handle ENTER, SPACE and DOWN
|
|
'!focus': this.setFocus,
|
|
'!blur': this.setFocus
|
|
}
|
|
}, [this.hasNormalizedSlot(SLOT_NAME_BUTTON_CONTENT) ? this.normalizeSlot(SLOT_NAME_BUTTON_CONTENT, btnScope) :
|
|
/* istanbul ignore next */
|
|
h(BIconChevronDown, {
|
|
props: {
|
|
scale: 1.25
|
|
}
|
|
})]); // Hidden input
|
|
|
|
var $hidden = h();
|
|
|
|
if (name && !disabled) {
|
|
$hidden = h('input', {
|
|
attrs: {
|
|
type: 'hidden',
|
|
name: name || null,
|
|
form: this.form || null,
|
|
value: value
|
|
}
|
|
});
|
|
} // Dropdown content
|
|
|
|
|
|
var $menu = h('div', {
|
|
ref: 'menu',
|
|
staticClass: 'dropdown-menu',
|
|
class: [this.menuClass, {
|
|
show: visible,
|
|
'dropdown-menu-right': this.right
|
|
}],
|
|
attrs: {
|
|
id: idMenu,
|
|
role: 'dialog',
|
|
tabindex: '-1',
|
|
'aria-modal': 'false',
|
|
'aria-labelledby': idLabel
|
|
},
|
|
on: {
|
|
keydown: this.onKeydown // Handle ESC
|
|
|
|
}
|
|
}, [this.normalizeSlot(SLOT_NAME_DEFAULT, {
|
|
opened: visible
|
|
})]); // Value label
|
|
|
|
var $label = h('label', {
|
|
staticClass: 'form-control text-break text-wrap bg-transparent h-auto',
|
|
class: [{
|
|
// Hidden in button only mode
|
|
'sr-only': buttonOnly,
|
|
// Mute the text if showing the placeholder
|
|
'text-muted': !value
|
|
}, this.stateClass, this.sizeFormClass],
|
|
attrs: {
|
|
id: idLabel,
|
|
for: idButton,
|
|
'aria-invalid': invalid ? 'true' : null,
|
|
'aria-required': required ? 'true' : null
|
|
},
|
|
directives: [{
|
|
name: 'b-hover',
|
|
value: this.handleHover
|
|
}],
|
|
on: {
|
|
// Disable bubbling of the click event to
|
|
// prevent menu from closing and re-opening
|
|
'!click':
|
|
/* istanbul ignore next */
|
|
function click(evt) {
|
|
stopEvent(evt, {
|
|
preventDefault: false
|
|
});
|
|
}
|
|
}
|
|
}, [value ? this.formattedValue || value : this.placeholder || '', // Add the selected label for screen readers when a value is provided
|
|
value && labelSelected ? h('bdi', {
|
|
staticClass: 'sr-only'
|
|
}, labelSelected) : '']); // Return the custom form control wrapper
|
|
|
|
return h('div', {
|
|
staticClass: 'b-form-btn-label-control dropdown',
|
|
class: [this.directionClass, this.boundaryClass, [{
|
|
'btn-group': buttonOnly,
|
|
'form-control': !buttonOnly,
|
|
'd-flex': !buttonOnly,
|
|
'h-auto': !buttonOnly,
|
|
'align-items-stretch': !buttonOnly,
|
|
focus: hasFocus && !buttonOnly,
|
|
show: visible,
|
|
'is-valid': state === true,
|
|
'is-invalid': state === false
|
|
}, buttonOnly ? null : this.sizeFormClass]],
|
|
attrs: {
|
|
id: idWrapper,
|
|
role: buttonOnly ? null : 'group',
|
|
lang: this.lang || null,
|
|
dir: this.computedDir,
|
|
'aria-disabled': disabled,
|
|
'aria-readonly': readonly && !disabled,
|
|
'aria-labelledby': idLabel,
|
|
'aria-invalid': state === false || required && !value ? 'true' : null,
|
|
'aria-required': required ? 'true' : null
|
|
}
|
|
}, [$button, $hidden, $menu, $label]);
|
|
}
|
|
});
|
|
|
|
// @vue/component
|
|
|
|
var BFormDatepicker = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_DATEPICKER,
|
|
// The mixins order determines the order of appearance in the props reference section
|
|
mixins: [idMixin],
|
|
model: {
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2({}, props$7), omit(props$H, ['id', 'value', 'formattedValue', 'rtl', 'lang'])), {}, {
|
|
resetValue: {
|
|
type: [String, Date] // default: null
|
|
|
|
},
|
|
noCloseOnSelect: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
buttonOnly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
buttonVariant: {
|
|
// Applicable in button only mode
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
calendarWidth: {
|
|
// Width of the calendar dropdown
|
|
type: String,
|
|
default: '270px'
|
|
},
|
|
todayButton: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
labelTodayButton: {
|
|
type: String,
|
|
default: 'Select today'
|
|
},
|
|
todayButtonVariant: {
|
|
type: String,
|
|
default: 'outline-primary'
|
|
},
|
|
resetButton: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
labelResetButton: {
|
|
type: String,
|
|
default: 'Reset'
|
|
},
|
|
resetButtonVariant: {
|
|
type: String,
|
|
default: 'outline-danger'
|
|
},
|
|
closeButton: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
labelCloseButton: {
|
|
type: String,
|
|
default: 'Close'
|
|
},
|
|
closeButtonVariant: {
|
|
type: String,
|
|
default: 'outline-secondary'
|
|
},
|
|
// Dark mode
|
|
dark: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_FORM_DATEPICKER),
|
|
data: function data() {
|
|
return {
|
|
// We always use `YYYY-MM-DD` value internally
|
|
localYMD: formatYMD(this.value) || '',
|
|
// If the popup is open
|
|
isVisible: false,
|
|
// Context data from BCalendar
|
|
localLocale: null,
|
|
isRTL: false,
|
|
formattedValue: '',
|
|
activeYMD: ''
|
|
};
|
|
},
|
|
computed: {
|
|
calendarYM: function calendarYM() {
|
|
// Returns the calendar year/month
|
|
// Returns the `YYYY-MM` portion of the active calendar date
|
|
return this.activeYMD.slice(0, -3);
|
|
},
|
|
computedLang: function computedLang() {
|
|
return (this.localLocale || '').replace(/-u-.*$/i, '') || null;
|
|
},
|
|
computedResetValue: function computedResetValue() {
|
|
return formatYMD(constrainDate(this.resetValue)) || '';
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newVal) {
|
|
this.localYMD = formatYMD(newVal) || '';
|
|
},
|
|
localYMD: function localYMD(newVal) {
|
|
// We only update the v-model when the datepicker is open
|
|
if (this.isVisible) {
|
|
this.$emit('input', this.valueAsDate ? parseYMD(newVal) || null : newVal || '');
|
|
}
|
|
},
|
|
calendarYM: function calendarYM(newVal, oldVal) {
|
|
// Displayed calendar month has changed
|
|
// So possibly the calendar height has changed...
|
|
// We need to update popper computed position
|
|
if (newVal !== oldVal && oldVal) {
|
|
try {
|
|
this.$refs.control.updatePopper();
|
|
} catch (_unused) {}
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
// Public methods
|
|
focus: function focus() {
|
|
if (!this.disabled) {
|
|
attemptFocus(this.$refs.control);
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
if (!this.disabled) {
|
|
attemptBlur(this.$refs.control);
|
|
}
|
|
},
|
|
// Private methods
|
|
setAndClose: function setAndClose(ymd) {
|
|
var _this = this;
|
|
|
|
this.localYMD = ymd; // Close calendar popup, unless `noCloseOnSelect`
|
|
|
|
if (!this.noCloseOnSelect) {
|
|
this.$nextTick(function () {
|
|
_this.$refs.control.hide(true);
|
|
});
|
|
}
|
|
},
|
|
onSelected: function onSelected(ymd) {
|
|
var _this2 = this;
|
|
|
|
this.$nextTick(function () {
|
|
_this2.setAndClose(ymd);
|
|
});
|
|
},
|
|
onInput: function onInput(ymd) {
|
|
if (this.localYMD !== ymd) {
|
|
this.localYMD = ymd;
|
|
}
|
|
},
|
|
onContext: function onContext(ctx) {
|
|
var activeYMD = ctx.activeYMD,
|
|
isRTL = ctx.isRTL,
|
|
locale = ctx.locale,
|
|
selectedYMD = ctx.selectedYMD,
|
|
selectedFormatted = ctx.selectedFormatted;
|
|
this.isRTL = isRTL;
|
|
this.localLocale = locale;
|
|
this.formattedValue = selectedFormatted;
|
|
this.localYMD = selectedYMD;
|
|
this.activeYMD = activeYMD; // Re-emit the context event
|
|
|
|
this.$emit('context', ctx);
|
|
},
|
|
onTodayButton: function onTodayButton() {
|
|
// Set to today (or min/max if today is out of range)
|
|
this.setAndClose(formatYMD(constrainDate(createDate(), this.min, this.max)));
|
|
},
|
|
onResetButton: function onResetButton() {
|
|
this.setAndClose(this.computedResetValue);
|
|
},
|
|
onCloseButton: function onCloseButton() {
|
|
this.$refs.control.hide(true);
|
|
},
|
|
// Menu handlers
|
|
onShow: function onShow() {
|
|
this.isVisible = true;
|
|
},
|
|
onShown: function onShown() {
|
|
var _this3 = this;
|
|
|
|
this.$nextTick(function () {
|
|
attemptFocus(_this3.$refs.calendar);
|
|
|
|
_this3.$emit('shown');
|
|
});
|
|
},
|
|
onHidden: function onHidden() {
|
|
this.isVisible = false;
|
|
this.$emit('hidden');
|
|
},
|
|
// Render helpers
|
|
defaultButtonFn: function defaultButtonFn(_ref) {
|
|
var isHovered = _ref.isHovered,
|
|
hasFocus = _ref.hasFocus;
|
|
return this.$createElement(isHovered || hasFocus ? BIconCalendarFill : BIconCalendar, {
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
});
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var localYMD = this.localYMD,
|
|
disabled = this.disabled,
|
|
readonly = this.readonly,
|
|
dark = this.dark,
|
|
$props = this.$props,
|
|
$scopedSlots = this.$scopedSlots;
|
|
var placeholder = isUndefinedOrNull(this.placeholder) ? this.labelNoDateSelected : this.placeholder; // Optional footer buttons
|
|
|
|
var $footer = [];
|
|
|
|
if (this.todayButton) {
|
|
var label = this.labelTodayButton;
|
|
$footer.push(h(BButton, {
|
|
props: {
|
|
size: 'sm',
|
|
disabled: disabled || readonly,
|
|
variant: this.todayButtonVariant
|
|
},
|
|
attrs: {
|
|
'aria-label': label || null
|
|
},
|
|
on: {
|
|
click: this.onTodayButton
|
|
}
|
|
}, label));
|
|
}
|
|
|
|
if (this.resetButton) {
|
|
var _label = this.labelResetButton;
|
|
$footer.push(h(BButton, {
|
|
props: {
|
|
size: 'sm',
|
|
disabled: disabled || readonly,
|
|
variant: this.resetButtonVariant
|
|
},
|
|
attrs: {
|
|
'aria-label': _label || null
|
|
},
|
|
on: {
|
|
click: this.onResetButton
|
|
}
|
|
}, _label));
|
|
}
|
|
|
|
if (this.closeButton) {
|
|
var _label2 = this.labelCloseButton;
|
|
$footer.push(h(BButton, {
|
|
props: {
|
|
size: 'sm',
|
|
disabled: disabled,
|
|
variant: this.closeButtonVariant
|
|
},
|
|
attrs: {
|
|
'aria-label': _label2 || null
|
|
},
|
|
on: {
|
|
click: this.onCloseButton
|
|
}
|
|
}, _label2));
|
|
}
|
|
|
|
if ($footer.length > 0) {
|
|
$footer = [h('div', {
|
|
staticClass: 'b-form-date-controls d-flex flex-wrap',
|
|
class: {
|
|
'justify-content-between': $footer.length > 1,
|
|
'justify-content-end': $footer.length < 2
|
|
}
|
|
}, $footer)];
|
|
}
|
|
|
|
var $calendar = h(BCalendar, {
|
|
key: 'calendar',
|
|
ref: 'calendar',
|
|
staticClass: 'b-form-date-calendar w-100',
|
|
props: _objectSpread2(_objectSpread2({}, pluckProps(props$7, $props)), {}, {
|
|
value: localYMD,
|
|
hidden: !this.isVisible
|
|
}),
|
|
on: {
|
|
selected: this.onSelected,
|
|
input: this.onInput,
|
|
context: this.onContext
|
|
},
|
|
scopedSlots: pick($scopedSlots, ['nav-prev-decade', 'nav-prev-year', 'nav-prev-month', 'nav-this-month', 'nav-next-month', 'nav-next-year', 'nav-next-decade'])
|
|
}, $footer);
|
|
return h(BVFormBtnLabelControl, {
|
|
ref: 'control',
|
|
staticClass: 'b-form-datepicker',
|
|
props: _objectSpread2(_objectSpread2({}, pluckProps(props$H, $props)), {}, {
|
|
id: this.safeId(),
|
|
value: localYMD,
|
|
formattedValue: localYMD ? this.formattedValue : '',
|
|
placeholder: placeholder,
|
|
rtl: this.isRTL,
|
|
lang: this.computedLang,
|
|
menuClass: [{
|
|
'bg-dark': !!dark,
|
|
'text-light': !!dark
|
|
}, this.menuClass]
|
|
}),
|
|
on: {
|
|
show: this.onShow,
|
|
shown: this.onShown,
|
|
hidden: this.onHidden
|
|
},
|
|
scopedSlots: {
|
|
'button-content': $scopedSlots['button-content'] || this.defaultButtonFn
|
|
}
|
|
}, [$calendar]);
|
|
}
|
|
});
|
|
|
|
var FormDatepickerPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormDatepicker: BFormDatepicker,
|
|
BDatepicker: BFormDatepicker
|
|
}
|
|
});
|
|
|
|
var VALUE_EMPTY_DEPRECATED_MSG = 'Setting "value"/"v-model" to an empty string for reset is deprecated. Set to "null" instead.'; // --- Helper methods ---
|
|
|
|
var isValidValue = function isValidValue(value) {
|
|
return isFile(value) || isArray(value) && value.every(function (v) {
|
|
return isValidValue(v);
|
|
});
|
|
}; // Helper method to "safely" get the entry from a data-transfer item
|
|
|
|
/* istanbul ignore next: not supported in JSDOM */
|
|
|
|
|
|
var getDataTransferItemEntry = function getDataTransferItemEntry(item) {
|
|
return isFunction(item.getAsEntry) ? item.getAsEntry() : isFunction(item.webkitGetAsEntry) ? item.webkitGetAsEntry() : null;
|
|
}; // Drop handler function to get all files
|
|
|
|
/* istanbul ignore next: not supported in JSDOM */
|
|
|
|
|
|
var getAllFileEntries = function getAllFileEntries(dataTransferItemList) {
|
|
var traverseDirectories = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
return Promise.all(from(dataTransferItemList).filter(function (item) {
|
|
return item.kind === 'file';
|
|
}).map(function (item) {
|
|
var entry = getDataTransferItemEntry(item);
|
|
|
|
if (entry) {
|
|
if (entry.isDirectory && traverseDirectories) {
|
|
return getAllFileEntriesInDirectory(entry.createReader(), "".concat(entry.name, "/"));
|
|
} else if (entry.isFile) {
|
|
return new Promise(function (resolve) {
|
|
entry.file(function (file) {
|
|
file.$path = '';
|
|
resolve(file);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
return null;
|
|
}).filter(identity));
|
|
}; // Get all the file entries (recursive) in a directory
|
|
|
|
/* istanbul ignore next: not supported in JSDOM */
|
|
|
|
|
|
var getAllFileEntriesInDirectory = function getAllFileEntriesInDirectory(directoryReader) {
|
|
var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
return new Promise(function (resolve) {
|
|
var entryPromises = [];
|
|
|
|
var readDirectoryEntries = function readDirectoryEntries() {
|
|
directoryReader.readEntries(function (entries) {
|
|
if (entries.length === 0) {
|
|
resolve(Promise.all(entryPromises).then(function (entries) {
|
|
return flatten(entries);
|
|
}));
|
|
} else {
|
|
entryPromises.push(Promise.all(entries.map(function (entry) {
|
|
if (entry) {
|
|
if (entry.isDirectory) {
|
|
return getAllFileEntriesInDirectory(entry.createReader(), "".concat(path).concat(entry.name, "/"));
|
|
} else if (entry.isFile) {
|
|
return new Promise(function (resolve) {
|
|
entry.file(function (file) {
|
|
file.$path = "".concat(path).concat(file.name);
|
|
resolve(file);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
return null;
|
|
}).filter(identity)));
|
|
readDirectoryEntries();
|
|
}
|
|
});
|
|
};
|
|
|
|
readDirectoryEntries();
|
|
});
|
|
}; // @vue/component
|
|
|
|
|
|
var BFormFile = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_FILE,
|
|
mixins: [attrsMixin, idMixin, formControlMixin, formStateMixin, formCustomMixin, normalizeSlotMixin],
|
|
inheritAttrs: false,
|
|
model: {
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$A), props$B), props$E), props$D), {}, {
|
|
value: {
|
|
type: [File, Array],
|
|
default: null,
|
|
validator: function validator(value) {
|
|
/* istanbul ignore next */
|
|
if (value === '') {
|
|
warn(VALUE_EMPTY_DEPRECATED_MSG, NAME_FORM_FILE);
|
|
return true;
|
|
}
|
|
|
|
return isUndefinedOrNull(value) || isValidValue(value);
|
|
}
|
|
},
|
|
accept: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
// Instruct input to capture from camera
|
|
capture: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
placeholder: {
|
|
type: String,
|
|
default: 'No file chosen'
|
|
},
|
|
browseText: {
|
|
type: String,
|
|
default: 'Browse'
|
|
},
|
|
dropPlaceholder: {
|
|
type: String,
|
|
default: 'Drop files here'
|
|
},
|
|
noDropPlaceholder: {
|
|
type: String,
|
|
default: 'Not allowed'
|
|
},
|
|
multiple: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
directory: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
// TODO:
|
|
// Should we deprecate this and only support flat file structures?
|
|
// Nested file structures are only supported when files are dropped
|
|
// A Chromium "bug" prevents `webkitEntries` from being populated
|
|
// on the file input's `change` event and is marked as "WontFix"
|
|
// Mozilla implemented the behavior the same way as Chromium
|
|
// See: https://bugs.chromium.org/p/chromium/issues/detail?id=138987
|
|
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1326031
|
|
noTraverse: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noDrop: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
fileNameFormatter: {
|
|
type: Function // default: null
|
|
|
|
}
|
|
}), NAME_FORM_FILE),
|
|
data: function data() {
|
|
return {
|
|
files: [],
|
|
dragging: false,
|
|
// IE 11 doesn't respect setting `evt.dataTransfer.dropEffect`,
|
|
// so we handle it ourselves as well
|
|
// https://stackoverflow.com/a/46915971/2744776
|
|
dropAllowed: !this.noDrop,
|
|
hasFocus: false
|
|
};
|
|
},
|
|
computed: {
|
|
// Convert `accept` to an array of `[{ RegExpr, isMime }, ...]`
|
|
computedAccept: function computedAccept() {
|
|
var accept = this.accept;
|
|
accept = (accept || '').trim().split(/[,\s]+/).filter(Boolean); // Allow any file type/extension
|
|
|
|
if (accept.length === 0) {
|
|
return null;
|
|
}
|
|
|
|
return accept.map(function (extOrType) {
|
|
var prop = 'name';
|
|
var startMatch = '^';
|
|
var endMatch = '$';
|
|
|
|
if (RX_EXTENSION.test(extOrType)) {
|
|
// File extension /\.ext$/
|
|
startMatch = '';
|
|
} else {
|
|
// MIME type /^mime\/.+$/ or /^mime\/type$/
|
|
prop = 'type';
|
|
|
|
if (RX_STAR.test(extOrType)) {
|
|
endMatch = '.+$'; // Remove trailing `*`
|
|
|
|
extOrType = extOrType.slice(0, -1);
|
|
}
|
|
} // Escape all RegExp special chars
|
|
|
|
|
|
extOrType = escapeRegExp(extOrType);
|
|
var rx = new RegExp("".concat(startMatch).concat(extOrType).concat(endMatch));
|
|
return {
|
|
rx: rx,
|
|
prop: prop
|
|
};
|
|
});
|
|
},
|
|
computedCapture: function computedCapture() {
|
|
var capture = this.capture;
|
|
return capture === true || capture === '' ? true : capture || null;
|
|
},
|
|
computedAttrs: function computedAttrs() {
|
|
var name = this.name,
|
|
disabled = this.disabled,
|
|
required = this.required,
|
|
form = this.form,
|
|
computedCapture = this.computedCapture,
|
|
accept = this.accept,
|
|
multiple = this.multiple,
|
|
directory = this.directory;
|
|
return _objectSpread2(_objectSpread2({}, this.bvAttrs), {}, {
|
|
type: 'file',
|
|
id: this.safeId(),
|
|
name: name,
|
|
disabled: disabled,
|
|
required: required,
|
|
form: form || null,
|
|
capture: computedCapture,
|
|
accept: accept || null,
|
|
multiple: multiple,
|
|
directory: directory,
|
|
webkitdirectory: directory,
|
|
'aria-required': required ? 'true' : null
|
|
});
|
|
},
|
|
computedFileNameFormatter: function computedFileNameFormatter() {
|
|
var fileNameFormatter = this.fileNameFormatter;
|
|
var result = null;
|
|
|
|
try {
|
|
result = fileNameFormatter();
|
|
} catch (_unused) {}
|
|
|
|
return isUndefined(result) ? this.defaultFileNameFormatter : fileNameFormatter;
|
|
},
|
|
clonedFiles: function clonedFiles() {
|
|
return cloneDeep(this.files);
|
|
},
|
|
flattenedFiles: function flattenedFiles() {
|
|
return flattenDeep(this.files);
|
|
},
|
|
fileNames: function fileNames() {
|
|
return this.flattenedFiles.map(function (file) {
|
|
return file.name;
|
|
});
|
|
},
|
|
labelContent: function labelContent() {
|
|
var h = this.$createElement; // Draging active
|
|
|
|
/* istanbul ignore next: used by drag/drop which can't be tested easily */
|
|
|
|
if (this.dragging && !this.noDrop) {
|
|
return (// TODO: Add additional scope with file count, and other not-allowed reasons
|
|
this.normalizeSlot('drop-placeholder', {
|
|
allowed: this.dropAllowed
|
|
}) || (this.dropAllowed ? this.dropPlaceholder : h('span', {
|
|
staticClass: 'text-danger'
|
|
}, this.noDropPlaceholder))
|
|
);
|
|
} // No file chosen
|
|
|
|
|
|
if (this.files.length === 0) {
|
|
return this.normalizeSlot('placeholder') || this.placeholder;
|
|
}
|
|
|
|
var flattenedFiles = this.flattenedFiles,
|
|
clonedFiles = this.clonedFiles,
|
|
fileNames = this.fileNames,
|
|
computedFileNameFormatter = this.computedFileNameFormatter; // There is a slot for formatting the files/names
|
|
|
|
if (this.hasNormalizedSlot('file-name')) {
|
|
return this.normalizeSlot('file-name', {
|
|
files: flattenedFiles,
|
|
filesTraversed: clonedFiles,
|
|
names: fileNames
|
|
});
|
|
}
|
|
|
|
return computedFileNameFormatter(flattenedFiles, clonedFiles, fileNames);
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newValue) {
|
|
if (!newValue || isArray(newValue) && newValue.length === 0) {
|
|
this.reset();
|
|
}
|
|
},
|
|
files: function files(newValue, oldValue) {
|
|
if (!looseEqual(newValue, oldValue)) {
|
|
var multiple = this.multiple,
|
|
noTraverse = this.noTraverse;
|
|
var files = !multiple || noTraverse ? flattenDeep(newValue) : newValue;
|
|
this.$emit('input', multiple ? files : files[0] || null);
|
|
}
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
var _this = this;
|
|
|
|
// Listen for form reset events, to reset the file input
|
|
var $form = closest('form', this.$el);
|
|
|
|
if ($form) {
|
|
eventOn($form, 'reset', this.reset, EVENT_OPTIONS_PASSIVE);
|
|
this.$on('hook:beforeDestroy', function () {
|
|
eventOff($form, 'reset', _this.reset, EVENT_OPTIONS_PASSIVE);
|
|
});
|
|
}
|
|
},
|
|
methods: {
|
|
isFileValid: function isFileValid(file) {
|
|
if (!file) {
|
|
return false;
|
|
}
|
|
|
|
var accept = this.computedAccept;
|
|
return accept ? accept.some(function (a) {
|
|
return a.rx.test(file[a.prop]);
|
|
}) : true;
|
|
},
|
|
isFilesArrayValid: function isFilesArrayValid(files) {
|
|
var _this2 = this;
|
|
|
|
return isArray(files) ? files.every(function (file) {
|
|
return _this2.isFileValid(file);
|
|
}) : this.isFileValid(files);
|
|
},
|
|
defaultFileNameFormatter: function defaultFileNameFormatter(flattenedFiles, clonedFiles, fileNames) {
|
|
return fileNames.join(', ');
|
|
},
|
|
setFiles: function setFiles(files) {
|
|
// Reset the dragging flags
|
|
this.dropAllowed = !this.noDrop;
|
|
this.dragging = false; // Set the selected files
|
|
|
|
this.files = this.multiple ? this.directory ? files : flattenDeep(files) : flattenDeep(files).slice(0, 1);
|
|
},
|
|
|
|
/* istanbul ignore next: used by Drag/Drop */
|
|
setInputFiles: function setInputFiles(files) {
|
|
// Try an set the file input files array so that `required`
|
|
// constraint works for dropped files (will fail in IE11 though)
|
|
// To be used only when dropping files
|
|
try {
|
|
// Firefox < 62 workaround exploiting https://bugzilla.mozilla.org/show_bug.cgi?id=1422655
|
|
var dataTransfer = new ClipboardEvent('').clipboardData || new DataTransfer(); // Add flattened files to temp `dataTransfer` object to get a true `FileList` array
|
|
|
|
flattenDeep(cloneDeep(files)).forEach(function (file) {
|
|
// Make sure to remove the custom `$path` attribute
|
|
delete file.$path;
|
|
dataTransfer.items.add(file);
|
|
});
|
|
this.$refs.input.files = dataTransfer.files;
|
|
} catch (_unused2) {}
|
|
},
|
|
reset: function reset() {
|
|
// IE 11 doesn't support setting `$input.value` to `''` or `null`
|
|
// So we use this little extra hack to reset the value, just in case
|
|
// This also appears to work on modern browsers as well
|
|
// Wrapped in try in case IE 11 or mobile Safari crap out
|
|
try {
|
|
var $input = this.$refs.input;
|
|
$input.value = '';
|
|
$input.type = '';
|
|
$input.type = 'file';
|
|
} catch (_unused3) {}
|
|
|
|
this.files = [];
|
|
},
|
|
handleFiles: function handleFiles(files) {
|
|
var isDrop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
|
|
if (isDrop) {
|
|
// When dropped, make sure to filter files with the internal `accept` logic
|
|
var filteredFiles = files.filter(this.isFilesArrayValid); // Only update files when we have any after filtering
|
|
|
|
if (filteredFiles.length > 0) {
|
|
this.setFiles(filteredFiles); // Try an set the file input's files array so that `required`
|
|
// constraint works for dropped files (will fail in IE 11 though)
|
|
|
|
this.setInputFiles(filteredFiles);
|
|
}
|
|
} else {
|
|
// We always update the files from the `change` event
|
|
this.setFiles(files);
|
|
}
|
|
},
|
|
focusHandler: function focusHandler(evt) {
|
|
// Bootstrap v4 doesn't have focus styling for custom file input
|
|
// Firefox has a `[type=file]:focus ~ sibling` selector issue,
|
|
// so we add a `focus` class to get around these bugs
|
|
if (this.plain || evt.type === 'focusout') {
|
|
this.hasFocus = false;
|
|
} else {
|
|
// Add focus styling for custom file input
|
|
this.hasFocus = true;
|
|
}
|
|
},
|
|
onChange: function onChange(evt) {
|
|
var _this3 = this;
|
|
|
|
var type = evt.type,
|
|
target = evt.target,
|
|
_evt$dataTransfer = evt.dataTransfer,
|
|
dataTransfer = _evt$dataTransfer === void 0 ? {} : _evt$dataTransfer;
|
|
var isDrop = type === 'drop'; // Always emit original event
|
|
|
|
this.$emit('change', evt);
|
|
var items = from(dataTransfer.items || []);
|
|
|
|
if (hasPromiseSupport && items.length > 0 && !isNull(getDataTransferItemEntry(items[0]))) {
|
|
// Drop handling for modern browsers
|
|
// Supports nested directory structures in `directory` mode
|
|
|
|
/* istanbul ignore next: not supported in JSDOM */
|
|
getAllFileEntries(items, this.directory).then(function (files) {
|
|
return _this3.handleFiles(files, isDrop);
|
|
});
|
|
} else {
|
|
// Standard file input handling (native file input change event),
|
|
// or fallback drop mode (IE 11 / Opera) which don't support `directory` mode
|
|
var files = from(target.files || dataTransfer.files || []).map(function (file) {
|
|
// Add custom `$path` property to each file (to be consistent with drop mode)
|
|
file.$path = file.webkitRelativePath || '';
|
|
return file;
|
|
});
|
|
this.handleFiles(files, isDrop);
|
|
}
|
|
},
|
|
onDragenter: function onDragenter(evt) {
|
|
stopEvent(evt);
|
|
this.dragging = true;
|
|
var _evt$dataTransfer2 = evt.dataTransfer,
|
|
dataTransfer = _evt$dataTransfer2 === void 0 ? {} : _evt$dataTransfer2; // Early exit when the input or dropping is disabled
|
|
|
|
if (this.noDrop || this.disabled || !this.dropAllowed) {
|
|
// Show deny feedback
|
|
|
|
/* istanbul ignore next: not supported in JSDOM */
|
|
dataTransfer.dropEffect = 'none';
|
|
this.dropAllowed = false;
|
|
return;
|
|
}
|
|
/* istanbul ignore next: not supported in JSDOM */
|
|
|
|
|
|
dataTransfer.dropEffect = 'copy';
|
|
},
|
|
// Note this event fires repeatedly while the mouse is over the dropzone at
|
|
// intervals in the milliseconds, so avoid doing much processing in here
|
|
onDragover: function onDragover(evt) {
|
|
stopEvent(evt);
|
|
this.dragging = true;
|
|
var _evt$dataTransfer3 = evt.dataTransfer,
|
|
dataTransfer = _evt$dataTransfer3 === void 0 ? {} : _evt$dataTransfer3; // Early exit when the input or dropping is disabled
|
|
|
|
if (this.noDrop || this.disabled || !this.dropAllowed) {
|
|
// Show deny feedback
|
|
|
|
/* istanbul ignore next: not supported in JSDOM */
|
|
dataTransfer.dropEffect = 'none';
|
|
this.dropAllowed = false;
|
|
return;
|
|
}
|
|
/* istanbul ignore next: not supported in JSDOM */
|
|
|
|
|
|
dataTransfer.dropEffect = 'copy';
|
|
},
|
|
onDragleave: function onDragleave(evt) {
|
|
var _this4 = this;
|
|
|
|
stopEvent(evt);
|
|
this.$nextTick(function () {
|
|
_this4.dragging = false; // Reset `dropAllowed` to default
|
|
|
|
_this4.dropAllowed = !_this4.noDrop;
|
|
});
|
|
},
|
|
// Triggered by a file drop onto drop target
|
|
onDrop: function onDrop(evt) {
|
|
var _this5 = this;
|
|
|
|
stopEvent(evt);
|
|
this.dragging = false; // Early exit when the input or dropping is disabled
|
|
|
|
if (this.noDrop || this.disabled || !this.dropAllowed) {
|
|
this.$nextTick(function () {
|
|
// Reset `dropAllowed` to default
|
|
_this5.dropAllowed = !_this5.noDrop;
|
|
});
|
|
return;
|
|
}
|
|
|
|
this.onChange(evt);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var custom = this.custom,
|
|
plain = this.plain,
|
|
size = this.size,
|
|
dragging = this.dragging,
|
|
stateClass = this.stateClass; // Form Input
|
|
|
|
var $input = h('input', {
|
|
ref: 'input',
|
|
class: [{
|
|
'form-control-file': plain,
|
|
'custom-file-input': custom,
|
|
focus: custom && this.hasFocus
|
|
}, stateClass],
|
|
// With IE 11, the input gets in the "way" of the drop events,
|
|
// so we move it out of the way by putting it behind the label
|
|
// Bootstrap v4 has it in front
|
|
style: custom ? {
|
|
zIndex: -5
|
|
} : {},
|
|
attrs: this.computedAttrs,
|
|
on: {
|
|
change: this.onChange,
|
|
focusin: this.focusHandler,
|
|
focusout: this.focusHandler,
|
|
reset: this.reset
|
|
}
|
|
});
|
|
|
|
if (plain) {
|
|
return $input;
|
|
} // Overlay label
|
|
|
|
|
|
var $label = h('label', {
|
|
staticClass: 'custom-file-label',
|
|
class: {
|
|
dragging: dragging
|
|
},
|
|
attrs: {
|
|
for: this.safeId(),
|
|
// This goes away in Bootstrap v5
|
|
'data-browse': this.browseText || null
|
|
}
|
|
}, [h('span', {
|
|
staticClass: 'd-block form-file-text',
|
|
// `pointer-events: none` is used to make sure
|
|
// the drag events fire only on the label
|
|
style: {
|
|
pointerEvents: 'none'
|
|
}
|
|
}, [this.labelContent])]); // Return rendered custom file input
|
|
|
|
return h('div', {
|
|
staticClass: 'custom-file b-form-file',
|
|
class: [_defineProperty({}, "b-custom-control-".concat(size), size), stateClass],
|
|
attrs: {
|
|
id: this.safeId('_BV_file_outer_')
|
|
},
|
|
on: {
|
|
dragenter: this.onDragenter,
|
|
dragover: this.onDragover,
|
|
dragleave: this.onDragleave,
|
|
drop: this.onDrop
|
|
}
|
|
}, [$input, $label]);
|
|
}
|
|
});
|
|
|
|
var FormFilePlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormFile: BFormFile,
|
|
BFile: BFormFile
|
|
}
|
|
});
|
|
|
|
var escapeChar = function escapeChar(value) {
|
|
return '\\' + value;
|
|
}; // The `cssEscape()` util is based on this `CSS.escape()` polyfill:
|
|
// https://github.com/mathiasbynens/CSS.escape
|
|
|
|
|
|
var cssEscape = function cssEscape(value) {
|
|
value = toString$1(value);
|
|
var length = value.length;
|
|
var firstCharCode = value.charCodeAt(0);
|
|
return value.split('').reduce(function (result, char, index) {
|
|
var charCode = value.charCodeAt(index); // If the character is NULL (U+0000), use (U+FFFD) as replacement
|
|
|
|
if (charCode === 0x0000) {
|
|
return result + "\uFFFD";
|
|
} // If the character ...
|
|
|
|
|
|
if ( // ... is U+007F OR
|
|
charCode === 0x007f || // ... is in the range [\1-\1F] (U+0001 to U+001F) OR ...
|
|
charCode >= 0x0001 && charCode <= 0x001f || // ... is the first character and is in the range [0-9] (U+0030 to U+0039) OR ...
|
|
index === 0 && charCode >= 0x0030 && charCode <= 0x0039 || // ... is the second character and is in the range [0-9] (U+0030 to U+0039)
|
|
// and the first character is a `-` (U+002D) ...
|
|
index === 1 && charCode >= 0x0030 && charCode <= 0x0039 && firstCharCode === 0x002d) {
|
|
// ... https://drafts.csswg.org/cssom/#escape-a-character-as-code-point
|
|
return result + escapeChar("".concat(charCode.toString(16), " "));
|
|
} // If the character ...
|
|
|
|
|
|
if ( // ... is the first character AND ...
|
|
index === 0 && // ... is a `-` (U+002D) AND ...
|
|
charCode === 0x002d && // ... there is no second character ...
|
|
length === 1) {
|
|
// ... use the escaped character
|
|
return result + escapeChar(char);
|
|
} // If the character ...
|
|
|
|
|
|
if ( // ... is greater than or equal to U+0080 OR ...
|
|
charCode >= 0x0080 || // ... is `-` (U+002D) OR ...
|
|
charCode === 0x002d || // ... is `_` (U+005F) OR ...
|
|
charCode === 0x005f || // ... is in the range [0-9] (U+0030 to U+0039) OR ...
|
|
charCode >= 0x0030 && charCode <= 0x0039 || // ... is in the range [A-Z] (U+0041 to U+005A) OR ...
|
|
charCode >= 0x0041 && charCode <= 0x005a || // ... is in the range [a-z] (U+0061 to U+007A) ...
|
|
charCode >= 0x0061 && charCode <= 0x007a) {
|
|
// ... use the character itself
|
|
return result + char;
|
|
} // Otherwise use the escaped character
|
|
// See: https://drafts.csswg.org/cssom/#escape-a-character
|
|
|
|
|
|
return result + escapeChar(char);
|
|
}, '');
|
|
};
|
|
|
|
var ALIGN_SELF_VALUES = ['auto', 'start', 'end', 'center', 'baseline', 'stretch']; // Generates a prop object with a type of `[Boolean, String, Number]`
|
|
|
|
var boolStrNum = function boolStrNum() {
|
|
return {
|
|
type: [Boolean, String, Number],
|
|
default: false
|
|
};
|
|
}; // Generates a prop object with a type of `[String, Number]`
|
|
|
|
|
|
var strNum = function strNum() {
|
|
return {
|
|
type: [String, Number],
|
|
default: null
|
|
};
|
|
}; // Compute a breakpoint class name
|
|
|
|
|
|
var computeBreakpoint = function computeBreakpoint(type, breakpoint, val) {
|
|
var className = type;
|
|
|
|
if (isUndefinedOrNull(val) || val === false) {
|
|
return undefined;
|
|
}
|
|
|
|
if (breakpoint) {
|
|
className += "-".concat(breakpoint);
|
|
} // Handling the boolean style prop when accepting [Boolean, String, Number]
|
|
// means Vue will not convert <b-col sm></b-col> to sm: true for us.
|
|
// Since the default is false, an empty string indicates the prop's presence.
|
|
|
|
|
|
if (type === 'col' && (val === '' || val === true)) {
|
|
// .col-md
|
|
return lowerCase(className);
|
|
} // .order-md-6
|
|
|
|
|
|
className += "-".concat(val);
|
|
return lowerCase(className);
|
|
}; // Memoized function for better performance on generating class names
|
|
|
|
|
|
var computeBreakpointClass = memoize(computeBreakpoint); // Cached copy of the breakpoint prop names
|
|
|
|
var breakpointPropMap = create(null); // Lazy evaled props factory for BCol
|
|
|
|
var generateProps = function generateProps() {
|
|
// Grab the breakpoints from the cached config (exclude the '' (xs) breakpoint)
|
|
var breakpoints = getBreakpointsUpCached().filter(identity); // Supports classes like: .col-sm, .col-md-6, .col-lg-auto
|
|
|
|
var breakpointCol = breakpoints.reduce(function (propMap, breakpoint) {
|
|
if (breakpoint) {
|
|
// We filter out the '' breakpoint (xs), as making a prop name ''
|
|
// would not work. The `cols` prop is used for `xs`
|
|
propMap[breakpoint] = boolStrNum();
|
|
}
|
|
|
|
return propMap;
|
|
}, create(null)); // Supports classes like: .offset-md-1, .offset-lg-12
|
|
|
|
var breakpointOffset = breakpoints.reduce(function (propMap, breakpoint) {
|
|
propMap[suffixPropName(breakpoint, 'offset')] = strNum();
|
|
return propMap;
|
|
}, create(null)); // Supports classes like: .order-md-1, .order-lg-12
|
|
|
|
var breakpointOrder = breakpoints.reduce(function (propMap, breakpoint) {
|
|
propMap[suffixPropName(breakpoint, 'order')] = strNum();
|
|
return propMap;
|
|
}, create(null)); // For loop doesn't need to check hasOwnProperty
|
|
// when using an object created from null
|
|
|
|
breakpointPropMap = assign(create(null), {
|
|
col: keys(breakpointCol),
|
|
offset: keys(breakpointOffset),
|
|
order: keys(breakpointOrder)
|
|
}); // Return the generated props
|
|
|
|
return _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
|
|
// Generic flexbox .col (xs)
|
|
col: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
// .col-[1-12]|auto (xs)
|
|
cols: strNum()
|
|
}, breakpointCol), {}, {
|
|
offset: strNum()
|
|
}, breakpointOffset), {}, {
|
|
order: strNum()
|
|
}, breakpointOrder), {}, {
|
|
// Flex alignment
|
|
alignSelf: {
|
|
type: String,
|
|
default: null,
|
|
validator: function validator(value) {
|
|
return arrayIncludes(ALIGN_SELF_VALUES, value);
|
|
}
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
}
|
|
});
|
|
}; // We do not use Vue.extend here as that would evaluate the props
|
|
// immediately, which we do not want to happen
|
|
// @vue/component
|
|
|
|
|
|
var BCol = {
|
|
name: NAME_COL,
|
|
functional: true,
|
|
|
|
get props() {
|
|
// Allow props to be lazy evaled on first access and
|
|
// then they become a non-getter afterwards.
|
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get#Smart_self-overwriting_lazy_getters
|
|
delete this.props; // eslint-disable-next-line no-return-assign
|
|
|
|
return this.props = generateProps();
|
|
},
|
|
|
|
render: function render(h, _ref) {
|
|
var _classList$push;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var classList = []; // Loop through `col`, `offset`, `order` breakpoint props
|
|
|
|
for (var type in breakpointPropMap) {
|
|
// Returns colSm, offset, offsetSm, orderMd, etc.
|
|
var _keys = breakpointPropMap[type];
|
|
|
|
for (var i = 0; i < _keys.length; i++) {
|
|
// computeBreakpoint(col, colSm => Sm, value=[String, Number, Boolean])
|
|
var c = computeBreakpointClass(type, _keys[i].replace(type, ''), props[_keys[i]]); // If a class is returned, push it onto the array.
|
|
|
|
if (c) {
|
|
classList.push(c);
|
|
}
|
|
}
|
|
}
|
|
|
|
var hasColClasses = classList.some(function (className) {
|
|
return RX_COL_CLASS.test(className);
|
|
});
|
|
classList.push((_classList$push = {
|
|
// Default to .col if no other col-{bp}-* classes generated nor `cols` specified.
|
|
col: props.col || !hasColClasses && !props.cols
|
|
}, _defineProperty(_classList$push, "col-".concat(props.cols), props.cols), _defineProperty(_classList$push, "offset-".concat(props.offset), props.offset), _defineProperty(_classList$push, "order-".concat(props.order), props.order), _defineProperty(_classList$push, "align-self-".concat(props.alignSelf), props.alignSelf), _classList$push));
|
|
return h(props.tag, mergeData(data, {
|
|
class: classList
|
|
}), children);
|
|
}
|
|
};
|
|
|
|
// Selector for finding first input in the form-group
|
|
|
|
var INPUT_SELECTOR = 'input:not([disabled]),textarea:not([disabled]),select:not([disabled])'; // A list of interactive elements (tag names) inside `<b-form-group>`'s legend
|
|
|
|
var LEGEND_INTERACTIVE_ELEMENTS = ['input', 'select', 'textarea', 'label', 'button', 'a']; // -- BFormGroup prop factory -- used for lazy generation of props
|
|
// Memoize this function to return cached values to
|
|
// save time in computed functions
|
|
|
|
var makePropName = memoize(function () {
|
|
var breakpoint = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
return "".concat(prefix).concat(upperFirst(breakpoint));
|
|
}); // BFormGroup prop generator for lazy generation of props
|
|
|
|
var generateProps$1 = function generateProps() {
|
|
var CODE_BREAKPOINTS = getBreakpointsUpCached(); // Generate the `labelCol` breakpoint props
|
|
|
|
var bpLabelColProps = CODE_BREAKPOINTS.reduce(function (props, breakpoint) {
|
|
// i.e. 'label-cols', 'label-cols-sm', 'label-cols-md', ...
|
|
props[makePropName(breakpoint, 'labelCols')] = {
|
|
type: [Number, String, Boolean],
|
|
default: breakpoint ? false : null
|
|
};
|
|
return props;
|
|
}, create(null)); // Generate the `labelAlign` breakpoint props
|
|
|
|
var bpLabelAlignProps = CODE_BREAKPOINTS.reduce(function (props, breakpoint) {
|
|
// 'label-align', 'bel-align-sm', 'label-align-md', ...
|
|
props[makePropName(breakpoint, 'labelAlign')] = {
|
|
type: String // left, right, center
|
|
// default: null
|
|
|
|
};
|
|
return props;
|
|
}, create(null));
|
|
return makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$E), {}, {
|
|
label: {
|
|
type: String // default: null
|
|
|
|
},
|
|
labelFor: {
|
|
type: String // default: null
|
|
|
|
},
|
|
labelSize: {
|
|
type: String // default: null
|
|
|
|
},
|
|
labelSrOnly: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, bpLabelColProps), bpLabelAlignProps), {}, {
|
|
labelClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
description: {
|
|
type: String // default: null
|
|
|
|
},
|
|
invalidFeedback: {
|
|
type: String // default: null
|
|
|
|
},
|
|
validFeedback: {
|
|
type: String // default: null
|
|
|
|
},
|
|
tooltip: {
|
|
// Enable tooltip style feedback
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
feedbackAriaLive: {
|
|
type: String,
|
|
default: 'assertive'
|
|
},
|
|
validated: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_FORM_GROUP);
|
|
}; // We do not use Vue.extend here as that would evaluate the props
|
|
// immediately, which we do not want to happen
|
|
// @vue/component
|
|
|
|
|
|
var BFormGroup = {
|
|
name: NAME_FORM_GROUP,
|
|
mixins: [idMixin, formStateMixin, normalizeSlotMixin],
|
|
|
|
get props() {
|
|
// Allow props to be lazy evaled on first access and
|
|
// then they become a non-getter afterwards
|
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get#Smart_self-overwriting_lazy_getters
|
|
delete this.props; // eslint-disable-next-line no-return-assign
|
|
|
|
return this.props = generateProps$1();
|
|
},
|
|
|
|
data: function data() {
|
|
return {
|
|
describedByIds: ''
|
|
};
|
|
},
|
|
computed: {
|
|
labelColProps: function labelColProps() {
|
|
var _this = this;
|
|
|
|
var props = {};
|
|
getBreakpointsUpCached().forEach(function (breakpoint) {
|
|
// Grab the value if the label column breakpoint prop
|
|
var propVal = _this[makePropName(breakpoint, 'labelCols')]; // Handle case where the prop's value is an empty string,
|
|
// which represents `true`
|
|
|
|
|
|
propVal = propVal === '' ? true : propVal || false;
|
|
|
|
if (!isBoolean(propVal) && propVal !== 'auto') {
|
|
// Convert to column size to number
|
|
propVal = toInteger(propVal, 0); // Ensure column size is greater than `0`
|
|
|
|
propVal = propVal > 0 ? propVal : false;
|
|
}
|
|
|
|
if (propVal) {
|
|
// Add the prop to the list of props to give to `<b-col>`
|
|
// If breakpoint is '' (`labelCols` is `true`), then we use the
|
|
// col prop to make equal width at 'xs'
|
|
props[breakpoint || (isBoolean(propVal) ? 'col' : 'cols')] = propVal;
|
|
}
|
|
});
|
|
return props;
|
|
},
|
|
labelAlignClasses: function labelAlignClasses() {
|
|
var _this2 = this;
|
|
|
|
var classes = [];
|
|
getBreakpointsUpCached().forEach(function (breakpoint) {
|
|
// Assemble the label column breakpoint align classes
|
|
var propVal = _this2[makePropName(breakpoint, 'labelAlign')] || null;
|
|
|
|
if (propVal) {
|
|
var className = breakpoint ? "text-".concat(breakpoint, "-").concat(propVal) : "text-".concat(propVal);
|
|
classes.push(className);
|
|
}
|
|
});
|
|
return classes;
|
|
},
|
|
isHorizontal: function isHorizontal() {
|
|
// Determine if the resultant form-group will be rendered
|
|
// horizontal (meaning it has label-col breakpoints)
|
|
return keys(this.labelColProps).length > 0;
|
|
}
|
|
},
|
|
watch: {
|
|
describedByIds: function describedByIds(newValue, oldValue) {
|
|
if (newValue !== oldValue) {
|
|
this.setInputDescribedBy(newValue, oldValue);
|
|
}
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
var _this3 = this;
|
|
|
|
this.$nextTick(function () {
|
|
// Set the `aria-describedby` IDs on the input specified by `label-for`
|
|
// We do this in a `$nextTick()` to ensure the children have finished rendering
|
|
_this3.setInputDescribedBy(_this3.describedByIds);
|
|
});
|
|
},
|
|
methods: {
|
|
legendClick: function legendClick(evt) {
|
|
// Don't do anything if labelFor is set
|
|
|
|
/* istanbul ignore next: clicking a label will focus the input, so no need to test */
|
|
if (this.labelFor) {
|
|
return;
|
|
}
|
|
|
|
var target = evt.target;
|
|
var tagName = target ? target.tagName : ''; // If clicked an interactive element inside legend,
|
|
// we just let the default happen
|
|
|
|
/* istanbul ignore next */
|
|
|
|
if (LEGEND_INTERACTIVE_ELEMENTS.indexOf(tagName) !== -1) {
|
|
return;
|
|
}
|
|
|
|
var inputs = selectAll(INPUT_SELECTOR, this.$refs.content).filter(isVisible); // If only a single input, focus it, emulating label behaviour
|
|
|
|
if (inputs && inputs.length === 1) {
|
|
attemptFocus(inputs[0]);
|
|
}
|
|
},
|
|
// Sets the `aria-describedby` attribute on the input if label-for is set
|
|
// Optionally accepts a string of IDs to remove as the second parameter
|
|
// Preserves any `aria-describedby` value(s) user may have on input
|
|
setInputDescribedBy: function setInputDescribedBy(add, remove) {
|
|
if (this.labelFor && isBrowser) {
|
|
// We need to escape `labelFor` since it can be user-provided
|
|
var input = select("#".concat(cssEscape(this.labelFor)), this.$refs.content);
|
|
|
|
if (input) {
|
|
var adb = 'aria-describedby';
|
|
var ids = (getAttr(input, adb) || '').split(/\s+/);
|
|
add = (add || '').split(/\s+/);
|
|
remove = (remove || '').split(/\s+/); // Update ID list, preserving any original IDs
|
|
// and ensuring the ID's are unique
|
|
|
|
ids = ids.filter(function (id) {
|
|
return !arrayIncludes(remove, id);
|
|
}).concat(add).filter(Boolean);
|
|
ids = keys(ids.reduce(function (memo, id) {
|
|
return _objectSpread2(_objectSpread2({}, memo), {}, _defineProperty({}, id, true));
|
|
}, {})).join(' ').trim();
|
|
|
|
if (ids) {
|
|
setAttr(input, adb, ids);
|
|
} else {
|
|
// No IDs, so remove the attribute
|
|
removeAttr(input, adb);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var labelFor = this.labelFor,
|
|
tooltip = this.tooltip,
|
|
feedbackAriaLive = this.feedbackAriaLive,
|
|
state = this.computedState,
|
|
isHorizontal = this.isHorizontal,
|
|
normalizeSlot = this.normalizeSlot;
|
|
var isFieldset = !labelFor;
|
|
var $label = h();
|
|
var labelContent = normalizeSlot(SLOT_NAME_LABEL) || this.label;
|
|
var labelId = labelContent ? this.safeId('_BV_label_') : null;
|
|
|
|
if (labelContent || isHorizontal) {
|
|
var labelSize = this.labelSize,
|
|
labelColProps = this.labelColProps;
|
|
var isLegend = isFieldset;
|
|
var labelTag = isLegend ? 'legend' : 'label';
|
|
|
|
if (this.labelSrOnly) {
|
|
if (labelContent) {
|
|
$label = h(labelTag, {
|
|
class: 'sr-only',
|
|
attrs: {
|
|
id: labelId,
|
|
for: labelFor || null
|
|
}
|
|
}, [labelContent]);
|
|
}
|
|
|
|
$label = h(isHorizontal ? BCol : 'div', {
|
|
props: isHorizontal ? labelColProps : {}
|
|
}, [$label]);
|
|
} else {
|
|
$label = h(isHorizontal ? BCol : labelTag, {
|
|
on: isLegend ? {
|
|
click: this.legendClick
|
|
} : {},
|
|
props: isHorizontal ? _objectSpread2({
|
|
tag: labelTag
|
|
}, labelColProps) : {},
|
|
attrs: {
|
|
id: labelId,
|
|
for: labelFor || null,
|
|
// We add a `tabindex` to legend so that screen readers
|
|
// will properly read the `aria-labelledby` in IE
|
|
tabindex: isLegend ? '-1' : null
|
|
},
|
|
class: [// Hide the focus ring on the legend
|
|
isLegend ? 'bv-no-focus-ring' : '', // When horizontal or if a legend is rendered, add 'col-form-label' class
|
|
// for correct sizing as Bootstrap has inconsistent font styling for
|
|
// legend in non-horizontal form-groups
|
|
// See: https://github.com/twbs/bootstrap/issues/27805
|
|
isHorizontal || isLegend ? 'col-form-label' : '', // Emulate label padding top of `0` on legend when not horizontal
|
|
!isHorizontal && isLegend ? 'pt-0' : '', // If not horizontal and not a legend, we add 'd-block' class to label
|
|
// so that label-align works
|
|
!isHorizontal && !isLegend ? 'd-block' : '', labelSize ? "col-form-label-".concat(labelSize) : '', this.labelAlignClasses, this.labelClass]
|
|
}, [labelContent]);
|
|
}
|
|
}
|
|
|
|
var $invalidFeedback = h();
|
|
var invalidFeedbackContent = normalizeSlot('invalid-feedback') || this.invalidFeedback;
|
|
var invalidFeedbackId = invalidFeedbackContent ? this.safeId('_BV_feedback_invalid_') : null;
|
|
|
|
if (invalidFeedbackContent) {
|
|
$invalidFeedback = h(BFormInvalidFeedback, {
|
|
props: {
|
|
id: invalidFeedbackId,
|
|
// If state is explicitly `false`, always show the feedback
|
|
state: state,
|
|
tooltip: tooltip,
|
|
ariaLive: feedbackAriaLive,
|
|
role: feedbackAriaLive ? 'alert' : null
|
|
},
|
|
attrs: {
|
|
tabindex: invalidFeedbackContent ? '-1' : null
|
|
}
|
|
}, [invalidFeedbackContent]);
|
|
}
|
|
|
|
var $validFeedback = h();
|
|
var validFeedbackContent = normalizeSlot('valid-feedback') || this.validFeedback;
|
|
var validFeedbackId = validFeedbackContent ? this.safeId('_BV_feedback_valid_') : null;
|
|
|
|
if (validFeedbackContent) {
|
|
$validFeedback = h(BFormValidFeedback, {
|
|
props: {
|
|
id: validFeedbackId,
|
|
// If state is explicitly `true`, always show the feedback
|
|
state: state,
|
|
tooltip: tooltip,
|
|
ariaLive: feedbackAriaLive,
|
|
role: feedbackAriaLive ? 'alert' : null
|
|
},
|
|
attrs: {
|
|
tabindex: validFeedbackContent ? '-1' : null
|
|
}
|
|
}, [validFeedbackContent]);
|
|
}
|
|
|
|
var $description = h();
|
|
var descriptionContent = normalizeSlot(SLOT_NAME_DESCRIPTION) || this.description;
|
|
var descriptionId = descriptionContent ? this.safeId('_BV_description_') : null;
|
|
|
|
if (descriptionContent) {
|
|
$description = h(BFormText, {
|
|
attrs: {
|
|
id: descriptionId,
|
|
tabindex: descriptionContent ? '-1' : null
|
|
}
|
|
}, [descriptionContent]);
|
|
}
|
|
|
|
var $content = h(isHorizontal ? BCol : 'div', {
|
|
ref: 'content',
|
|
// Hide focus ring
|
|
staticClass: 'bv-no-focus-ring',
|
|
attrs: {
|
|
tabindex: isFieldset ? '-1' : null,
|
|
role: isFieldset ? 'group' : null,
|
|
'aria-labelledby': isFieldset ? labelId : null
|
|
}
|
|
}, [normalizeSlot() || h(), $invalidFeedback, $validFeedback, $description]); // Update the `aria-describedby` IDs
|
|
// Screen readers will read out any content linked to by `aria-describedby`
|
|
// even if the content is hidden with `display: none;`, hence we only include
|
|
// feedback IDs if the form-group's state is explicitly valid or invalid
|
|
|
|
this.describedByIds = [descriptionId, state === false ? invalidFeedbackId : null, state === true ? validFeedbackId : null].filter(Boolean).join(' '); // Return it wrapped in a form-group
|
|
// Note: Fieldsets do not support adding `row` or `form-row` directly
|
|
// to them due to browser specific render issues, so we move the `form-row`
|
|
// to an inner wrapper div when horizontal and using a fieldset
|
|
|
|
return h(isFieldset ? 'fieldset' : isHorizontal ? BFormRow : 'div', {
|
|
staticClass: 'form-group',
|
|
class: [this.validated ? 'was-validated' : null, this.stateClass],
|
|
attrs: {
|
|
id: this.safeId(),
|
|
disabled: isFieldset ? this.disabled : null,
|
|
role: isFieldset ? null : 'group',
|
|
'aria-invalid': state === false ? 'true' : null,
|
|
// Only apply aria-labelledby if we are a horizontal fieldset
|
|
// as the legend is no longer a direct child of fieldset
|
|
'aria-labelledby': isFieldset && isHorizontal ? labelId : null,
|
|
// Only apply `aria-describedby` IDs if we are a fieldset
|
|
// as the input will have the IDs when not a fieldset
|
|
'aria-describedby': isFieldset ? this.describedByIds : null
|
|
}
|
|
}, isHorizontal && isFieldset ? [h(BFormRow, [$label, $content])] : [$label, $content]);
|
|
}
|
|
};
|
|
|
|
var FormGroupPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormGroup: BFormGroup,
|
|
BFormFieldset: BFormGroup
|
|
}
|
|
});
|
|
|
|
// @vue/component
|
|
var formSelectionMixin = {
|
|
computed: {
|
|
selectionStart: {
|
|
// Expose selectionStart for formatters, etc
|
|
cache: false,
|
|
|
|
/* istanbul ignore next */
|
|
get: function get() {
|
|
return this.$refs.input.selectionStart;
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
set: function set(val) {
|
|
this.$refs.input.selectionStart = val;
|
|
}
|
|
},
|
|
selectionEnd: {
|
|
// Expose selectionEnd for formatters, etc
|
|
cache: false,
|
|
|
|
/* istanbul ignore next */
|
|
get: function get() {
|
|
return this.$refs.input.selectionEnd;
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
set: function set(val) {
|
|
this.$refs.input.selectionEnd = val;
|
|
}
|
|
},
|
|
selectionDirection: {
|
|
// Expose selectionDirection for formatters, etc
|
|
cache: false,
|
|
|
|
/* istanbul ignore next */
|
|
get: function get() {
|
|
return this.$refs.input.selectionDirection;
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
set: function set(val) {
|
|
this.$refs.input.selectionDirection = val;
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
/* istanbul ignore next */
|
|
select: function select() {
|
|
var _this$$refs$input;
|
|
|
|
// For external handler that may want a select() method
|
|
(_this$$refs$input = this.$refs.input).select.apply(_this$$refs$input, arguments);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
setSelectionRange: function setSelectionRange() {
|
|
var _this$$refs$input2;
|
|
|
|
// For external handler that may want a setSelectionRange(a,b,c) method
|
|
(_this$$refs$input2 = this.$refs.input).setSelectionRange.apply(_this$$refs$input2, arguments);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
setRangeText: function setRangeText() {
|
|
var _this$$refs$input3;
|
|
|
|
// For external handler that may want a setRangeText(a,b,c) method
|
|
(_this$$refs$input3 = this.$refs.input).setRangeText.apply(_this$$refs$input3, arguments);
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$I = makePropsConfigurable({
|
|
value: {
|
|
type: [String, Number],
|
|
default: ''
|
|
},
|
|
ariaInvalid: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
plaintext: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
autocomplete: {
|
|
type: String // default: null
|
|
|
|
},
|
|
placeholder: {
|
|
type: String // default: null
|
|
|
|
},
|
|
formatter: {
|
|
type: Function // default: null
|
|
|
|
},
|
|
lazyFormatter: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
trim: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
number: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
lazy: {
|
|
// Only update the `v-model` on blur/change events
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
debounce: {
|
|
// Debounce timeout (in ms). Not applicable with `lazy` prop
|
|
type: [Number, String],
|
|
default: 0
|
|
}
|
|
}, 'formTextControls'); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var formTextMixin = {
|
|
model: {
|
|
prop: 'value',
|
|
event: 'update'
|
|
},
|
|
props: props$I,
|
|
data: function data() {
|
|
return {
|
|
localValue: toString$1(this.value),
|
|
vModelValue: this.value
|
|
};
|
|
},
|
|
computed: {
|
|
computedClass: function computedClass() {
|
|
return [{
|
|
// Range input needs class `custom-range`
|
|
'custom-range': this.type === 'range',
|
|
// `plaintext` not supported by `type="range"` or `type="color"`
|
|
'form-control-plaintext': this.plaintext && this.type !== 'range' && this.type !== 'color',
|
|
// `form-control` not used by `type="range"` or `plaintext`
|
|
// Always used by `type="color"`
|
|
'form-control': !this.plaintext && this.type !== 'range' || this.type === 'color'
|
|
}, this.sizeFormClass, this.stateClass];
|
|
},
|
|
computedAriaInvalid: function computedAriaInvalid() {
|
|
if (!this.ariaInvalid || this.ariaInvalid === 'false') {
|
|
// `this.ariaInvalid` is `null` or `false` or 'false'
|
|
return this.computedState === false ? 'true' : null;
|
|
}
|
|
|
|
if (this.ariaInvalid === true) {
|
|
// User wants explicit `:aria-invalid="true"`
|
|
return 'true';
|
|
} // Most likely a string value (which could be the string 'true')
|
|
|
|
|
|
return this.ariaInvalid;
|
|
},
|
|
computedDebounce: function computedDebounce() {
|
|
// Ensure we have a positive number equal to or greater than 0
|
|
return mathMax(toInteger(this.debounce, 0), 0);
|
|
},
|
|
hasFormatter: function hasFormatter() {
|
|
var result = null;
|
|
|
|
try {
|
|
result = this.formatter();
|
|
} catch (_unused) {}
|
|
|
|
return !isUndefined(result);
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newVal) {
|
|
var stringifyValue = toString$1(newVal);
|
|
|
|
if (stringifyValue !== this.localValue && newVal !== this.vModelValue) {
|
|
// Clear any pending debounce timeout, as we are overwriting the user input
|
|
this.clearDebounce(); // Update the local values
|
|
|
|
this.localValue = stringifyValue;
|
|
this.vModelValue = newVal;
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Create private non-reactive props
|
|
this.$_inputDebounceTimer = null;
|
|
},
|
|
mounted: function mounted() {
|
|
// Set up destroy handler
|
|
this.$on('hook:beforeDestroy', this.clearDebounce); // Preset the internal state
|
|
|
|
var value = this.value;
|
|
var stringifyValue = toString$1(value);
|
|
/* istanbul ignore next */
|
|
|
|
if (stringifyValue !== this.localValue && value !== this.vModelValue) {
|
|
this.localValue = stringifyValue;
|
|
this.vModelValue = value;
|
|
}
|
|
},
|
|
methods: {
|
|
clearDebounce: function clearDebounce() {
|
|
clearTimeout(this.$_inputDebounceTimer);
|
|
this.$_inputDebounceTimer = null;
|
|
},
|
|
formatValue: function formatValue(value, evt) {
|
|
var force = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
value = toString$1(value);
|
|
|
|
if (this.hasFormatter && (!this.lazyFormatter || force)) {
|
|
value = this.formatter(value, evt);
|
|
}
|
|
|
|
return value;
|
|
},
|
|
modifyValue: function modifyValue(value) {
|
|
// Emulate `.trim` modifier behaviour
|
|
if (this.trim) {
|
|
value = value.trim();
|
|
} // Emulate `.number` modifier behaviour
|
|
|
|
|
|
if (this.number) {
|
|
value = toFloat(value, value);
|
|
}
|
|
|
|
return value;
|
|
},
|
|
updateValue: function updateValue(value) {
|
|
var _this = this;
|
|
|
|
var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
var lazy = this.lazy;
|
|
|
|
if (lazy && !force) {
|
|
return;
|
|
} // Make sure to always clear the debounce when `updateValue()`
|
|
// is called, even when the v-model hasn't changed
|
|
|
|
|
|
this.clearDebounce(); // Define the shared update logic in a method to be able to use
|
|
// it for immediate and debounced value changes
|
|
|
|
var doUpdate = function doUpdate() {
|
|
value = _this.modifyValue(value);
|
|
|
|
if (value !== _this.vModelValue) {
|
|
_this.vModelValue = value;
|
|
|
|
_this.$emit('update', value);
|
|
} else if (_this.hasFormatter) {
|
|
// When the `vModelValue` hasn't changed but the actual input value
|
|
// is out of sync, make sure to change it to the given one
|
|
// Usually caused by browser autocomplete and how it triggers the
|
|
// change or input event, or depending on the formatter function
|
|
// https://github.com/bootstrap-vue/bootstrap-vue/issues/2657
|
|
// https://github.com/bootstrap-vue/bootstrap-vue/issues/3498
|
|
|
|
/* istanbul ignore next: hard to test */
|
|
var $input = _this.$refs.input;
|
|
/* istanbul ignore if: hard to test out of sync value */
|
|
|
|
if ($input && value !== $input.value) {
|
|
$input.value = value;
|
|
}
|
|
}
|
|
}; // Only debounce the value update when a value greater than `0`
|
|
// is set and we are not in lazy mode or this is a forced update
|
|
|
|
|
|
var debounce = this.computedDebounce;
|
|
|
|
if (debounce > 0 && !lazy && !force) {
|
|
this.$_inputDebounceTimer = setTimeout(doUpdate, debounce);
|
|
} else {
|
|
// Immediately update the v-model
|
|
doUpdate();
|
|
}
|
|
},
|
|
onInput: function onInput(evt) {
|
|
// `evt.target.composing` is set by Vue
|
|
// https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/directives/model.js
|
|
// TODO: Is this needed now with the latest Vue?
|
|
|
|
/* istanbul ignore if: hard to test composition events */
|
|
if (evt.target.composing) {
|
|
return;
|
|
}
|
|
|
|
var value = evt.target.value;
|
|
var formattedValue = this.formatValue(value, evt); // Exit when the `formatter` function strictly returned `false`
|
|
// or prevented the input event
|
|
|
|
/* istanbul ignore next */
|
|
|
|
if (formattedValue === false || evt.defaultPrevented) {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
return;
|
|
}
|
|
|
|
this.localValue = formattedValue;
|
|
this.updateValue(formattedValue);
|
|
this.$emit('input', formattedValue);
|
|
},
|
|
onChange: function onChange(evt) {
|
|
var value = evt.target.value;
|
|
var formattedValue = this.formatValue(value, evt); // Exit when the `formatter` function strictly returned `false`
|
|
// or prevented the input event
|
|
|
|
/* istanbul ignore next */
|
|
|
|
if (formattedValue === false || evt.defaultPrevented) {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
return;
|
|
}
|
|
|
|
this.localValue = formattedValue;
|
|
this.updateValue(formattedValue, true);
|
|
this.$emit('change', formattedValue);
|
|
},
|
|
onBlur: function onBlur(evt) {
|
|
// Apply the `localValue` on blur to prevent cursor jumps
|
|
// on mobile browsers (e.g. caused by autocomplete)
|
|
var value = evt.target.value;
|
|
var formattedValue = this.formatValue(value, evt, true);
|
|
|
|
if (formattedValue !== false) {
|
|
// We need to use the modified value here to apply the
|
|
// `.trim` and `.number` modifiers properly
|
|
this.localValue = toString$1(this.modifyValue(formattedValue)); // We pass the formatted value here since the `updateValue` method
|
|
// handles the modifiers itself
|
|
|
|
this.updateValue(formattedValue, true);
|
|
} // Emit native blur event
|
|
|
|
|
|
this.$emit('blur', evt);
|
|
},
|
|
focus: function focus() {
|
|
// For external handler that may want a focus method
|
|
if (!this.disabled) {
|
|
attemptFocus(this.$el);
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
// For external handler that may want a blur method
|
|
if (!this.disabled) {
|
|
attemptBlur(this.$el);
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
// @vue/component
|
|
var formValidityMixin = {
|
|
computed: {
|
|
validity: {
|
|
// Expose validity property
|
|
cache: false,
|
|
|
|
/* istanbul ignore next */
|
|
get: function get() {
|
|
return this.$refs.input.validity;
|
|
}
|
|
},
|
|
validationMessage: {
|
|
// Expose validationMessage property
|
|
cache: false,
|
|
|
|
/* istanbul ignore next */
|
|
get: function get() {
|
|
return this.$refs.input.validationMessage;
|
|
}
|
|
},
|
|
willValidate: {
|
|
// Expose willValidate property
|
|
cache: false,
|
|
|
|
/* istanbul ignore next */
|
|
get: function get() {
|
|
return this.$refs.input.willValidate;
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
/* istanbul ignore next */
|
|
setCustomValidity: function setCustomValidity() {
|
|
var _this$$refs$input;
|
|
|
|
// For external handler that may want a setCustomValidity(...) method
|
|
return (_this$$refs$input = this.$refs.input).setCustomValidity.apply(_this$$refs$input, arguments);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
checkValidity: function checkValidity() {
|
|
var _this$$refs$input2;
|
|
|
|
// For external handler that may want a checkValidity(...) method
|
|
return (_this$$refs$input2 = this.$refs.input).checkValidity.apply(_this$$refs$input2, arguments);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
reportValidity: function reportValidity() {
|
|
var _this$$refs$input3;
|
|
|
|
// For external handler that may want a reportValidity(...) method
|
|
return (_this$$refs$input3 = this.$refs.input).reportValidity.apply(_this$$refs$input3, arguments);
|
|
}
|
|
}
|
|
};
|
|
|
|
// Valid supported input types
|
|
|
|
var TYPES$1 = ['text', 'password', 'email', 'number', 'url', 'tel', 'search', 'range', 'color', 'date', 'time', 'datetime', 'datetime-local', 'month', 'week']; // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BFormInput = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_INPUT,
|
|
// Mixin order is important!
|
|
mixins: [listenersMixin, idMixin, formControlMixin, formSizeMixin, formStateMixin, formTextMixin, formSelectionMixin, formValidityMixin],
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$A), props$D), props$E), props$I), {}, {
|
|
// `value` prop is defined in form-text mixin
|
|
type: {
|
|
type: String,
|
|
default: 'text',
|
|
validator: function validator(type) {
|
|
return arrayIncludes(TYPES$1, type);
|
|
}
|
|
},
|
|
noWheel: {
|
|
// Disable mousewheel to prevent wheel from
|
|
// changing values (i.e. number/date)
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
min: {
|
|
type: [String, Number] // default: null
|
|
|
|
},
|
|
max: {
|
|
type: [String, Number] // default: null
|
|
|
|
},
|
|
step: {
|
|
type: [String, Number] // default: null
|
|
|
|
},
|
|
list: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}), NAME_FORM_INPUT),
|
|
computed: {
|
|
localType: function localType() {
|
|
// We only allow certain types
|
|
return arrayIncludes(TYPES$1, this.type) ? this.type : 'text';
|
|
},
|
|
computedAttrs: function computedAttrs() {
|
|
var type = this.localType,
|
|
disabled = this.disabled,
|
|
placeholder = this.placeholder,
|
|
required = this.required,
|
|
min = this.min,
|
|
max = this.max,
|
|
step = this.step;
|
|
return {
|
|
id: this.safeId(),
|
|
name: this.name || null,
|
|
form: this.form || null,
|
|
type: type,
|
|
disabled: disabled,
|
|
placeholder: placeholder,
|
|
required: required,
|
|
autocomplete: this.autocomplete || null,
|
|
readonly: this.readonly || this.plaintext,
|
|
min: min,
|
|
max: max,
|
|
step: step,
|
|
list: type !== 'password' ? this.list : null,
|
|
'aria-required': required ? 'true' : null,
|
|
'aria-invalid': this.computedAriaInvalid
|
|
};
|
|
},
|
|
computedListeners: function computedListeners() {
|
|
return _objectSpread2(_objectSpread2({}, this.bvListeners), {}, {
|
|
input: this.onInput,
|
|
change: this.onChange,
|
|
blur: this.onBlur
|
|
});
|
|
}
|
|
},
|
|
watch: {
|
|
noWheel: function noWheel(newVal) {
|
|
this.setWheelStopper(newVal);
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
this.setWheelStopper(this.noWheel);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
deactivated: function deactivated() {
|
|
// Turn off listeners when keep-alive component deactivated
|
|
|
|
/* istanbul ignore next */
|
|
this.setWheelStopper(false);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
activated: function activated() {
|
|
// Turn on listeners (if no-wheel) when keep-alive component activated
|
|
|
|
/* istanbul ignore next */
|
|
this.setWheelStopper(this.noWheel);
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
/* istanbul ignore next */
|
|
this.setWheelStopper(false);
|
|
},
|
|
methods: {
|
|
setWheelStopper: function setWheelStopper(on) {
|
|
var input = this.$el; // We use native events, so that we don't interfere with propagation
|
|
|
|
eventOnOff(on, input, 'focus', this.onWheelFocus);
|
|
eventOnOff(on, input, 'blur', this.onWheelBlur);
|
|
|
|
if (!on) {
|
|
eventOff(document, 'wheel', this.stopWheel);
|
|
}
|
|
},
|
|
onWheelFocus: function onWheelFocus() {
|
|
eventOn(document, 'wheel', this.stopWheel);
|
|
},
|
|
onWheelBlur: function onWheelBlur() {
|
|
eventOff(document, 'wheel', this.stopWheel);
|
|
},
|
|
stopWheel: function stopWheel(evt) {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
attemptBlur(this.$el);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
return h('input', {
|
|
ref: 'input',
|
|
class: this.computedClass,
|
|
attrs: this.computedAttrs,
|
|
domProps: {
|
|
value: this.localValue
|
|
},
|
|
on: this.computedListeners
|
|
});
|
|
}
|
|
});
|
|
|
|
var FormInputPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormInput: BFormInput,
|
|
BInput: BFormInput
|
|
}
|
|
});
|
|
|
|
var props$J = makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$A), props$v), props$F), props$D), props$E), {}, {
|
|
checked: {
|
|
// type: [String, Number, Boolean, Object],
|
|
default: null
|
|
}
|
|
}), NAME_FORM_RADIO_GROUP); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BFormRadioGroup = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_RADIO_GROUP,
|
|
mixins: [idMixin, formControlMixin, formRadioCheckGroupMixin, // Includes render function
|
|
formOptionsMixin, formSizeMixin, formStateMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvRadioGroup: this
|
|
};
|
|
},
|
|
props: props$J,
|
|
data: function data() {
|
|
return {
|
|
localChecked: this.checked
|
|
};
|
|
},
|
|
computed: {
|
|
isRadioGroup: function isRadioGroup() {
|
|
return true;
|
|
}
|
|
}
|
|
});
|
|
|
|
var FormRadioPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormRadio: BFormRadio,
|
|
BRadio: BFormRadio,
|
|
BFormRadioGroup: BFormRadioGroup,
|
|
BRadioGroup: BFormRadioGroup
|
|
}
|
|
});
|
|
|
|
var MIN_STARS = 3;
|
|
var DEFAULT_STARS = 5; // --- Utility methods ---
|
|
|
|
var computeStars = function computeStars(stars) {
|
|
return mathMax(MIN_STARS, toInteger(stars, DEFAULT_STARS));
|
|
};
|
|
|
|
var clampValue = function clampValue(value, min, max) {
|
|
return mathMax(mathMin(value, max), min);
|
|
}; // --- Private helper components ---
|
|
// @vue/component
|
|
|
|
|
|
var BVFormRatingStar = Vue.extend({
|
|
name: NAME_FORM_RATING_STAR,
|
|
mixins: [normalizeSlotMixin],
|
|
props: {
|
|
rating: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
star: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
focused: {
|
|
// If parent is focused
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
variant: {
|
|
type: String // default: null
|
|
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
hasClear: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
},
|
|
methods: {
|
|
onClick: function onClick(evt) {
|
|
if (!this.disabled && !this.readonly) {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
this.$emit('selected', this.star);
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var rating = this.rating,
|
|
star = this.star,
|
|
focused = this.focused,
|
|
hasClear = this.hasClear,
|
|
variant = this.variant,
|
|
disabled = this.disabled,
|
|
readonly = this.readonly;
|
|
var minStar = hasClear ? 0 : 1;
|
|
var type = rating >= star ? 'full' : rating >= star - 0.5 ? 'half' : 'empty';
|
|
var slotScope = {
|
|
variant: variant,
|
|
disabled: disabled,
|
|
readonly: readonly
|
|
};
|
|
return h('span', {
|
|
staticClass: 'b-rating-star',
|
|
class: {
|
|
// When not hovered, we use this class to focus the current (or first) star
|
|
focused: focused && rating === star || !toInteger(rating) && star === minStar,
|
|
// We add type classes to we can handle RTL styling
|
|
'b-rating-star-empty': type === 'empty',
|
|
'b-rating-star-half': type === 'half',
|
|
'b-rating-star-full': type === 'full'
|
|
},
|
|
attrs: {
|
|
tabindex: !disabled && !readonly ? '-1' : null
|
|
},
|
|
on: {
|
|
click: this.onClick
|
|
}
|
|
}, [h('span', {
|
|
staticClass: 'b-rating-icon'
|
|
}, [this.normalizeSlot(type, slotScope)])]);
|
|
}
|
|
}); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BFormRating = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_RATING,
|
|
components: {
|
|
BIconStar: BIconStar,
|
|
BIconStarHalf: BIconStarHalf,
|
|
BIconStarFill: BIconStarFill,
|
|
BIconX: BIconX
|
|
},
|
|
mixins: [idMixin, formSizeMixin],
|
|
model: {
|
|
prop: 'value',
|
|
event: 'change'
|
|
},
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2({}, omit(props$A, ['required', 'autofocus'])), props$D), {}, {
|
|
value: {
|
|
type: [Number, String],
|
|
default: null
|
|
},
|
|
stars: {
|
|
type: [Number, String],
|
|
default: DEFAULT_STARS,
|
|
validator: function validator(value) {
|
|
return toInteger(value) >= MIN_STARS;
|
|
}
|
|
},
|
|
variant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
color: {
|
|
// CSS color string (overrides variant)
|
|
type: String // default: undefined
|
|
|
|
},
|
|
showValue: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
showValueMax: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noBorder: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
inline: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
precision: {
|
|
type: [Number, String],
|
|
default: null
|
|
},
|
|
iconEmpty: {
|
|
type: String,
|
|
default: 'star'
|
|
},
|
|
iconHalf: {
|
|
type: String,
|
|
default: 'star-half'
|
|
},
|
|
iconFull: {
|
|
type: String,
|
|
default: 'star-fill'
|
|
},
|
|
iconClear: {
|
|
type: String,
|
|
default: 'x'
|
|
},
|
|
locale: {
|
|
// Locale for the formatted value (if shown)
|
|
// Defaults to the browser locale. Falls back to `en`
|
|
type: [String, Array] // default: undefined
|
|
|
|
},
|
|
showClear: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_FORM_RATING),
|
|
data: function data() {
|
|
var value = toFloat(this.value, null);
|
|
var stars = computeStars(this.stars);
|
|
return {
|
|
localValue: isNull(value) ? null : clampValue(value, 0, stars),
|
|
hasFocus: false
|
|
};
|
|
},
|
|
computed: {
|
|
computedStars: function computedStars() {
|
|
return computeStars(this.stars);
|
|
},
|
|
computedRating: function computedRating() {
|
|
var value = toFloat(this.localValue, 0);
|
|
var precision = toInteger(this.precision, 3); // We clamp the value between `0` and stars
|
|
|
|
return clampValue(toFloat(value.toFixed(precision)), 0, this.computedStars);
|
|
},
|
|
computedLocale: function computedLocale() {
|
|
var locales = concat(this.locale).filter(identity);
|
|
var nf = new Intl.NumberFormat(locales);
|
|
return nf.resolvedOptions().locale;
|
|
},
|
|
isInteractive: function isInteractive() {
|
|
return !this.disabled && !this.readonly;
|
|
},
|
|
isRTL: function isRTL() {
|
|
return isLocaleRTL(this.computedLocale);
|
|
},
|
|
formattedRating: function formattedRating() {
|
|
var precision = toInteger(this.precision);
|
|
var showValueMax = this.showValueMax;
|
|
var locale = this.computedLocale;
|
|
var formatOptions = {
|
|
notation: 'standard',
|
|
minimumFractionDigits: isNaN(precision) ? 0 : precision,
|
|
maximumFractionDigits: isNaN(precision) ? 3 : precision
|
|
};
|
|
var stars = this.computedStars.toLocaleString(locale);
|
|
var value = this.localValue;
|
|
value = isNull(value) ? showValueMax ? '-' : '' : value.toLocaleString(locale, formatOptions);
|
|
return showValueMax ? "".concat(value, "/").concat(stars) : value;
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
var value = toFloat(newVal, null);
|
|
this.localValue = isNull(value) ? null : clampValue(value, 0, this.computedStars);
|
|
}
|
|
},
|
|
localValue: function localValue(newVal, oldVal) {
|
|
if (newVal !== oldVal && newVal !== (this.value || 0)) {
|
|
this.$emit('change', newVal || null);
|
|
}
|
|
},
|
|
disabled: function disabled(newVal) {
|
|
if (newVal) {
|
|
this.hasFocus = false;
|
|
this.blur();
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
// --- Public methods ---
|
|
focus: function focus() {
|
|
if (!this.disabled) {
|
|
attemptFocus(this.$el);
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
if (!this.disabled) {
|
|
attemptBlur(this.$el);
|
|
}
|
|
},
|
|
// --- Private methods ---
|
|
onKeydown: function onKeydown(evt) {
|
|
var keyCode = evt.keyCode;
|
|
|
|
if (this.isInteractive && arrayIncludes([CODE_LEFT, CODE_DOWN, CODE_RIGHT, CODE_UP], keyCode)) {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
var value = toInteger(this.localValue, 0);
|
|
var min = this.showClear ? 0 : 1;
|
|
var stars = this.computedStars; // In RTL mode, LEFT/RIGHT are swapped
|
|
|
|
var amountRtl = this.isRTL ? -1 : 1;
|
|
|
|
if (keyCode === CODE_LEFT) {
|
|
this.localValue = clampValue(value - amountRtl, min, stars) || null;
|
|
} else if (keyCode === CODE_RIGHT) {
|
|
this.localValue = clampValue(value + amountRtl, min, stars);
|
|
} else if (keyCode === CODE_DOWN) {
|
|
this.localValue = clampValue(value - 1, min, stars) || null;
|
|
} else if (keyCode === CODE_UP) {
|
|
this.localValue = clampValue(value + 1, min, stars);
|
|
}
|
|
}
|
|
},
|
|
onSelected: function onSelected(value) {
|
|
if (this.isInteractive) {
|
|
this.localValue = value;
|
|
}
|
|
},
|
|
onFocus: function onFocus(evt) {
|
|
this.hasFocus = !this.isInteractive ? false : evt.type === 'focus';
|
|
},
|
|
// --- Render methods ---
|
|
renderIcon: function renderIcon(icon) {
|
|
return this.$createElement(BIcon, {
|
|
props: {
|
|
icon: icon,
|
|
variant: this.disabled || this.color ? null : this.variant || null
|
|
}
|
|
});
|
|
},
|
|
iconEmptyFn: function iconEmptyFn() {
|
|
return this.renderIcon(this.iconEmpty);
|
|
},
|
|
iconHalfFn: function iconHalfFn() {
|
|
return this.renderIcon(this.iconHalf);
|
|
},
|
|
iconFullFn: function iconFullFn() {
|
|
return this.renderIcon(this.iconFull);
|
|
},
|
|
iconClearFn: function iconClearFn() {
|
|
return this.$createElement(BIcon, {
|
|
props: {
|
|
icon: this.iconClear
|
|
}
|
|
});
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this = this;
|
|
|
|
var disabled = this.disabled,
|
|
readonly = this.readonly,
|
|
name = this.name,
|
|
form = this.form,
|
|
inline = this.inline,
|
|
variant = this.variant,
|
|
color = this.color,
|
|
noBorder = this.noBorder,
|
|
hasFocus = this.hasFocus,
|
|
computedRating = this.computedRating,
|
|
computedStars = this.computedStars,
|
|
formattedRating = this.formattedRating,
|
|
showClear = this.showClear,
|
|
isRTL = this.isRTL,
|
|
isInteractive = this.isInteractive,
|
|
$scopedSlots = this.$scopedSlots;
|
|
var $content = [];
|
|
|
|
if (showClear && !disabled && !readonly) {
|
|
var $icon = h('span', {
|
|
staticClass: 'b-rating-icon'
|
|
}, [($scopedSlots['icon-clear'] || this.iconClearFn)()]);
|
|
$content.push(h('span', {
|
|
staticClass: 'b-rating-star b-rating-star-clear flex-grow-1',
|
|
class: {
|
|
focused: hasFocus && computedRating === 0
|
|
},
|
|
attrs: {
|
|
tabindex: isInteractive ? '-1' : null
|
|
},
|
|
on: {
|
|
click: function click() {
|
|
return _this.onSelected(null);
|
|
}
|
|
},
|
|
key: 'clear'
|
|
}, [$icon]));
|
|
}
|
|
|
|
for (var index = 0; index < computedStars; index++) {
|
|
var value = index + 1;
|
|
$content.push(h(BVFormRatingStar, {
|
|
staticClass: 'flex-grow-1',
|
|
style: color && !disabled ? {
|
|
color: color
|
|
} : {},
|
|
props: {
|
|
rating: computedRating,
|
|
star: value,
|
|
variant: disabled ? null : variant || null,
|
|
disabled: disabled,
|
|
readonly: readonly,
|
|
focused: hasFocus,
|
|
hasClear: showClear
|
|
},
|
|
on: {
|
|
selected: this.onSelected
|
|
},
|
|
scopedSlots: {
|
|
empty: $scopedSlots['icon-empty'] || this.iconEmptyFn,
|
|
half: $scopedSlots['icon-half'] || this.iconHalfFn,
|
|
full: $scopedSlots['icon-full'] || this.iconFullFn
|
|
},
|
|
key: index
|
|
}));
|
|
}
|
|
|
|
if (name) {
|
|
$content.push(h('input', {
|
|
attrs: {
|
|
type: 'hidden',
|
|
value: isNull(this.localValue) ? '' : computedRating,
|
|
name: name,
|
|
form: form || null
|
|
},
|
|
key: 'hidden'
|
|
}));
|
|
}
|
|
|
|
if (this.showValue) {
|
|
$content.push(h('b', {
|
|
staticClass: 'b-rating-value flex-grow-1',
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
},
|
|
key: 'value'
|
|
}, toString$1(formattedRating)));
|
|
}
|
|
|
|
return h('output', {
|
|
staticClass: 'b-rating form-control align-items-center',
|
|
class: [{
|
|
'd-inline-flex': inline,
|
|
'd-flex': !inline,
|
|
'border-0': noBorder,
|
|
disabled: disabled,
|
|
readonly: !disabled && readonly
|
|
}, this.sizeFormClass],
|
|
attrs: {
|
|
id: this.safeId(),
|
|
dir: isRTL ? 'rtl' : 'ltr',
|
|
tabindex: disabled ? null : '0',
|
|
disabled: disabled,
|
|
role: 'slider',
|
|
'aria-disabled': disabled ? 'true' : null,
|
|
'aria-readonly': !disabled && readonly ? 'true' : null,
|
|
'aria-live': 'off',
|
|
'aria-valuemin': showClear ? '0' : '1',
|
|
'aria-valuemax': toString$1(computedStars),
|
|
'aria-valuenow': computedRating ? toString$1(computedRating) : null
|
|
},
|
|
on: {
|
|
keydown: this.onKeydown,
|
|
focus: this.onFocus,
|
|
blur: this.onFocus
|
|
}
|
|
}, $content);
|
|
}
|
|
});
|
|
|
|
var FormRatingPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormRating: BFormRating,
|
|
BRating: BFormRating
|
|
}
|
|
});
|
|
|
|
var optionsMixin = {
|
|
mixins: [formOptionsMixin],
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2({}, props$v), {}, {
|
|
labelField: {
|
|
type: String,
|
|
default: 'label'
|
|
},
|
|
optionsField: {
|
|
type: String,
|
|
default: 'options'
|
|
}
|
|
}), 'formOptions'),
|
|
methods: {
|
|
normalizeOption: function normalizeOption(option) {
|
|
var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
|
|
// When the option is an object, normalize it
|
|
if (isPlainObject(option)) {
|
|
var value = get(option, this.valueField);
|
|
var text = get(option, this.textField);
|
|
var options = get(option, this.optionsField, null); // When it has options, create an `<optgroup>` object
|
|
|
|
if (!isNull(options)) {
|
|
return {
|
|
label: String(get(option, this.labelField) || text),
|
|
options: this.normalizeOptions(options)
|
|
};
|
|
} // Otherwise create an `<option>` object
|
|
|
|
|
|
return {
|
|
value: isUndefined(value) ? key || text : value,
|
|
text: String(isUndefined(text) ? key : text),
|
|
html: get(option, this.htmlField),
|
|
disabled: Boolean(get(option, this.disabledField))
|
|
};
|
|
} // Otherwise create an `<option>` object from the given value
|
|
|
|
|
|
return {
|
|
value: key || option,
|
|
text: String(option),
|
|
disabled: false
|
|
};
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$K = makePropsConfigurable({
|
|
value: {
|
|
// type: [String, Number, Boolean, Object],
|
|
required: true
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_FORM_SELECT_OPTION); // @vue/component
|
|
|
|
var BFormSelectOption = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_SELECT_OPTION,
|
|
functional: true,
|
|
props: props$K,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var value = props.value,
|
|
disabled = props.disabled;
|
|
return h('option', mergeData(data, {
|
|
attrs: {
|
|
disabled: disabled
|
|
},
|
|
domProps: {
|
|
value: value
|
|
}
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var BFormSelectOptionGroup = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_SELECT_OPTION_GROUP,
|
|
mixins: [normalizeSlotMixin, formOptionsMixin],
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2({}, props$v), {}, {
|
|
label: {
|
|
type: String,
|
|
required: true
|
|
}
|
|
}), NAME_FORM_SELECT_OPTION_GROUP),
|
|
render: function render(h) {
|
|
var $options = this.formOptions.map(function (option, index) {
|
|
var value = option.value,
|
|
text = option.text,
|
|
html = option.html,
|
|
disabled = option.disabled;
|
|
return h(BFormSelectOption, {
|
|
attrs: {
|
|
value: value,
|
|
disabled: disabled
|
|
},
|
|
domProps: htmlOrText(html, text),
|
|
key: "option_".concat(index)
|
|
});
|
|
});
|
|
return h('optgroup', {
|
|
attrs: {
|
|
label: this.label
|
|
}
|
|
}, [this.normalizeSlot(SLOT_NAME_FIRST), $options, this.normalizeSlot()]);
|
|
}
|
|
});
|
|
|
|
var BFormSelect = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_SELECT,
|
|
mixins: [idMixin, normalizeSlotMixin, formControlMixin, formSizeMixin, formStateMixin, formCustomMixin, optionsMixin],
|
|
model: {
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$A), props$B), props$D), props$E), {}, {
|
|
value: {// type: [Object, Array, String, Number, Boolean],
|
|
// default: undefined
|
|
},
|
|
multiple: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
selectSize: {
|
|
// Browsers default size to 0, which shows 4 rows in most browsers in multiple mode
|
|
// Size of 1 can bork out Firefox
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
ariaInvalid: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
}
|
|
}), NAME_FORM_SELECT),
|
|
data: function data() {
|
|
return {
|
|
localValue: this.value
|
|
};
|
|
},
|
|
computed: {
|
|
computedSelectSize: function computedSelectSize() {
|
|
// Custom selects with a size of zero causes the arrows to be hidden,
|
|
// so dont render the size attribute in this case
|
|
return !this.plain && this.selectSize === 0 ? null : this.selectSize;
|
|
},
|
|
inputClass: function inputClass() {
|
|
return [this.plain ? 'form-control' : 'custom-select', this.size && this.plain ? "form-control-".concat(this.size) : null, this.size && !this.plain ? "custom-select-".concat(this.size) : null, this.stateClass];
|
|
},
|
|
computedAriaInvalid: function computedAriaInvalid() {
|
|
if (this.ariaInvalid === true || this.ariaInvalid === 'true') {
|
|
return 'true';
|
|
}
|
|
|
|
return this.stateClass === 'is-invalid' ? 'true' : null;
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newVal) {
|
|
this.localValue = newVal;
|
|
},
|
|
localValue: function localValue() {
|
|
this.$emit('input', this.localValue);
|
|
}
|
|
},
|
|
methods: {
|
|
focus: function focus() {
|
|
attemptFocus(this.$refs.input);
|
|
},
|
|
blur: function blur() {
|
|
attemptBlur(this.$refs.input);
|
|
},
|
|
onChange: function onChange(evt) {
|
|
var _this = this;
|
|
|
|
var target = evt.target;
|
|
var selectedVal = from(target.options).filter(function (o) {
|
|
return o.selected;
|
|
}).map(function (o) {
|
|
return '_value' in o ? o._value : o.value;
|
|
});
|
|
this.localValue = target.multiple ? selectedVal : selectedVal[0];
|
|
this.$nextTick(function () {
|
|
_this.$emit('change', _this.localValue);
|
|
});
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var name = this.name,
|
|
disabled = this.disabled,
|
|
required = this.required,
|
|
size = this.computedSelectSize,
|
|
value = this.localValue;
|
|
var $options = this.formOptions.map(function (option, index) {
|
|
var value = option.value,
|
|
label = option.label,
|
|
options = option.options,
|
|
disabled = option.disabled;
|
|
var key = "option_".concat(index);
|
|
return isArray(options) ? h(BFormSelectOptionGroup, {
|
|
props: {
|
|
label: label,
|
|
options: options
|
|
},
|
|
key: key
|
|
}) : h(BFormSelectOption, {
|
|
props: {
|
|
value: value,
|
|
disabled: disabled
|
|
},
|
|
domProps: htmlOrText(option.html, option.text),
|
|
key: key
|
|
});
|
|
});
|
|
return h('select', {
|
|
class: this.inputClass,
|
|
attrs: {
|
|
id: this.safeId(),
|
|
name: name,
|
|
form: this.form || null,
|
|
multiple: this.multiple || null,
|
|
size: size,
|
|
disabled: disabled,
|
|
required: required,
|
|
'aria-required': required ? 'true' : null,
|
|
'aria-invalid': this.computedAriaInvalid
|
|
},
|
|
on: {
|
|
change: this.onChange
|
|
},
|
|
directives: [{
|
|
name: 'model',
|
|
value: value
|
|
}],
|
|
ref: 'input'
|
|
}, [this.normalizeSlot(SLOT_NAME_FIRST), $options, this.normalizeSlot()]);
|
|
}
|
|
});
|
|
|
|
var FormSelectPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormSelect: BFormSelect,
|
|
BFormSelectOption: BFormSelectOption,
|
|
BFormSelectOptionGroup: BFormSelectOptionGroup,
|
|
BSelect: BFormSelect,
|
|
BSelectOption: BFormSelectOption,
|
|
BSelectOptionGroup: BFormSelectOptionGroup
|
|
}
|
|
});
|
|
|
|
// Default for spin button range and step
|
|
|
|
var DEFAULT_MIN = 1;
|
|
var DEFAULT_MAX = 100;
|
|
var DEFAULT_STEP = 1; // Delay before auto-repeat in ms
|
|
|
|
var DEFAULT_REPEAT_DELAY = 500; // Repeat interval in ms
|
|
|
|
var DEFAULT_REPEAT_INTERVAL = 100; // Repeat rate increased after number of repeats
|
|
|
|
var DEFAULT_REPEAT_THRESHOLD = 10; // Repeat speed multiplier (step multiplier, must be an integer)
|
|
|
|
var DEFAULT_REPEAT_MULTIPLIER = 4;
|
|
var KEY_CODES = [CODE_UP, CODE_DOWN, CODE_HOME, CODE_END, CODE_PAGEUP, CODE_PAGEDOWN]; // --- Props ---
|
|
|
|
var props$L = makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, omit(props$A, ['required', 'autofocus'])), props$D), props$E), {}, {
|
|
value: {
|
|
// Should this really be String, to match native number inputs?
|
|
type: Number,
|
|
default: null
|
|
},
|
|
min: {
|
|
type: [Number, String],
|
|
default: DEFAULT_MIN
|
|
},
|
|
max: {
|
|
type: [Number, String],
|
|
default: DEFAULT_MAX
|
|
},
|
|
step: {
|
|
type: [Number, String],
|
|
default: DEFAULT_STEP
|
|
},
|
|
wrap: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
formatterFn: {
|
|
type: Function // default: null
|
|
|
|
},
|
|
placeholder: {
|
|
type: String // default: null
|
|
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
inline: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
vertical: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
ariaLabel: {
|
|
type: String // default: null
|
|
|
|
},
|
|
ariaControls: {
|
|
type: String // default: null
|
|
|
|
},
|
|
labelDecrement: {
|
|
type: String,
|
|
default: 'Decrement'
|
|
},
|
|
labelIncrement: {
|
|
type: String,
|
|
default: 'Increment'
|
|
},
|
|
locale: {
|
|
type: [String, Array] // default: null
|
|
|
|
},
|
|
repeatDelay: {
|
|
type: [Number, String],
|
|
default: DEFAULT_REPEAT_DELAY
|
|
},
|
|
repeatInterval: {
|
|
type: [Number, String],
|
|
default: DEFAULT_REPEAT_INTERVAL
|
|
},
|
|
repeatThreshold: {
|
|
type: [Number, String],
|
|
default: DEFAULT_REPEAT_THRESHOLD
|
|
},
|
|
repeatStepMultiplier: {
|
|
type: [Number, String],
|
|
default: DEFAULT_REPEAT_MULTIPLIER
|
|
}
|
|
}), NAME_FORM_SPINBUTTON); // --- BFormSpinbutton ---
|
|
// @vue/component
|
|
|
|
var BFormSpinbutton = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_SPINBUTTON,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin, idMixin, formSizeMixin, formStateMixin, normalizeSlotMixin],
|
|
inheritAttrs: false,
|
|
props: props$L,
|
|
data: function data() {
|
|
return {
|
|
localValue: toFloat(this.value, null),
|
|
hasFocus: false
|
|
};
|
|
},
|
|
computed: {
|
|
spinId: function spinId() {
|
|
return this.safeId();
|
|
},
|
|
computedInline: function computedInline() {
|
|
return this.inline && !this.vertical;
|
|
},
|
|
computedReadonly: function computedReadonly() {
|
|
return this.readonly && !this.disabled;
|
|
},
|
|
computedRequired: function computedRequired() {
|
|
return this.required && !this.computedReadonly && !this.disabled;
|
|
},
|
|
computedStep: function computedStep() {
|
|
return toFloat(this.step, DEFAULT_STEP);
|
|
},
|
|
computedMin: function computedMin() {
|
|
return toFloat(this.min, DEFAULT_MIN);
|
|
},
|
|
computedMax: function computedMax() {
|
|
// We round down to the nearest maximum step value
|
|
var max = toFloat(this.max, DEFAULT_MAX);
|
|
var step = this.computedStep;
|
|
var min = this.computedMin;
|
|
return mathFloor((max - min) / step) * step + min;
|
|
},
|
|
computedDelay: function computedDelay() {
|
|
var delay = toInteger(this.repeatDelay, 0);
|
|
return delay > 0 ? delay : DEFAULT_REPEAT_DELAY;
|
|
},
|
|
computedInterval: function computedInterval() {
|
|
var interval = toInteger(this.repeatInterval, 0);
|
|
return interval > 0 ? interval : DEFAULT_REPEAT_INTERVAL;
|
|
},
|
|
computedThreshold: function computedThreshold() {
|
|
return mathMax(toInteger(this.repeatThreshold, DEFAULT_REPEAT_THRESHOLD), 1);
|
|
},
|
|
computedStepMultiplier: function computedStepMultiplier() {
|
|
return mathMax(toInteger(this.repeatStepMultiplier, DEFAULT_REPEAT_MULTIPLIER), 1);
|
|
},
|
|
computedPrecision: function computedPrecision() {
|
|
// Quick and dirty way to get the number of decimals
|
|
var step = this.computedStep;
|
|
return mathFloor(step) === step ? 0 : (step.toString().split('.')[1] || '').length;
|
|
},
|
|
computedMultiplier: function computedMultiplier() {
|
|
return mathPow(10, this.computedPrecision || 0);
|
|
},
|
|
valueAsFixed: function valueAsFixed() {
|
|
var value = this.localValue;
|
|
return isNull(value) ? '' : value.toFixed(this.computedPrecision);
|
|
},
|
|
computedLocale: function computedLocale() {
|
|
var locales = concat(this.locale).filter(identity);
|
|
var nf = new Intl.NumberFormat(locales);
|
|
return nf.resolvedOptions().locale;
|
|
},
|
|
computedRTL: function computedRTL() {
|
|
return isLocaleRTL(this.computedLocale);
|
|
},
|
|
defaultFormatter: function defaultFormatter() {
|
|
// Returns and `Intl.NumberFormat` formatter method reference
|
|
var precision = this.computedPrecision;
|
|
var nf = new Intl.NumberFormat(this.computedLocale, {
|
|
style: 'decimal',
|
|
useGrouping: false,
|
|
minimumIntegerDigits: 1,
|
|
minimumFractionDigits: precision,
|
|
maximumFractionDigits: precision,
|
|
notation: 'standard'
|
|
}); // Return the format method reference
|
|
|
|
return nf.format;
|
|
},
|
|
computedFormatter: function computedFormatter() {
|
|
var formatterFn = this.formatterFn;
|
|
var result = null;
|
|
|
|
try {
|
|
result = formatterFn();
|
|
} catch (_unused) {}
|
|
|
|
return isUndefined(result) ? this.defaultFormatter : formatterFn;
|
|
},
|
|
computedAttrs: function computedAttrs() {
|
|
return _objectSpread2(_objectSpread2({}, this.bvAttrs), {}, {
|
|
role: 'group',
|
|
lang: this.computedLocale,
|
|
tabindex: this.disabled ? null : '-1',
|
|
title: this.ariaLabel
|
|
});
|
|
},
|
|
computedSpinAttrs: function computedSpinAttrs() {
|
|
var spinId = this.spinId,
|
|
value = this.localValue,
|
|
required = this.computedRequired,
|
|
disabled = this.disabled,
|
|
state = this.state,
|
|
computedFormatter = this.computedFormatter;
|
|
var hasValue = !isNull(value);
|
|
return _objectSpread2(_objectSpread2({
|
|
dir: this.computedRTL ? 'rtl' : 'ltr'
|
|
}, this.bvAttrs), {}, {
|
|
id: spinId,
|
|
role: 'spinbutton',
|
|
tabindex: disabled ? null : '0',
|
|
'aria-live': 'off',
|
|
'aria-label': this.ariaLabel || null,
|
|
'aria-controls': this.ariaControls || null,
|
|
// TODO: May want to check if the value is in range
|
|
'aria-invalid': state === false || !hasValue && required ? 'true' : null,
|
|
'aria-required': required ? 'true' : null,
|
|
// These attrs are required for role spinbutton
|
|
'aria-valuemin': toString$1(this.computedMin),
|
|
'aria-valuemax': toString$1(this.computedMax),
|
|
// These should be `null` if the value is out of range
|
|
// They must also be non-existent attrs if the value is out of range or `null`
|
|
'aria-valuenow': hasValue ? value : null,
|
|
'aria-valuetext': hasValue ? computedFormatter(value) : null
|
|
});
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(_value) {
|
|
this.localValue = toFloat(_value, null);
|
|
},
|
|
localValue: function localValue(value) {
|
|
this.$emit('input', value);
|
|
},
|
|
disabled: function disabled(_disabled) {
|
|
if (_disabled) {
|
|
this.clearRepeat();
|
|
}
|
|
},
|
|
readonly: function readonly(_readonly) {
|
|
if (_readonly) {
|
|
this.clearRepeat();
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Create non reactive properties
|
|
this.$_autoDelayTimer = null;
|
|
this.$_autoRepeatTimer = null;
|
|
this.$_keyIsDown = false;
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.clearRepeat();
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
deactivated: function deactivated() {
|
|
this.clearRepeat();
|
|
},
|
|
methods: {
|
|
// --- Public methods ---
|
|
focus: function focus() {
|
|
if (!this.disabled) {
|
|
attemptFocus(this.$refs.spinner);
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
if (!this.disabled) {
|
|
attemptBlur(this.$refs.spinner);
|
|
}
|
|
},
|
|
// --- Private methods ---
|
|
emitChange: function emitChange() {
|
|
this.$emit('change', this.localValue);
|
|
},
|
|
stepValue: function stepValue(direction) {
|
|
// Sets a new incremented or decremented value, supporting optional wrapping
|
|
// Direction is either +1 or -1 (or a multiple thereof)
|
|
var value = this.localValue;
|
|
|
|
if (!this.disabled && !isNull(value)) {
|
|
var step = this.computedStep * direction;
|
|
var min = this.computedMin;
|
|
var max = this.computedMax;
|
|
var multiplier = this.computedMultiplier;
|
|
var wrap = this.wrap; // We ensure that the value steps like a native input
|
|
|
|
value = mathRound((value - min) / step) * step + min + step; // We ensure that precision is maintained (decimals)
|
|
|
|
value = mathRound(value * multiplier) / multiplier; // Handle if wrapping is enabled
|
|
|
|
this.localValue = value > max ? wrap ? min : max : value < min ? wrap ? max : min : value;
|
|
}
|
|
},
|
|
onFocusBlur: function onFocusBlur(evt) {
|
|
if (!this.disabled) {
|
|
this.hasFocus = evt.type === 'focus';
|
|
} else {
|
|
this.hasFocus = false;
|
|
}
|
|
},
|
|
stepUp: function stepUp() {
|
|
var multiplier = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
var value = this.localValue;
|
|
|
|
if (isNull(value)) {
|
|
this.localValue = this.computedMin;
|
|
} else {
|
|
this.stepValue(+1 * multiplier);
|
|
}
|
|
},
|
|
stepDown: function stepDown() {
|
|
var multiplier = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
var value = this.localValue;
|
|
|
|
if (isNull(value)) {
|
|
this.localValue = this.wrap ? this.computedMax : this.computedMin;
|
|
} else {
|
|
this.stepValue(-1 * multiplier);
|
|
}
|
|
},
|
|
onKeydown: function onKeydown(evt) {
|
|
var keyCode = evt.keyCode,
|
|
altKey = evt.altKey,
|
|
ctrlKey = evt.ctrlKey,
|
|
metaKey = evt.metaKey;
|
|
/* istanbul ignore if */
|
|
|
|
if (this.disabled || this.readonly || altKey || ctrlKey || metaKey) {
|
|
return;
|
|
}
|
|
|
|
if (arrayIncludes(KEY_CODES, keyCode)) {
|
|
// https://w3c.github.io/aria-practices/#spinbutton
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
/* istanbul ignore if */
|
|
|
|
if (this.$_keyIsDown) {
|
|
// Keypress is already in progress
|
|
return;
|
|
}
|
|
|
|
this.resetTimers();
|
|
|
|
if (arrayIncludes([CODE_UP, CODE_DOWN], keyCode)) {
|
|
// The following use the custom auto-repeat handling
|
|
this.$_keyIsDown = true;
|
|
|
|
if (keyCode === CODE_UP) {
|
|
this.handleStepRepeat(evt, this.stepUp);
|
|
} else if (keyCode === CODE_DOWN) {
|
|
this.handleStepRepeat(evt, this.stepDown);
|
|
}
|
|
} else {
|
|
// These use native OS key repeating
|
|
if (keyCode === CODE_PAGEUP) {
|
|
this.stepUp(this.computedStepMultiplier);
|
|
} else if (keyCode === CODE_PAGEDOWN) {
|
|
this.stepDown(this.computedStepMultiplier);
|
|
} else if (keyCode === CODE_HOME) {
|
|
this.localValue = this.computedMin;
|
|
} else if (keyCode === CODE_END) {
|
|
this.localValue = this.computedMax;
|
|
}
|
|
}
|
|
}
|
|
},
|
|
onKeyup: function onKeyup(evt) {
|
|
// Emit a change event when the keyup happens
|
|
var keyCode = evt.keyCode,
|
|
altKey = evt.altKey,
|
|
ctrlKey = evt.ctrlKey,
|
|
metaKey = evt.metaKey;
|
|
/* istanbul ignore if */
|
|
|
|
if (this.disabled || this.readonly || altKey || ctrlKey || metaKey) {
|
|
return;
|
|
}
|
|
|
|
if (arrayIncludes(KEY_CODES, keyCode)) {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
this.resetTimers();
|
|
this.$_keyIsDown = false;
|
|
this.emitChange();
|
|
}
|
|
},
|
|
handleStepRepeat: function handleStepRepeat(evt, stepper) {
|
|
var _this = this;
|
|
|
|
var _ref = evt || {},
|
|
type = _ref.type,
|
|
button = _ref.button;
|
|
|
|
if (!this.disabled && !this.readonly) {
|
|
/* istanbul ignore if */
|
|
if (type === 'mousedown' && button) {
|
|
// We only respond to left (main === 0) button clicks
|
|
return;
|
|
}
|
|
|
|
this.resetTimers(); // Step the counter initially
|
|
|
|
stepper(1);
|
|
var threshold = this.computedThreshold;
|
|
var multiplier = this.computedStepMultiplier;
|
|
var delay = this.computedDelay;
|
|
var interval = this.computedInterval; // Initiate the delay/repeat interval
|
|
|
|
this.$_autoDelayTimer = setTimeout(function () {
|
|
var count = 0;
|
|
_this.$_autoRepeatTimer = setInterval(function () {
|
|
// After N initial repeats, we increase the incrementing step amount
|
|
// We do this to minimize screen reader announcements of the value
|
|
// (values are announced every change, which can be chatty for SR users)
|
|
// And to make it easer to select a value when the range is large
|
|
stepper(count < threshold ? 1 : multiplier);
|
|
count++;
|
|
}, interval);
|
|
}, delay);
|
|
}
|
|
},
|
|
onMouseup: function onMouseup(evt) {
|
|
// `<body>` listener, only enabled when mousedown starts
|
|
var _ref2 = evt || {},
|
|
type = _ref2.type,
|
|
button = _ref2.button;
|
|
/* istanbul ignore if */
|
|
|
|
|
|
if (type === 'mouseup' && button) {
|
|
// Ignore non left button (main === 0) mouse button click
|
|
return;
|
|
}
|
|
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
this.resetTimers();
|
|
this.setMouseup(false); // Trigger the change event
|
|
|
|
this.emitChange();
|
|
},
|
|
setMouseup: function setMouseup(on) {
|
|
// Enable or disabled the body mouseup/touchend handlers
|
|
// Use try/catch to handle case when called server side
|
|
try {
|
|
eventOnOff(on, document.body, 'mouseup', this.onMouseup, false);
|
|
eventOnOff(on, document.body, 'touchend', this.onMouseup, false);
|
|
} catch (_unused2) {}
|
|
},
|
|
resetTimers: function resetTimers() {
|
|
clearTimeout(this.$_autoDelayTimer);
|
|
clearInterval(this.$_autoRepeatTimer);
|
|
this.$_autoDelayTimer = null;
|
|
this.$_autoRepeatTimer = null;
|
|
},
|
|
clearRepeat: function clearRepeat() {
|
|
this.resetTimers();
|
|
this.setMouseup(false);
|
|
this.$_keyIsDown = false;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this2 = this;
|
|
|
|
var spinId = this.spinId,
|
|
value = this.localValue,
|
|
inline = this.computedInline,
|
|
readonly = this.computedReadonly,
|
|
vertical = this.vertical,
|
|
disabled = this.disabled,
|
|
computedFormatter = this.computedFormatter;
|
|
var hasValue = !isNull(value);
|
|
|
|
var makeButton = function makeButton(stepper, label, IconCmp, keyRef, shortcut, btnDisabled, slotName) {
|
|
var $icon = h(IconCmp, {
|
|
props: {
|
|
scale: _this2.hasFocus ? 1.5 : 1.25
|
|
},
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
});
|
|
var scope = {
|
|
hasFocus: _this2.hasFocus
|
|
};
|
|
|
|
var handler = function handler(evt) {
|
|
if (!disabled && !readonly) {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
|
|
_this2.setMouseup(true); // Since we `preventDefault()`, we must manually focus the button
|
|
|
|
|
|
attemptFocus(evt.currentTarget);
|
|
|
|
_this2.handleStepRepeat(evt, stepper);
|
|
}
|
|
};
|
|
|
|
return h('button', {
|
|
key: keyRef || null,
|
|
ref: keyRef,
|
|
staticClass: 'btn btn-sm border-0 rounded-0',
|
|
class: {
|
|
'py-0': !vertical
|
|
},
|
|
attrs: {
|
|
tabindex: '-1',
|
|
type: 'button',
|
|
disabled: disabled || readonly || btnDisabled,
|
|
'aria-disabled': disabled || readonly || btnDisabled ? 'true' : null,
|
|
'aria-controls': spinId,
|
|
'aria-label': label || null,
|
|
'aria-keyshortcuts': shortcut || null
|
|
},
|
|
on: {
|
|
mousedown: handler,
|
|
touchstart: handler
|
|
}
|
|
}, [h('div', [_this2.normalizeSlot(slotName, scope) || $icon])]);
|
|
}; // TODO: Add button disabled state when `wrap` is `false` and at value max/min
|
|
|
|
|
|
var $increment = makeButton(this.stepUp, this.labelIncrement, BIconPlus, 'inc', 'ArrowUp', false, 'increment');
|
|
var $decrement = makeButton(this.stepDown, this.labelDecrement, BIconDash, 'dec', 'ArrowDown', false, 'decrement');
|
|
var $hidden = h();
|
|
|
|
if (this.name && !disabled) {
|
|
$hidden = h('input', {
|
|
key: 'hidden',
|
|
attrs: {
|
|
type: 'hidden',
|
|
name: this.name,
|
|
form: this.form || null,
|
|
// TODO: Should this be set to '' if value is out of range?
|
|
value: this.valueAsFixed
|
|
}
|
|
});
|
|
}
|
|
|
|
var $spin = h( // We use 'output' element to make this accept a `<label for="id">` (Except IE)
|
|
'output', {
|
|
ref: 'spinner',
|
|
key: 'output',
|
|
staticClass: 'flex-grow-1',
|
|
class: {
|
|
'd-flex': vertical,
|
|
'align-self-center': !vertical,
|
|
'align-items-center': vertical,
|
|
'border-top': vertical,
|
|
'border-bottom': vertical,
|
|
'border-left': !vertical,
|
|
'border-right': !vertical
|
|
},
|
|
attrs: this.computedSpinAttrs
|
|
}, [h('bdi', hasValue ? computedFormatter(value) : this.placeholder || '')]);
|
|
return h('div', {
|
|
staticClass: 'b-form-spinbutton form-control',
|
|
class: [{
|
|
disabled: disabled,
|
|
readonly: readonly,
|
|
focus: this.hasFocus,
|
|
'd-inline-flex': inline || vertical,
|
|
'd-flex': !inline && !vertical,
|
|
'align-items-stretch': !vertical,
|
|
'flex-column': vertical
|
|
}, this.sizeFormClass, this.stateClass],
|
|
attrs: this.computedAttrs,
|
|
on: {
|
|
keydown: this.onKeydown,
|
|
keyup: this.onKeyup,
|
|
// We use capture phase (`!` prefix) since focus and blur do not bubble
|
|
'!focus': this.onFocusBlur,
|
|
'!blur': this.onFocusBlur
|
|
}
|
|
}, vertical ? [$increment, $hidden, $spin, $decrement] : [$decrement, $hidden, $spin, $increment]);
|
|
}
|
|
});
|
|
|
|
var FormSpinbuttonPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormSpinbutton: BFormSpinbutton,
|
|
BSpinbutton: BFormSpinbutton
|
|
}
|
|
});
|
|
|
|
var BFormTag = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_TAG,
|
|
mixins: [idMixin, normalizeSlotMixin],
|
|
props: makePropsConfigurable({
|
|
variant: {
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
title: {
|
|
type: String // default: null
|
|
|
|
},
|
|
pill: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
removeLabel: {
|
|
type: String,
|
|
default: 'Remove tag'
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'span'
|
|
}
|
|
}, NAME_FORM_TAG),
|
|
methods: {
|
|
onDelete: function onDelete(evt) {
|
|
var type = evt.type,
|
|
keyCode = evt.keyCode;
|
|
|
|
if (!this.disabled && (type === 'click' || type === 'keydown' && keyCode === CODE_DELETE)) {
|
|
this.$emit('remove');
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var tagId = this.safeId();
|
|
var tagLabelId = this.safeId('_taglabel_');
|
|
var $remove = h();
|
|
|
|
if (!this.disabled) {
|
|
$remove = h(BButtonClose, {
|
|
staticClass: 'b-form-tag-remove',
|
|
props: {
|
|
ariaLabel: this.removeLabel
|
|
},
|
|
attrs: {
|
|
'aria-controls': tagId,
|
|
'aria-describedby': tagLabelId,
|
|
'aria-keyshortcuts': 'Delete'
|
|
},
|
|
on: {
|
|
click: this.onDelete,
|
|
keydown: this.onDelete
|
|
}
|
|
});
|
|
}
|
|
|
|
var $tag = h('span', {
|
|
staticClass: 'b-form-tag-content flex-grow-1 text-truncate',
|
|
attrs: {
|
|
id: tagLabelId
|
|
}
|
|
}, this.normalizeSlot() || this.title || [h()]);
|
|
return h(BBadge, {
|
|
staticClass: 'b-form-tag d-inline-flex align-items-baseline mw-100',
|
|
class: {
|
|
disabled: this.disabled
|
|
},
|
|
attrs: {
|
|
id: tagId,
|
|
title: this.title || null,
|
|
'aria-labelledby': tagLabelId
|
|
},
|
|
props: {
|
|
tag: this.tag,
|
|
variant: this.variant,
|
|
pill: this.pill
|
|
}
|
|
}, [$tag, $remove]);
|
|
}
|
|
});
|
|
|
|
// Supported input types (for built in input)
|
|
|
|
var TYPES$2 = ['text', 'email', 'tel', 'url', 'number']; // --- Utility methods ---
|
|
// Escape special chars in string and replace
|
|
// contiguous spaces with a whitespace match
|
|
|
|
var escapeRegExpChars = function escapeRegExpChars(str) {
|
|
return escapeRegExp(str).replace(RX_SPACES, '\\s');
|
|
}; // Remove leading/trailing spaces from array of tags and remove duplicates
|
|
|
|
|
|
var cleanTags = function cleanTags(tags) {
|
|
return concat(tags).map(function (tag) {
|
|
return trim(toString$1(tag));
|
|
}).filter(function (tag, index, arr) {
|
|
return tag.length > 0 && arr.indexOf(tag) === index;
|
|
});
|
|
}; // Processes an input/change event, normalizing string or event argument
|
|
|
|
|
|
var processEventValue = function processEventValue(evt) {
|
|
return isString(evt) ? evt : isEvent(evt) ? evt.target.value || '' : '';
|
|
}; // Returns a fresh empty `tagsState` object
|
|
|
|
|
|
var cleanTagsState = function cleanTagsState() {
|
|
return {
|
|
all: [],
|
|
valid: [],
|
|
invalid: [],
|
|
duplicate: []
|
|
};
|
|
}; // --- Main component ---
|
|
// @vue/component
|
|
|
|
|
|
var BFormTags = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_TAGS,
|
|
mixins: [idMixin, formControlMixin, formSizeMixin, formStateMixin, normalizeSlotMixin],
|
|
model: {
|
|
// Even though this is the default that Vue assumes, we need
|
|
// to add it for the docs to reflect that this is the model
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$A), props$D), props$E), {}, {
|
|
value: {
|
|
// The v-model prop
|
|
type: Array,
|
|
default: function _default() {
|
|
return [];
|
|
}
|
|
},
|
|
placeholder: {
|
|
type: String,
|
|
default: 'Add tag...'
|
|
},
|
|
inputId: {
|
|
type: String // default: null
|
|
|
|
},
|
|
inputType: {
|
|
type: String,
|
|
default: 'text',
|
|
validator: function validator(value) {
|
|
return arrayIncludes(TYPES$2, value);
|
|
}
|
|
},
|
|
inputClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
inputAttrs: {
|
|
// Additional attributes to add to the input element
|
|
type: Object,
|
|
default: function _default() {
|
|
return {};
|
|
}
|
|
},
|
|
addButtonText: {
|
|
type: String,
|
|
default: 'Add'
|
|
},
|
|
addButtonVariant: {
|
|
type: String,
|
|
default: 'outline-secondary'
|
|
},
|
|
tagVariant: {
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
tagClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
tagPills: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
tagRemoveLabel: {
|
|
type: String,
|
|
default: 'Remove tag'
|
|
},
|
|
tagRemovedLabel: {
|
|
type: String,
|
|
default: 'Tag removed'
|
|
},
|
|
tagValidator: {
|
|
type: Function // default: null
|
|
|
|
},
|
|
duplicateTagText: {
|
|
type: String,
|
|
default: 'Duplicate tag(s)'
|
|
},
|
|
invalidTagText: {
|
|
type: String,
|
|
default: 'Invalid tag(s)'
|
|
},
|
|
limitTagsText: {
|
|
type: String,
|
|
default: 'Tag limit reached'
|
|
},
|
|
limit: {
|
|
type: Number // default: null
|
|
|
|
},
|
|
separator: {
|
|
// Character (or characters) that trigger adding tags
|
|
type: [String, Array] // default: null
|
|
|
|
},
|
|
removeOnDelete: {
|
|
// Enable deleting last tag in list when CODE_BACKSPACE is
|
|
// pressed and input is empty
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
addOnChange: {
|
|
// Enable change event triggering tag addition
|
|
// Handy if using <select> as the input
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noAddOnEnter: {
|
|
// Disable ENTER key from triggering tag addition
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noOuterFocus: {
|
|
// Disable the focus ring on the root element
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
ignoreInputFocusSelector: {
|
|
// Disable the input focus behavior when clicking
|
|
// on element matching the selector (or selectors)
|
|
type: [Array, String],
|
|
default: function _default() {
|
|
return ['.b-form-tag', 'button', 'input', 'select'];
|
|
}
|
|
}
|
|
}), NAME_FORM_TAGS),
|
|
data: function data() {
|
|
return {
|
|
hasFocus: false,
|
|
newTag: '',
|
|
tags: [],
|
|
// Tags that were removed
|
|
removedTags: [],
|
|
// Populated when tags are parsed
|
|
tagsState: cleanTagsState()
|
|
};
|
|
},
|
|
computed: {
|
|
computedInputId: function computedInputId() {
|
|
return this.inputId || this.safeId('__input__');
|
|
},
|
|
computedInputType: function computedInputType() {
|
|
// We only allow certain types
|
|
return arrayIncludes(TYPES$2, this.inputType) ? this.inputType : 'text';
|
|
},
|
|
computedInputAttrs: function computedInputAttrs() {
|
|
return _objectSpread2(_objectSpread2({}, this.inputAttrs), {}, {
|
|
// Must have attributes
|
|
id: this.computedInputId,
|
|
value: this.newTag,
|
|
disabled: this.disabled || null,
|
|
form: this.form || null
|
|
});
|
|
},
|
|
computedInputHandlers: function computedInputHandlers() {
|
|
return {
|
|
input: this.onInputInput,
|
|
change: this.onInputChange,
|
|
keydown: this.onInputKeydown
|
|
};
|
|
},
|
|
computedSeparator: function computedSeparator() {
|
|
// Merge the array into a string
|
|
return concat(this.separator).filter(isString).filter(identity).join('');
|
|
},
|
|
computedSeparatorRegExp: function computedSeparatorRegExp() {
|
|
// We use a computed prop here to precompile the RegExp
|
|
// The RegExp is a character class RE in the form of `/[abc]+/`
|
|
// where a, b, and c are the valid separator characters
|
|
// -> `tags = str.split(/[abc]+/).filter(t => t)`
|
|
var separator = this.computedSeparator;
|
|
return separator ? new RegExp("[".concat(escapeRegExpChars(separator), "]+")) : null;
|
|
},
|
|
computedJoiner: function computedJoiner() {
|
|
// When tag(s) are invalid or duplicate, we leave them
|
|
// in the input so that the user can see them
|
|
// If there are more than one tag in the input, we use the
|
|
// first separator character as the separator in the input
|
|
// We append a space if the first separator is not a space
|
|
var joiner = this.computedSeparator.charAt(0);
|
|
return joiner !== ' ' ? "".concat(joiner, " ") : joiner;
|
|
},
|
|
computeIgnoreInputFocusSelector: function computeIgnoreInputFocusSelector() {
|
|
// Normalize to an single selector with selectors separated by `,`
|
|
return concat(this.ignoreInputFocusSelector).filter(identity).join(',').trim();
|
|
},
|
|
disableAddButton: function disableAddButton() {
|
|
var _this = this;
|
|
|
|
// If 'Add' button should be disabled
|
|
// If the input contains at least one tag that can
|
|
// be added, then the 'Add' button should be enabled
|
|
var newTag = trim(this.newTag);
|
|
return newTag === '' || !this.splitTags(newTag).some(function (t) {
|
|
return !arrayIncludes(_this.tags, t) && _this.validateTag(t);
|
|
});
|
|
},
|
|
duplicateTags: function duplicateTags() {
|
|
return this.tagsState.duplicate;
|
|
},
|
|
hasDuplicateTags: function hasDuplicateTags() {
|
|
return this.duplicateTags.length > 0;
|
|
},
|
|
invalidTags: function invalidTags() {
|
|
return this.tagsState.invalid;
|
|
},
|
|
hasInvalidTags: function hasInvalidTags() {
|
|
return this.invalidTags.length > 0;
|
|
},
|
|
isLimitReached: function isLimitReached() {
|
|
var limit = this.limit;
|
|
return isNumber(limit) && limit >= 0 && this.tags.length >= limit;
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newVal) {
|
|
this.tags = cleanTags(newVal);
|
|
},
|
|
tags: function tags(newVal, oldVal) {
|
|
// Update the `v-model` (if it differs from the value prop)
|
|
if (!looseEqual(newVal, this.value)) {
|
|
this.$emit('input', newVal);
|
|
}
|
|
|
|
if (!looseEqual(newVal, oldVal)) {
|
|
newVal = concat(newVal).filter(identity);
|
|
oldVal = concat(oldVal).filter(identity);
|
|
this.removedTags = oldVal.filter(function (old) {
|
|
return !arrayIncludes(newVal, old);
|
|
});
|
|
}
|
|
},
|
|
tagsState: function tagsState(newVal, oldVal) {
|
|
// Emit a tag-state event when the `tagsState` object changes
|
|
if (!looseEqual(newVal, oldVal)) {
|
|
this.$emit('tag-state', newVal.valid, newVal.invalid, newVal.duplicate);
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
// We do this in created to make sure an input event emits
|
|
// if the cleaned tags are not equal to the value prop
|
|
this.tags = cleanTags(this.value);
|
|
},
|
|
methods: {
|
|
addTag: function addTag(newTag) {
|
|
newTag = isString(newTag) ? newTag : this.newTag;
|
|
/* istanbul ignore next */
|
|
|
|
if (this.disabled || trim(newTag) === '' || this.isLimitReached) {
|
|
// Early exit
|
|
return;
|
|
}
|
|
|
|
var parsed = this.parseTags(newTag); // Add any new tags to the `tags` array, or if the
|
|
// array of `allTags` is empty, we clear the input
|
|
|
|
if (parsed.valid.length > 0 || parsed.all.length === 0) {
|
|
// Clear the user input element (and leave in any invalid/duplicate tag(s)
|
|
|
|
/* istanbul ignore if: full testing to be added later */
|
|
if (matches(this.getInput(), 'select')) {
|
|
// The following is needed to properly
|
|
// work with `<select>` elements
|
|
this.newTag = '';
|
|
} else {
|
|
var invalidAndDuplicates = [].concat(_toConsumableArray(parsed.invalid), _toConsumableArray(parsed.duplicate));
|
|
this.newTag = parsed.all.filter(function (tag) {
|
|
return arrayIncludes(invalidAndDuplicates, tag);
|
|
}).join(this.computedJoiner).concat(invalidAndDuplicates.length > 0 ? this.computedJoiner.charAt(0) : '');
|
|
}
|
|
}
|
|
|
|
if (parsed.valid.length > 0) {
|
|
// We add the new tags in one atomic operation
|
|
// to trigger reactivity once (instead of once per tag)
|
|
// We do this after we update the new tag input value
|
|
// `concat()` can be faster than array spread, when both args are arrays
|
|
this.tags = concat(this.tags, parsed.valid);
|
|
}
|
|
|
|
this.tagsState = parsed; // Attempt to re-focus the input (specifically for when using the Add
|
|
// button, as the button disappears after successfully adding a tag
|
|
|
|
this.focus();
|
|
},
|
|
removeTag: function removeTag(tag) {
|
|
var _this2 = this;
|
|
|
|
/* istanbul ignore next */
|
|
if (this.disabled) {
|
|
return;
|
|
} // TODO:
|
|
// Add `onRemoveTag(tag)` user method, which if returns `false`
|
|
// will prevent the tag from being removed (i.e. confirmation)
|
|
// Or emit cancelable `BvEvent`
|
|
|
|
|
|
this.tags = this.tags.filter(function (t) {
|
|
return t !== tag;
|
|
}); // Return focus to the input (if possible)
|
|
|
|
this.$nextTick(function () {
|
|
_this2.focus();
|
|
});
|
|
},
|
|
// --- Input element event handlers ---
|
|
onInputInput: function onInputInput(evt) {
|
|
/* istanbul ignore next: hard to test composition events */
|
|
if (this.disabled || isEvent(evt) && evt.target.composing) {
|
|
// `evt.target.composing` is set by Vue (`v-model` directive)
|
|
// https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/directives/model.js
|
|
return;
|
|
}
|
|
|
|
var newTag = processEventValue(evt);
|
|
var separatorRe = this.computedSeparatorRegExp;
|
|
|
|
if (this.newTag !== newTag) {
|
|
this.newTag = newTag;
|
|
} // We ignore leading whitespace for the following
|
|
|
|
|
|
newTag = trimLeft(newTag);
|
|
|
|
if (separatorRe && separatorRe.test(newTag.slice(-1))) {
|
|
// A trailing separator character was entered, so add the tag(s)
|
|
// Note: More than one tag on input event is possible via copy/paste
|
|
this.addTag();
|
|
} else {
|
|
// Validate (parse tags) on input event
|
|
this.tagsState = newTag === '' ? cleanTagsState() : this.parseTags(newTag);
|
|
}
|
|
},
|
|
onInputChange: function onInputChange(evt) {
|
|
// Change is triggered on `<input>` blur, or `<select>` selected
|
|
// This event is opt-in
|
|
if (!this.disabled && this.addOnChange) {
|
|
var newTag = processEventValue(evt);
|
|
/* istanbul ignore next */
|
|
|
|
if (this.newTag !== newTag) {
|
|
this.newTag = newTag;
|
|
}
|
|
|
|
this.addTag();
|
|
}
|
|
},
|
|
onInputKeydown: function onInputKeydown(evt) {
|
|
// Early exit
|
|
|
|
/* istanbul ignore next */
|
|
if (this.disabled || !isEvent(evt)) {
|
|
return;
|
|
}
|
|
|
|
var keyCode = evt.keyCode;
|
|
var value = evt.target.value || '';
|
|
/* istanbul ignore else: testing to be added later */
|
|
|
|
if (!this.noAddOnEnter && keyCode === CODE_ENTER) {
|
|
// Attempt to add the tag when user presses enter
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
this.addTag();
|
|
} else if (this.removeOnDelete && (keyCode === CODE_BACKSPACE || keyCode === CODE_DELETE) && value === '') {
|
|
// Remove the last tag if the user pressed backspace/delete and the input is empty
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
this.tags = this.tags.slice(0, -1);
|
|
}
|
|
},
|
|
// --- Wrapper event handlers ---
|
|
onClick: function onClick(evt) {
|
|
var _this3 = this;
|
|
|
|
var ignoreFocusSelector = this.computeIgnoreInputFocusSelector;
|
|
var target = evt.target;
|
|
|
|
if (!this.disabled && !isActiveElement(target) && (!ignoreFocusSelector || !closest(ignoreFocusSelector, target, true))) {
|
|
this.$nextTick(function () {
|
|
_this3.focus();
|
|
});
|
|
}
|
|
},
|
|
onFocusin: function onFocusin() {
|
|
this.hasFocus = true;
|
|
},
|
|
onFocusout: function onFocusout() {
|
|
this.hasFocus = false;
|
|
},
|
|
handleAutofocus: function handleAutofocus() {
|
|
var _this4 = this;
|
|
|
|
this.$nextTick(function () {
|
|
requestAF(function () {
|
|
if (_this4.autofocus && !_this4.disabled) {
|
|
_this4.focus();
|
|
}
|
|
});
|
|
});
|
|
},
|
|
// --- Public methods ---
|
|
focus: function focus() {
|
|
if (!this.disabled) {
|
|
attemptFocus(this.getInput());
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
if (!this.disabled) {
|
|
attemptBlur(this.getInput());
|
|
}
|
|
},
|
|
// --- Private methods ---
|
|
splitTags: function splitTags(newTag) {
|
|
// Split the input into an array of raw tags
|
|
newTag = toString$1(newTag);
|
|
var separatorRe = this.computedSeparatorRegExp; // Split the tag(s) via the optional separator
|
|
// Normally only a single tag is provided, but copy/paste
|
|
// can enter multiple tags in a single operation
|
|
|
|
return (separatorRe ? newTag.split(separatorRe) : [newTag]).map(trim).filter(identity);
|
|
},
|
|
parseTags: function parseTags(newTag) {
|
|
var _this5 = this;
|
|
|
|
// Takes `newTag` value and parses it into `validTags`,
|
|
// `invalidTags`, and duplicate tags as an object
|
|
// Split the input into raw tags
|
|
var tags = this.splitTags(newTag); // Base results
|
|
|
|
var parsed = {
|
|
all: tags,
|
|
valid: [],
|
|
invalid: [],
|
|
duplicate: []
|
|
}; // Parse the unique tags
|
|
|
|
tags.forEach(function (tag) {
|
|
if (arrayIncludes(_this5.tags, tag) || arrayIncludes(parsed.valid, tag)) {
|
|
// Unique duplicate tags
|
|
if (!arrayIncludes(parsed.duplicate, tag)) {
|
|
parsed.duplicate.push(tag);
|
|
}
|
|
} else if (_this5.validateTag(tag)) {
|
|
// We only add unique/valid tags
|
|
parsed.valid.push(tag);
|
|
} else {
|
|
// Unique invalid tags
|
|
if (!arrayIncludes(parsed.invalid, tag)) {
|
|
parsed.invalid.push(tag);
|
|
}
|
|
}
|
|
});
|
|
return parsed;
|
|
},
|
|
validateTag: function validateTag(tag) {
|
|
var tagValidator = this.tagValidator;
|
|
var result = null;
|
|
|
|
try {
|
|
result = tagValidator();
|
|
} catch (_unused) {}
|
|
|
|
return isUndefined(result) ? true : tagValidator(tag);
|
|
},
|
|
getInput: function getInput() {
|
|
// Returns the input element reference (or null if not found)
|
|
// We need to escape `computedInputId` since it can be user-provided
|
|
return select("#".concat(cssEscape(this.computedInputId)), this.$el);
|
|
},
|
|
// Default User Interface render
|
|
defaultRender: function defaultRender(_ref) {
|
|
var tags = _ref.tags,
|
|
inputAttrs = _ref.inputAttrs,
|
|
inputType = _ref.inputType,
|
|
inputHandlers = _ref.inputHandlers,
|
|
removeTag = _ref.removeTag,
|
|
addTag = _ref.addTag,
|
|
isInvalid = _ref.isInvalid,
|
|
isDuplicate = _ref.isDuplicate,
|
|
isLimitReached = _ref.isLimitReached,
|
|
disableAddButton = _ref.disableAddButton,
|
|
disabled = _ref.disabled,
|
|
placeholder = _ref.placeholder,
|
|
inputClass = _ref.inputClass,
|
|
tagRemoveLabel = _ref.tagRemoveLabel,
|
|
tagVariant = _ref.tagVariant,
|
|
tagPills = _ref.tagPills,
|
|
tagClass = _ref.tagClass,
|
|
addButtonText = _ref.addButtonText,
|
|
addButtonVariant = _ref.addButtonVariant,
|
|
invalidTagText = _ref.invalidTagText,
|
|
duplicateTagText = _ref.duplicateTagText,
|
|
limitTagsText = _ref.limitTagsText;
|
|
var h = this.$createElement; // Make the list of tags
|
|
|
|
var $tags = tags.map(function (tag) {
|
|
tag = toString$1(tag);
|
|
return h(BFormTag, {
|
|
class: tagClass,
|
|
props: {
|
|
// `BFormTag` will auto generate an ID
|
|
// so we do not need to set the ID prop
|
|
tag: 'li',
|
|
title: tag,
|
|
disabled: disabled,
|
|
variant: tagVariant,
|
|
pill: tagPills,
|
|
removeLabel: tagRemoveLabel
|
|
},
|
|
on: {
|
|
remove: function remove() {
|
|
return removeTag(tag);
|
|
}
|
|
},
|
|
key: "tags_".concat(tag)
|
|
}, tag);
|
|
}); // Feedback IDs if needed
|
|
|
|
var invalidFeedbackId = invalidTagText && isInvalid ? this.safeId('__invalid_feedback__') : null;
|
|
var duplicateFeedbackId = duplicateTagText && isDuplicate ? this.safeId('__duplicate_feedback__') : null;
|
|
var limitFeedbackId = limitTagsText && isLimitReached ? this.safeId('__limit_feedback__') : null; // Compute the `aria-describedby` attribute value
|
|
|
|
var ariaDescribedby = [inputAttrs['aria-describedby'], invalidFeedbackId, duplicateFeedbackId, limitFeedbackId].filter(identity).join(' '); // Input
|
|
|
|
var $input = h('input', {
|
|
ref: 'input',
|
|
// Directive needed to get `evt.target.composing` set (if needed)
|
|
directives: [{
|
|
name: 'model',
|
|
value: inputAttrs.value
|
|
}],
|
|
staticClass: 'b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0',
|
|
class: inputClass,
|
|
style: {
|
|
outline: 0,
|
|
minWidth: '5rem'
|
|
},
|
|
attrs: _objectSpread2(_objectSpread2({}, inputAttrs), {}, {
|
|
'aria-describedby': ariaDescribedby || null,
|
|
type: inputType,
|
|
placeholder: placeholder || null
|
|
}),
|
|
domProps: {
|
|
value: inputAttrs.value
|
|
},
|
|
on: inputHandlers
|
|
}); // Add button
|
|
|
|
var $button = h(BButton, {
|
|
ref: 'button',
|
|
staticClass: 'b-form-tags-button py-0',
|
|
class: {
|
|
// Only show the button if the tag can be added
|
|
// We use the `invisible` class instead of not rendering
|
|
// the button, so that we maintain layout to prevent
|
|
// the user input from jumping around
|
|
invisible: disableAddButton
|
|
},
|
|
style: {
|
|
fontSize: '90%'
|
|
},
|
|
props: {
|
|
variant: addButtonVariant,
|
|
disabled: disableAddButton || isLimitReached
|
|
},
|
|
on: {
|
|
click: function click() {
|
|
return addTag();
|
|
}
|
|
}
|
|
}, [this.normalizeSlot('add-button-text') || addButtonText]); // ID of the tags + input `<ul>` list
|
|
// Note we could concatenate `inputAttrs.id` with '__tag_list__'
|
|
// but `inputId` may be `null` until after mount
|
|
// `safeId()` returns `null`, if no user provided ID,
|
|
// until after mount when a unique ID is generated
|
|
|
|
var tagListId = this.safeId('__tag_list__');
|
|
var $field = h('li', {
|
|
staticClass: 'b-from-tags-field flex-grow-1',
|
|
attrs: {
|
|
role: 'none',
|
|
'aria-live': 'off',
|
|
'aria-controls': tagListId
|
|
},
|
|
key: 'tags_field'
|
|
}, [h('div', {
|
|
staticClass: 'd-flex',
|
|
attrs: {
|
|
role: 'group'
|
|
}
|
|
}, [$input, $button])]); // Wrap in an unordered list element (we use a list for accessibility)
|
|
|
|
var $ul = h('ul', {
|
|
staticClass: 'b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center',
|
|
attrs: {
|
|
id: tagListId
|
|
},
|
|
key: 'tags_list'
|
|
}, [$tags, $field]); // Assemble the feedback
|
|
|
|
var $feedback = h();
|
|
|
|
if (invalidTagText || duplicateTagText || limitTagsText) {
|
|
// Add an aria live region for the invalid/duplicate tag
|
|
// messages if the user has not disabled the messages
|
|
var joiner = this.computedJoiner; // Invalid tag feedback if needed (error)
|
|
|
|
var $invalid = h();
|
|
|
|
if (invalidFeedbackId) {
|
|
$invalid = h(BFormInvalidFeedback, {
|
|
props: {
|
|
id: invalidFeedbackId,
|
|
forceShow: true
|
|
},
|
|
key: 'tags_invalid_feedback'
|
|
}, [this.invalidTagText, ': ', this.invalidTags.join(joiner)]);
|
|
} // Duplicate tag feedback if needed (warning, not error)
|
|
|
|
|
|
var $duplicate = h();
|
|
|
|
if (duplicateFeedbackId) {
|
|
$duplicate = h(BFormText, {
|
|
props: {
|
|
id: duplicateFeedbackId
|
|
},
|
|
key: 'tags_duplicate_feedback'
|
|
}, [this.duplicateTagText, ': ', this.duplicateTags.join(joiner)]);
|
|
} // Limit tags feedback if needed (warning, not error)
|
|
|
|
|
|
var $limit = h();
|
|
|
|
if (limitFeedbackId) {
|
|
$limit = h(BFormText, {
|
|
props: {
|
|
id: limitFeedbackId
|
|
},
|
|
key: 'tags_limit_feedback'
|
|
}, [limitTagsText]);
|
|
}
|
|
|
|
$feedback = h('div', {
|
|
attrs: {
|
|
'aria-live': 'polite',
|
|
'aria-atomic': 'true'
|
|
},
|
|
key: 'tags_feedback'
|
|
}, [$invalid, $duplicate, $limit]);
|
|
} // Return the content
|
|
|
|
|
|
return [$ul, $feedback];
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this6 = this;
|
|
|
|
var name = this.name,
|
|
disabled = this.disabled,
|
|
tags = this.tags,
|
|
computedInputId = this.computedInputId,
|
|
hasFocus = this.hasFocus,
|
|
noOuterFocus = this.noOuterFocus; // Scoped slot properties
|
|
|
|
var scope = _objectSpread2({
|
|
// Array of tags (shallow copy to prevent mutations)
|
|
tags: tags.slice(),
|
|
// <input> v-bind:inputAttrs
|
|
inputAttrs: this.computedInputAttrs,
|
|
// We don't include this in the attrs, as users may want to override this
|
|
inputType: this.computedInputType,
|
|
// <input> v-on:inputHandlers
|
|
inputHandlers: this.computedInputHandlers,
|
|
// Methods
|
|
removeTag: this.removeTag,
|
|
addTag: this.addTag,
|
|
// <input> :id="inputId"
|
|
inputId: computedInputId,
|
|
// Invalid/Duplicate state information
|
|
isInvalid: this.hasInvalidTags,
|
|
invalidTags: this.invalidTags.slice(),
|
|
isDuplicate: this.hasDuplicateTags,
|
|
duplicateTags: this.duplicateTags.slice(),
|
|
isLimitReached: this.isLimitReached,
|
|
// If the 'Add' button should be disabled
|
|
disableAddButton: this.disableAddButton
|
|
}, pick(this.$props, ['disabled', 'state', 'size', 'limit', 'separator', 'placeholder', 'inputClass', 'tagRemoveLabel', 'tagVariant', 'tagPills', 'tagClass', 'addButtonText', 'addButtonVariant', 'invalidTagText', 'duplicateTagText', 'limitTagsText'])); // Generate the user interface
|
|
|
|
|
|
var $content = this.normalizeSlot(SLOT_NAME_DEFAULT, scope) || this.defaultRender(scope); // Generate the `aria-live` region for the current value(s)
|
|
|
|
var $output = h('output', {
|
|
staticClass: 'sr-only',
|
|
attrs: {
|
|
id: this.safeId('__selected_tags__'),
|
|
role: 'status',
|
|
for: computedInputId,
|
|
'aria-live': hasFocus ? 'polite' : 'off',
|
|
'aria-atomic': 'true',
|
|
'aria-relevant': 'additions text'
|
|
}
|
|
}, this.tags.join(', ')); // Removed tag live region
|
|
|
|
var $removed = h('div', {
|
|
staticClass: 'sr-only',
|
|
attrs: {
|
|
id: this.safeId('__removed_tags__'),
|
|
role: 'status',
|
|
'aria-live': hasFocus ? 'assertive' : 'off',
|
|
'aria-atomic': 'true'
|
|
}
|
|
}, this.removedTags.length > 0 ? "(".concat(this.tagRemovedLabel, ") ").concat(this.removedTags.join(', ')) : ''); // Add hidden inputs for form submission
|
|
|
|
var $hidden = h();
|
|
|
|
if (name && !disabled) {
|
|
// We add hidden inputs for each tag if a name is provided
|
|
// for native submission of forms
|
|
$hidden = tags.map(function (tag) {
|
|
return h('input', {
|
|
attrs: {
|
|
type: 'hidden',
|
|
value: tag,
|
|
name: name,
|
|
form: _this6.form || null
|
|
},
|
|
key: "tag_input_".concat(tag)
|
|
});
|
|
});
|
|
} // Return the rendered output
|
|
|
|
|
|
return h('div', {
|
|
staticClass: 'b-form-tags form-control h-auto',
|
|
class: [{
|
|
focus: hasFocus && !noOuterFocus && !disabled,
|
|
disabled: disabled
|
|
}, this.sizeFormClass, this.stateClass],
|
|
attrs: {
|
|
id: this.safeId(),
|
|
role: 'group',
|
|
tabindex: disabled || noOuterFocus ? null : '-1',
|
|
'aria-describedby': this.safeId('__selected_tags__')
|
|
},
|
|
on: {
|
|
click: this.onClick,
|
|
focusin: this.onFocusin,
|
|
focusout: this.onFocusout
|
|
}
|
|
}, [$output, $removed, $content, $hidden]);
|
|
}
|
|
});
|
|
|
|
var FormTagsPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormTags: BFormTags,
|
|
BTags: BFormTags,
|
|
BFormTag: BFormTag,
|
|
BTag: BFormTag
|
|
}
|
|
});
|
|
|
|
var BFormTextarea = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_TEXTAREA,
|
|
directives: {
|
|
'b-visible': VBVisible
|
|
},
|
|
// Mixin order is important!
|
|
mixins: [listenersMixin, idMixin, listenOnRootMixin, formControlMixin, formSizeMixin, formStateMixin, formTextMixin, formSelectionMixin, formValidityMixin],
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props$A), props$D), props$E), props$I), {}, {
|
|
rows: {
|
|
type: [Number, String],
|
|
default: 2
|
|
},
|
|
maxRows: {
|
|
type: [Number, String] // default: null
|
|
|
|
},
|
|
wrap: {
|
|
// 'soft', 'hard' or 'off'. Browser default is 'soft'
|
|
type: String,
|
|
default: 'soft'
|
|
},
|
|
noResize: {
|
|
// Disable the resize handle of textarea
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noAutoShrink: {
|
|
// When in auto resize mode, disable shrinking to content height
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_FORM_TEXTAREA),
|
|
data: function data() {
|
|
return {
|
|
heightInPx: null
|
|
};
|
|
},
|
|
computed: {
|
|
computedStyle: function computedStyle() {
|
|
var styles = {
|
|
// Setting `noResize` to true will disable the ability for the user to
|
|
// manually resize the textarea. We also disable when in auto height mode
|
|
resize: !this.computedRows || this.noResize ? 'none' : null
|
|
};
|
|
|
|
if (!this.computedRows) {
|
|
// Conditionally set the computed CSS height when auto rows/height is enabled
|
|
// We avoid setting the style to `null`, which can override user manual resize handle
|
|
styles.height = this.heightInPx; // We always add a vertical scrollbar to the textarea when auto-height is
|
|
// enabled so that the computed height calculation returns a stable value
|
|
|
|
styles.overflowY = 'scroll';
|
|
}
|
|
|
|
return styles;
|
|
},
|
|
computedMinRows: function computedMinRows() {
|
|
// Ensure rows is at least 2 and positive (2 is the native textarea value)
|
|
// A value of 1 can cause issues in some browsers, and most browsers
|
|
// only support 2 as the smallest value
|
|
return mathMax(toInteger(this.rows, 2), 2);
|
|
},
|
|
computedMaxRows: function computedMaxRows() {
|
|
return mathMax(this.computedMinRows, toInteger(this.maxRows, 0));
|
|
},
|
|
computedRows: function computedRows() {
|
|
// This is used to set the attribute 'rows' on the textarea
|
|
// If auto-height is enabled, then we return `null` as we use CSS to control height
|
|
return this.computedMinRows === this.computedMaxRows ? this.computedMinRows : null;
|
|
},
|
|
computedAttrs: function computedAttrs() {
|
|
var disabled = this.disabled,
|
|
required = this.required;
|
|
return {
|
|
id: this.safeId(),
|
|
name: this.name || null,
|
|
form: this.form || null,
|
|
disabled: disabled,
|
|
placeholder: this.placeholder || null,
|
|
required: required,
|
|
autocomplete: this.autocomplete || null,
|
|
readonly: this.readonly || this.plaintext,
|
|
rows: this.computedRows,
|
|
wrap: this.wrap || null,
|
|
'aria-required': this.required ? 'true' : null,
|
|
'aria-invalid': this.computedAriaInvalid
|
|
};
|
|
},
|
|
computedListeners: function computedListeners() {
|
|
return _objectSpread2(_objectSpread2({}, this.bvListeners), {}, {
|
|
input: this.onInput,
|
|
change: this.onChange,
|
|
blur: this.onBlur
|
|
});
|
|
}
|
|
},
|
|
watch: {
|
|
localValue: function localValue() {
|
|
this.setHeight();
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
this.setHeight();
|
|
},
|
|
methods: {
|
|
// Called by intersection observer directive
|
|
|
|
/* istanbul ignore next */
|
|
visibleCallback: function visibleCallback(visible) {
|
|
if (visible) {
|
|
// We use a `$nextTick()` here just to make sure any
|
|
// transitions or portalling have completed
|
|
this.$nextTick(this.setHeight);
|
|
}
|
|
},
|
|
setHeight: function setHeight() {
|
|
var _this = this;
|
|
|
|
this.$nextTick(function () {
|
|
requestAF(function () {
|
|
_this.heightInPx = _this.computeHeight();
|
|
});
|
|
});
|
|
},
|
|
|
|
/* istanbul ignore next: can't test getComputedStyle in JSDOM */
|
|
computeHeight: function computeHeight() {
|
|
if (this.$isServer || !isNull(this.computedRows)) {
|
|
return null;
|
|
}
|
|
|
|
var el = this.$el; // Element must be visible (not hidden) and in document
|
|
// Must be checked after above checks
|
|
|
|
if (!isVisible(el)) {
|
|
return null;
|
|
} // Get current computed styles
|
|
|
|
|
|
var computedStyle = getCS(el); // Height of one line of text in px
|
|
|
|
var lineHeight = toFloat(computedStyle.lineHeight, 1); // Calculate height of border and padding
|
|
|
|
var border = toFloat(computedStyle.borderTopWidth, 0) + toFloat(computedStyle.borderBottomWidth, 0);
|
|
var padding = toFloat(computedStyle.paddingTop, 0) + toFloat(computedStyle.paddingBottom, 0); // Calculate offset
|
|
|
|
var offset = border + padding; // Minimum height for min rows (which must be 2 rows or greater for cross-browser support)
|
|
|
|
var minHeight = lineHeight * this.computedMinRows + offset; // Get the current style height (with `px` units)
|
|
|
|
var oldHeight = getStyle(el, 'height') || computedStyle.height; // Probe scrollHeight by temporarily changing the height to `auto`
|
|
|
|
setStyle(el, 'height', 'auto');
|
|
var scrollHeight = el.scrollHeight; // Place the original old height back on the element, just in case `computedProp`
|
|
// returns the same value as before
|
|
|
|
setStyle(el, 'height', oldHeight); // Calculate content height in 'rows' (scrollHeight includes padding but not border)
|
|
|
|
var contentRows = mathMax((scrollHeight - padding) / lineHeight, 2); // Calculate number of rows to display (limited within min/max rows)
|
|
|
|
var rows = mathMin(mathMax(contentRows, this.computedMinRows), this.computedMaxRows); // Calculate the required height of the textarea including border and padding (in pixels)
|
|
|
|
var height = mathMax(mathCeil(rows * lineHeight + offset), minHeight); // Computed height remains the larger of `oldHeight` and new `height`,
|
|
// when height is in `sticky` mode (prop `no-auto-shrink` is true)
|
|
|
|
if (this.noAutoShrink && toFloat(oldHeight, 0) > height) {
|
|
return oldHeight;
|
|
} // Return the new computed CSS height in px units
|
|
|
|
|
|
return "".concat(height, "px");
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
return h('textarea', {
|
|
ref: 'input',
|
|
class: this.computedClass,
|
|
style: this.computedStyle,
|
|
directives: [{
|
|
name: 'b-visible',
|
|
value: this.visibleCallback,
|
|
// If textarea is within 640px of viewport, consider it visible
|
|
modifiers: {
|
|
'640': true
|
|
}
|
|
}],
|
|
attrs: this.computedAttrs,
|
|
domProps: {
|
|
value: this.localValue
|
|
},
|
|
on: this.computedListeners
|
|
});
|
|
}
|
|
});
|
|
|
|
var FormTextareaPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormTextarea: BFormTextarea,
|
|
BTextarea: BFormTextarea
|
|
}
|
|
});
|
|
|
|
var NUMERIC = 'numeric'; // --- Helper methods ---
|
|
|
|
var padLeftZeros = function padLeftZeros(num) {
|
|
return "00".concat(num || '').slice(-2);
|
|
};
|
|
|
|
var parseHMS = function parseHMS(hms) {
|
|
hms = toString$1(hms);
|
|
var hh = null,
|
|
mm = null,
|
|
ss = null;
|
|
|
|
if (RX_TIME.test(hms)) {
|
|
|
|
var _hms$split$map = hms.split(':').map(function (v) {
|
|
return toInteger(v, null);
|
|
});
|
|
|
|
var _hms$split$map2 = _slicedToArray(_hms$split$map, 3);
|
|
|
|
hh = _hms$split$map2[0];
|
|
mm = _hms$split$map2[1];
|
|
ss = _hms$split$map2[2];
|
|
}
|
|
|
|
return {
|
|
hours: isUndefinedOrNull(hh) ? null : hh,
|
|
minutes: isUndefinedOrNull(mm) ? null : mm,
|
|
seconds: isUndefinedOrNull(ss) ? null : ss,
|
|
ampm: isUndefinedOrNull(hh) || hh < 12 ? 0 : 1
|
|
};
|
|
};
|
|
|
|
var formatHMS = function formatHMS(_ref) {
|
|
var hours = _ref.hours,
|
|
minutes = _ref.minutes,
|
|
seconds = _ref.seconds;
|
|
var requireSeconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
|
|
if (isNull(hours) || isNull(minutes) || requireSeconds && isNull(seconds)) {
|
|
return '';
|
|
}
|
|
|
|
var hms = [hours, minutes, requireSeconds ? seconds : 0];
|
|
return hms.map(padLeftZeros).join(':');
|
|
}; // --- Props ---
|
|
|
|
|
|
var props$M = makePropsConfigurable(_objectSpread2(_objectSpread2({
|
|
value: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
showSeconds: {
|
|
// If true, show the second spinbutton
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
hour12: {
|
|
// Explicitly force 12 or 24 hour time
|
|
// Default is to use resolved locale for 12/24 hour display
|
|
// Tri-state: `true` = 12, `false` = 24, `null` = auto
|
|
type: Boolean,
|
|
default: null
|
|
},
|
|
locale: {
|
|
type: [String, Array] // default: null
|
|
|
|
},
|
|
ariaLabelledby: {
|
|
// ID of label element
|
|
type: String // default: null
|
|
|
|
},
|
|
secondsStep: {
|
|
type: [Number, String],
|
|
default: 1
|
|
},
|
|
minutesStep: {
|
|
type: [Number, String],
|
|
default: 1
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
hideHeader: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
labelNoTimeSelected: {
|
|
type: String,
|
|
default: 'No time selected'
|
|
},
|
|
labelSelected: {
|
|
type: String,
|
|
default: 'Selected time'
|
|
},
|
|
labelHours: {
|
|
type: String,
|
|
default: 'Hours'
|
|
},
|
|
labelMinutes: {
|
|
type: String,
|
|
default: 'Minutes'
|
|
},
|
|
labelSeconds: {
|
|
type: String,
|
|
default: 'Seconds'
|
|
},
|
|
labelAmpm: {
|
|
type: String,
|
|
default: 'AM/PM'
|
|
},
|
|
labelAm: {
|
|
type: String,
|
|
default: 'AM'
|
|
},
|
|
labelPm: {
|
|
type: String,
|
|
default: 'PM'
|
|
}
|
|
}, pick(props$L, ['labelIncrement', 'labelDecrement'])), {}, {
|
|
hidden: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_TIME); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BTime = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TIME,
|
|
mixins: [idMixin, normalizeSlotMixin],
|
|
model: {
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: props$M,
|
|
data: function data() {
|
|
var parsed = parseHMS(this.value || '');
|
|
return {
|
|
// Spin button models
|
|
modelHours: parsed.hours,
|
|
modelMinutes: parsed.minutes,
|
|
modelSeconds: parsed.seconds,
|
|
modelAmpm: parsed.ampm,
|
|
// Internal flag to enable aria-live regions
|
|
isLive: false
|
|
};
|
|
},
|
|
computed: {
|
|
computedHMS: function computedHMS() {
|
|
var hours = this.modelHours;
|
|
var minutes = this.modelMinutes;
|
|
var seconds = this.modelSeconds;
|
|
return formatHMS({
|
|
hours: hours,
|
|
minutes: minutes,
|
|
seconds: seconds
|
|
}, this.showSeconds);
|
|
},
|
|
resolvedOptions: function resolvedOptions() {
|
|
// Resolved locale options
|
|
var locale = concat(this.locale).filter(identity);
|
|
var options = {
|
|
hour: NUMERIC,
|
|
minute: NUMERIC,
|
|
second: NUMERIC
|
|
};
|
|
|
|
if (!isUndefinedOrNull(this.hour12)) {
|
|
// Force 12 or 24 hour clock
|
|
options.hour12 = !!this.hour12;
|
|
}
|
|
|
|
var dtf = new Intl.DateTimeFormat(locale, options);
|
|
var resolved = dtf.resolvedOptions();
|
|
var hour12 = resolved.hour12 || false; // IE 11 doesn't resolve the hourCycle, so we make
|
|
// an assumption and fall back to common values
|
|
|
|
var hourCycle = resolved.hourCycle || (hour12 ? 'h12' : 'h23');
|
|
return {
|
|
locale: resolved.locale,
|
|
hour12: hour12,
|
|
hourCycle: hourCycle
|
|
};
|
|
},
|
|
computedLocale: function computedLocale() {
|
|
return this.resolvedOptions.locale;
|
|
},
|
|
computedLang: function computedLang() {
|
|
return (this.computedLocale || '').replace(/-u-.*$/, '');
|
|
},
|
|
computedRTL: function computedRTL() {
|
|
return isLocaleRTL(this.computedLang);
|
|
},
|
|
computedHourCycle: function computedHourCycle() {
|
|
// h11, h12, h23, or h24
|
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Locale/hourCycle
|
|
// h12 - Hour system using 1–12. Corresponds to 'h' in patterns. The 12 hour clock, with midnight starting at 12:00 am
|
|
// h23 - Hour system using 0–23. Corresponds to 'H' in patterns. The 24 hour clock, with midnight starting at 0:00
|
|
// h11 - Hour system using 0–11. Corresponds to 'K' in patterns. The 12 hour clock, with midnight starting at 0:00 am
|
|
// h24 - Hour system using 1–24. Corresponds to 'k' in pattern. The 24 hour clock, with midnight starting at 24:00
|
|
// For h12 or h24, we visually format 00 hours as 12
|
|
return this.resolvedOptions.hourCycle;
|
|
},
|
|
is12Hour: function is12Hour() {
|
|
return !!this.resolvedOptions.hour12;
|
|
},
|
|
context: function context() {
|
|
return {
|
|
locale: this.computedLocale,
|
|
isRTL: this.computedRTL,
|
|
hourCycle: this.computedHourCycle,
|
|
hour12: this.is12Hour,
|
|
hours: this.modelHours,
|
|
minutes: this.modelMinutes,
|
|
seconds: this.showSeconds ? this.modelSeconds : 0,
|
|
value: this.computedHMS,
|
|
formatted: this.formattedTimeString
|
|
};
|
|
},
|
|
valueId: function valueId() {
|
|
return this.safeId() || null;
|
|
},
|
|
computedAriaLabelledby: function computedAriaLabelledby() {
|
|
return [this.ariaLabelledby, this.valueId].filter(identity).join(' ') || null;
|
|
},
|
|
timeFormatter: function timeFormatter() {
|
|
// Returns a formatter function reference
|
|
// The formatter converts the time to a localized string
|
|
var options = {
|
|
hour12: this.is12Hour,
|
|
hourCycle: this.computedHourCycle,
|
|
hour: NUMERIC,
|
|
minute: NUMERIC,
|
|
timeZone: 'UTC'
|
|
};
|
|
|
|
if (this.showSeconds) {
|
|
options.second = NUMERIC;
|
|
} // Formats the time as a localized string
|
|
|
|
|
|
return createDateFormatter(this.computedLocale, options);
|
|
},
|
|
numberFormatter: function numberFormatter() {
|
|
// Returns a formatter function reference
|
|
// The formatter always formats as 2 digits and is localized
|
|
var nf = new Intl.NumberFormat(this.computedLocale, {
|
|
style: 'decimal',
|
|
minimumIntegerDigits: 2,
|
|
minimumFractionDigits: 0,
|
|
maximumFractionDigits: 0,
|
|
notation: 'standard'
|
|
});
|
|
return nf.format;
|
|
},
|
|
formattedTimeString: function formattedTimeString() {
|
|
var hours = this.modelHours;
|
|
var minutes = this.modelMinutes;
|
|
var seconds = this.showSeconds ? this.modelSeconds || 0 : 0;
|
|
|
|
if (this.computedHMS) {
|
|
return this.timeFormatter(createDate(Date.UTC(0, 0, 1, hours, minutes, seconds)));
|
|
}
|
|
|
|
return this.labelNoTimeSelected || ' ';
|
|
},
|
|
spinScopedSlots: function spinScopedSlots() {
|
|
var h = this.$createElement;
|
|
return {
|
|
increment: function increment(_ref2) {
|
|
var hasFocus = _ref2.hasFocus;
|
|
return h(BIconChevronUp, {
|
|
props: {
|
|
scale: hasFocus ? 1.5 : 1.25
|
|
},
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
});
|
|
},
|
|
decrement: function decrement(_ref3) {
|
|
var hasFocus = _ref3.hasFocus;
|
|
return h(BIconChevronUp, {
|
|
props: {
|
|
flipV: true,
|
|
scale: hasFocus ? 1.5 : 1.25
|
|
},
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
});
|
|
}
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newVal, oldVal) {
|
|
if (newVal !== oldVal && !looseEqual(parseHMS(newVal), parseHMS(this.computedHMS))) {
|
|
var _parseHMS = parseHMS(newVal),
|
|
hours = _parseHMS.hours,
|
|
minutes = _parseHMS.minutes,
|
|
seconds = _parseHMS.seconds,
|
|
ampm = _parseHMS.ampm;
|
|
|
|
this.modelHours = hours;
|
|
this.modelMinutes = minutes;
|
|
this.modelSeconds = seconds;
|
|
this.modelAmpm = ampm;
|
|
}
|
|
},
|
|
computedHMS: function computedHMS(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
this.$emit('input', newVal);
|
|
}
|
|
},
|
|
context: function context(newVal, oldVal) {
|
|
if (!looseEqual(newVal, oldVal)) {
|
|
this.$emit('context', newVal);
|
|
}
|
|
},
|
|
modelAmpm: function modelAmpm(newVal, oldVal) {
|
|
var _this = this;
|
|
|
|
if (newVal !== oldVal) {
|
|
var hours = isNull(this.modelHours) ? 0 : this.modelHours;
|
|
this.$nextTick(function () {
|
|
if (newVal === 0 && hours > 11) {
|
|
// Switched to AM
|
|
_this.modelHours = hours - 12;
|
|
} else if (newVal === 1 && hours < 12) {
|
|
// Switched to PM
|
|
_this.modelHours = hours + 12;
|
|
}
|
|
});
|
|
}
|
|
},
|
|
modelHours: function modelHours(newHours, oldHours) {
|
|
if (newHours !== oldHours) {
|
|
this.modelAmpm = newHours > 11 ? 1 : 0;
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
var _this2 = this;
|
|
|
|
this.$nextTick(function () {
|
|
_this2.$emit('context', _this2.context);
|
|
});
|
|
},
|
|
mounted: function mounted() {
|
|
this.setLive(true);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
activated: function activated() {
|
|
this.setLive(true);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
deactivated: function deactivated() {
|
|
this.setLive(false);
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.setLive(false);
|
|
},
|
|
methods: {
|
|
// Public methods
|
|
focus: function focus() {
|
|
if (!this.disabled) {
|
|
// We focus the first spin button
|
|
attemptFocus(this.$refs.spinners[0]);
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
if (!this.disabled) {
|
|
var activeElement = getActiveElement();
|
|
|
|
if (contains(this.$el, activeElement)) {
|
|
attemptBlur(activeElement);
|
|
}
|
|
}
|
|
},
|
|
// Formatters for the spin buttons
|
|
formatHours: function formatHours(hh) {
|
|
var hourCycle = this.computedHourCycle; // We always store 0-23, but format based on h11/h12/h23/h24 formats
|
|
|
|
hh = this.is12Hour && hh > 12 ? hh - 12 : hh; // Determine how 00:00 and 12:00 are shown
|
|
|
|
hh = hh === 0 && hourCycle === 'h12' ? 12 : hh === 0 && hourCycle === 'h24' ?
|
|
/* istanbul ignore next */
|
|
24 : hh === 12 && hourCycle === 'h11' ?
|
|
/* istanbul ignore next */
|
|
0 : hh;
|
|
return this.numberFormatter(hh);
|
|
},
|
|
formatMinutes: function formatMinutes(mm) {
|
|
return this.numberFormatter(mm);
|
|
},
|
|
formatSeconds: function formatSeconds(ss) {
|
|
return this.numberFormatter(ss);
|
|
},
|
|
formatAmpm: function formatAmpm(ampm) {
|
|
// These should come from label props???
|
|
// `ampm` should always be a value of `0` or `1`
|
|
return ampm === 0 ? this.labelAm : ampm === 1 ? this.labelPm : '';
|
|
},
|
|
// Spinbutton on change handlers
|
|
setHours: function setHours(value) {
|
|
this.modelHours = value;
|
|
},
|
|
setMinutes: function setMinutes(value) {
|
|
this.modelMinutes = value;
|
|
},
|
|
setSeconds: function setSeconds(value) {
|
|
this.modelSeconds = value;
|
|
},
|
|
setAmpm: function setAmpm(value) {
|
|
this.modelAmpm = value;
|
|
},
|
|
onSpinLeftRight: function onSpinLeftRight() {
|
|
var evt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
var type = evt.type,
|
|
keyCode = evt.keyCode;
|
|
|
|
if (!this.disabled && type === 'keydown' && (keyCode === CODE_LEFT || keyCode === CODE_RIGHT)) {
|
|
stopEvent(evt);
|
|
var spinners = this.$refs.spinners || [];
|
|
var index = spinners.map(function (cmp) {
|
|
return !!cmp.hasFocus;
|
|
}).indexOf(true);
|
|
index = index + (keyCode === CODE_LEFT ? -1 : 1);
|
|
index = index >= spinners.length ? 0 : index < 0 ? spinners.length - 1 : index;
|
|
attemptFocus(spinners[index]);
|
|
}
|
|
},
|
|
setLive: function setLive(on) {
|
|
var _this3 = this;
|
|
|
|
if (on) {
|
|
this.$nextTick(function () {
|
|
requestAF(function () {
|
|
_this3.isLive = true;
|
|
});
|
|
});
|
|
} else {
|
|
this.isLive = false;
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this4 = this;
|
|
|
|
/* istanbul ignore if */
|
|
if (this.hidden) {
|
|
// If hidden, we just render a placeholder comment
|
|
return h();
|
|
}
|
|
|
|
var valueId = this.valueId;
|
|
var computedAriaLabelledby = this.computedAriaLabelledby;
|
|
var spinIds = []; // Helper method to render a spinbutton
|
|
|
|
var makeSpinbutton = function makeSpinbutton(handler, key, classes) {
|
|
var spinbuttonProps = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
var id = _this4.safeId("_spinbutton_".concat(key, "_")) || null;
|
|
spinIds.push(id);
|
|
return h(BFormSpinbutton, {
|
|
key: key,
|
|
ref: 'spinners',
|
|
refInFor: true,
|
|
class: classes,
|
|
props: _objectSpread2({
|
|
id: id,
|
|
placeholder: '--',
|
|
vertical: true,
|
|
required: true,
|
|
disabled: _this4.disabled,
|
|
readonly: _this4.readonly,
|
|
locale: _this4.computedLocale,
|
|
labelIncrement: _this4.labelIncrement,
|
|
labelDecrement: _this4.labelDecrement,
|
|
wrap: true,
|
|
ariaControls: valueId,
|
|
min: 0
|
|
}, spinbuttonProps),
|
|
scopedSlots: _this4.spinScopedSlots,
|
|
on: {
|
|
// We use `change` event to minimize SR verbosity
|
|
// As the spinbutton will announce each value change
|
|
// and we don't want the formatted time to be announced
|
|
// on each value input if repeat is happening
|
|
change: handler
|
|
}
|
|
});
|
|
}; // Helper method to return a "colon" separator
|
|
|
|
|
|
var makeColon = function makeColon() {
|
|
return h('div', {
|
|
staticClass: 'd-flex flex-column',
|
|
class: {
|
|
'text-muted': _this4.disabled || _this4.readonly
|
|
},
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
}, [h(BIconCircleFill, {
|
|
props: {
|
|
shiftV: 4,
|
|
scale: 0.5
|
|
}
|
|
}), h(BIconCircleFill, {
|
|
props: {
|
|
shiftV: -4,
|
|
scale: 0.5
|
|
}
|
|
})]);
|
|
};
|
|
|
|
var $spinners = []; // Hours
|
|
|
|
$spinners.push(makeSpinbutton(this.setHours, 'hours', 'b-time-hours', {
|
|
value: this.modelHours,
|
|
max: 23,
|
|
step: 1,
|
|
formatterFn: this.formatHours,
|
|
ariaLabel: this.labelHours
|
|
})); // Spacer
|
|
|
|
$spinners.push(makeColon()); // Minutes
|
|
|
|
$spinners.push(makeSpinbutton(this.setMinutes, 'minutes', 'b-time-minutes', {
|
|
value: this.modelMinutes,
|
|
max: 59,
|
|
step: this.minutesStep || 1,
|
|
formatterFn: this.formatMinutes,
|
|
ariaLabel: this.labelMinutes
|
|
}));
|
|
|
|
if (this.showSeconds) {
|
|
// Spacer
|
|
$spinners.push(makeColon()); // Seconds
|
|
|
|
$spinners.push(makeSpinbutton(this.setSeconds, 'seconds', 'b-time-seconds', {
|
|
value: this.modelSeconds,
|
|
max: 59,
|
|
step: this.secondsStep || 1,
|
|
formatterFn: this.formatSeconds,
|
|
ariaLabel: this.labelSeconds
|
|
}));
|
|
} // AM/PM ?
|
|
|
|
|
|
if (this.is12Hour) {
|
|
// TODO:
|
|
// If locale is RTL, unshift this instead of push?
|
|
// And switch class `ml-2` to `mr-2`
|
|
// Note some LTR locales (i.e. zh) also place AM/PM to the left
|
|
$spinners.push(makeSpinbutton(this.setAmpm, 'ampm', 'b-time-ampm', {
|
|
value: this.modelAmpm,
|
|
max: 1,
|
|
formatterFn: this.formatAmpm,
|
|
ariaLabel: this.labelAmpm,
|
|
// We set `required` as `false`, since this always has a value
|
|
required: false
|
|
}));
|
|
} // Assemble spinners
|
|
|
|
|
|
$spinners = h('div', {
|
|
staticClass: 'd-flex align-items-center justify-content-center mx-auto',
|
|
attrs: {
|
|
role: 'group',
|
|
tabindex: this.disabled || this.readonly ? null : '-1',
|
|
'aria-labelledby': computedAriaLabelledby
|
|
},
|
|
on: {
|
|
keydown: this.onSpinLeftRight,
|
|
click
|
|
/* istanbul ignore next */
|
|
: function click(evt)
|
|
/* istanbul ignore next */
|
|
{
|
|
if (evt.target === evt.currentTarget) {
|
|
_this4.focus();
|
|
}
|
|
}
|
|
}
|
|
}, $spinners); // Selected type display
|
|
|
|
var $value = h('output', {
|
|
staticClass: 'form-control form-control-sm text-center',
|
|
class: {
|
|
disabled: this.disabled || this.readonly
|
|
},
|
|
attrs: {
|
|
id: valueId,
|
|
role: 'status',
|
|
for: spinIds.filter(identity).join(' ') || null,
|
|
tabindex: this.disabled ? null : '-1',
|
|
'aria-live': this.isLive ? 'polite' : 'off',
|
|
'aria-atomic': 'true'
|
|
},
|
|
on: {
|
|
// Transfer focus/click to focus hours spinner
|
|
click: this.focus,
|
|
focus: this.focus
|
|
}
|
|
}, [h('bdi', this.formattedTimeString), this.computedHMS ? h('span', {
|
|
staticClass: 'sr-only'
|
|
}, " (".concat(this.labelSelected, ") ")) : '']);
|
|
var $header = h('header', {
|
|
staticClass: 'b-time-header',
|
|
class: {
|
|
'sr-only': this.hideHeader
|
|
}
|
|
}, [$value]); // Optional bottom slot
|
|
|
|
var $slot = this.normalizeSlot();
|
|
$slot = $slot ? h('footer', {
|
|
staticClass: 'b-time-footer'
|
|
}, $slot) : h();
|
|
return h('div', {
|
|
staticClass: 'b-time d-inline-flex flex-column text-center',
|
|
attrs: {
|
|
role: 'group',
|
|
lang: this.computedLang || null,
|
|
'aria-labelledby': computedAriaLabelledby || null,
|
|
'aria-disabled': this.disabled ? 'true' : null,
|
|
'aria-readonly': this.readonly && !this.disabled ? 'true' : null
|
|
}
|
|
}, [$header, $spinners, $slot]);
|
|
}
|
|
});
|
|
|
|
// @vue/component
|
|
|
|
var BFormTimepicker = /*#__PURE__*/Vue.extend({
|
|
name: NAME_FORM_TIMEPICKER,
|
|
// The mixins order determines the order of appearance in the props reference section
|
|
mixins: [idMixin],
|
|
model: {
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2({}, props$M), omit(props$H, ['id', 'value', 'formattedValue', 'rtl', 'lang'])), {}, {
|
|
resetValue: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
buttonOnly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
buttonVariant: {
|
|
// Applicable in button only mode
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
nowButton: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
labelNowButton: {
|
|
type: String,
|
|
default: 'Select now'
|
|
},
|
|
nowButtonVariant: {
|
|
type: String,
|
|
default: 'outline-primary'
|
|
},
|
|
resetButton: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
labelResetButton: {
|
|
type: String,
|
|
default: 'Reset'
|
|
},
|
|
resetButtonVariant: {
|
|
type: String,
|
|
default: 'outline-danger'
|
|
},
|
|
noCloseButton: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
labelCloseButton: {
|
|
type: String,
|
|
default: 'Close'
|
|
},
|
|
closeButtonVariant: {
|
|
type: String,
|
|
default: 'outline-secondary'
|
|
}
|
|
}), NAME_FORM_TIMEPICKER),
|
|
data: function data() {
|
|
return {
|
|
// We always use `HH:mm:ss` value internally
|
|
localHMS: this.value || '',
|
|
// Context data from BTime
|
|
localLocale: null,
|
|
isRTL: false,
|
|
formattedValue: '',
|
|
// If the menu is opened
|
|
isVisible: false
|
|
};
|
|
},
|
|
computed: {
|
|
computedLang: function computedLang() {
|
|
return (this.localLocale || '').replace(/-u-.*$/i, '') || null;
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newVal) {
|
|
this.localHMS = newVal || '';
|
|
},
|
|
localHMS: function localHMS(newVal) {
|
|
// We only update the v-model value when the timepicker
|
|
// is open, to prevent cursor jumps when bound to a
|
|
// text input in button only mode
|
|
if (this.isVisible) {
|
|
this.$emit('input', newVal || '');
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
// Public methods
|
|
focus: function focus() {
|
|
if (!this.disabled) {
|
|
attemptFocus(this.$refs.control);
|
|
}
|
|
},
|
|
blur: function blur() {
|
|
if (!this.disabled) {
|
|
attemptBlur(this.$refs.control);
|
|
}
|
|
},
|
|
// Private methods
|
|
setAndClose: function setAndClose(value) {
|
|
var _this = this;
|
|
|
|
this.localHMS = value;
|
|
this.$nextTick(function () {
|
|
_this.$refs.control.hide(true);
|
|
});
|
|
},
|
|
onInput: function onInput(hms) {
|
|
if (this.localHMS !== hms) {
|
|
this.localHMS = hms;
|
|
}
|
|
},
|
|
onContext: function onContext(ctx) {
|
|
var isRTL = ctx.isRTL,
|
|
locale = ctx.locale,
|
|
value = ctx.value,
|
|
formatted = ctx.formatted;
|
|
this.isRTL = isRTL;
|
|
this.localLocale = locale;
|
|
this.formattedValue = formatted;
|
|
this.localHMS = value || ''; // Re-emit the context event
|
|
|
|
this.$emit('context', ctx);
|
|
},
|
|
onNowButton: function onNowButton() {
|
|
var now = new Date();
|
|
var hours = now.getHours();
|
|
var minutes = now.getMinutes();
|
|
var seconds = this.showSeconds ? now.getSeconds() : 0;
|
|
var value = [hours, minutes, seconds].map(function (v) {
|
|
return "00".concat(v || '').slice(-2);
|
|
}).join(':');
|
|
this.setAndClose(value);
|
|
},
|
|
onResetButton: function onResetButton() {
|
|
this.setAndClose(this.resetValue);
|
|
},
|
|
onCloseButton: function onCloseButton() {
|
|
this.$refs.control.hide(true);
|
|
},
|
|
onShow: function onShow() {
|
|
this.isVisible = true;
|
|
},
|
|
onShown: function onShown() {
|
|
var _this2 = this;
|
|
|
|
this.$nextTick(function () {
|
|
attemptFocus(_this2.$refs.time);
|
|
|
|
_this2.$emit('shown');
|
|
});
|
|
},
|
|
onHidden: function onHidden() {
|
|
this.isVisible = false;
|
|
this.$emit('hidden');
|
|
},
|
|
// Render function helpers
|
|
defaultButtonFn: function defaultButtonFn(_ref) {
|
|
var isHovered = _ref.isHovered,
|
|
hasFocus = _ref.hasFocus;
|
|
return this.$createElement(isHovered || hasFocus ? BIconClockFill : BIconClock, {
|
|
attrs: {
|
|
'aria-hidden': 'true'
|
|
}
|
|
});
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var localHMS = this.localHMS,
|
|
disabled = this.disabled,
|
|
readonly = this.readonly,
|
|
$props = this.$props;
|
|
var placeholder = isUndefinedOrNull(this.placeholder) ? this.labelNoTimeSelected : this.placeholder; // Footer buttons
|
|
|
|
var $footer = [];
|
|
|
|
if (this.nowButton) {
|
|
var label = this.labelNowButton;
|
|
$footer.push(h(BButton, {
|
|
key: 'now-btn',
|
|
props: {
|
|
size: 'sm',
|
|
disabled: disabled || readonly,
|
|
variant: this.nowButtonVariant
|
|
},
|
|
attrs: {
|
|
'aria-label': label || null
|
|
},
|
|
on: {
|
|
click: this.onNowButton
|
|
}
|
|
}, label));
|
|
}
|
|
|
|
if (this.resetButton) {
|
|
if ($footer.length > 0) {
|
|
// Add a "spacer" between buttons (' ')
|
|
$footer.push(h('span', "\xA0"));
|
|
}
|
|
|
|
var _label = this.labelResetButton;
|
|
$footer.push(h(BButton, {
|
|
key: 'reset-btn',
|
|
props: {
|
|
size: 'sm',
|
|
disabled: disabled || readonly,
|
|
variant: this.resetButtonVariant
|
|
},
|
|
attrs: {
|
|
'aria-label': _label || null
|
|
},
|
|
on: {
|
|
click: this.onResetButton
|
|
}
|
|
}, _label));
|
|
}
|
|
|
|
if (!this.noCloseButton) {
|
|
if ($footer.length > 0) {
|
|
// Add a "spacer" between buttons (' ')
|
|
$footer.push(h('span', "\xA0"));
|
|
}
|
|
|
|
var _label2 = this.labelCloseButton;
|
|
$footer.push(h(BButton, {
|
|
key: 'close-btn',
|
|
props: {
|
|
size: 'sm',
|
|
disabled: disabled,
|
|
variant: this.closeButtonVariant
|
|
},
|
|
attrs: {
|
|
'aria-label': _label2 || null
|
|
},
|
|
on: {
|
|
click: this.onCloseButton
|
|
}
|
|
}, _label2));
|
|
}
|
|
|
|
if ($footer.length > 0) {
|
|
$footer = [h('div', {
|
|
staticClass: 'b-form-date-controls d-flex flex-wrap',
|
|
class: {
|
|
'justify-content-between': $footer.length > 1,
|
|
'justify-content-end': $footer.length < 2
|
|
}
|
|
}, $footer)];
|
|
}
|
|
|
|
var $time = h(BTime, {
|
|
ref: 'time',
|
|
staticClass: 'b-form-time-control',
|
|
props: _objectSpread2(_objectSpread2({}, pluckProps(props$M, $props)), {}, {
|
|
value: localHMS,
|
|
hidden: !this.isVisible
|
|
}),
|
|
on: {
|
|
input: this.onInput,
|
|
context: this.onContext
|
|
}
|
|
}, $footer);
|
|
return h(BVFormBtnLabelControl, {
|
|
ref: 'control',
|
|
staticClass: 'b-form-timepicker',
|
|
props: _objectSpread2(_objectSpread2({}, pluckProps(props$H, $props)), {}, {
|
|
id: this.safeId(),
|
|
value: localHMS,
|
|
formattedValue: localHMS ? this.formattedValue : '',
|
|
placeholder: placeholder,
|
|
rtl: this.isRTL,
|
|
lang: this.computedLang
|
|
}),
|
|
on: {
|
|
show: this.onShow,
|
|
shown: this.onShown,
|
|
hidden: this.onHidden
|
|
},
|
|
scopedSlots: {
|
|
'button-content': this.$scopedSlots['button-content'] || this.defaultButtonFn
|
|
}
|
|
}, [$time]);
|
|
}
|
|
});
|
|
|
|
var FormTimepickerPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BFormTimepicker: BFormTimepicker,
|
|
BTimepicker: BFormTimepicker
|
|
}
|
|
});
|
|
|
|
var ImagePlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BImg: BImg,
|
|
BImgLazy: BImgLazy
|
|
}
|
|
});
|
|
|
|
var props$N = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
}
|
|
}, NAME_INPUT_GROUP_TEXT); // @vue/component
|
|
|
|
var BInputGroupText = /*#__PURE__*/Vue.extend({
|
|
name: NAME_INPUT_GROUP_TEXT,
|
|
functional: true,
|
|
props: props$N,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'input-group-text'
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var commonProps$1 = {
|
|
id: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
isText: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}; // @vue/component
|
|
|
|
var BInputGroupAddon = /*#__PURE__*/Vue.extend({
|
|
name: NAME_INPUT_GROUP_ADDON,
|
|
functional: true,
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2({}, commonProps$1), {}, {
|
|
append: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_INPUT_GROUP_ADDON),
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
class: {
|
|
'input-group-append': props.append,
|
|
'input-group-prepend': !props.append
|
|
},
|
|
attrs: {
|
|
id: props.id
|
|
}
|
|
}), props.isText ? [h(BInputGroupText, children)] : children);
|
|
}
|
|
});
|
|
|
|
var BInputGroupAppend = /*#__PURE__*/Vue.extend({
|
|
name: NAME_INPUT_GROUP_APPEND,
|
|
functional: true,
|
|
props: makePropsConfigurable(commonProps$1, NAME_INPUT_GROUP_APPEND),
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
// Pass all our data down to child, and set `append` to `true`
|
|
return h(BInputGroupAddon, mergeData(data, {
|
|
props: _objectSpread2(_objectSpread2({}, props), {}, {
|
|
append: true
|
|
})
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var BInputGroupPrepend = /*#__PURE__*/Vue.extend({
|
|
name: NAME_INPUT_GROUP_PREPEND,
|
|
functional: true,
|
|
props: makePropsConfigurable(commonProps$1, NAME_INPUT_GROUP_PREPEND),
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
// pass all our props/attrs down to child, and set`append` to false
|
|
return h(BInputGroupAddon, mergeData(data, {
|
|
props: _objectSpread2(_objectSpread2({}, props), {}, {
|
|
append: false
|
|
})
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$O = makePropsConfigurable({
|
|
id: {
|
|
type: String
|
|
},
|
|
size: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
prepend: {
|
|
type: String
|
|
},
|
|
prependHtml: {
|
|
type: String
|
|
},
|
|
append: {
|
|
type: String
|
|
},
|
|
appendHtml: {
|
|
type: String
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
}
|
|
}, NAME_INPUT_GROUP); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BInputGroup = /*#__PURE__*/Vue.extend({
|
|
name: NAME_INPUT_GROUP,
|
|
functional: true,
|
|
props: props$O,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
slots = _ref.slots,
|
|
scopedSlots = _ref.scopedSlots;
|
|
var prepend = props.prepend,
|
|
prependHtml = props.prependHtml,
|
|
append = props.append,
|
|
appendHtml = props.appendHtml,
|
|
size = props.size;
|
|
var $scopedSlots = scopedSlots || {};
|
|
var $slots = slots();
|
|
var slotScope = {};
|
|
var $prepend = h();
|
|
var hasPrependSlot = hasNormalizedSlot(SLOT_NAME_PREPEND, $scopedSlots, $slots);
|
|
|
|
if (hasPrependSlot || prepend || prependHtml) {
|
|
$prepend = h(BInputGroupPrepend, [hasPrependSlot ? normalizeSlot(SLOT_NAME_PREPEND, slotScope, $scopedSlots, $slots) : h(BInputGroupText, {
|
|
domProps: htmlOrText(prependHtml, prepend)
|
|
})]);
|
|
}
|
|
|
|
var $append = h();
|
|
var hasAppendSlot = hasNormalizedSlot(SLOT_NAME_APPEND, $scopedSlots, $slots);
|
|
|
|
if (hasAppendSlot || append || appendHtml) {
|
|
$append = h(BInputGroupAppend, [hasAppendSlot ? normalizeSlot(SLOT_NAME_APPEND, slotScope, $scopedSlots, $slots) : h(BInputGroupText, {
|
|
domProps: htmlOrText(appendHtml, append)
|
|
})]);
|
|
}
|
|
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'input-group',
|
|
class: _defineProperty({}, "input-group-".concat(size), size),
|
|
attrs: {
|
|
id: props.id || null,
|
|
role: 'group'
|
|
}
|
|
}), [$prepend, normalizeSlot(SLOT_NAME_DEFAULT, slotScope, $scopedSlots, $slots), $append]);
|
|
}
|
|
});
|
|
|
|
var InputGroupPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BInputGroup: BInputGroup,
|
|
BInputGroupAddon: BInputGroupAddon,
|
|
BInputGroupPrepend: BInputGroupPrepend,
|
|
BInputGroupAppend: BInputGroupAppend,
|
|
BInputGroupText: BInputGroupText
|
|
}
|
|
});
|
|
|
|
var props$P = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
fluid: {
|
|
// String breakpoint name new in Bootstrap v4.4.x
|
|
type: [Boolean, String],
|
|
default: false
|
|
}
|
|
}, NAME_CONTAINER); // @vue/component
|
|
|
|
var BContainer = /*#__PURE__*/Vue.extend({
|
|
name: NAME_CONTAINER,
|
|
functional: true,
|
|
props: props$P,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
class: _defineProperty({
|
|
container: !(props.fluid || props.fluid === ''),
|
|
'container-fluid': props.fluid === true || props.fluid === ''
|
|
}, "container-".concat(props.fluid), props.fluid && props.fluid !== true)
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$Q = makePropsConfigurable({
|
|
fluid: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
containerFluid: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
header: {
|
|
type: String // default: null
|
|
|
|
},
|
|
headerHtml: {
|
|
type: String // default: null
|
|
|
|
},
|
|
headerTag: {
|
|
type: String,
|
|
default: 'h1'
|
|
},
|
|
headerLevel: {
|
|
type: [Number, String],
|
|
default: '3'
|
|
},
|
|
lead: {
|
|
type: String // default: null
|
|
|
|
},
|
|
leadHtml: {
|
|
type: String // default: null
|
|
|
|
},
|
|
leadTag: {
|
|
type: String,
|
|
default: 'p'
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
bgVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
borderVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
textVariant: {
|
|
type: String // default: undefined
|
|
|
|
}
|
|
}, NAME_JUMBOTRON); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BJumbotron = /*#__PURE__*/Vue.extend({
|
|
name: NAME_JUMBOTRON,
|
|
functional: true,
|
|
props: props$Q,
|
|
render: function render(h, _ref) {
|
|
var _class2;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
slots = _ref.slots,
|
|
scopedSlots = _ref.scopedSlots;
|
|
var header = props.header,
|
|
headerHtml = props.headerHtml,
|
|
lead = props.lead,
|
|
leadHtml = props.leadHtml,
|
|
textVariant = props.textVariant,
|
|
bgVariant = props.bgVariant,
|
|
borderVariant = props.borderVariant;
|
|
var $scopedSlots = scopedSlots || {};
|
|
var $slots = slots();
|
|
var slotScope = {};
|
|
var $header = h();
|
|
var hasHeaderSlot = hasNormalizedSlot(SLOT_NAME_HEADER, $scopedSlots, $slots);
|
|
|
|
if (hasHeaderSlot || header || headerHtml) {
|
|
var headerLevel = props.headerLevel;
|
|
$header = h(props.headerTag, {
|
|
class: _defineProperty({}, "display-".concat(headerLevel), headerLevel),
|
|
domProps: hasHeaderSlot ? {} : htmlOrText(headerHtml, header)
|
|
}, normalizeSlot(SLOT_NAME_HEADER, slotScope, $scopedSlots, $slots));
|
|
}
|
|
|
|
var $lead = h();
|
|
var hasLeadSlot = hasNormalizedSlot(SLOT_NAME_LEAD, $scopedSlots, $slots);
|
|
|
|
if (hasLeadSlot || lead || leadHtml) {
|
|
$lead = h(props.leadTag, {
|
|
staticClass: 'lead',
|
|
domProps: hasLeadSlot ? {} : htmlOrText(leadHtml, lead)
|
|
}, normalizeSlot(SLOT_NAME_LEAD, slotScope, $scopedSlots, $slots));
|
|
}
|
|
|
|
var $children = [$header, $lead, normalizeSlot(SLOT_NAME_DEFAULT, slotScope, $scopedSlots, $slots)]; // If fluid, wrap content in a container
|
|
|
|
if (props.fluid) {
|
|
$children = [h(BContainer, {
|
|
props: {
|
|
fluid: props.containerFluid
|
|
}
|
|
}, $children)];
|
|
}
|
|
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'jumbotron',
|
|
class: (_class2 = {
|
|
'jumbotron-fluid': props.fluid
|
|
}, _defineProperty(_class2, "text-".concat(textVariant), textVariant), _defineProperty(_class2, "bg-".concat(bgVariant), bgVariant), _defineProperty(_class2, "border-".concat(borderVariant), borderVariant), _defineProperty(_class2, "border", borderVariant), _class2)
|
|
}), $children);
|
|
}
|
|
});
|
|
|
|
var JumbotronPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BJumbotron: BJumbotron
|
|
}
|
|
});
|
|
|
|
var COMMON_ALIGNMENT = ['start', 'end', 'center']; // Generates a prop object with a type of `[String, Number]`
|
|
|
|
var strNum$1 = function strNum() {
|
|
return {
|
|
type: [String, Number],
|
|
default: null
|
|
};
|
|
}; // Compute a `row-cols-{breakpoint}-{cols}` class name
|
|
// Memoized function for better performance on generating class names
|
|
|
|
|
|
var computeRowColsClass = memoize(function (breakpoint, cols) {
|
|
cols = trim(toString$1(cols));
|
|
return cols ? lowerCase(['row-cols', breakpoint, cols].filter(identity).join('-')) : null;
|
|
}); // Get the breakpoint name from the `rowCols` prop name
|
|
// Memoized function for better performance on extracting breakpoint names
|
|
|
|
var computeRowColsBreakpoint = memoize(function (prop) {
|
|
return lowerCase(prop.replace('cols', ''));
|
|
}); // Cached copy of the `row-cols` breakpoint prop names
|
|
// Will be populated when the props are generated
|
|
|
|
var rowColsPropList = []; // Lazy evaled props factory for <b-row> (called only once,
|
|
// the first time the component is used)
|
|
|
|
var generateProps$2 = function generateProps() {
|
|
// Grab the breakpoints from the cached config (including the '' (xs) breakpoint)
|
|
var breakpoints = getBreakpointsUpCached(); // Supports classes like: `row-cols-2`, `row-cols-md-4`, `row-cols-xl-6`
|
|
|
|
var rowColsProps = breakpoints.reduce(function (props, breakpoint) {
|
|
props[suffixPropName(breakpoint, 'cols')] = strNum$1();
|
|
return props;
|
|
}, create(null)); // Cache the row-cols prop names
|
|
|
|
rowColsPropList = keys(rowColsProps); // Return the generated props
|
|
|
|
return makePropsConfigurable(_objectSpread2({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
noGutters: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
alignV: {
|
|
type: String,
|
|
default: null,
|
|
validator: function validator(value) {
|
|
return arrayIncludes(concat(COMMON_ALIGNMENT, 'baseline', 'stretch'), value);
|
|
}
|
|
},
|
|
alignH: {
|
|
type: String,
|
|
default: null,
|
|
validator: function validator(value) {
|
|
return arrayIncludes(concat(COMMON_ALIGNMENT, 'between', 'around'), value);
|
|
}
|
|
},
|
|
alignContent: {
|
|
type: String,
|
|
default: null,
|
|
validator: function validator(value) {
|
|
return arrayIncludes(concat(COMMON_ALIGNMENT, 'between', 'around', 'stretch'), value);
|
|
}
|
|
}
|
|
}, rowColsProps), NAME_ROW);
|
|
}; // We do not use `Vue.extend()` here as that would evaluate the props
|
|
// immediately, which we do not want to happen
|
|
// @vue/component
|
|
|
|
|
|
var BRow = {
|
|
name: NAME_ROW,
|
|
functional: true,
|
|
|
|
get props() {
|
|
// Allow props to be lazy evaled on first access and
|
|
// then they become a non-getter afterwards
|
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get#Smart_self-overwriting_lazy_getters
|
|
delete this.props;
|
|
this.props = generateProps$2();
|
|
return this.props;
|
|
},
|
|
|
|
render: function render(h, _ref) {
|
|
var _classList$push;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var classList = []; // Loop through row-cols breakpoint props and generate the classes
|
|
|
|
rowColsPropList.forEach(function (prop) {
|
|
var c = computeRowColsClass(computeRowColsBreakpoint(prop), props[prop]); // If a class is returned, push it onto the array
|
|
|
|
if (c) {
|
|
classList.push(c);
|
|
}
|
|
});
|
|
classList.push((_classList$push = {
|
|
'no-gutters': props.noGutters
|
|
}, _defineProperty(_classList$push, "align-items-".concat(props.alignV), props.alignV), _defineProperty(_classList$push, "justify-content-".concat(props.alignH), props.alignH), _defineProperty(_classList$push, "align-content-".concat(props.alignContent), props.alignContent), _classList$push));
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'row',
|
|
class: classList
|
|
}), children);
|
|
}
|
|
};
|
|
|
|
var LayoutPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BContainer: BContainer,
|
|
BRow: BRow,
|
|
BCol: BCol,
|
|
BFormRow: BFormRow
|
|
}
|
|
});
|
|
|
|
var LinkPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BLink: BLink
|
|
}
|
|
});
|
|
|
|
var props$R = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
flush: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
horizontal: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
}
|
|
}, NAME_LIST_GROUP); // @vue/component
|
|
|
|
var BListGroup = /*#__PURE__*/Vue.extend({
|
|
name: NAME_LIST_GROUP,
|
|
functional: true,
|
|
props: props$R,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var horizontal = props.horizontal === '' ? true : props.horizontal;
|
|
horizontal = props.flush ? false : horizontal;
|
|
var componentData = {
|
|
staticClass: 'list-group',
|
|
class: _defineProperty({
|
|
'list-group-flush': props.flush,
|
|
'list-group-horizontal': horizontal === true
|
|
}, "list-group-horizontal-".concat(horizontal), isString(horizontal))
|
|
};
|
|
return h(props.tag, mergeData(data, componentData), children);
|
|
}
|
|
});
|
|
|
|
var actionTags = ['a', 'router-link', 'button', 'b-link']; // --- Props ---
|
|
|
|
var linkProps$3 = omit(props$1, ['event', 'routerTag']);
|
|
delete linkProps$3.href.default;
|
|
delete linkProps$3.to.default;
|
|
var props$S = makePropsConfigurable(_objectSpread2(_objectSpread2({}, linkProps$3), {}, {
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
action: {
|
|
type: Boolean,
|
|
default: null
|
|
},
|
|
button: {
|
|
type: Boolean,
|
|
default: null
|
|
},
|
|
variant: {
|
|
type: String // default: undefined
|
|
|
|
}
|
|
}), NAME_LIST_GROUP_ITEM); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BListGroupItem = /*#__PURE__*/Vue.extend({
|
|
name: NAME_LIST_GROUP_ITEM,
|
|
functional: true,
|
|
props: props$S,
|
|
render: function render(h, _ref) {
|
|
var _class;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var button = props.button,
|
|
variant = props.variant,
|
|
active = props.active,
|
|
disabled = props.disabled;
|
|
var link = isLink(props);
|
|
var tag = button ? 'button' : !link ? props.tag : BLink;
|
|
var action = !!(props.action || link || button || arrayIncludes(actionTags, props.tag));
|
|
var attrs = {};
|
|
var itemProps = {};
|
|
|
|
if (isTag(tag, 'button')) {
|
|
if (!data.attrs || !data.attrs.type) {
|
|
// Add a type for button is one not provided in passed attributes
|
|
attrs.type = 'button';
|
|
}
|
|
|
|
if (props.disabled) {
|
|
// Set disabled attribute if button and disabled
|
|
attrs.disabled = true;
|
|
}
|
|
} else {
|
|
itemProps = pluckProps(linkProps$3, props);
|
|
}
|
|
|
|
return h(tag, mergeData(data, {
|
|
attrs: attrs,
|
|
props: itemProps,
|
|
staticClass: 'list-group-item',
|
|
class: (_class = {}, _defineProperty(_class, "list-group-item-".concat(variant), variant), _defineProperty(_class, 'list-group-item-action', action), _defineProperty(_class, "active", active), _defineProperty(_class, "disabled", disabled), _class)
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var ListGroupPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BListGroup: BListGroup,
|
|
BListGroupItem: BListGroupItem
|
|
}
|
|
});
|
|
|
|
var props$T = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
right: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
verticalAlign: {
|
|
type: String,
|
|
default: 'top'
|
|
}
|
|
}, NAME_MEDIA_ASIDE); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BMediaAside = /*#__PURE__*/Vue.extend({
|
|
name: NAME_MEDIA_ASIDE,
|
|
functional: true,
|
|
props: props$T,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var verticalAlign = props.verticalAlign;
|
|
var align = verticalAlign === 'top' ? 'start' : verticalAlign === 'bottom' ? 'end' :
|
|
/* istanbul ignore next */
|
|
verticalAlign;
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'media-aside',
|
|
class: _defineProperty({
|
|
'media-aside-right': props.right
|
|
}, "align-self-".concat(align), align)
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$U = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
}
|
|
}, NAME_MEDIA_BODY); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BMediaBody = /*#__PURE__*/Vue.extend({
|
|
name: NAME_MEDIA_BODY,
|
|
functional: true,
|
|
props: props$U,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'media-body'
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$V = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
noBody: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
rightAlign: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
verticalAlign: {
|
|
type: String,
|
|
default: 'top'
|
|
}
|
|
}, NAME_MEDIA); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BMedia = /*#__PURE__*/Vue.extend({
|
|
name: NAME_MEDIA,
|
|
functional: true,
|
|
props: props$V,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
slots = _ref.slots,
|
|
scopedSlots = _ref.scopedSlots,
|
|
children = _ref.children;
|
|
var noBody = props.noBody,
|
|
rightAlign = props.rightAlign,
|
|
verticalAlign = props.verticalAlign;
|
|
var $children = noBody ? children : [];
|
|
|
|
if (!noBody) {
|
|
var slotScope = {};
|
|
var $slots = slots();
|
|
var $scopedSlots = scopedSlots || {};
|
|
$children.push(h(BMediaBody, normalizeSlot(SLOT_NAME_DEFAULT, slotScope, $scopedSlots, $slots)));
|
|
var $aside = normalizeSlot('aside', slotScope, $scopedSlots, $slots);
|
|
|
|
if ($aside) {
|
|
$children[rightAlign ? 'push' : 'unshift'](h(BMediaAside, {
|
|
props: {
|
|
right: rightAlign,
|
|
verticalAlign: verticalAlign
|
|
}
|
|
}, $aside));
|
|
}
|
|
}
|
|
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'media'
|
|
}), $children);
|
|
}
|
|
});
|
|
|
|
var MediaPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BMedia: BMedia,
|
|
BMediaAside: BMediaAside,
|
|
BMediaBody: BMediaBody
|
|
}
|
|
});
|
|
|
|
//
|
|
// Single root node portaling of content, which retains parent/child hierarchy
|
|
// Unlike Portal-Vue where portaled content is no longer a descendent of its
|
|
// intended parent components
|
|
//
|
|
// Private components for use by Tooltips, Popovers and Modals
|
|
//
|
|
// Based on vue-simple-portal
|
|
// https://github.com/LinusBorg/vue-simple-portal
|
|
// Transporter target used by BTransporterSingle
|
|
// Supports only a single root element
|
|
// @vue/component
|
|
|
|
var BTransporterTargetSingle = /*#__PURE__*/Vue.extend({
|
|
// As an abstract component, it doesn't appear in the $parent chain of
|
|
// components, which means the next parent of any component rendered inside
|
|
// of this one will be the parent from which is was portal'd
|
|
abstract: true,
|
|
name: NAME_TRANSPORTER_TARGET_SINGLE,
|
|
props: {
|
|
nodes: {
|
|
// Even though we only support a single root element,
|
|
// VNodes are always passed as an array
|
|
type: [Array, Function] // default: undefined
|
|
|
|
}
|
|
},
|
|
data: function data(vm) {
|
|
return {
|
|
updatedNodes: vm.nodes
|
|
};
|
|
},
|
|
destroyed: function destroyed() {
|
|
removeNode(this.$el);
|
|
},
|
|
render: function render(h) {
|
|
var nodes = isFunction(this.updatedNodes) ? this.updatedNodes({}) : this.updatedNodes;
|
|
nodes = concat(nodes).filter(Boolean);
|
|
/* istanbul ignore else */
|
|
|
|
if (nodes && nodes.length > 0 && !nodes[0].text) {
|
|
return nodes[0];
|
|
} else {
|
|
/* istanbul ignore next */
|
|
return h();
|
|
}
|
|
}
|
|
}); // This component has no root element, so only a single VNode is allowed
|
|
// @vue/component
|
|
|
|
var BTransporterSingle = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TRANSPORTER_SINGLE,
|
|
mixins: [normalizeSlotMixin],
|
|
props: {
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
container: {
|
|
// String: CSS selector,
|
|
// HTMLElement: Element reference
|
|
// Mainly needed for tooltips/popovers inside modals
|
|
type: [String, HTMLElement],
|
|
default: 'body'
|
|
},
|
|
tag: {
|
|
// This should be set to match the root element type
|
|
type: String,
|
|
default: 'div'
|
|
}
|
|
},
|
|
watch: {
|
|
disabled: {
|
|
immediate: true,
|
|
handler: function handler(disabled) {
|
|
disabled ? this.unmountTarget() : this.$nextTick(this.mountTarget);
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Create private non-reactive props
|
|
this.$_defaultFn = null;
|
|
this.$_target = null;
|
|
},
|
|
beforeMount: function beforeMount() {
|
|
this.mountTarget();
|
|
},
|
|
updated: function updated() {
|
|
// We need to make sure that all children have completed updating
|
|
// before rendering in the target
|
|
// `vue-simple-portal` has the this in a `$nextTick()`,
|
|
// while `portal-vue` doesn't
|
|
// Just trying to see if the `$nextTick()` delay is required or not
|
|
// Since all slots in Vue 2.6.x are always functions
|
|
this.updateTarget();
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.unmountTarget();
|
|
this.$_defaultFn = null;
|
|
},
|
|
methods: {
|
|
// Get the element which the target should be appended to
|
|
getContainer: function getContainer() {
|
|
/* istanbul ignore else */
|
|
if (isBrowser) {
|
|
var container = this.container;
|
|
return isString(container) ? select(container) : container;
|
|
} else {
|
|
return null;
|
|
}
|
|
},
|
|
// Mount the target
|
|
mountTarget: function mountTarget() {
|
|
if (!this.$_target) {
|
|
var container = this.getContainer();
|
|
|
|
if (container) {
|
|
var el = document.createElement('div');
|
|
container.appendChild(el);
|
|
this.$_target = new BTransporterTargetSingle({
|
|
el: el,
|
|
parent: this,
|
|
propsData: {
|
|
// Initial nodes to be rendered
|
|
nodes: concat(this.normalizeSlot())
|
|
}
|
|
});
|
|
}
|
|
}
|
|
},
|
|
// Update the content of the target
|
|
updateTarget: function updateTarget() {
|
|
if (isBrowser && this.$_target) {
|
|
var defaultFn = this.$scopedSlots.default;
|
|
|
|
if (!this.disabled) {
|
|
/* istanbul ignore else: only applicable in Vue 2.5.x */
|
|
if (defaultFn && this.$_defaultFn !== defaultFn) {
|
|
// We only update the target component if the scoped slot
|
|
// function is a fresh one. The new slot syntax (since Vue 2.6)
|
|
// can cache unchanged slot functions and we want to respect that here
|
|
this.$_target.updatedNodes = defaultFn;
|
|
} else if (!defaultFn) {
|
|
// We also need to be back compatible with non-scoped default slot (i.e. 2.5.x)
|
|
this.$_target.updatedNodes = this.$slots.default;
|
|
}
|
|
} // Update the scoped slot function cache
|
|
|
|
|
|
this.$_defaultFn = defaultFn;
|
|
}
|
|
},
|
|
// Unmount the target
|
|
unmountTarget: function unmountTarget() {
|
|
this.$_target && this.$_target.$destroy();
|
|
this.$_target = null;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
if (this.disabled) {
|
|
var nodes = concat(this.normalizeSlot()).filter(identity);
|
|
|
|
if (nodes.length > 0 && !nodes[0].text) {
|
|
return nodes[0];
|
|
}
|
|
}
|
|
|
|
return h();
|
|
}
|
|
});
|
|
|
|
var PROP$1 = '$_bv_documentHandlers_'; // @vue/component
|
|
|
|
var listenOnDocumentMixin = {
|
|
created: function created() {
|
|
var _this = this;
|
|
|
|
/* istanbul ignore next */
|
|
if (!isBrowser) {
|
|
return;
|
|
} // Declare non-reactive property
|
|
// Object of arrays, keyed by event name,
|
|
// where value is an array of handlers
|
|
// Prop will be defined on client only
|
|
|
|
|
|
this[PROP$1] = {}; // Set up our beforeDestroy handler (client only)
|
|
|
|
this.$once('hook:beforeDestroy', function () {
|
|
var items = _this[PROP$1] || {}; // Immediately delete this[PROP] to prevent the
|
|
// listenOn/Off methods from running (which may occur
|
|
// due to requestAnimationFrame/transition delays)
|
|
|
|
delete _this[PROP$1]; // Remove all registered event handlers
|
|
|
|
keys(items).forEach(function (evtName) {
|
|
var handlers = items[evtName] || [];
|
|
handlers.forEach(function (handler) {
|
|
return eventOff(document, evtName, handler, EVENT_OPTIONS_NO_CAPTURE);
|
|
});
|
|
});
|
|
});
|
|
},
|
|
methods: {
|
|
listenDocument: function listenDocument(on, evtName, handler) {
|
|
on ? this.listenOnDocument(evtName, handler) : this.listenOffDocument(evtName, handler);
|
|
},
|
|
listenOnDocument: function listenOnDocument(evtName, handler) {
|
|
if (this[PROP$1] && isString(evtName) && isFunction(handler)) {
|
|
this[PROP$1][evtName] = this[PROP$1][evtName] || [];
|
|
|
|
if (!arrayIncludes(this[PROP$1][evtName], handler)) {
|
|
this[PROP$1][evtName].push(handler);
|
|
eventOn(document, evtName, handler, EVENT_OPTIONS_NO_CAPTURE);
|
|
}
|
|
}
|
|
},
|
|
listenOffDocument: function listenOffDocument(evtName, handler) {
|
|
if (this[PROP$1] && isString(evtName) && isFunction(handler)) {
|
|
eventOff(document, evtName, handler, EVENT_OPTIONS_NO_CAPTURE);
|
|
this[PROP$1][evtName] = (this[PROP$1][evtName] || []).filter(function (h) {
|
|
return h !== handler;
|
|
});
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
var PROP$2 = '$_bv_windowHandlers_'; // @vue/component
|
|
|
|
var listenOnWindowMixin = {
|
|
beforeCreate: function beforeCreate() {
|
|
// Declare non-reactive property
|
|
// Object of arrays, keyed by event name,
|
|
// where value is an array of handlers
|
|
this[PROP$2] = {};
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
if (isBrowser) {
|
|
var items = this[PROP$2]; // Immediately delete this[PROP] to prevent the
|
|
// listenOn/Off methods from running (which may occur
|
|
// due to requestAnimationFrame delays)
|
|
|
|
delete this[PROP$2]; // Remove all registered event handlers
|
|
|
|
keys(items).forEach(function (evtName) {
|
|
var handlers = items[evtName] || [];
|
|
handlers.forEach(function (handler) {
|
|
return eventOff(window, evtName, handler, EVENT_OPTIONS_NO_CAPTURE);
|
|
});
|
|
});
|
|
}
|
|
},
|
|
methods: {
|
|
listenWindow: function listenWindow(on, evtName, handler) {
|
|
on ? this.listenOnWindow(evtName, handler) : this.listenOffWindow(evtName, handler);
|
|
},
|
|
listenOnWindow: function listenOnWindow(evtName, handler) {
|
|
if (isBrowser && this[PROP$2] && isString(evtName) && isFunction(handler)) {
|
|
this[PROP$2][evtName] = this[PROP$2][evtName] || [];
|
|
|
|
if (!arrayIncludes(this[PROP$2][evtName], handler)) {
|
|
this[PROP$2][evtName].push(handler);
|
|
eventOn(window, evtName, handler, EVENT_OPTIONS_NO_CAPTURE);
|
|
}
|
|
}
|
|
},
|
|
listenOffWindow: function listenOffWindow(evtName, handler) {
|
|
if (isBrowser && this[PROP$2] && isString(evtName) && isFunction(handler)) {
|
|
eventOff(window, evtName, handler, EVENT_OPTIONS_NO_CAPTURE);
|
|
this[PROP$2][evtName] = (this[PROP$2][evtName] || []).filter(function (h) {
|
|
return h !== handler;
|
|
});
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
// This method returns a component's scoped style attribute name: `data-v-xxxxxxx`
|
|
// The `_scopeId` options property is added by vue-loader when using scoped styles
|
|
// and will be `undefined` if no scoped styles are in use
|
|
var getScopeId = function getScopeId(vm) {
|
|
var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
return vm ? vm.$options._scopeId || defaultValue : defaultValue;
|
|
};
|
|
|
|
var scopedStyleAttrsMixin = {
|
|
computed: {
|
|
scopedStyleAttrs: function scopedStyleAttrs() {
|
|
var scopeId = getScopeId(this.$parent);
|
|
return scopeId ? _defineProperty({}, scopeId, '') : {};
|
|
}
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Private ModalManager helper
|
|
* Handles controlling modal stacking zIndexes and body adjustments/classes
|
|
*/
|
|
// Default modal backdrop z-index
|
|
|
|
var DEFAULT_ZINDEX = 1040; // Selectors for padding/margin adjustments
|
|
|
|
var Selector = {
|
|
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
|
|
STICKY_CONTENT: '.sticky-top',
|
|
NAVBAR_TOGGLER: '.navbar-toggler'
|
|
}; // @vue/component
|
|
|
|
var ModalManager = /*#__PURE__*/Vue.extend({
|
|
data: function data() {
|
|
return {
|
|
modals: [],
|
|
baseZIndex: null,
|
|
scrollbarWidth: null,
|
|
isBodyOverflowing: false
|
|
};
|
|
},
|
|
computed: {
|
|
modalCount: function modalCount() {
|
|
return this.modals.length;
|
|
},
|
|
modalsAreOpen: function modalsAreOpen() {
|
|
return this.modalCount > 0;
|
|
}
|
|
},
|
|
watch: {
|
|
modalCount: function modalCount(newCount, oldCount) {
|
|
if (isBrowser) {
|
|
this.getScrollbarWidth();
|
|
|
|
if (newCount > 0 && oldCount === 0) {
|
|
// Transitioning to modal(s) open
|
|
this.checkScrollbar();
|
|
this.setScrollbar();
|
|
addClass(document.body, 'modal-open');
|
|
} else if (newCount === 0 && oldCount > 0) {
|
|
// Transitioning to modal(s) closed
|
|
this.resetScrollbar();
|
|
removeClass(document.body, 'modal-open');
|
|
}
|
|
|
|
setAttr(document.body, 'data-modal-open-count', String(newCount));
|
|
}
|
|
},
|
|
modals: function modals(newVal) {
|
|
var _this = this;
|
|
|
|
this.checkScrollbar();
|
|
requestAF(function () {
|
|
_this.updateModals(newVal || []);
|
|
});
|
|
}
|
|
},
|
|
methods: {
|
|
// Public methods
|
|
registerModal: function registerModal(modal) {
|
|
var _this2 = this;
|
|
|
|
// Register the modal if not already registered
|
|
if (modal && this.modals.indexOf(modal) === -1) {
|
|
// Add modal to modals array
|
|
this.modals.push(modal);
|
|
modal.$once('hook:beforeDestroy', function () {
|
|
_this2.unregisterModal(modal);
|
|
});
|
|
}
|
|
},
|
|
unregisterModal: function unregisterModal(modal) {
|
|
var index = this.modals.indexOf(modal);
|
|
|
|
if (index > -1) {
|
|
// Remove modal from modals array
|
|
this.modals.splice(index, 1); // Reset the modal's data
|
|
|
|
if (!(modal._isBeingDestroyed || modal._isDestroyed)) {
|
|
this.resetModal(modal);
|
|
}
|
|
}
|
|
},
|
|
getBaseZIndex: function getBaseZIndex() {
|
|
if (isNull(this.baseZIndex) && isBrowser) {
|
|
// Create a temporary `div.modal-backdrop` to get computed z-index
|
|
var div = document.createElement('div');
|
|
addClass(div, 'modal-backdrop');
|
|
addClass(div, 'd-none');
|
|
setStyle(div, 'display', 'none');
|
|
document.body.appendChild(div);
|
|
this.baseZIndex = toInteger(getCS(div).zIndex, DEFAULT_ZINDEX);
|
|
document.body.removeChild(div);
|
|
}
|
|
|
|
return this.baseZIndex || DEFAULT_ZINDEX;
|
|
},
|
|
getScrollbarWidth: function getScrollbarWidth() {
|
|
if (isNull(this.scrollbarWidth) && isBrowser) {
|
|
// Create a temporary `div.measure-scrollbar` to get computed z-index
|
|
var div = document.createElement('div');
|
|
addClass(div, 'modal-scrollbar-measure');
|
|
document.body.appendChild(div);
|
|
this.scrollbarWidth = getBCR(div).width - div.clientWidth;
|
|
document.body.removeChild(div);
|
|
}
|
|
|
|
return this.scrollbarWidth || 0;
|
|
},
|
|
// Private methods
|
|
updateModals: function updateModals(modals) {
|
|
var _this3 = this;
|
|
|
|
var baseZIndex = this.getBaseZIndex();
|
|
var scrollbarWidth = this.getScrollbarWidth();
|
|
modals.forEach(function (modal, index) {
|
|
// We update data values on each modal
|
|
modal.zIndex = baseZIndex + index;
|
|
modal.scrollbarWidth = scrollbarWidth;
|
|
modal.isTop = index === _this3.modals.length - 1;
|
|
modal.isBodyOverflowing = _this3.isBodyOverflowing;
|
|
});
|
|
},
|
|
resetModal: function resetModal(modal) {
|
|
if (modal) {
|
|
modal.zIndex = this.getBaseZIndex();
|
|
modal.isTop = true;
|
|
modal.isBodyOverflowing = false;
|
|
}
|
|
},
|
|
checkScrollbar: function checkScrollbar() {
|
|
// Determine if the body element is overflowing
|
|
var _getBCR = getBCR(document.body),
|
|
left = _getBCR.left,
|
|
right = _getBCR.right;
|
|
|
|
this.isBodyOverflowing = left + right < window.innerWidth;
|
|
},
|
|
setScrollbar: function setScrollbar() {
|
|
var body = document.body; // Storage place to cache changes to margins and padding
|
|
// Note: This assumes the following element types are not added to the
|
|
// document after the modal has opened.
|
|
|
|
body._paddingChangedForModal = body._paddingChangedForModal || [];
|
|
body._marginChangedForModal = body._marginChangedForModal || [];
|
|
|
|
if (this.isBodyOverflowing) {
|
|
var scrollbarWidth = this.scrollbarWidth; // Adjust fixed content padding
|
|
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
|
|
selectAll(Selector.FIXED_CONTENT).forEach(function (el) {
|
|
var actualPadding = getStyle(el, 'paddingRight') || '';
|
|
setAttr(el, 'data-padding-right', actualPadding);
|
|
setStyle(el, 'paddingRight', "".concat(toFloat(getCS(el).paddingRight, 0) + scrollbarWidth, "px"));
|
|
|
|
body._paddingChangedForModal.push(el);
|
|
}); // Adjust sticky content margin
|
|
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
|
|
selectAll(Selector.STICKY_CONTENT).forEach(function (el)
|
|
/* istanbul ignore next */
|
|
{
|
|
var actualMargin = getStyle(el, 'marginRight') || '';
|
|
setAttr(el, 'data-margin-right', actualMargin);
|
|
setStyle(el, 'marginRight', "".concat(toFloat(getCS(el).marginRight, 0) - scrollbarWidth, "px"));
|
|
|
|
body._marginChangedForModal.push(el);
|
|
}); // Adjust <b-navbar-toggler> margin
|
|
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
|
|
selectAll(Selector.NAVBAR_TOGGLER).forEach(function (el)
|
|
/* istanbul ignore next */
|
|
{
|
|
var actualMargin = getStyle(el, 'marginRight') || '';
|
|
setAttr(el, 'data-margin-right', actualMargin);
|
|
setStyle(el, 'marginRight', "".concat(toFloat(getCS(el).marginRight, 0) + scrollbarWidth, "px"));
|
|
|
|
body._marginChangedForModal.push(el);
|
|
}); // Adjust body padding
|
|
|
|
var actualPadding = getStyle(body, 'paddingRight') || '';
|
|
setAttr(body, 'data-padding-right', actualPadding);
|
|
setStyle(body, 'paddingRight', "".concat(toFloat(getCS(body).paddingRight, 0) + scrollbarWidth, "px"));
|
|
}
|
|
},
|
|
resetScrollbar: function resetScrollbar() {
|
|
var body = document.body;
|
|
|
|
if (body._paddingChangedForModal) {
|
|
// Restore fixed content padding
|
|
body._paddingChangedForModal.forEach(function (el) {
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
if (hasAttr(el, 'data-padding-right')) {
|
|
setStyle(el, 'paddingRight', getAttr(el, 'data-padding-right') || '');
|
|
removeAttr(el, 'data-padding-right');
|
|
}
|
|
});
|
|
}
|
|
|
|
if (body._marginChangedForModal) {
|
|
// Restore sticky content and navbar-toggler margin
|
|
body._marginChangedForModal.forEach(function (el) {
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
if (hasAttr(el, 'data-margin-right')) {
|
|
setStyle(el, 'marginRight', getAttr(el, 'data-margin-right') || '');
|
|
removeAttr(el, 'data-margin-right');
|
|
}
|
|
});
|
|
}
|
|
|
|
body._paddingChangedForModal = null;
|
|
body._marginChangedForModal = null; // Restore body padding
|
|
|
|
if (hasAttr(body, 'data-padding-right')) {
|
|
setStyle(body, 'paddingRight', getAttr(body, 'data-padding-right') || '');
|
|
removeAttr(body, 'data-padding-right');
|
|
}
|
|
}
|
|
}
|
|
}); // Create and export our modal manager instance
|
|
|
|
var modalManager = new ModalManager();
|
|
|
|
var BvModalEvent = /*#__PURE__*/function (_BvEvent) {
|
|
_inherits(BvModalEvent, _BvEvent);
|
|
|
|
var _super = _createSuper(BvModalEvent);
|
|
|
|
function BvModalEvent(type) {
|
|
var _this;
|
|
|
|
var eventInit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
_classCallCheck(this, BvModalEvent);
|
|
|
|
_this = _super.call(this, type, eventInit); // Freeze our new props as readonly, but leave them enumerable
|
|
|
|
defineProperties(_assertThisInitialized(_this), {
|
|
trigger: readonlyDescriptor()
|
|
});
|
|
return _this;
|
|
}
|
|
|
|
_createClass(BvModalEvent, null, [{
|
|
key: "Defaults",
|
|
get: function get() {
|
|
return _objectSpread2(_objectSpread2({}, _get(_getPrototypeOf(BvModalEvent), "Defaults", this)), {}, {
|
|
trigger: null
|
|
});
|
|
}
|
|
}]);
|
|
|
|
return BvModalEvent;
|
|
}(BvEvent); // Named exports
|
|
|
|
// ObserveDom config to detect changes in modal content
|
|
// so that we can adjust the modal padding if needed
|
|
|
|
var OBSERVER_CONFIG = {
|
|
subtree: true,
|
|
childList: true,
|
|
characterData: true,
|
|
attributes: true,
|
|
attributeFilter: ['style', 'class']
|
|
}; // --- Props ---
|
|
|
|
var props$W = makePropsConfigurable({
|
|
size: {
|
|
type: String,
|
|
default: 'md'
|
|
},
|
|
centered: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
scrollable: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
buttonSize: {
|
|
type: String // default: ''
|
|
|
|
},
|
|
noStacking: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noFade: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noCloseOnBackdrop: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noCloseOnEsc: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noEnforceFocus: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
ignoreEnforceFocusSelector: {
|
|
type: [Array, String],
|
|
default: ''
|
|
},
|
|
title: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
titleHtml: {
|
|
type: String
|
|
},
|
|
titleTag: {
|
|
type: String,
|
|
default: 'h5'
|
|
},
|
|
titleClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
titleSrOnly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
ariaLabel: {
|
|
type: String // default: null
|
|
|
|
},
|
|
headerBgVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
headerBorderVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
headerTextVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
headerCloseVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
headerClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
bodyBgVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
bodyTextVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
modalClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
dialogClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
contentClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
bodyClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
footerBgVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
footerBorderVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
footerTextVariant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
footerClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
// TODO: Rename to `noHeader` and deprecate `hideHeader`
|
|
hideHeader: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
// TODO: Rename to `noFooter` and deprecate `hideFooter`
|
|
hideFooter: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
// TODO: Rename to `noHeaderClose` and deprecate `hideHeaderClose`
|
|
hideHeaderClose: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
// TODO: Rename to `noBackdrop` and deprecate `hideBackdrop`
|
|
hideBackdrop: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
okOnly: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
okDisabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
cancelDisabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
visible: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
returnFocus: {
|
|
// HTML Element, CSS selector string or Vue component instance
|
|
type: [HTMLElement, String, Object],
|
|
default: null
|
|
},
|
|
headerCloseContent: {
|
|
type: String,
|
|
default: '×'
|
|
},
|
|
headerCloseLabel: {
|
|
type: String,
|
|
default: 'Close'
|
|
},
|
|
cancelTitle: {
|
|
type: String,
|
|
default: 'Cancel'
|
|
},
|
|
cancelTitleHtml: {
|
|
type: String
|
|
},
|
|
okTitle: {
|
|
type: String,
|
|
default: 'OK'
|
|
},
|
|
okTitleHtml: {
|
|
type: String
|
|
},
|
|
cancelVariant: {
|
|
type: String,
|
|
default: 'secondary'
|
|
},
|
|
okVariant: {
|
|
type: String,
|
|
default: 'primary'
|
|
},
|
|
lazy: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
busy: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
static: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
autoFocusButton: {
|
|
type: String,
|
|
default: null,
|
|
|
|
/* istanbul ignore next */
|
|
validator: function validator(value) {
|
|
return isUndefinedOrNull(value) || arrayIncludes(['ok', 'cancel', 'close'], value);
|
|
}
|
|
}
|
|
}, NAME_MODAL); // @vue/component
|
|
|
|
var BModal = /*#__PURE__*/Vue.extend({
|
|
name: NAME_MODAL,
|
|
mixins: [attrsMixin, idMixin, listenOnDocumentMixin, listenOnRootMixin, listenOnWindowMixin, normalizeSlotMixin, scopedStyleAttrsMixin],
|
|
inheritAttrs: false,
|
|
model: {
|
|
prop: 'visible',
|
|
event: 'change'
|
|
},
|
|
props: props$W,
|
|
data: function data() {
|
|
return {
|
|
isHidden: true,
|
|
// If modal should not be in document
|
|
isVisible: false,
|
|
// Controls modal visible state
|
|
isTransitioning: false,
|
|
// Used for style control
|
|
isShow: false,
|
|
// Used for style control
|
|
isBlock: false,
|
|
// Used for style control
|
|
isOpening: false,
|
|
// To signal that the modal is in the process of opening
|
|
isClosing: false,
|
|
// To signal that the modal is in the process of closing
|
|
ignoreBackdropClick: false,
|
|
// Used to signify if click out listener should ignore the click
|
|
isModalOverflowing: false,
|
|
return_focus: this.returnFocus || null,
|
|
// The following items are controlled by the modalManager instance
|
|
scrollbarWidth: 0,
|
|
zIndex: modalManager.getBaseZIndex(),
|
|
isTop: true,
|
|
isBodyOverflowing: false
|
|
};
|
|
},
|
|
computed: {
|
|
modalId: function modalId() {
|
|
return this.safeId();
|
|
},
|
|
modalOuterId: function modalOuterId() {
|
|
return this.safeId('__BV_modal_outer_');
|
|
},
|
|
modalHeaderId: function modalHeaderId() {
|
|
return this.safeId('__BV_modal_header_');
|
|
},
|
|
modalBodyId: function modalBodyId() {
|
|
return this.safeId('__BV_modal_body_');
|
|
},
|
|
modalTitleId: function modalTitleId() {
|
|
return this.safeId('__BV_modal_title_');
|
|
},
|
|
modalContentId: function modalContentId() {
|
|
return this.safeId('__BV_modal_content_');
|
|
},
|
|
modalFooterId: function modalFooterId() {
|
|
return this.safeId('__BV_modal_footer_');
|
|
},
|
|
modalBackdropId: function modalBackdropId() {
|
|
return this.safeId('__BV_modal_backdrop_');
|
|
},
|
|
modalClasses: function modalClasses() {
|
|
return [{
|
|
fade: !this.noFade,
|
|
show: this.isShow
|
|
}, this.modalClass];
|
|
},
|
|
modalStyles: function modalStyles() {
|
|
var sbWidth = "".concat(this.scrollbarWidth, "px");
|
|
return {
|
|
paddingLeft: !this.isBodyOverflowing && this.isModalOverflowing ? sbWidth : '',
|
|
paddingRight: this.isBodyOverflowing && !this.isModalOverflowing ? sbWidth : '',
|
|
// Needed to fix issue https://github.com/bootstrap-vue/bootstrap-vue/issues/3457
|
|
// Even though we are using v-show, we must ensure 'none' is restored in the styles
|
|
display: this.isBlock ? 'block' : 'none'
|
|
};
|
|
},
|
|
dialogClasses: function dialogClasses() {
|
|
var _ref;
|
|
|
|
return [(_ref = {}, _defineProperty(_ref, "modal-".concat(this.size), this.size), _defineProperty(_ref, 'modal-dialog-centered', this.centered), _defineProperty(_ref, 'modal-dialog-scrollable', this.scrollable), _ref), this.dialogClass];
|
|
},
|
|
headerClasses: function headerClasses() {
|
|
var _ref2;
|
|
|
|
return [(_ref2 = {}, _defineProperty(_ref2, "bg-".concat(this.headerBgVariant), this.headerBgVariant), _defineProperty(_ref2, "text-".concat(this.headerTextVariant), this.headerTextVariant), _defineProperty(_ref2, "border-".concat(this.headerBorderVariant), this.headerBorderVariant), _ref2), this.headerClass];
|
|
},
|
|
titleClasses: function titleClasses() {
|
|
return [{
|
|
'sr-only': this.titleSrOnly
|
|
}, this.titleClass];
|
|
},
|
|
bodyClasses: function bodyClasses() {
|
|
var _ref3;
|
|
|
|
return [(_ref3 = {}, _defineProperty(_ref3, "bg-".concat(this.bodyBgVariant), this.bodyBgVariant), _defineProperty(_ref3, "text-".concat(this.bodyTextVariant), this.bodyTextVariant), _ref3), this.bodyClass];
|
|
},
|
|
footerClasses: function footerClasses() {
|
|
var _ref4;
|
|
|
|
return [(_ref4 = {}, _defineProperty(_ref4, "bg-".concat(this.footerBgVariant), this.footerBgVariant), _defineProperty(_ref4, "text-".concat(this.footerTextVariant), this.footerTextVariant), _defineProperty(_ref4, "border-".concat(this.footerBorderVariant), this.footerBorderVariant), _ref4), this.footerClass];
|
|
},
|
|
modalOuterStyle: function modalOuterStyle() {
|
|
// Styles needed for proper stacking of modals
|
|
return {
|
|
position: 'absolute',
|
|
zIndex: this.zIndex
|
|
};
|
|
},
|
|
slotScope: function slotScope() {
|
|
return {
|
|
ok: this.onOk,
|
|
cancel: this.onCancel,
|
|
close: this.onClose,
|
|
hide: this.hide,
|
|
visible: this.isVisible
|
|
};
|
|
},
|
|
computeIgnoreEnforceFocusSelector: function computeIgnoreEnforceFocusSelector() {
|
|
// Normalize to an single selector with selectors separated by `,`
|
|
return concat(this.ignoreEnforceFocusSelector).filter(identity).join(',').trim();
|
|
},
|
|
computedAttrs: function computedAttrs() {
|
|
// If the parent has a scoped style attribute, and the modal
|
|
// is portalled, add the scoped attribute to the modal wrapper
|
|
var scopedStyleAttrs = !this.static ? this.scopedStyleAttrs : {};
|
|
return _objectSpread2(_objectSpread2(_objectSpread2({}, scopedStyleAttrs), this.bvAttrs), {}, {
|
|
id: this.modalOuterId
|
|
});
|
|
},
|
|
computedModalAttrs: function computedModalAttrs() {
|
|
var isVisible = this.isVisible,
|
|
ariaLabel = this.ariaLabel;
|
|
return {
|
|
id: this.modalId,
|
|
role: 'dialog',
|
|
'aria-hidden': isVisible ? null : 'true',
|
|
'aria-modal': isVisible ? 'true' : null,
|
|
'aria-label': ariaLabel,
|
|
'aria-labelledby': this.hideHeader || ariaLabel || // TODO: Rename slot to `title` and deprecate `modal-title`
|
|
!(this.hasNormalizedSlot('modal-title') || this.titleHtml || this.title) ? null : this.modalTitleId,
|
|
'aria-describedby': this.modalBodyId
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
visible: function visible(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
this[newVal ? 'show' : 'hide']();
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Define non-reactive properties
|
|
this.$_observer = null;
|
|
},
|
|
mounted: function mounted() {
|
|
// Set initial z-index as queried from the DOM
|
|
this.zIndex = modalManager.getBaseZIndex(); // Listen for events from others to either open or close ourselves
|
|
// and listen to all modals to enable/disable enforce focus
|
|
|
|
this.listenOnRoot('bv::show::modal', this.showHandler);
|
|
this.listenOnRoot('bv::hide::modal', this.hideHandler);
|
|
this.listenOnRoot('bv::toggle::modal', this.toggleHandler); // Listen for `bv:modal::show events`, and close ourselves if the
|
|
// opening modal not us
|
|
|
|
this.listenOnRoot('bv::modal::show', this.modalListener); // Initially show modal?
|
|
|
|
if (this.visible === true) {
|
|
this.$nextTick(this.show);
|
|
}
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
// Ensure everything is back to normal
|
|
this.setObserver(false);
|
|
|
|
if (this.isVisible) {
|
|
this.isVisible = false;
|
|
this.isShow = false;
|
|
this.isTransitioning = false;
|
|
}
|
|
},
|
|
methods: {
|
|
setObserver: function setObserver() {
|
|
var on = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
this.$_observer && this.$_observer.disconnect();
|
|
this.$_observer = null;
|
|
|
|
if (on) {
|
|
this.$_observer = observeDom(this.$refs.content, this.checkModalOverflow.bind(this), OBSERVER_CONFIG);
|
|
}
|
|
},
|
|
// Private method to update the v-model
|
|
updateModel: function updateModel(val) {
|
|
if (val !== this.visible) {
|
|
this.$emit('change', val);
|
|
}
|
|
},
|
|
// Private method to create a BvModalEvent object
|
|
buildEvent: function buildEvent(type) {
|
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
return new BvModalEvent(type, _objectSpread2(_objectSpread2({
|
|
// Default options
|
|
cancelable: false,
|
|
target: this.$refs.modal || this.$el || null,
|
|
relatedTarget: null,
|
|
trigger: null
|
|
}, options), {}, {
|
|
// Options that can't be overridden
|
|
vueTarget: this,
|
|
componentId: this.modalId
|
|
}));
|
|
},
|
|
// Public method to show modal
|
|
show: function show() {
|
|
if (this.isVisible || this.isOpening) {
|
|
// If already open, or in the process of opening, do nothing
|
|
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
/* istanbul ignore next */
|
|
|
|
|
|
if (this.isClosing) {
|
|
// If we are in the process of closing, wait until hidden before re-opening
|
|
|
|
/* istanbul ignore next */
|
|
this.$once('hidden', this.show);
|
|
/* istanbul ignore next */
|
|
|
|
return;
|
|
}
|
|
|
|
this.isOpening = true; // Set the element to return focus to when closed
|
|
|
|
this.return_focus = this.return_focus || this.getActiveElement();
|
|
var showEvt = this.buildEvent('show', {
|
|
cancelable: true
|
|
});
|
|
this.emitEvent(showEvt); // Don't show if canceled
|
|
|
|
if (showEvt.defaultPrevented || this.isVisible) {
|
|
this.isOpening = false; // Ensure the v-model reflects the current state
|
|
|
|
this.updateModel(false);
|
|
return;
|
|
} // Show the modal
|
|
|
|
|
|
this.doShow();
|
|
},
|
|
// Public method to hide modal
|
|
hide: function hide() {
|
|
var trigger = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
|
|
if (!this.isVisible || this.isClosing) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
this.isClosing = true;
|
|
var hideEvt = this.buildEvent('hide', {
|
|
cancelable: trigger !== 'FORCE',
|
|
trigger: trigger || null
|
|
}); // We emit specific event for one of the three built-in buttons
|
|
|
|
if (trigger === 'ok') {
|
|
this.$emit('ok', hideEvt);
|
|
} else if (trigger === 'cancel') {
|
|
this.$emit('cancel', hideEvt);
|
|
} else if (trigger === 'headerclose') {
|
|
this.$emit('close', hideEvt);
|
|
}
|
|
|
|
this.emitEvent(hideEvt); // Hide if not canceled
|
|
|
|
if (hideEvt.defaultPrevented || !this.isVisible) {
|
|
this.isClosing = false; // Ensure v-model reflects current state
|
|
|
|
this.updateModel(true);
|
|
return;
|
|
} // Stop observing for content changes
|
|
|
|
|
|
this.setObserver(false); // Trigger the hide transition
|
|
|
|
this.isVisible = false; // Update the v-model
|
|
|
|
this.updateModel(false);
|
|
},
|
|
// Public method to toggle modal visibility
|
|
toggle: function toggle(triggerEl) {
|
|
if (triggerEl) {
|
|
this.return_focus = triggerEl;
|
|
}
|
|
|
|
if (this.isVisible) {
|
|
this.hide('toggle');
|
|
} else {
|
|
this.show();
|
|
}
|
|
},
|
|
// Private method to get the current document active element
|
|
getActiveElement: function getActiveElement$1() {
|
|
// Returning focus to `document.body` may cause unwanted scrolls,
|
|
// so we exclude setting focus on body
|
|
var activeElement = getActiveElement(isBrowser ? [document.body] : []); // Preset the fallback return focus value if it is not set
|
|
// `document.activeElement` should be the trigger element that was clicked or
|
|
// in the case of using the v-model, which ever element has current focus
|
|
// Will be overridden by some commands such as toggle, etc.
|
|
// Note: On IE 11, `document.activeElement` may be `null`
|
|
// So we test it for truthiness first
|
|
// https://github.com/bootstrap-vue/bootstrap-vue/issues/3206
|
|
|
|
|
|
return activeElement && activeElement.focus ? activeElement : null;
|
|
},
|
|
// Private method to finish showing modal
|
|
doShow: function doShow() {
|
|
var _this = this;
|
|
|
|
/* istanbul ignore next: commenting out for now until we can test stacking */
|
|
if (modalManager.modalsAreOpen && this.noStacking) {
|
|
// If another modal(s) is already open, wait for it(them) to close
|
|
this.listenOnRootOnce('bv::modal::hidden', this.doShow);
|
|
return;
|
|
}
|
|
|
|
modalManager.registerModal(this); // Place modal in DOM
|
|
|
|
this.isHidden = false;
|
|
this.$nextTick(function () {
|
|
// We do this in `$nextTick()` to ensure the modal is in DOM first
|
|
// before we show it
|
|
_this.isVisible = true;
|
|
_this.isOpening = false; // Update the v-model
|
|
|
|
_this.updateModel(true);
|
|
|
|
_this.$nextTick(function () {
|
|
// Observe changes in modal content and adjust if necessary
|
|
// In a `$nextTick()` in case modal content is lazy
|
|
_this.setObserver(true);
|
|
});
|
|
});
|
|
},
|
|
// Transition handlers
|
|
onBeforeEnter: function onBeforeEnter() {
|
|
this.isTransitioning = true;
|
|
this.setResizeEvent(true);
|
|
},
|
|
onEnter: function onEnter() {
|
|
var _this2 = this;
|
|
|
|
this.isBlock = true; // We add the `show` class 1 frame later
|
|
// `requestAF()` runs the callback before the next repaint, so we need
|
|
// two calls to guarantee the next frame has been rendered
|
|
|
|
requestAF(function () {
|
|
requestAF(function () {
|
|
_this2.isShow = true;
|
|
});
|
|
});
|
|
},
|
|
onAfterEnter: function onAfterEnter() {
|
|
var _this3 = this;
|
|
|
|
this.checkModalOverflow();
|
|
this.isTransitioning = false; // We use `requestAF()` to allow transition hooks to complete
|
|
// before passing control over to the other handlers
|
|
// This will allow users to not have to use `$nextTick()` or `requestAF()`
|
|
// when trying to pre-focus an element
|
|
|
|
requestAF(function () {
|
|
_this3.emitEvent(_this3.buildEvent('shown'));
|
|
|
|
_this3.setEnforceFocus(true);
|
|
|
|
_this3.$nextTick(function () {
|
|
// Delayed in a `$nextTick()` to allow users time to pre-focus
|
|
// an element if the wish
|
|
_this3.focusFirst();
|
|
});
|
|
});
|
|
},
|
|
onBeforeLeave: function onBeforeLeave() {
|
|
this.isTransitioning = true;
|
|
this.setResizeEvent(false);
|
|
this.setEnforceFocus(false);
|
|
},
|
|
onLeave: function onLeave() {
|
|
// Remove the 'show' class
|
|
this.isShow = false;
|
|
},
|
|
onAfterLeave: function onAfterLeave() {
|
|
var _this4 = this;
|
|
|
|
this.isBlock = false;
|
|
this.isTransitioning = false;
|
|
this.isModalOverflowing = false;
|
|
this.isHidden = true;
|
|
this.$nextTick(function () {
|
|
_this4.isClosing = false;
|
|
modalManager.unregisterModal(_this4);
|
|
|
|
_this4.returnFocusTo(); // TODO: Need to find a way to pass the `trigger` property
|
|
// to the `hidden` event, not just only the `hide` event
|
|
|
|
|
|
_this4.emitEvent(_this4.buildEvent('hidden'));
|
|
});
|
|
},
|
|
// Event emitter
|
|
emitEvent: function emitEvent(bvModalEvt) {
|
|
var type = bvModalEvt.type; // We emit on root first incase a global listener wants to cancel
|
|
// the event first before the instance emits its event
|
|
|
|
this.emitOnRoot("bv::modal::".concat(type), bvModalEvt, bvModalEvt.componentId);
|
|
this.$emit(type, bvModalEvt);
|
|
},
|
|
// UI event handlers
|
|
onDialogMousedown: function onDialogMousedown() {
|
|
var _this5 = this;
|
|
|
|
// Watch to see if the matching mouseup event occurs outside the dialog
|
|
// And if it does, cancel the clickOut handler
|
|
var modal = this.$refs.modal;
|
|
|
|
var onceModalMouseup = function onceModalMouseup(evt) {
|
|
eventOff(modal, 'mouseup', onceModalMouseup, EVENT_OPTIONS_NO_CAPTURE);
|
|
|
|
if (evt.target === modal) {
|
|
_this5.ignoreBackdropClick = true;
|
|
}
|
|
};
|
|
|
|
eventOn(modal, 'mouseup', onceModalMouseup, EVENT_OPTIONS_NO_CAPTURE);
|
|
},
|
|
onClickOut: function onClickOut(evt) {
|
|
if (this.ignoreBackdropClick) {
|
|
// Click was initiated inside the modal content, but finished outside.
|
|
// Set by the above onDialogMousedown handler
|
|
this.ignoreBackdropClick = false;
|
|
return;
|
|
} // Do nothing if not visible, backdrop click disabled, or element
|
|
// that generated click event is no longer in document body
|
|
|
|
|
|
if (!this.isVisible || this.noCloseOnBackdrop || !contains(document.body, evt.target)) {
|
|
return;
|
|
} // If backdrop clicked, hide modal
|
|
|
|
|
|
if (!contains(this.$refs.content, evt.target)) {
|
|
this.hide('backdrop');
|
|
}
|
|
},
|
|
onOk: function onOk() {
|
|
this.hide('ok');
|
|
},
|
|
onCancel: function onCancel() {
|
|
this.hide('cancel');
|
|
},
|
|
onClose: function onClose() {
|
|
this.hide('headerclose');
|
|
},
|
|
onEsc: function onEsc(evt) {
|
|
// If ESC pressed, hide modal
|
|
if (evt.keyCode === CODE_ESC && this.isVisible && !this.noCloseOnEsc) {
|
|
this.hide('esc');
|
|
}
|
|
},
|
|
// Document focusin listener
|
|
focusHandler: function focusHandler(evt) {
|
|
// If focus leaves modal content, bring it back
|
|
var content = this.$refs.content;
|
|
var target = evt.target;
|
|
|
|
if (this.noEnforceFocus || !this.isTop || !this.isVisible || !content || document === target || contains(content, target) || this.computeIgnoreEnforceFocusSelector && closest(this.computeIgnoreEnforceFocusSelector, target, true)) {
|
|
return;
|
|
}
|
|
|
|
var tabables = getTabables(this.$refs.content);
|
|
var _this$$refs = this.$refs,
|
|
bottomTrap = _this$$refs.bottomTrap,
|
|
topTrap = _this$$refs.topTrap;
|
|
|
|
if (bottomTrap && target === bottomTrap) {
|
|
// If user pressed TAB out of modal into our bottom trab trap element
|
|
// Find the first tabable element in the modal content and focus it
|
|
if (attemptFocus(tabables[0])) {
|
|
// Focus was successful
|
|
return;
|
|
}
|
|
} else if (topTrap && target === topTrap) {
|
|
// If user pressed CTRL-TAB out of modal and into our top tab trap element
|
|
// Find the last tabable element in the modal content and focus it
|
|
if (attemptFocus(tabables[tabables.length - 1])) {
|
|
// Focus was successful
|
|
return;
|
|
}
|
|
} // Otherwise focus the modal content container
|
|
|
|
|
|
attemptFocus(content, {
|
|
preventScroll: true
|
|
});
|
|
},
|
|
// Turn on/off focusin listener
|
|
setEnforceFocus: function setEnforceFocus(on) {
|
|
this.listenDocument(on, 'focusin', this.focusHandler);
|
|
},
|
|
// Resize listener
|
|
setResizeEvent: function setResizeEvent(on) {
|
|
this.listenWindow(on, 'resize', this.checkModalOverflow);
|
|
this.listenWindow(on, 'orientationchange', this.checkModalOverflow);
|
|
},
|
|
// Root listener handlers
|
|
showHandler: function showHandler(id, triggerEl) {
|
|
if (id === this.modalId) {
|
|
this.return_focus = triggerEl || this.getActiveElement();
|
|
this.show();
|
|
}
|
|
},
|
|
hideHandler: function hideHandler(id) {
|
|
if (id === this.modalId) {
|
|
this.hide('event');
|
|
}
|
|
},
|
|
toggleHandler: function toggleHandler(id, triggerEl) {
|
|
if (id === this.modalId) {
|
|
this.toggle(triggerEl);
|
|
}
|
|
},
|
|
modalListener: function modalListener(bvEvt) {
|
|
// If another modal opens, close this one if stacking not permitted
|
|
if (this.noStacking && bvEvt.vueTarget !== this) {
|
|
this.hide();
|
|
}
|
|
},
|
|
// Focus control handlers
|
|
focusFirst: function focusFirst() {
|
|
var _this6 = this;
|
|
|
|
// Don't try and focus if we are SSR
|
|
if (isBrowser) {
|
|
requestAF(function () {
|
|
var modal = _this6.$refs.modal;
|
|
var content = _this6.$refs.content;
|
|
|
|
var activeElement = _this6.getActiveElement(); // If the modal contains the activeElement, we don't do anything
|
|
|
|
|
|
if (modal && content && !(activeElement && contains(content, activeElement))) {
|
|
var ok = _this6.$refs['ok-button'];
|
|
var cancel = _this6.$refs['cancel-button'];
|
|
var close = _this6.$refs['close-button']; // Focus the appropriate button or modal content wrapper
|
|
|
|
var autoFocus = _this6.autoFocusButton;
|
|
/* istanbul ignore next */
|
|
|
|
var el = autoFocus === 'ok' && ok ? ok.$el || ok : autoFocus === 'cancel' && cancel ? cancel.$el || cancel : autoFocus === 'close' && close ? close.$el || close : content; // Focus the element
|
|
|
|
attemptFocus(el);
|
|
|
|
if (el === content) {
|
|
// Make sure top of modal is showing (if longer than the viewport)
|
|
_this6.$nextTick(function () {
|
|
modal.scrollTop = 0;
|
|
});
|
|
}
|
|
}
|
|
});
|
|
}
|
|
},
|
|
returnFocusTo: function returnFocusTo() {
|
|
// Prefer `returnFocus` prop over event specified
|
|
// `return_focus` value
|
|
var el = this.returnFocus || this.return_focus || null;
|
|
this.return_focus = null;
|
|
this.$nextTick(function () {
|
|
// Is el a string CSS selector?
|
|
el = isString(el) ? select(el) : el;
|
|
|
|
if (el) {
|
|
// Possibly could be a component reference
|
|
el = el.$el || el;
|
|
attemptFocus(el);
|
|
}
|
|
});
|
|
},
|
|
checkModalOverflow: function checkModalOverflow() {
|
|
if (this.isVisible) {
|
|
var modal = this.$refs.modal;
|
|
this.isModalOverflowing = modal.scrollHeight > document.documentElement.clientHeight;
|
|
}
|
|
},
|
|
makeModal: function makeModal(h) {
|
|
// Modal header
|
|
var $header = h();
|
|
|
|
if (!this.hideHeader) {
|
|
// TODO: Rename slot to `header` and deprecate `modal-header`
|
|
var $modalHeader = this.normalizeSlot('modal-header', this.slotScope);
|
|
|
|
if (!$modalHeader) {
|
|
var $closeButton = h();
|
|
|
|
if (!this.hideHeaderClose) {
|
|
$closeButton = h(BButtonClose, {
|
|
props: {
|
|
content: this.headerCloseContent,
|
|
disabled: this.isTransitioning,
|
|
ariaLabel: this.headerCloseLabel,
|
|
textVariant: this.headerCloseVariant || this.headerTextVariant
|
|
},
|
|
on: {
|
|
click: this.onClose
|
|
},
|
|
ref: 'close-button'
|
|
}, // TODO: Rename slot to `header-close` and deprecate `modal-header-close`
|
|
[this.normalizeSlot('modal-header-close')]);
|
|
}
|
|
|
|
$modalHeader = [h(this.titleTag, {
|
|
staticClass: 'modal-title',
|
|
class: this.titleClasses,
|
|
attrs: {
|
|
id: this.modalTitleId
|
|
},
|
|
// TODO: Rename slot to `title` and deprecate `modal-title`
|
|
domProps: this.hasNormalizedSlot('modal-title') ? {} : htmlOrText(this.titleHtml, this.title)
|
|
}, // TODO: Rename slot to `title` and deprecate `modal-title`
|
|
this.normalizeSlot('modal-title', this.slotScope)), $closeButton];
|
|
}
|
|
|
|
$header = h('header', {
|
|
staticClass: 'modal-header',
|
|
class: this.headerClasses,
|
|
attrs: {
|
|
id: this.modalHeaderId
|
|
},
|
|
ref: 'header'
|
|
}, [$modalHeader]);
|
|
} // Modal body
|
|
|
|
|
|
var $body = h('div', {
|
|
staticClass: 'modal-body',
|
|
class: this.bodyClasses,
|
|
attrs: {
|
|
id: this.modalBodyId
|
|
},
|
|
ref: 'body'
|
|
}, this.normalizeSlot(SLOT_NAME_DEFAULT, this.slotScope)); // Modal footer
|
|
|
|
var $footer = h();
|
|
|
|
if (!this.hideFooter) {
|
|
// TODO: Rename slot to `footer` and deprecate `modal-footer`
|
|
var $modalFooter = this.normalizeSlot('modal-footer', this.slotScope);
|
|
|
|
if (!$modalFooter) {
|
|
var $cancelButton = h();
|
|
|
|
if (!this.okOnly) {
|
|
$cancelButton = h(BButton, {
|
|
props: {
|
|
variant: this.cancelVariant,
|
|
size: this.buttonSize,
|
|
disabled: this.cancelDisabled || this.busy || this.isTransitioning
|
|
},
|
|
// TODO: Rename slot to `cancel-button` and deprecate `modal-cancel`
|
|
domProps: this.hasNormalizedSlot('modal-cancel') ? {} : htmlOrText(this.cancelTitleHtml, this.cancelTitle),
|
|
on: {
|
|
click: this.onCancel
|
|
},
|
|
ref: 'cancel-button'
|
|
}, // TODO: Rename slot to `cancel-button` and deprecate `modal-cancel`
|
|
this.normalizeSlot('modal-cancel'));
|
|
}
|
|
|
|
var $okButton = h(BButton, {
|
|
props: {
|
|
variant: this.okVariant,
|
|
size: this.buttonSize,
|
|
disabled: this.okDisabled || this.busy || this.isTransitioning
|
|
},
|
|
// TODO: Rename slot to `ok-button` and deprecate `modal-ok`
|
|
domProps: this.hasNormalizedSlot('modal-ok') ? {} : htmlOrText(this.okTitleHtml, this.okTitle),
|
|
on: {
|
|
click: this.onOk
|
|
},
|
|
ref: 'ok-button'
|
|
}, // TODO: Rename slot to `ok-button` and deprecate `modal-ok`
|
|
this.normalizeSlot('modal-ok'));
|
|
$modalFooter = [$cancelButton, $okButton];
|
|
}
|
|
|
|
$footer = h('footer', {
|
|
staticClass: 'modal-footer',
|
|
class: this.footerClasses,
|
|
attrs: {
|
|
id: this.modalFooterId
|
|
},
|
|
ref: 'footer'
|
|
}, [$modalFooter]);
|
|
} // Assemble modal content
|
|
|
|
|
|
var $modalContent = h('div', {
|
|
staticClass: 'modal-content',
|
|
class: this.contentClass,
|
|
attrs: {
|
|
id: this.modalContentId,
|
|
tabindex: '-1'
|
|
},
|
|
ref: 'content'
|
|
}, [$header, $body, $footer]); // Tab traps to prevent page from scrolling to next element in
|
|
// tab index during enforce-focus tab cycle
|
|
|
|
var $tabTrapTop = h();
|
|
var $tabTrapBottom = h();
|
|
|
|
if (this.isVisible && !this.noEnforceFocus) {
|
|
$tabTrapTop = h('span', {
|
|
ref: 'topTrap',
|
|
attrs: {
|
|
tabindex: '0'
|
|
}
|
|
});
|
|
$tabTrapBottom = h('span', {
|
|
ref: 'bottomTrap',
|
|
attrs: {
|
|
tabindex: '0'
|
|
}
|
|
});
|
|
} // Modal dialog wrapper
|
|
|
|
|
|
var $modalDialog = h('div', {
|
|
staticClass: 'modal-dialog',
|
|
class: this.dialogClasses,
|
|
on: {
|
|
mousedown: this.onDialogMousedown
|
|
},
|
|
ref: 'dialog'
|
|
}, [$tabTrapTop, $modalContent, $tabTrapBottom]); // Modal
|
|
|
|
var $modal = h('div', {
|
|
staticClass: 'modal',
|
|
class: this.modalClasses,
|
|
style: this.modalStyles,
|
|
attrs: this.computedModalAttrs,
|
|
on: {
|
|
keydown: this.onEsc,
|
|
click: this.onClickOut
|
|
},
|
|
directives: [{
|
|
name: 'show',
|
|
value: this.isVisible
|
|
}],
|
|
ref: 'modal'
|
|
}, [$modalDialog]); // Wrap modal in transition
|
|
// Sadly, we can't use `BVTransition` here due to the differences in
|
|
// transition durations for `.modal` and `.modal-dialog`
|
|
// At least until https://github.com/vuejs/vue/issues/9986 is resolved
|
|
|
|
$modal = h('transition', {
|
|
props: {
|
|
enterClass: '',
|
|
enterToClass: '',
|
|
enterActiveClass: '',
|
|
leaveClass: '',
|
|
leaveActiveClass: '',
|
|
leaveToClass: ''
|
|
},
|
|
on: {
|
|
beforeEnter: this.onBeforeEnter,
|
|
enter: this.onEnter,
|
|
afterEnter: this.onAfterEnter,
|
|
beforeLeave: this.onBeforeLeave,
|
|
leave: this.onLeave,
|
|
afterLeave: this.onAfterLeave
|
|
}
|
|
}, [$modal]); // Modal backdrop
|
|
|
|
var $backdrop = h();
|
|
|
|
if (!this.hideBackdrop && this.isVisible) {
|
|
$backdrop = h('div', {
|
|
staticClass: 'modal-backdrop',
|
|
attrs: {
|
|
id: this.modalBackdropId
|
|
}
|
|
}, // TODO: Rename slot to `backdrop` and deprecate `modal-backdrop`
|
|
this.normalizeSlot('modal-backdrop'));
|
|
}
|
|
|
|
$backdrop = h(BVTransition, {
|
|
props: {
|
|
noFade: this.noFade
|
|
}
|
|
}, [$backdrop]); // Assemble modal and backdrop in an outer <div>
|
|
|
|
return h('div', {
|
|
style: this.modalOuterStyle,
|
|
attrs: this.computedAttrs,
|
|
key: "modal-outer-".concat(this._uid)
|
|
}, [$modal, $backdrop]);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
if (this.static) {
|
|
return this.lazy && this.isHidden ? h() : this.makeModal(h);
|
|
} else {
|
|
return this.isHidden ? h() : h(BTransporterSingle, [this.makeModal(h)]);
|
|
}
|
|
}
|
|
});
|
|
|
|
var EVENT_SHOW = 'bv::show::modal'; // Prop name we use to store info on root element
|
|
|
|
var PROPERTY = '__bv_modal_directive__';
|
|
|
|
var getTarget = function getTarget(_ref) {
|
|
var _ref$modifiers = _ref.modifiers,
|
|
modifiers = _ref$modifiers === void 0 ? {} : _ref$modifiers,
|
|
arg = _ref.arg,
|
|
value = _ref.value;
|
|
// Try value, then arg, otherwise pick last modifier
|
|
return isString(value) ? value : isString(arg) ? arg : keys(modifiers).reverse()[0];
|
|
};
|
|
|
|
var getTriggerElement = function getTriggerElement(el) {
|
|
// If root element is a dropdown-item or nav-item, we
|
|
// need to target the inner link or button instead
|
|
return el && matches(el, '.dropdown-menu > li, li.nav-item') ? select('a, button', el) || el : el;
|
|
};
|
|
|
|
var setRole = function setRole(trigger) {
|
|
// Ensure accessibility on non button elements
|
|
if (trigger && trigger.tagName !== 'BUTTON') {
|
|
// Only set a role if the trigger element doesn't have one
|
|
if (!hasAttr(trigger, 'role')) {
|
|
setAttr(trigger, 'role', 'button');
|
|
} // Add a tabindex is not a button or link, and tabindex is not provided
|
|
|
|
|
|
if (trigger.tagName !== 'A' && !hasAttr(trigger, 'tabindex')) {
|
|
setAttr(trigger, 'tabindex', '0');
|
|
}
|
|
}
|
|
};
|
|
|
|
var bind$1 = function bind(el, binding, vnode) {
|
|
var target = getTarget(binding);
|
|
var trigger = getTriggerElement(el);
|
|
|
|
if (target && trigger) {
|
|
var handler = function handler(evt) {
|
|
// `currentTarget` is the element with the listener on it
|
|
var currentTarget = evt.currentTarget;
|
|
|
|
if (!isDisabled(currentTarget)) {
|
|
var type = evt.type;
|
|
var key = evt.keyCode; // Open modal only if trigger is not disabled
|
|
|
|
if (type === 'click' || type === 'keydown' && (key === CODE_ENTER || key === CODE_SPACE)) {
|
|
vnode.context.$root.$emit(EVENT_SHOW, target, currentTarget);
|
|
}
|
|
}
|
|
};
|
|
|
|
el[PROPERTY] = {
|
|
handler: handler,
|
|
target: target,
|
|
trigger: trigger
|
|
}; // If element is not a button, we add `role="button"` for accessibility
|
|
|
|
setRole(trigger); // Listen for click events
|
|
|
|
eventOn(trigger, 'click', handler, EVENT_OPTIONS_PASSIVE);
|
|
|
|
if (trigger.tagName !== 'BUTTON' && getAttr(trigger, 'role') === 'button') {
|
|
// If trigger isn't a button but has role button,
|
|
// we also listen for `keydown.space` && `keydown.enter`
|
|
eventOn(trigger, 'keydown', handler, EVENT_OPTIONS_PASSIVE);
|
|
}
|
|
}
|
|
};
|
|
|
|
var unbind$1 = function unbind(el) {
|
|
var oldProp = el[PROPERTY] || {};
|
|
var trigger = oldProp.trigger;
|
|
var handler = oldProp.handler;
|
|
|
|
if (trigger && handler) {
|
|
eventOff(trigger, 'click', handler, EVENT_OPTIONS_PASSIVE);
|
|
eventOff(trigger, 'keydown', handler, EVENT_OPTIONS_PASSIVE);
|
|
eventOff(el, 'click', handler, EVENT_OPTIONS_PASSIVE);
|
|
eventOff(el, 'keydown', handler, EVENT_OPTIONS_PASSIVE);
|
|
}
|
|
|
|
delete el[PROPERTY];
|
|
};
|
|
|
|
var componentUpdated$1 = function componentUpdated(el, binding, vnode) {
|
|
var oldProp = el[PROPERTY] || {};
|
|
var target = getTarget(binding);
|
|
var trigger = getTriggerElement(el);
|
|
|
|
if (target !== oldProp.target || trigger !== oldProp.trigger) {
|
|
// We bind and rebind if the target or trigger changes
|
|
unbind$1(el);
|
|
bind$1(el, binding, vnode);
|
|
} // If trigger element is not a button, ensure `role="button"`
|
|
// is still set for accessibility
|
|
|
|
|
|
setRole(trigger);
|
|
};
|
|
|
|
var updated = function updated() {};
|
|
/*
|
|
* Export our directive
|
|
*/
|
|
|
|
|
|
var VBModal = {
|
|
inserted: componentUpdated$1,
|
|
updated: updated,
|
|
componentUpdated: componentUpdated$1,
|
|
unbind: unbind$1
|
|
};
|
|
|
|
var PROP_NAME$1 = '$bvModal';
|
|
var PROP_NAME_PRIV = '_bv__modal'; // Base modal props that are allowed
|
|
// Some may be ignored or overridden on some message boxes
|
|
// Prop ID is allowed, but really only should be used for testing
|
|
// We need to add it in explicitly as it comes from the `idMixin`
|
|
|
|
var BASE_PROPS = ['id'].concat(_toConsumableArray(keys(omit(props$W, ['busy', 'lazy', 'noStacking', "static", 'visible'])))); // Fallback event resolver (returns undefined)
|
|
|
|
var defaultResolver = function defaultResolver() {}; // Map prop names to modal slot names
|
|
|
|
|
|
var propsToSlots = {
|
|
msgBoxContent: 'default',
|
|
title: 'modal-title',
|
|
okTitle: 'modal-ok',
|
|
cancelTitle: 'modal-cancel'
|
|
}; // --- Utility methods ---
|
|
// Method to filter only recognized props that are not undefined
|
|
|
|
var filterOptions = function filterOptions(options) {
|
|
return BASE_PROPS.reduce(function (memo, key) {
|
|
if (!isUndefined(options[key])) {
|
|
memo[key] = options[key];
|
|
}
|
|
|
|
return memo;
|
|
}, {});
|
|
}; // Method to install `$bvModal` VM injection
|
|
|
|
|
|
var plugin = function plugin(Vue) {
|
|
// Create a private sub-component that extends BModal
|
|
// which self-destructs after hidden
|
|
// @vue/component
|
|
var BMsgBox = Vue.extend({
|
|
name: NAME_MSG_BOX,
|
|
extends: BModal,
|
|
destroyed: function destroyed() {
|
|
// Make sure we not in document any more
|
|
if (this.$el && this.$el.parentNode) {
|
|
this.$el.parentNode.removeChild(this.$el);
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
var _this = this;
|
|
|
|
// Self destruct handler
|
|
var handleDestroy = function handleDestroy() {
|
|
_this.$nextTick(function () {
|
|
// In a `requestAF()` to release control back to application
|
|
requestAF(function () {
|
|
_this.$destroy();
|
|
});
|
|
});
|
|
}; // Self destruct if parent destroyed
|
|
|
|
|
|
this.$parent.$once('hook:destroyed', handleDestroy); // Self destruct after hidden
|
|
|
|
this.$once('hidden', handleDestroy); // Self destruct on route change
|
|
|
|
/* istanbul ignore if */
|
|
|
|
if (this.$router && this.$route) {
|
|
// Destroy ourselves if route changes
|
|
|
|
/* istanbul ignore next */
|
|
this.$once('hook:beforeDestroy', this.$watch('$router', handleDestroy));
|
|
} // Show the `BMsgBox`
|
|
|
|
|
|
this.show();
|
|
}
|
|
}); // Method to generate the on-demand modal message box
|
|
// Returns a promise that resolves to a value returned by the resolve
|
|
|
|
var asyncMsgBox = function asyncMsgBox($parent, props) {
|
|
var resolver = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultResolver;
|
|
|
|
if (warnNotClient(PROP_NAME$1) || warnNoPromiseSupport(PROP_NAME$1)) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // Create an instance of `BMsgBox` component
|
|
|
|
|
|
var msgBox = new BMsgBox({
|
|
// We set parent as the local VM so these modals can emit events on
|
|
// the app `$root`, as needed by things like tooltips and popovers
|
|
// And it helps to ensure `BMsgBox` is destroyed when parent is destroyed
|
|
parent: $parent,
|
|
// Preset the prop values
|
|
propsData: _objectSpread2(_objectSpread2(_objectSpread2({}, filterOptions(getComponentConfig(NAME_MODAL))), {}, {
|
|
// Defaults that user can override
|
|
hideHeaderClose: true,
|
|
hideHeader: !(props.title || props.titleHtml)
|
|
}, omit(props, keys(propsToSlots))), {}, {
|
|
// Props that can't be overridden
|
|
lazy: false,
|
|
busy: false,
|
|
visible: false,
|
|
noStacking: false,
|
|
noEnforceFocus: false
|
|
})
|
|
}); // Convert certain props to scoped slots
|
|
|
|
keys(propsToSlots).forEach(function (prop) {
|
|
if (!isUndefined(props[prop])) {
|
|
// Can be a string, or array of VNodes.
|
|
// Alternatively, user can use HTML version of prop to pass an HTML string.
|
|
msgBox.$slots[propsToSlots[prop]] = concat(props[prop]);
|
|
}
|
|
}); // Return a promise that resolves when hidden, or rejects on destroyed
|
|
|
|
return new Promise(function (resolve, reject) {
|
|
var resolved = false;
|
|
msgBox.$once('hook:destroyed', function () {
|
|
if (!resolved) {
|
|
/* istanbul ignore next */
|
|
reject(new Error('BootstrapVue MsgBox destroyed before resolve'));
|
|
}
|
|
});
|
|
msgBox.$on('hide', function (bvModalEvt) {
|
|
if (!bvModalEvt.defaultPrevented) {
|
|
var result = resolver(bvModalEvt); // If resolver didn't cancel hide, we resolve
|
|
|
|
if (!bvModalEvt.defaultPrevented) {
|
|
resolved = true;
|
|
resolve(result);
|
|
}
|
|
}
|
|
}); // Create a mount point (a DIV) and mount the msgBo which will trigger it to show
|
|
|
|
var div = document.createElement('div');
|
|
document.body.appendChild(div);
|
|
msgBox.$mount(div);
|
|
});
|
|
}; // Private utility method to open a user defined message box and returns a promise.
|
|
// Not to be used directly by consumers, as this method may change calling syntax
|
|
|
|
|
|
var makeMsgBox = function makeMsgBox($parent, content) {
|
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
var resolver = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
|
|
|
if (!content || warnNoPromiseSupport(PROP_NAME$1) || warnNotClient(PROP_NAME$1) || !isFunction(resolver)) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
return asyncMsgBox($parent, _objectSpread2(_objectSpread2({}, filterOptions(options)), {}, {
|
|
msgBoxContent: content
|
|
}), resolver);
|
|
}; // BvModal instance class
|
|
|
|
|
|
var BvModal = /*#__PURE__*/function () {
|
|
function BvModal(vm) {
|
|
_classCallCheck(this, BvModal);
|
|
|
|
// Assign the new properties to this instance
|
|
assign(this, {
|
|
_vm: vm,
|
|
_root: vm.$root
|
|
}); // Set these properties as read-only and non-enumerable
|
|
|
|
defineProperties(this, {
|
|
_vm: readonlyDescriptor(),
|
|
_root: readonlyDescriptor()
|
|
});
|
|
} // --- Instance methods ---
|
|
// Show modal with the specified ID args are for future use
|
|
|
|
|
|
_createClass(BvModal, [{
|
|
key: "show",
|
|
value: function show(id) {
|
|
if (id && this._root) {
|
|
var _this$_root;
|
|
|
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
args[_key - 1] = arguments[_key];
|
|
}
|
|
|
|
(_this$_root = this._root).$emit.apply(_this$_root, ['bv::show::modal', id].concat(args));
|
|
}
|
|
} // Hide modal with the specified ID args are for future use
|
|
|
|
}, {
|
|
key: "hide",
|
|
value: function hide(id) {
|
|
if (id && this._root) {
|
|
var _this$_root2;
|
|
|
|
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
args[_key2 - 1] = arguments[_key2];
|
|
}
|
|
|
|
(_this$_root2 = this._root).$emit.apply(_this$_root2, ['bv::hide::modal', id].concat(args));
|
|
}
|
|
} // The following methods require Promise support!
|
|
// IE 11 and others do not support Promise natively, so users
|
|
// should have a Polyfill loaded (which they need anyways for IE 11 support)
|
|
// Open a message box with OK button only and returns a promise
|
|
|
|
}, {
|
|
key: "msgBoxOk",
|
|
value: function msgBoxOk(message) {
|
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
// Pick the modal props we support from options
|
|
var props = _objectSpread2(_objectSpread2({}, options), {}, {
|
|
// Add in overrides and our content prop
|
|
okOnly: true,
|
|
okDisabled: false,
|
|
hideFooter: false,
|
|
msgBoxContent: message
|
|
});
|
|
|
|
return makeMsgBox(this._vm, message, props, function () {
|
|
// Always resolve to true for OK
|
|
return true;
|
|
});
|
|
} // Open a message box modal with OK and CANCEL buttons
|
|
// and returns a promise
|
|
|
|
}, {
|
|
key: "msgBoxConfirm",
|
|
value: function msgBoxConfirm(message) {
|
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
// Set the modal props we support from options
|
|
var props = _objectSpread2(_objectSpread2({}, options), {}, {
|
|
// Add in overrides and our content prop
|
|
okOnly: false,
|
|
okDisabled: false,
|
|
cancelDisabled: false,
|
|
hideFooter: false
|
|
});
|
|
|
|
return makeMsgBox(this._vm, message, props, function (bvModalEvt) {
|
|
var trigger = bvModalEvt.trigger;
|
|
return trigger === 'ok' ? true : trigger === 'cancel' ? false : null;
|
|
});
|
|
}
|
|
}]);
|
|
|
|
return BvModal;
|
|
}(); // Add our instance mixin
|
|
|
|
|
|
Vue.mixin({
|
|
beforeCreate: function beforeCreate() {
|
|
// Because we need access to `$root` for `$emits`, and VM for parenting,
|
|
// we have to create a fresh instance of `BvModal` for each VM
|
|
this[PROP_NAME_PRIV] = new BvModal(this);
|
|
}
|
|
}); // Define our read-only `$bvModal` instance property
|
|
// Placed in an if just in case in HMR mode
|
|
|
|
if (!hasOwnProperty(Vue.prototype, PROP_NAME$1)) {
|
|
defineProperty(Vue.prototype, PROP_NAME$1, {
|
|
get: function get() {
|
|
/* istanbul ignore next */
|
|
if (!this || !this[PROP_NAME_PRIV]) {
|
|
warn("\"".concat(PROP_NAME$1, "\" must be accessed from a Vue instance \"this\" context."), NAME_MODAL);
|
|
}
|
|
|
|
return this[PROP_NAME_PRIV];
|
|
}
|
|
});
|
|
}
|
|
};
|
|
|
|
var BVModalPlugin = /*#__PURE__*/pluginFactory({
|
|
plugins: {
|
|
plugin: plugin
|
|
}
|
|
});
|
|
|
|
var ModalPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BModal: BModal
|
|
},
|
|
directives: {
|
|
VBModal: VBModal
|
|
},
|
|
// $bvModal injection
|
|
plugins: {
|
|
BVModalPlugin: BVModalPlugin
|
|
}
|
|
});
|
|
|
|
var props$X = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'ul'
|
|
},
|
|
fill: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
justified: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
align: {
|
|
type: String // default: null
|
|
|
|
},
|
|
tabs: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
pills: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
vertical: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
small: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
cardHeader: {
|
|
// Set to true if placing in a card header
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_NAV); // -- Utils --
|
|
|
|
var computeJustifyContent = function computeJustifyContent(value) {
|
|
// Normalize value
|
|
value = value === 'left' ? 'start' : value === 'right' ? 'end' : value;
|
|
return "justify-content-".concat(value);
|
|
}; // @vue/component
|
|
|
|
|
|
var BNav = /*#__PURE__*/Vue.extend({
|
|
name: NAME_NAV,
|
|
functional: true,
|
|
props: props$X,
|
|
render: function render(h, _ref) {
|
|
var _class;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'nav',
|
|
class: (_class = {
|
|
'nav-tabs': props.tabs,
|
|
'nav-pills': props.pills && !props.tabs,
|
|
'card-header-tabs': !props.vertical && props.cardHeader && props.tabs,
|
|
'card-header-pills': !props.vertical && props.cardHeader && props.pills && !props.tabs,
|
|
'flex-column': props.vertical,
|
|
'nav-fill': !props.vertical && props.fill,
|
|
'nav-justified': !props.vertical && props.justified
|
|
}, _defineProperty(_class, computeJustifyContent(props.align), !props.vertical && props.align), _defineProperty(_class, "small", props.small), _class)
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$Y = makePropsConfigurable(_objectSpread2(_objectSpread2({}, omit(props$1, ['event', 'routerTag'])), {}, {
|
|
linkAttrs: {
|
|
type: Object,
|
|
default: function _default() {}
|
|
},
|
|
linkClasses: {
|
|
type: [String, Object, Array],
|
|
default: null
|
|
}
|
|
}), NAME_NAV_ITEM); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BNavItem = /*#__PURE__*/Vue.extend({
|
|
name: NAME_NAV_ITEM,
|
|
functional: true,
|
|
props: props$Y,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
listeners = _ref.listeners,
|
|
children = _ref.children;
|
|
// We transfer the listeners to the link
|
|
delete data.on;
|
|
return h('li', mergeData(data, {
|
|
staticClass: 'nav-item'
|
|
}), [h(BLink, {
|
|
staticClass: 'nav-link',
|
|
class: props.linkClasses,
|
|
attrs: props.linkAttrs,
|
|
props: props,
|
|
on: listeners
|
|
}, children)]);
|
|
}
|
|
});
|
|
|
|
var props$Z = {}; // @vue/component
|
|
|
|
var BNavText = /*#__PURE__*/Vue.extend({
|
|
name: NAME_NAV_TEXT,
|
|
functional: true,
|
|
props: props$Z,
|
|
render: function render(h, _ref) {
|
|
var data = _ref.data,
|
|
children = _ref.children;
|
|
return h('li', mergeData(data, {
|
|
staticClass: 'navbar-text'
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var props$_ = makePropsConfigurable(_objectSpread2(_objectSpread2({}, omit(props$s, ['inline'])), {}, {
|
|
formClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
}
|
|
}), NAME_NAV_FORM); // @vue/component
|
|
|
|
var BNavForm = /*#__PURE__*/Vue.extend({
|
|
name: NAME_NAV_FORM,
|
|
functional: true,
|
|
props: props$_,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children,
|
|
_ref$listeners = _ref.listeners,
|
|
listeners = _ref$listeners === void 0 ? {} : _ref$listeners;
|
|
var attrs = data.attrs; // The following data properties are cleared out
|
|
// as they will be passed to BForm directly
|
|
|
|
data.attrs = {};
|
|
data.on = {};
|
|
var $form = h(BForm, {
|
|
class: props.formClass,
|
|
props: _objectSpread2(_objectSpread2({}, props), {}, {
|
|
inline: true
|
|
}),
|
|
attrs: attrs,
|
|
on: listeners
|
|
}, children);
|
|
return h('li', mergeData(data, {
|
|
staticClass: 'form-inline'
|
|
}), [$form]);
|
|
}
|
|
});
|
|
|
|
var props$$ = makePropsConfigurable(pluckProps(['text', 'html', 'menuClass', 'toggleClass', 'noCaret', 'role', 'lazy'], props$n), NAME_NAV_ITEM_DROPDOWN); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BNavItemDropdown = /*#__PURE__*/Vue.extend({
|
|
name: NAME_NAV_ITEM_DROPDOWN,
|
|
mixins: [idMixin, dropdownMixin, normalizeSlotMixin],
|
|
props: props$$,
|
|
computed: {
|
|
toggleId: function toggleId() {
|
|
return this.safeId('_BV_toggle_');
|
|
},
|
|
dropdownClasses: function dropdownClasses() {
|
|
return [this.directionClass, this.boundaryClass, {
|
|
show: this.visible
|
|
}];
|
|
},
|
|
menuClasses: function menuClasses() {
|
|
return [this.menuClass, {
|
|
'dropdown-menu-right': this.right,
|
|
show: this.visible
|
|
}];
|
|
},
|
|
toggleClasses: function toggleClasses() {
|
|
return [this.toggleClass, {
|
|
'dropdown-toggle-no-caret': this.noCaret
|
|
}];
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var toggleId = this.toggleId,
|
|
visible = this.visible;
|
|
var $toggle = h(BLink, {
|
|
staticClass: 'nav-link dropdown-toggle',
|
|
class: this.toggleClasses,
|
|
props: {
|
|
href: "#".concat(this.id || ''),
|
|
disabled: this.disabled
|
|
},
|
|
attrs: {
|
|
id: toggleId,
|
|
role: 'button',
|
|
'aria-haspopup': 'true',
|
|
'aria-expanded': visible ? 'true' : 'false'
|
|
},
|
|
on: {
|
|
mousedown: this.onMousedown,
|
|
click: this.toggle,
|
|
keydown: this.toggle // Handle ENTER, SPACE and DOWN
|
|
|
|
},
|
|
ref: 'toggle'
|
|
}, [// TODO: The `text` slot is deprecated in favor of the `button-content` slot
|
|
this.normalizeSlot([SLOT_NAME_BUTTON_CONTENT, SLOT_NAME_TEXT]) || h('span', {
|
|
domProps: htmlOrText(this.html, this.text)
|
|
})]);
|
|
var $menu = h('ul', {
|
|
staticClass: 'dropdown-menu',
|
|
class: this.menuClasses,
|
|
attrs: {
|
|
tabindex: '-1',
|
|
'aria-labelledby': toggleId
|
|
},
|
|
on: {
|
|
keydown: this.onKeydown // Handle UP, DOWN and ESC
|
|
|
|
},
|
|
ref: 'menu'
|
|
}, !this.lazy || visible ? this.normalizeSlot(SLOT_NAME_DEFAULT, {
|
|
hide: this.hide
|
|
}) : [h()]);
|
|
return h('li', {
|
|
staticClass: 'nav-item b-nav-dropdown dropdown',
|
|
class: this.dropdownClasses,
|
|
attrs: {
|
|
id: this.safeId()
|
|
}
|
|
}, [$toggle, $menu]);
|
|
}
|
|
});
|
|
|
|
var NavPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BNav: BNav,
|
|
BNavItem: BNavItem,
|
|
BNavText: BNavText,
|
|
BNavForm: BNavForm,
|
|
BNavItemDropdown: BNavItemDropdown,
|
|
BNavItemDd: BNavItemDropdown,
|
|
BNavDropdown: BNavItemDropdown,
|
|
BNavDd: BNavItemDropdown
|
|
},
|
|
plugins: {
|
|
DropdownPlugin: DropdownPlugin
|
|
}
|
|
});
|
|
|
|
var props$10 = makePropsConfigurable({
|
|
tag: {
|
|
type: String,
|
|
default: 'nav'
|
|
},
|
|
type: {
|
|
type: String,
|
|
default: 'light'
|
|
},
|
|
variant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
toggleable: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
fixed: {
|
|
type: String
|
|
},
|
|
sticky: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
print: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_NAVBAR); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BNavbar = /*#__PURE__*/Vue.extend({
|
|
name: NAME_NAVBAR,
|
|
mixins: [normalizeSlotMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvNavbar: this
|
|
};
|
|
},
|
|
props: props$10,
|
|
computed: {
|
|
breakpointClass: function breakpointClass() {
|
|
var breakpoint = null;
|
|
var xs = getBreakpoints()[0];
|
|
var toggleable = this.toggleable;
|
|
|
|
if (toggleable && isString(toggleable) && toggleable !== xs) {
|
|
breakpoint = "navbar-expand-".concat(toggleable);
|
|
} else if (toggleable === false) {
|
|
breakpoint = 'navbar-expand';
|
|
}
|
|
|
|
return breakpoint;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _ref;
|
|
|
|
return h(this.tag, {
|
|
staticClass: 'navbar',
|
|
class: [(_ref = {
|
|
'd-print': this.print,
|
|
'sticky-top': this.sticky
|
|
}, _defineProperty(_ref, "navbar-".concat(this.type), this.type), _defineProperty(_ref, "bg-".concat(this.variant), this.variant), _defineProperty(_ref, "fixed-".concat(this.fixed), this.fixed), _ref), this.breakpointClass],
|
|
attrs: {
|
|
role: isTag(this.tag, 'nav') ? null : 'navigation'
|
|
}
|
|
}, [this.normalizeSlot()]);
|
|
}
|
|
});
|
|
|
|
var props$11 = makePropsConfigurable(pluckProps(['tag', 'fill', 'justified', 'align', 'small'], props$X), NAME_NAVBAR_NAV); // -- Utils --
|
|
|
|
var computeJustifyContent$1 = function computeJustifyContent(value) {
|
|
// Normalize value
|
|
value = value === 'left' ? 'start' : value === 'right' ? 'end' : value;
|
|
return "justify-content-".concat(value);
|
|
}; // @vue/component
|
|
|
|
|
|
var BNavbarNav = /*#__PURE__*/Vue.extend({
|
|
name: NAME_NAVBAR_NAV,
|
|
functional: true,
|
|
props: props$11,
|
|
render: function render(h, _ref) {
|
|
var _class;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
return h(props.tag, mergeData(data, {
|
|
staticClass: 'navbar-nav',
|
|
class: (_class = {
|
|
'nav-fill': props.fill,
|
|
'nav-justified': props.justified
|
|
}, _defineProperty(_class, computeJustifyContent$1(props.align), props.align), _defineProperty(_class, "small", props.small), _class)
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var linkProps$4 = omit(props$1, ['event', 'routerTag']);
|
|
linkProps$4.href.default = undefined;
|
|
linkProps$4.to.default = undefined;
|
|
var props$12 = makePropsConfigurable(_objectSpread2({
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
}
|
|
}, linkProps$4), NAME_NAVBAR_BRAND); // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BNavbarBrand = /*#__PURE__*/Vue.extend({
|
|
name: NAME_NAVBAR_BRAND,
|
|
functional: true,
|
|
props: props$12,
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
children = _ref.children;
|
|
var isLink = props.to || props.href;
|
|
var tag = isLink ? BLink : props.tag;
|
|
return h(tag, mergeData(data, {
|
|
staticClass: 'navbar-brand',
|
|
props: isLink ? pluckProps(linkProps$4, props) : {}
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
var CLASS_NAME$2 = 'navbar-toggler'; // --- Main component ---
|
|
// @vue/component
|
|
|
|
var BNavbarToggle = /*#__PURE__*/Vue.extend({
|
|
name: NAME_NAVBAR_TOGGLE,
|
|
directives: {
|
|
VBToggle: VBToggle
|
|
},
|
|
mixins: [listenOnRootMixin, normalizeSlotMixin],
|
|
props: makePropsConfigurable({
|
|
label: {
|
|
type: String,
|
|
default: 'Toggle navigation'
|
|
},
|
|
target: {
|
|
type: [Array, String],
|
|
required: true
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_NAVBAR_TOGGLE),
|
|
data: function data() {
|
|
return {
|
|
toggleState: false
|
|
};
|
|
},
|
|
created: function created() {
|
|
this.listenOnRoot(EVENT_STATE, this.handleStateEvt);
|
|
this.listenOnRoot(EVENT_STATE_SYNC, this.handleStateEvt);
|
|
},
|
|
methods: {
|
|
onClick: function onClick(evt) {
|
|
if (!this.disabled) {
|
|
// Emit courtesy `click` event
|
|
this.$emit('click', evt);
|
|
}
|
|
},
|
|
handleStateEvt: function handleStateEvt(id, state) {
|
|
// We listen for state events so that we can pass the
|
|
// boolean expanded state to the default scoped slot
|
|
if (id === this.target) {
|
|
this.toggleState = state;
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var disabled = this.disabled;
|
|
return h('button', {
|
|
staticClass: CLASS_NAME$2,
|
|
class: {
|
|
disabled: disabled
|
|
},
|
|
directives: [{
|
|
name: 'VBToggle',
|
|
value: this.target
|
|
}],
|
|
attrs: {
|
|
type: 'button',
|
|
disabled: disabled,
|
|
'aria-label': this.label
|
|
},
|
|
on: {
|
|
click: this.onClick
|
|
}
|
|
}, [this.normalizeSlot(SLOT_NAME_DEFAULT, {
|
|
expanded: this.toggleState
|
|
}) || h('span', {
|
|
staticClass: "".concat(CLASS_NAME$2, "-icon")
|
|
})]);
|
|
}
|
|
});
|
|
|
|
var NavbarPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BNavbar: BNavbar,
|
|
BNavbarNav: BNavbarNav,
|
|
BNavbarBrand: BNavbarBrand,
|
|
BNavbarToggle: BNavbarToggle,
|
|
BNavToggle: BNavbarToggle
|
|
},
|
|
plugins: {
|
|
NavPlugin: NavPlugin,
|
|
CollapsePlugin: CollapsePlugin,
|
|
DropdownPlugin: DropdownPlugin
|
|
}
|
|
});
|
|
|
|
var BSpinner = /*#__PURE__*/Vue.extend({
|
|
name: NAME_SPINNER,
|
|
functional: true,
|
|
props: makePropsConfigurable({
|
|
type: {
|
|
type: String,
|
|
default: 'border' // SCSS currently supports 'border' or 'grow'
|
|
|
|
},
|
|
label: {
|
|
type: String // default: null
|
|
|
|
},
|
|
variant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
small: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
role: {
|
|
type: String,
|
|
default: 'status'
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'span'
|
|
}
|
|
}, NAME_SPINNER),
|
|
render: function render(h, _ref) {
|
|
var _class;
|
|
|
|
var props = _ref.props,
|
|
data = _ref.data,
|
|
slots = _ref.slots,
|
|
scopedSlots = _ref.scopedSlots;
|
|
var $slots = slots();
|
|
var $scopedSlots = scopedSlots || {};
|
|
var label = normalizeSlot(SLOT_NAME_LABEL, {}, $scopedSlots, $slots) || props.label;
|
|
|
|
if (label) {
|
|
label = h('span', {
|
|
staticClass: 'sr-only'
|
|
}, label);
|
|
}
|
|
|
|
return h(props.tag, mergeData(data, {
|
|
attrs: {
|
|
role: label ? props.role || 'status' : null,
|
|
'aria-hidden': label ? null : 'true'
|
|
},
|
|
class: (_class = {}, _defineProperty(_class, "spinner-".concat(props.type), props.type), _defineProperty(_class, "spinner-".concat(props.type, "-sm"), props.small), _defineProperty(_class, "text-".concat(props.variant), props.variant), _class)
|
|
}), [label || h()]);
|
|
}
|
|
});
|
|
|
|
var positionCover = {
|
|
top: 0,
|
|
left: 0,
|
|
bottom: 0,
|
|
right: 0
|
|
};
|
|
var BOverlay = /*#__PURE__*/Vue.extend({
|
|
name: NAME_OVERLAY,
|
|
mixins: [normalizeSlotMixin],
|
|
props: makePropsConfigurable({
|
|
show: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: 'light'
|
|
},
|
|
bgColor: {
|
|
// Alternative to variant, allowing a specific
|
|
// CSS color to be applied to the overlay
|
|
type: String // default: null
|
|
|
|
},
|
|
opacity: {
|
|
type: [Number, String],
|
|
default: 0.85,
|
|
validator: function validator(value) {
|
|
var number = toFloat(value, 0);
|
|
return number >= 0 && number <= 1;
|
|
}
|
|
},
|
|
blur: {
|
|
type: String,
|
|
default: '2px'
|
|
},
|
|
rounded: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
noCenter: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noFade: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
spinnerType: {
|
|
type: String,
|
|
default: 'border'
|
|
},
|
|
spinnerVariant: {
|
|
type: String // default: null
|
|
|
|
},
|
|
spinnerSmall: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
overlayTag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
wrapTag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
noWrap: {
|
|
// If set, does not render the default slot
|
|
// and switches to absolute positioning
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
fixed: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
zIndex: {
|
|
type: [Number, String],
|
|
default: 10
|
|
}
|
|
}, NAME_OVERLAY),
|
|
computed: {
|
|
computedRounded: function computedRounded() {
|
|
var rounded = this.rounded;
|
|
return rounded === true || rounded === '' ? 'rounded' : !rounded ? '' : "rounded-".concat(rounded);
|
|
},
|
|
computedVariant: function computedVariant() {
|
|
return this.variant && !this.bgColor ? "bg-".concat(this.variant) : '';
|
|
},
|
|
overlayScope: function overlayScope() {
|
|
return {
|
|
spinnerType: this.spinnerType || null,
|
|
spinnerVariant: this.spinnerVariant || null,
|
|
spinnerSmall: this.spinnerSmall
|
|
};
|
|
}
|
|
},
|
|
methods: {
|
|
defaultOverlayFn: function defaultOverlayFn(_ref) {
|
|
var spinnerType = _ref.spinnerType,
|
|
spinnerVariant = _ref.spinnerVariant,
|
|
spinnerSmall = _ref.spinnerSmall;
|
|
return this.$createElement(BSpinner, {
|
|
props: {
|
|
type: spinnerType,
|
|
variant: spinnerVariant,
|
|
small: spinnerSmall
|
|
}
|
|
});
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this = this;
|
|
|
|
var $overlay = h();
|
|
|
|
if (this.show) {
|
|
var scope = this.overlayScope; // Overlay backdrop
|
|
|
|
var $background = h('div', {
|
|
staticClass: 'position-absolute',
|
|
class: [this.computedVariant, this.computedRounded],
|
|
style: _objectSpread2(_objectSpread2({}, positionCover), {}, {
|
|
opacity: this.opacity,
|
|
backgroundColor: this.bgColor || null,
|
|
backdropFilter: this.blur ? "blur(".concat(this.blur, ")") : null
|
|
})
|
|
}); // Overlay content
|
|
|
|
var $content = h('div', {
|
|
staticClass: 'position-absolute',
|
|
style: this.noCenter ?
|
|
/* istanbul ignore next */
|
|
_objectSpread2({}, positionCover) : {
|
|
top: '50%',
|
|
left: '50%',
|
|
transform: 'translateX(-50%) translateY(-50%)'
|
|
}
|
|
}, [this.normalizeSlot('overlay', scope) || this.defaultOverlayFn(scope)]); // Overlay positioning
|
|
|
|
$overlay = h(this.overlayTag, {
|
|
key: 'overlay',
|
|
staticClass: 'b-overlay',
|
|
class: {
|
|
'position-absolute': !this.noWrap || this.noWrap && !this.fixed,
|
|
'position-fixed': this.noWrap && this.fixed
|
|
},
|
|
style: _objectSpread2(_objectSpread2({}, positionCover), {}, {
|
|
zIndex: this.zIndex || 10
|
|
}),
|
|
on: {
|
|
click: function click(evt) {
|
|
return _this.$emit('click', evt);
|
|
}
|
|
}
|
|
}, [$background, $content]);
|
|
} // Wrap in a fade transition
|
|
|
|
|
|
$overlay = h(BVTransition, {
|
|
props: {
|
|
noFade: this.noFade,
|
|
appear: true
|
|
},
|
|
on: {
|
|
'after-enter': function afterEnter() {
|
|
return _this.$emit('shown');
|
|
},
|
|
'after-leave': function afterLeave() {
|
|
return _this.$emit('hidden');
|
|
}
|
|
}
|
|
}, [$overlay]);
|
|
|
|
if (this.noWrap) {
|
|
return $overlay;
|
|
}
|
|
|
|
return h(this.wrapTag, {
|
|
staticClass: 'b-overlay-wrap position-relative',
|
|
attrs: {
|
|
'aria-busy': this.show ? 'true' : null
|
|
}
|
|
}, this.noWrap ? [$overlay] : [this.normalizeSlot(), $overlay]);
|
|
}
|
|
});
|
|
|
|
var OverlayPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BOverlay: BOverlay
|
|
}
|
|
});
|
|
|
|
/**
|
|
* @param {number} length
|
|
* @return {Array}
|
|
*/
|
|
var range = function range(length) {
|
|
return Array.apply(null, {
|
|
length: length
|
|
});
|
|
};
|
|
|
|
// for `<b-pagination>` and `<b-pagination-nav>`
|
|
// --- Constants ---
|
|
// Threshold of limit size when we start/stop showing ellipsis
|
|
|
|
var ELLIPSIS_THRESHOLD = 3; // Default # of buttons limit
|
|
|
|
var DEFAULT_LIMIT = 5; // --- Helper methods ---
|
|
// Make an array of N to N+X
|
|
|
|
var makePageArray = function makePageArray(startNumber, numberOfPages) {
|
|
return range(numberOfPages).map(function (val, i) {
|
|
return {
|
|
number: startNumber + i,
|
|
classes: null
|
|
};
|
|
});
|
|
}; // Sanitize the provided limit value (converting to a number)
|
|
|
|
|
|
var sanitizeLimit = function sanitizeLimit(val) {
|
|
var limit = toInteger(val) || 1;
|
|
return limit < 1 ? DEFAULT_LIMIT : limit;
|
|
}; // Sanitize the provided current page number (converting to a number)
|
|
|
|
|
|
var sanitizeCurrentPage = function sanitizeCurrentPage(val, numberOfPages) {
|
|
var page = toInteger(val) || 1;
|
|
return page > numberOfPages ? numberOfPages : page < 1 ? 1 : page;
|
|
}; // Links don't normally respond to SPACE, so we add that
|
|
// functionality via this handler
|
|
|
|
|
|
var onSpaceKey = function onSpaceKey(evt) {
|
|
if (evt.keyCode === CODE_SPACE) {
|
|
// Stop page from scrolling
|
|
stopEvent(evt, {
|
|
immediatePropagation: true
|
|
}); // Trigger the click event on the link
|
|
|
|
evt.currentTarget.click();
|
|
return false;
|
|
}
|
|
}; // --- Props ---
|
|
|
|
|
|
var props$13 = makePropsConfigurable({
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
value: {
|
|
type: [Number, String],
|
|
default: null,
|
|
|
|
/* istanbul ignore next */
|
|
validator: function validator(value) {
|
|
if (!isNull(value) && toInteger(value, 0) < 1) {
|
|
warn('"v-model" value must be a number greater than "0"', NAME_PAGINATION);
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
},
|
|
limit: {
|
|
type: [Number, String],
|
|
default: DEFAULT_LIMIT,
|
|
|
|
/* istanbul ignore next */
|
|
validator: function validator(value) {
|
|
if (toInteger(value, 0) < 1) {
|
|
warn('Prop "limit" must be a number greater than "0"', NAME_PAGINATION);
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
},
|
|
align: {
|
|
type: String,
|
|
default: 'left'
|
|
},
|
|
pills: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
hideGotoEndButtons: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
ariaLabel: {
|
|
type: String,
|
|
default: 'Pagination'
|
|
},
|
|
labelFirstPage: {
|
|
type: String,
|
|
default: 'Go to first page'
|
|
},
|
|
firstText: {
|
|
type: String,
|
|
default: "\xAB" // '«'
|
|
|
|
},
|
|
firstNumber: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
firstClass: {
|
|
type: [String, Array, Object],
|
|
default: null
|
|
},
|
|
labelPrevPage: {
|
|
type: String,
|
|
default: 'Go to previous page'
|
|
},
|
|
prevText: {
|
|
type: String,
|
|
default: "\u2039" // '‹'
|
|
|
|
},
|
|
prevClass: {
|
|
type: [String, Array, Object],
|
|
default: null
|
|
},
|
|
labelNextPage: {
|
|
type: String,
|
|
default: 'Go to next page'
|
|
},
|
|
nextText: {
|
|
type: String,
|
|
default: "\u203A" // '›'
|
|
|
|
},
|
|
nextClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
labelLastPage: {
|
|
type: String,
|
|
default: 'Go to last page'
|
|
},
|
|
lastText: {
|
|
type: String,
|
|
default: "\xBB" // '»'
|
|
|
|
},
|
|
lastNumber: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
lastClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
labelPage: {
|
|
type: [String, Function],
|
|
default: 'Go to page'
|
|
},
|
|
pageClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
hideEllipsis: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
ellipsisText: {
|
|
type: String,
|
|
default: "\u2026" // '…'
|
|
|
|
},
|
|
ellipsisClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
}
|
|
}, NAME_PAGINATION); // --- Mixin ---
|
|
// @vue/component
|
|
|
|
var paginationMixin = {
|
|
mixins: [normalizeSlotMixin],
|
|
model: {
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: props$13,
|
|
data: function data() {
|
|
// `-1` signifies no page initially selected
|
|
var currentPage = toInteger(this.value, 0);
|
|
currentPage = currentPage > 0 ? currentPage : -1;
|
|
return {
|
|
currentPage: currentPage,
|
|
localNumberOfPages: 1,
|
|
localLimit: DEFAULT_LIMIT
|
|
};
|
|
},
|
|
computed: {
|
|
btnSize: function btnSize() {
|
|
return this.size ? "pagination-".concat(this.size) : '';
|
|
},
|
|
alignment: function alignment() {
|
|
var align = this.align;
|
|
|
|
if (align === 'center') {
|
|
return 'justify-content-center';
|
|
} else if (align === 'end' || align === 'right') {
|
|
return 'justify-content-end';
|
|
} else if (align === 'fill') {
|
|
// The page-items will also have 'flex-fill' added
|
|
// We add text centering to make the button appearance better in fill mode
|
|
return 'text-center';
|
|
}
|
|
|
|
return '';
|
|
},
|
|
styleClass: function styleClass() {
|
|
return this.pills ? 'b-pagination-pills' : '';
|
|
},
|
|
computedCurrentPage: function computedCurrentPage() {
|
|
return sanitizeCurrentPage(this.currentPage, this.localNumberOfPages);
|
|
},
|
|
paginationParams: function paginationParams() {
|
|
// Determine if we should show the the ellipsis
|
|
var limit = this.localLimit,
|
|
numberOfPages = this.localNumberOfPages,
|
|
currentPage = this.computedCurrentPage,
|
|
hideEllipsis = this.hideEllipsis,
|
|
firstNumber = this.firstNumber,
|
|
lastNumber = this.lastNumber;
|
|
var showFirstDots = false;
|
|
var showLastDots = false;
|
|
var numberOfLinks = limit;
|
|
var startNumber = 1;
|
|
|
|
if (numberOfPages <= limit) {
|
|
// Special case: Less pages available than the limit of displayed pages
|
|
numberOfLinks = numberOfPages;
|
|
} else if (currentPage < limit - 1 && limit > ELLIPSIS_THRESHOLD) {
|
|
if (!hideEllipsis || lastNumber) {
|
|
showLastDots = true;
|
|
numberOfLinks = limit - (firstNumber ? 0 : 1);
|
|
}
|
|
|
|
numberOfLinks = mathMin(numberOfLinks, limit);
|
|
} else if (numberOfPages - currentPage + 2 < limit && limit > ELLIPSIS_THRESHOLD) {
|
|
if (!hideEllipsis || firstNumber) {
|
|
showFirstDots = true;
|
|
numberOfLinks = limit - (lastNumber ? 0 : 1);
|
|
}
|
|
|
|
startNumber = numberOfPages - numberOfLinks + 1;
|
|
} else {
|
|
// We are somewhere in the middle of the page list
|
|
if (limit > ELLIPSIS_THRESHOLD) {
|
|
numberOfLinks = limit - (hideEllipsis ? 0 : 2);
|
|
showFirstDots = !!(!hideEllipsis || firstNumber);
|
|
showLastDots = !!(!hideEllipsis || lastNumber);
|
|
}
|
|
|
|
startNumber = currentPage - mathFloor(numberOfLinks / 2);
|
|
} // Sanity checks
|
|
|
|
/* istanbul ignore if */
|
|
|
|
|
|
if (startNumber < 1) {
|
|
startNumber = 1;
|
|
showFirstDots = false;
|
|
} else if (startNumber > numberOfPages - numberOfLinks) {
|
|
startNumber = numberOfPages - numberOfLinks + 1;
|
|
showLastDots = false;
|
|
}
|
|
|
|
if (showFirstDots && firstNumber && startNumber < 4) {
|
|
numberOfLinks = numberOfLinks + 2;
|
|
startNumber = 1;
|
|
showFirstDots = false;
|
|
}
|
|
|
|
var lastPageNumber = startNumber + numberOfLinks - 1;
|
|
|
|
if (showLastDots && lastNumber && lastPageNumber > numberOfPages - 3) {
|
|
numberOfLinks = numberOfLinks + (lastPageNumber === numberOfPages - 2 ? 2 : 3);
|
|
showLastDots = false;
|
|
} // Special handling for lower limits (where ellipsis are never shown)
|
|
|
|
|
|
if (limit <= ELLIPSIS_THRESHOLD) {
|
|
if (firstNumber && startNumber === 1) {
|
|
numberOfLinks = mathMin(numberOfLinks + 1, numberOfPages, limit + 1);
|
|
} else if (lastNumber && numberOfPages === startNumber + numberOfLinks - 1) {
|
|
startNumber = mathMax(startNumber - 1, 1);
|
|
numberOfLinks = mathMin(numberOfPages - startNumber + 1, numberOfPages, limit + 1);
|
|
}
|
|
}
|
|
|
|
numberOfLinks = mathMin(numberOfLinks, numberOfPages - startNumber + 1);
|
|
return {
|
|
showFirstDots: showFirstDots,
|
|
showLastDots: showLastDots,
|
|
numberOfLinks: numberOfLinks,
|
|
startNumber: startNumber
|
|
};
|
|
},
|
|
pageList: function pageList() {
|
|
// Generates the pageList array
|
|
var _this$paginationParam = this.paginationParams,
|
|
numberOfLinks = _this$paginationParam.numberOfLinks,
|
|
startNumber = _this$paginationParam.startNumber;
|
|
var currentPage = this.computedCurrentPage; // Generate list of page numbers
|
|
|
|
var pages = makePageArray(startNumber, numberOfLinks); // We limit to a total of 3 page buttons on XS screens
|
|
// So add classes to page links to hide them for XS breakpoint
|
|
// Note: Ellipsis will also be hidden on XS screens
|
|
// TODO: Make this visual limit configurable based on breakpoint(s)
|
|
|
|
if (pages.length > 3) {
|
|
var idx = currentPage - startNumber; // THe following is a bootstrap-vue custom utility class
|
|
|
|
var classes = 'bv-d-xs-down-none';
|
|
|
|
if (idx === 0) {
|
|
// Keep leftmost 3 buttons visible when current page is first page
|
|
for (var i = 3; i < pages.length; i++) {
|
|
pages[i].classes = classes;
|
|
}
|
|
} else if (idx === pages.length - 1) {
|
|
// Keep rightmost 3 buttons visible when current page is last page
|
|
for (var _i = 0; _i < pages.length - 3; _i++) {
|
|
pages[_i].classes = classes;
|
|
}
|
|
} else {
|
|
// Hide all except current page, current page - 1 and current page + 1
|
|
for (var _i2 = 0; _i2 < idx - 1; _i2++) {
|
|
// hide some left button(s)
|
|
pages[_i2].classes = classes;
|
|
}
|
|
|
|
for (var _i3 = pages.length - 1; _i3 > idx + 1; _i3--) {
|
|
// hide some right button(s)
|
|
pages[_i3].classes = classes;
|
|
}
|
|
}
|
|
}
|
|
|
|
return pages;
|
|
}
|
|
},
|
|
watch: {
|
|
value: function value(newValue, oldValue) {
|
|
if (newValue !== oldValue) {
|
|
this.currentPage = sanitizeCurrentPage(newValue, this.localNumberOfPages);
|
|
}
|
|
},
|
|
currentPage: function currentPage(newValue, oldValue) {
|
|
if (newValue !== oldValue) {
|
|
// Emit `null` if no page selected
|
|
this.$emit('input', newValue > 0 ? newValue : null);
|
|
}
|
|
},
|
|
limit: function limit(newValue, oldValue) {
|
|
if (newValue !== oldValue) {
|
|
this.localLimit = sanitizeLimit(newValue);
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
var _this = this;
|
|
|
|
// Set our default values in data
|
|
this.localLimit = sanitizeLimit(this.limit);
|
|
this.$nextTick(function () {
|
|
// Sanity check
|
|
_this.currentPage = _this.currentPage > _this.localNumberOfPages ? _this.localNumberOfPages : _this.currentPage;
|
|
});
|
|
},
|
|
methods: {
|
|
handleKeyNav: function handleKeyNav(evt) {
|
|
var keyCode = evt.keyCode,
|
|
shiftKey = evt.shiftKey;
|
|
/* istanbul ignore if */
|
|
|
|
if (this.isNav) {
|
|
// We disable left/right keyboard navigation in `<b-pagination-nav>`
|
|
return;
|
|
}
|
|
|
|
if (keyCode === CODE_LEFT || keyCode === CODE_UP) {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
shiftKey ? this.focusFirst() : this.focusPrev();
|
|
} else if (keyCode === CODE_RIGHT || keyCode === CODE_DOWN) {
|
|
stopEvent(evt, {
|
|
propagation: false
|
|
});
|
|
shiftKey ? this.focusLast() : this.focusNext();
|
|
}
|
|
},
|
|
getButtons: function getButtons() {
|
|
// Return only buttons that are visible
|
|
return selectAll('button.page-link, a.page-link', this.$el).filter(function (btn) {
|
|
return isVisible(btn);
|
|
});
|
|
},
|
|
focusCurrent: function focusCurrent() {
|
|
var _this2 = this;
|
|
|
|
// We do this in `$nextTick()` to ensure buttons have finished rendering
|
|
this.$nextTick(function () {
|
|
var btn = _this2.getButtons().find(function (el) {
|
|
return toInteger(getAttr(el, 'aria-posinset'), 0) === _this2.computedCurrentPage;
|
|
});
|
|
|
|
if (!attemptFocus(btn)) {
|
|
// Fallback if current page is not in button list
|
|
_this2.focusFirst();
|
|
}
|
|
});
|
|
},
|
|
focusFirst: function focusFirst() {
|
|
var _this3 = this;
|
|
|
|
// We do this in `$nextTick()` to ensure buttons have finished rendering
|
|
this.$nextTick(function () {
|
|
var btn = _this3.getButtons().find(function (el) {
|
|
return !isDisabled(el);
|
|
});
|
|
|
|
attemptFocus(btn);
|
|
});
|
|
},
|
|
focusLast: function focusLast() {
|
|
var _this4 = this;
|
|
|
|
// We do this in `$nextTick()` to ensure buttons have finished rendering
|
|
this.$nextTick(function () {
|
|
var btn = _this4.getButtons().reverse().find(function (el) {
|
|
return !isDisabled(el);
|
|
});
|
|
|
|
attemptFocus(btn);
|
|
});
|
|
},
|
|
focusPrev: function focusPrev() {
|
|
var _this5 = this;
|
|
|
|
// We do this in `$nextTick()` to ensure buttons have finished rendering
|
|
this.$nextTick(function () {
|
|
var buttons = _this5.getButtons();
|
|
|
|
var index = buttons.indexOf(getActiveElement());
|
|
|
|
if (index > 0 && !isDisabled(buttons[index - 1])) {
|
|
attemptFocus(buttons[index - 1]);
|
|
}
|
|
});
|
|
},
|
|
focusNext: function focusNext() {
|
|
var _this6 = this;
|
|
|
|
// We do this in `$nextTick()` to ensure buttons have finished rendering
|
|
this.$nextTick(function () {
|
|
var buttons = _this6.getButtons();
|
|
|
|
var index = buttons.indexOf(getActiveElement());
|
|
|
|
if (index < buttons.length - 1 && !isDisabled(buttons[index + 1])) {
|
|
attemptFocus(buttons[index + 1]);
|
|
}
|
|
});
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this7 = this;
|
|
|
|
var buttons = [];
|
|
var numberOfPages = this.localNumberOfPages;
|
|
var pageNumbers = this.pageList.map(function (p) {
|
|
return p.number;
|
|
});
|
|
var disabled = this.disabled;
|
|
var _this$paginationParam2 = this.paginationParams,
|
|
showFirstDots = _this$paginationParam2.showFirstDots,
|
|
showLastDots = _this$paginationParam2.showLastDots;
|
|
var currentPage = this.computedCurrentPage;
|
|
var fill = this.align === 'fill'; // Used to control what type of aria attributes are rendered and wrapper
|
|
|
|
var isNav = this.isNav; // Helper function and flag
|
|
|
|
var isActivePage = function isActivePage(pageNumber) {
|
|
return pageNumber === currentPage;
|
|
};
|
|
|
|
var noCurrentPage = this.currentPage < 1; // Factory function for prev/next/first/last buttons
|
|
|
|
var makeEndBtn = function makeEndBtn(linkTo, ariaLabel, btnSlot, btnText, btnClass, pageTest, key) {
|
|
var isDisabled = disabled || isActivePage(pageTest) || noCurrentPage || linkTo < 1 || linkTo > numberOfPages;
|
|
var pageNumber = linkTo < 1 ? 1 : linkTo > numberOfPages ? numberOfPages : linkTo;
|
|
var scope = {
|
|
disabled: isDisabled,
|
|
page: pageNumber,
|
|
index: pageNumber - 1
|
|
};
|
|
var $btnContent = _this7.normalizeSlot(btnSlot, scope) || toString$1(btnText) || h();
|
|
var $inner = h(isDisabled ? 'span' : isNav ? BLink : 'button', {
|
|
staticClass: 'page-link',
|
|
class: {
|
|
'flex-grow-1': !isNav && !isDisabled && fill
|
|
},
|
|
props: isDisabled || !isNav ? {} : _this7.linkProps(linkTo),
|
|
attrs: {
|
|
role: isNav ? null : 'menuitem',
|
|
type: isNav || isDisabled ? null : 'button',
|
|
tabindex: isDisabled || isNav ? null : '-1',
|
|
'aria-label': ariaLabel,
|
|
'aria-controls': _this7.ariaControls || null,
|
|
'aria-disabled': isDisabled ? 'true' : null
|
|
},
|
|
on: isDisabled ? {} : {
|
|
'!click': function click(evt) {
|
|
_this7.onClick(evt, linkTo);
|
|
},
|
|
keydown: onSpaceKey
|
|
}
|
|
}, [$btnContent]);
|
|
return h('li', {
|
|
key: key,
|
|
staticClass: 'page-item',
|
|
class: [{
|
|
disabled: isDisabled,
|
|
'flex-fill': fill,
|
|
'd-flex': fill && !isNav && !isDisabled
|
|
}, btnClass],
|
|
attrs: {
|
|
role: isNav ? null : 'presentation',
|
|
'aria-hidden': isDisabled ? 'true' : null
|
|
}
|
|
}, [$inner]);
|
|
}; // Ellipsis factory
|
|
|
|
|
|
var makeEllipsis = function makeEllipsis(isLast) {
|
|
return h('li', {
|
|
key: "ellipsis-".concat(isLast ? 'last' : 'first'),
|
|
staticClass: 'page-item',
|
|
class: ['disabled', 'bv-d-xs-down-none', fill ? 'flex-fill' : '', _this7.ellipsisClass],
|
|
attrs: {
|
|
role: 'separator'
|
|
}
|
|
}, [h('span', {
|
|
staticClass: 'page-link'
|
|
}, [_this7.normalizeSlot('ellipsis-text') || toString$1(_this7.ellipsisText) || h()])]);
|
|
}; // Page button factory
|
|
|
|
|
|
var makePageButton = function makePageButton(page, idx) {
|
|
var active = isActivePage(page.number) && !noCurrentPage; // Active page will have tabindex of 0, or if no current page and first page button
|
|
|
|
var tabIndex = disabled ? null : active || noCurrentPage && idx === 0 ? '0' : '-1';
|
|
var attrs = {
|
|
role: isNav ? null : 'menuitemradio',
|
|
type: isNav || disabled ? null : 'button',
|
|
'aria-disabled': disabled ? 'true' : null,
|
|
'aria-controls': _this7.ariaControls || null,
|
|
'aria-label': isFunction(_this7.labelPage) && !isUndefined(_this7.labelPage(page.number)) ?
|
|
/* istanbul ignore next */
|
|
_this7.labelPage(page.number) : "".concat(_this7.labelPage, " ").concat(page.number),
|
|
'aria-checked': isNav ? null : active ? 'true' : 'false',
|
|
'aria-current': isNav && active ? 'page' : null,
|
|
'aria-posinset': isNav ? null : page.number,
|
|
'aria-setsize': isNav ? null : numberOfPages,
|
|
// ARIA "roving tabindex" method (except in `isNav` mode)
|
|
tabindex: isNav ? null : tabIndex
|
|
};
|
|
var btnContent = toString$1(_this7.makePage(page.number));
|
|
var scope = {
|
|
page: page.number,
|
|
index: page.number - 1,
|
|
content: btnContent,
|
|
active: active,
|
|
disabled: disabled
|
|
};
|
|
var $inner = h(disabled ? 'span' : isNav ? BLink : 'button', {
|
|
props: disabled || !isNav ? {} : _this7.linkProps(page.number),
|
|
staticClass: 'page-link',
|
|
class: {
|
|
'flex-grow-1': !isNav && !disabled && fill
|
|
},
|
|
attrs: attrs,
|
|
on: disabled ? {} : {
|
|
'!click': function click(evt) {
|
|
_this7.onClick(evt, page.number);
|
|
},
|
|
keydown: onSpaceKey
|
|
}
|
|
}, [_this7.normalizeSlot('page', scope) || btnContent]);
|
|
return h('li', {
|
|
key: "page-".concat(page.number),
|
|
staticClass: 'page-item',
|
|
class: [{
|
|
disabled: disabled,
|
|
active: active,
|
|
'flex-fill': fill,
|
|
'd-flex': fill && !isNav && !disabled
|
|
}, page.classes, _this7.pageClass],
|
|
attrs: {
|
|
role: isNav ? null : 'presentation'
|
|
}
|
|
}, [$inner]);
|
|
}; // Goto first page button
|
|
// Don't render button when `hideGotoEndButtons` or `firstNumber` is set
|
|
|
|
|
|
var $firstPageBtn = h();
|
|
|
|
if (!this.firstNumber && !this.hideGotoEndButtons) {
|
|
$firstPageBtn = makeEndBtn(1, this.labelFirstPage, 'first-text', this.firstText, this.firstClass, 1, 'pagination-goto-first');
|
|
}
|
|
|
|
buttons.push($firstPageBtn); // Goto previous page button
|
|
|
|
buttons.push(makeEndBtn(currentPage - 1, this.labelPrevPage, 'prev-text', this.prevText, this.prevClass, 1, 'pagination-goto-prev')); // Show first (1) button?
|
|
|
|
buttons.push(this.firstNumber && pageNumbers[0] !== 1 ? makePageButton({
|
|
number: 1
|
|
}, 0) : h()); // First ellipsis
|
|
|
|
buttons.push(showFirstDots ? makeEllipsis(false) : h()); // Individual page links
|
|
|
|
this.pageList.forEach(function (page, idx) {
|
|
var offset = showFirstDots && _this7.firstNumber && pageNumbers[0] !== 1 ? 1 : 0;
|
|
buttons.push(makePageButton(page, idx + offset));
|
|
}); // Last ellipsis
|
|
|
|
buttons.push(showLastDots ? makeEllipsis(true) : h()); // Show last page button?
|
|
|
|
buttons.push(this.lastNumber && pageNumbers[pageNumbers.length - 1] !== numberOfPages ? makePageButton({
|
|
number: numberOfPages
|
|
}, -1) : h()); // Goto next page button
|
|
|
|
buttons.push(makeEndBtn(currentPage + 1, this.labelNextPage, 'next-text', this.nextText, this.nextClass, numberOfPages, 'pagination-goto-next')); // Goto last page button
|
|
// Don't render button when `hideGotoEndButtons` or `lastNumber` is set
|
|
|
|
var $lastPageBtn = h();
|
|
|
|
if (!this.lastNumber && !this.hideGotoEndButtons) {
|
|
$lastPageBtn = makeEndBtn(numberOfPages, this.labelLastPage, 'last-text', this.lastText, this.lastClass, numberOfPages, 'pagination-goto-last');
|
|
}
|
|
|
|
buttons.push($lastPageBtn); // Assemble the pagination buttons
|
|
|
|
var $pagination = h('ul', {
|
|
ref: 'ul',
|
|
staticClass: 'pagination',
|
|
class: ['b-pagination', this.btnSize, this.alignment, this.styleClass],
|
|
attrs: {
|
|
role: isNav ? null : 'menubar',
|
|
'aria-disabled': disabled ? 'true' : 'false',
|
|
'aria-label': isNav ? null : this.ariaLabel || null
|
|
},
|
|
// We disable keyboard left/right nav when `<b-pagination-nav>`
|
|
on: isNav ? {} : {
|
|
keydown: this.handleKeyNav
|
|
}
|
|
}, buttons); // If we are `<b-pagination-nav>`, wrap in `<nav>` wrapper
|
|
|
|
if (isNav) {
|
|
return h('nav', {
|
|
attrs: {
|
|
'aria-disabled': disabled ? 'true' : null,
|
|
'aria-hidden': disabled ? 'true' : 'false',
|
|
'aria-label': isNav ? this.ariaLabel || null : null
|
|
}
|
|
}, [$pagination]);
|
|
}
|
|
|
|
return $pagination;
|
|
}
|
|
};
|
|
|
|
var DEFAULT_PER_PAGE = 20;
|
|
var DEFAULT_TOTAL_ROWS = 0; // --- Helper methods ---
|
|
// Sanitize the provided per page number (converting to a number)
|
|
|
|
var sanitizePerPage = function sanitizePerPage(val) {
|
|
return mathMax(toInteger(val) || DEFAULT_PER_PAGE, 1);
|
|
}; // Sanitize the provided total rows number (converting to a number)
|
|
|
|
|
|
var sanitizeTotalRows = function sanitizeTotalRows(val) {
|
|
return mathMax(toInteger(val) || DEFAULT_TOTAL_ROWS, 0);
|
|
}; // --- Main component ---
|
|
// The render function is brought in via the `paginationMixin`
|
|
// @vue/component
|
|
|
|
|
|
var BPagination = /*#__PURE__*/Vue.extend({
|
|
name: NAME_PAGINATION,
|
|
mixins: [paginationMixin],
|
|
props: makePropsConfigurable({
|
|
size: {
|
|
type: String // default: null
|
|
|
|
},
|
|
perPage: {
|
|
type: [Number, String],
|
|
default: DEFAULT_PER_PAGE
|
|
},
|
|
totalRows: {
|
|
type: [Number, String],
|
|
default: DEFAULT_TOTAL_ROWS
|
|
},
|
|
ariaControls: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_PAGINATION),
|
|
computed: {
|
|
numberOfPages: function numberOfPages() {
|
|
var result = mathCeil(sanitizeTotalRows(this.totalRows) / sanitizePerPage(this.perPage));
|
|
return result < 1 ? 1 : result;
|
|
},
|
|
pageSizeNumberOfPages: function pageSizeNumberOfPages() {
|
|
// Used for watching changes to `perPage` and `numberOfPages`
|
|
return {
|
|
perPage: sanitizePerPage(this.perPage),
|
|
totalRows: sanitizeTotalRows(this.totalRows),
|
|
numberOfPages: this.numberOfPages
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
pageSizeNumberOfPages: function pageSizeNumberOfPages(newVal, oldVal) {
|
|
if (!isUndefinedOrNull(oldVal)) {
|
|
if (newVal.perPage !== oldVal.perPage && newVal.totalRows === oldVal.totalRows) {
|
|
// If the page size changes, reset to page 1
|
|
this.currentPage = 1;
|
|
} else if (newVal.numberOfPages !== oldVal.numberOfPages && this.currentPage > newVal.numberOfPages) {
|
|
// If `numberOfPages` changes and is less than
|
|
// the `currentPage` number, reset to page 1
|
|
this.currentPage = 1;
|
|
}
|
|
}
|
|
|
|
this.localNumberOfPages = newVal.numberOfPages;
|
|
}
|
|
},
|
|
created: function created() {
|
|
var _this = this;
|
|
|
|
// Set the initial page count
|
|
this.localNumberOfPages = this.numberOfPages; // Set the initial page value
|
|
|
|
var currentPage = toInteger(this.value, 0);
|
|
|
|
if (currentPage > 0) {
|
|
this.currentPage = currentPage;
|
|
} else {
|
|
this.$nextTick(function () {
|
|
// If this value parses to `NaN` or a value less than `1`
|
|
// trigger an initial emit of `null` if no page specified
|
|
_this.currentPage = 0;
|
|
});
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
// Set the initial page count
|
|
this.localNumberOfPages = this.numberOfPages;
|
|
},
|
|
methods: {
|
|
// These methods are used by the render function
|
|
onClick: function onClick(evt, pageNumber) {
|
|
var _this2 = this;
|
|
|
|
// Dont do anything if clicking the current active page
|
|
if (pageNumber === this.currentPage) {
|
|
return;
|
|
}
|
|
|
|
var target = evt.target; // Emit a user-cancelable `page-click` event
|
|
|
|
var clickEvt = new BvEvent('page-click', {
|
|
cancelable: true,
|
|
vueTarget: this,
|
|
target: target
|
|
});
|
|
this.$emit(clickEvt.type, clickEvt, pageNumber);
|
|
|
|
if (clickEvt.defaultPrevented) {
|
|
return;
|
|
} // Update the `v-model`
|
|
|
|
|
|
this.currentPage = pageNumber; // Emit event triggered by user interaction
|
|
|
|
this.$emit('change', this.currentPage); // Keep the current button focused if possible
|
|
|
|
this.$nextTick(function () {
|
|
if (isVisible(target) && _this2.$el.contains(target)) {
|
|
attemptFocus(target);
|
|
} else {
|
|
_this2.focusCurrent();
|
|
}
|
|
});
|
|
},
|
|
makePage: function makePage(pageNum) {
|
|
return pageNum;
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
linkProps: function linkProps() {
|
|
// No props, since we render a plain button
|
|
|
|
/* istanbul ignore next */
|
|
return {};
|
|
}
|
|
}
|
|
});
|
|
|
|
var PaginationPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BPagination: BPagination
|
|
}
|
|
});
|
|
|
|
// Sanitize the provided number of pages (converting to a number)
|
|
|
|
var sanitizeNumberOfPages = function sanitizeNumberOfPages(value) {
|
|
return mathMax(toInteger(value, 0), 1);
|
|
}; // --- Props ---
|
|
|
|
var _linkProps = omit(props$1, ['event', 'routerTag']); // --- Main component ---
|
|
// The render function is brought in via the pagination mixin
|
|
// @vue/component
|
|
|
|
|
|
var BPaginationNav = /*#__PURE__*/Vue.extend({
|
|
name: NAME_PAGINATION_NAV,
|
|
mixins: [paginationMixin],
|
|
props: makePropsConfigurable(_objectSpread2(_objectSpread2(_objectSpread2({}, props$13), _linkProps), {}, {
|
|
size: {
|
|
type: String // default: null
|
|
|
|
},
|
|
numberOfPages: {
|
|
type: [Number, String],
|
|
default: 1,
|
|
|
|
/* istanbul ignore next */
|
|
validator: function validator(value) {
|
|
var number = toInteger(value, 0);
|
|
|
|
if (number < 1) {
|
|
warn('Prop "number-of-pages" must be a number greater than "0"', NAME_PAGINATION_NAV);
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
},
|
|
baseUrl: {
|
|
type: String,
|
|
default: '/'
|
|
},
|
|
useRouter: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
linkGen: {
|
|
type: Function // default: null
|
|
|
|
},
|
|
pageGen: {
|
|
type: Function // default: null
|
|
|
|
},
|
|
pages: {
|
|
// Optional array of page links
|
|
type: Array // default: null
|
|
|
|
},
|
|
noPageDetect: {
|
|
// Disable auto page number detection if true
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}), NAME_PAGINATION_NAV),
|
|
computed: {
|
|
// Used by render function to trigger wrapping in '<nav>' element
|
|
isNav: function isNav() {
|
|
return true;
|
|
},
|
|
computedValue: function computedValue() {
|
|
// Returns the value prop as a number or `null` if undefined or < 1
|
|
var value = toInteger(this.value, 0);
|
|
return value < 1 ? null : value;
|
|
}
|
|
},
|
|
watch: {
|
|
numberOfPages: function numberOfPages() {
|
|
var _this = this;
|
|
|
|
this.$nextTick(function () {
|
|
_this.setNumberOfPages();
|
|
});
|
|
},
|
|
pages: function pages() {
|
|
var _this2 = this;
|
|
|
|
this.$nextTick(function () {
|
|
_this2.setNumberOfPages();
|
|
});
|
|
}
|
|
},
|
|
created: function created() {
|
|
this.setNumberOfPages();
|
|
},
|
|
mounted: function mounted() {
|
|
var _this3 = this;
|
|
|
|
if (this.$router) {
|
|
// We only add the watcher if vue router is detected
|
|
this.$watch('$route', function () {
|
|
_this3.$nextTick(function () {
|
|
requestAF(function () {
|
|
_this3.guessCurrentPage();
|
|
});
|
|
});
|
|
});
|
|
}
|
|
},
|
|
methods: {
|
|
setNumberOfPages: function setNumberOfPages() {
|
|
var _this4 = this;
|
|
|
|
if (isArray(this.pages) && this.pages.length > 0) {
|
|
this.localNumberOfPages = this.pages.length;
|
|
} else {
|
|
this.localNumberOfPages = sanitizeNumberOfPages(this.numberOfPages);
|
|
}
|
|
|
|
this.$nextTick(function () {
|
|
_this4.guessCurrentPage();
|
|
});
|
|
},
|
|
onClick: function onClick(evt, pageNumber) {
|
|
var _this5 = this;
|
|
|
|
// Dont do anything if clicking the current active page
|
|
if (pageNumber === this.currentPage) {
|
|
return;
|
|
}
|
|
|
|
var target = evt.currentTarget || evt.target; // Emit a user-cancelable `page-click` event
|
|
|
|
var clickEvt = new BvEvent('page-click', {
|
|
cancelable: true,
|
|
vueTarget: this,
|
|
target: target
|
|
});
|
|
this.$emit(clickEvt.type, clickEvt, pageNumber);
|
|
|
|
if (clickEvt.defaultPrevented) {
|
|
return;
|
|
} // Update the `v-model`
|
|
// Done in in requestAF() to allow browser to complete the
|
|
// native browser click handling of a link
|
|
|
|
|
|
requestAF(function () {
|
|
_this5.currentPage = pageNumber;
|
|
|
|
_this5.$emit('change', pageNumber);
|
|
}); // Emulate native link click page reloading behaviour by blurring the
|
|
// paginator and returning focus to the document
|
|
// Done in a `nextTick()` to ensure rendering complete
|
|
|
|
this.$nextTick(function () {
|
|
attemptBlur(target);
|
|
});
|
|
},
|
|
getPageInfo: function getPageInfo(pageNum) {
|
|
if (!isArray(this.pages) || this.pages.length === 0 || isUndefined(this.pages[pageNum - 1])) {
|
|
var link = "".concat(this.baseUrl).concat(pageNum);
|
|
return {
|
|
link: this.useRouter ? {
|
|
path: link
|
|
} : link,
|
|
text: toString$1(pageNum)
|
|
};
|
|
}
|
|
|
|
var info = this.pages[pageNum - 1];
|
|
|
|
if (isObject(info)) {
|
|
var _link = info.link;
|
|
return {
|
|
// Normalize link for router use
|
|
link: isObject(_link) ? _link : this.useRouter ? {
|
|
path: _link
|
|
} : _link,
|
|
// Make sure text has a value
|
|
text: toString$1(info.text || pageNum)
|
|
};
|
|
} else {
|
|
return {
|
|
link: toString$1(info),
|
|
text: toString$1(pageNum)
|
|
};
|
|
}
|
|
},
|
|
makePage: function makePage(pageNum) {
|
|
var pageGen = this.pageGen;
|
|
var info = this.getPageInfo(pageNum);
|
|
|
|
if (pageGen && isFunction(pageGen)) {
|
|
var result = pageGen(pageNum, info);
|
|
|
|
if (!isUndefined(result)) {
|
|
return result;
|
|
}
|
|
}
|
|
|
|
return info.text;
|
|
},
|
|
makeLink: function makeLink(pageNum) {
|
|
var linkGen = this.linkGen;
|
|
var info = this.getPageInfo(pageNum);
|
|
|
|
if (linkGen && isFunction(linkGen)) {
|
|
var result = linkGen(pageNum, info);
|
|
|
|
if (!isUndefined(result)) {
|
|
return result;
|
|
}
|
|
}
|
|
|
|
return info.link;
|
|
},
|
|
linkProps: function linkProps(pageNum) {
|
|
var props = pluckProps(_linkProps, this);
|
|
var link = this.makeLink(pageNum);
|
|
|
|
if (this.useRouter || isObject(link)) {
|
|
props.to = link;
|
|
} else {
|
|
props.href = link;
|
|
}
|
|
|
|
return props;
|
|
},
|
|
resolveLink: function resolveLink() {
|
|
var to = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
// Given a to (or href string), convert to normalized route-like structure
|
|
// Works only client side!!
|
|
var link;
|
|
|
|
try {
|
|
// Convert the `to` to a HREF via a temporary `a` tag
|
|
link = document.createElement('a');
|
|
link.href = computeHref({
|
|
to: to
|
|
}, 'a', '/', '/'); // We need to add the anchor to the document to make sure the
|
|
// `pathname` is correctly detected in any browser (i.e. IE)
|
|
|
|
document.body.appendChild(link); // Once href is assigned, the link will be normalized to the full URL bits
|
|
|
|
var _link2 = link,
|
|
pathname = _link2.pathname,
|
|
hash = _link2.hash,
|
|
search = _link2.search; // Remove link from document
|
|
|
|
document.body.removeChild(link); // Return the location in a route-like object
|
|
|
|
return {
|
|
path: pathname,
|
|
hash: hash,
|
|
query: parseQuery(search)
|
|
};
|
|
} catch (e) {
|
|
/* istanbul ignore next */
|
|
try {
|
|
link && link.parentNode && link.parentNode.removeChild(link);
|
|
} catch (_unused) {}
|
|
/* istanbul ignore next */
|
|
|
|
|
|
return {};
|
|
}
|
|
},
|
|
resolveRoute: function resolveRoute() {
|
|
var to = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
|
|
// Given a to (or href string), convert to normalized route location structure
|
|
// works only when router available!!
|
|
try {
|
|
var route = this.$router.resolve(to, this.$route).route;
|
|
return {
|
|
path: route.path,
|
|
hash: route.hash,
|
|
query: route.query
|
|
};
|
|
} catch (e) {
|
|
/* istanbul ignore next */
|
|
return {};
|
|
}
|
|
},
|
|
guessCurrentPage: function guessCurrentPage() {
|
|
var guess = this.computedValue;
|
|
var $router = this.$router;
|
|
var $route = this.$route; // This section only occurs if we are client side, or server-side with $router
|
|
|
|
/* istanbul ignore else */
|
|
|
|
if (!this.noPageDetect && !guess && (isBrowser || !isBrowser && $router)) {
|
|
// Current route (if router available)
|
|
var currRoute = $router && $route ? {
|
|
path: $route.path,
|
|
hash: $route.hash,
|
|
query: $route.query
|
|
} : {}; // Current page full HREF (if client side). Can't be done as a computed prop!
|
|
|
|
var loc = isBrowser ? window.location || document.location : null;
|
|
var currLink = loc ? {
|
|
path: loc.pathname,
|
|
hash: loc.hash,
|
|
query: parseQuery(loc.search)
|
|
} :
|
|
/* istanbul ignore next */
|
|
{}; // Loop through the possible pages looking for a match until found
|
|
|
|
for (var page = 1; !guess && page <= this.localNumberOfPages; page++) {
|
|
var to = this.makeLink(page);
|
|
|
|
if ($router && (isObject(to) || this.useRouter)) {
|
|
// Resolve the page via the $router
|
|
guess = looseEqual(this.resolveRoute(to), currRoute) ? page : null;
|
|
} else if (isBrowser) {
|
|
// If no $router available (or !this.useRouter when `to` is a string)
|
|
// we compare using parsed URIs
|
|
guess = looseEqual(this.resolveLink(to), currLink) ? page : null;
|
|
} else {
|
|
// probably SSR, but no $router so we can't guess, so lets break out of
|
|
// the loop early
|
|
|
|
/* istanbul ignore next */
|
|
guess = -1;
|
|
}
|
|
}
|
|
} // We set currentPage to 0 to trigger an $emit('input', null)
|
|
// As the default for this.currentPage is -1 when no value is specified
|
|
// And valid page numbers are greater than 0
|
|
|
|
|
|
this.currentPage = guess > 0 ? guess : 0;
|
|
}
|
|
}
|
|
});
|
|
|
|
var PaginationNavPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BPaginationNav: BPaginationNav
|
|
}
|
|
});
|
|
|
|
// Base on-demand component for tooltip / popover templates
|
|
var AttachmentMap = {
|
|
AUTO: 'auto',
|
|
TOP: 'top',
|
|
RIGHT: 'right',
|
|
BOTTOM: 'bottom',
|
|
LEFT: 'left',
|
|
TOPLEFT: 'top',
|
|
TOPRIGHT: 'top',
|
|
RIGHTTOP: 'right',
|
|
RIGHTBOTTOM: 'right',
|
|
BOTTOMLEFT: 'bottom',
|
|
BOTTOMRIGHT: 'bottom',
|
|
LEFTTOP: 'left',
|
|
LEFTBOTTOM: 'left'
|
|
};
|
|
var OffsetMap = {
|
|
AUTO: 0,
|
|
TOPLEFT: -1,
|
|
TOP: 0,
|
|
TOPRIGHT: +1,
|
|
RIGHTTOP: -1,
|
|
RIGHT: 0,
|
|
RIGHTBOTTOM: +1,
|
|
BOTTOMLEFT: -1,
|
|
BOTTOM: 0,
|
|
BOTTOMRIGHT: +1,
|
|
LEFTTOP: -1,
|
|
LEFT: 0,
|
|
LEFTBOTTOM: +1
|
|
}; // @vue/component
|
|
|
|
var BVPopper = /*#__PURE__*/Vue.extend({
|
|
name: NAME_POPPER,
|
|
props: {
|
|
target: {
|
|
// Element that the tooltip/popover is positioned relative to
|
|
type: [HTMLElement, SVGElement] // default: null
|
|
|
|
},
|
|
placement: {
|
|
type: String,
|
|
default: 'top'
|
|
},
|
|
fallbackPlacement: {
|
|
type: [String, Array],
|
|
default: 'flip'
|
|
},
|
|
offset: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
boundary: {
|
|
// 'scrollParent', 'viewport', 'window', or Element
|
|
type: [String, HTMLElement],
|
|
default: 'scrollParent'
|
|
},
|
|
boundaryPadding: {
|
|
// Tooltip/popover will try and stay away from
|
|
// boundary edge by this many pixels
|
|
type: Number,
|
|
default: 5
|
|
},
|
|
arrowPadding: {
|
|
// The minimum distance (in `px`) from the edge of the
|
|
// tooltip/popover that the arrow can be positioned
|
|
type: Number,
|
|
default: 6
|
|
}
|
|
},
|
|
data: function data() {
|
|
return {
|
|
// reactive props set by parent
|
|
noFade: false,
|
|
// State related data
|
|
localShow: true,
|
|
attachment: this.getAttachment(this.placement)
|
|
};
|
|
},
|
|
computed: {
|
|
/* istanbul ignore next */
|
|
templateType: function templateType() {
|
|
// Overridden by template component
|
|
return 'unknown';
|
|
},
|
|
popperConfig: function popperConfig() {
|
|
var _this = this;
|
|
|
|
var placement = this.placement;
|
|
return {
|
|
placement: this.getAttachment(placement),
|
|
modifiers: {
|
|
offset: {
|
|
offset: this.getOffset(placement)
|
|
},
|
|
flip: {
|
|
behavior: this.fallbackPlacement
|
|
},
|
|
// `arrow.element` can also be a reference to an HTML Element
|
|
// maybe we should make this a `$ref` in the templates?
|
|
arrow: {
|
|
element: '.arrow'
|
|
},
|
|
preventOverflow: {
|
|
padding: this.boundaryPadding,
|
|
boundariesElement: this.boundary
|
|
}
|
|
},
|
|
onCreate: function onCreate(data) {
|
|
// Handle flipping arrow classes
|
|
if (data.originalPlacement !== data.placement) {
|
|
/* istanbul ignore next: can't test in JSDOM */
|
|
_this.popperPlacementChange(data);
|
|
}
|
|
},
|
|
onUpdate: function onUpdate(data) {
|
|
// Handle flipping arrow classes
|
|
_this.popperPlacementChange(data);
|
|
}
|
|
};
|
|
}
|
|
},
|
|
created: function created() {
|
|
var _this2 = this;
|
|
|
|
// Note: We are created on-demand, and should be guaranteed that
|
|
// DOM is rendered/ready by the time the created hook runs
|
|
this.$_popper = null; // Ensure we show as we mount
|
|
|
|
this.localShow = true; // Create popper instance before shown
|
|
|
|
this.$on('show', function (el) {
|
|
_this2.popperCreate(el);
|
|
}); // Self destruct handler
|
|
|
|
var handleDestroy = function handleDestroy() {
|
|
_this2.$nextTick(function () {
|
|
// In a `requestAF()` to release control back to application
|
|
requestAF(function () {
|
|
_this2.$destroy();
|
|
});
|
|
});
|
|
}; // Self destruct if parent destroyed
|
|
|
|
|
|
this.$parent.$once('hook:destroyed', handleDestroy); // Self destruct after hidden
|
|
|
|
this.$once('hidden', handleDestroy);
|
|
},
|
|
beforeMount: function beforeMount() {
|
|
// Ensure that the attachment position is correct before mounting
|
|
// as our propsData is added after `new Template({...})`
|
|
this.attachment = this.getAttachment(this.placement);
|
|
},
|
|
updated: function updated() {
|
|
// Update popper if needed
|
|
// TODO: Should this be a watcher on `this.popperConfig` instead?
|
|
this.updatePopper();
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.destroyPopper();
|
|
},
|
|
destroyed: function destroyed() {
|
|
// Make sure template is removed from DOM
|
|
var el = this.$el;
|
|
el && el.parentNode && el.parentNode.removeChild(el);
|
|
},
|
|
methods: {
|
|
// "Public" method to trigger hide template
|
|
hide: function hide() {
|
|
this.localShow = false;
|
|
},
|
|
// Private
|
|
getAttachment: function getAttachment(placement) {
|
|
return AttachmentMap[String(placement).toUpperCase()] || 'auto';
|
|
},
|
|
getOffset: function getOffset(placement) {
|
|
if (!this.offset) {
|
|
// Could set a ref for the arrow element
|
|
var arrow = this.$refs.arrow || select('.arrow', this.$el);
|
|
var arrowOffset = toFloat(getCS(arrow).width, 0) + toFloat(this.arrowPadding, 0);
|
|
|
|
switch (OffsetMap[String(placement).toUpperCase()] || 0) {
|
|
/* istanbul ignore next: can't test in JSDOM */
|
|
case +1:
|
|
/* istanbul ignore next: can't test in JSDOM */
|
|
return "+50%p - ".concat(arrowOffset, "px");
|
|
|
|
/* istanbul ignore next: can't test in JSDOM */
|
|
|
|
case -1:
|
|
/* istanbul ignore next: can't test in JSDOM */
|
|
return "-50%p + ".concat(arrowOffset, "px");
|
|
|
|
default:
|
|
return 0;
|
|
}
|
|
}
|
|
/* istanbul ignore next */
|
|
|
|
|
|
return this.offset;
|
|
},
|
|
popperCreate: function popperCreate(el) {
|
|
this.destroyPopper(); // We use `el` rather than `this.$el` just in case the original
|
|
// mountpoint root element type was changed by the template
|
|
|
|
this.$_popper = new Popper(this.target, el, this.popperConfig);
|
|
},
|
|
destroyPopper: function destroyPopper() {
|
|
this.$_popper && this.$_popper.destroy();
|
|
this.$_popper = null;
|
|
},
|
|
updatePopper: function updatePopper() {
|
|
this.$_popper && this.$_popper.scheduleUpdate();
|
|
},
|
|
popperPlacementChange: function popperPlacementChange(data) {
|
|
// Callback used by popper to adjust the arrow placement
|
|
this.attachment = this.getAttachment(data.placement);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
renderTemplate: function renderTemplate(h) {
|
|
// Will be overridden by templates
|
|
return h('div');
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this3 = this;
|
|
|
|
// Note: `show` and 'fade' classes are only appled during transition
|
|
return h(BVTransition, {
|
|
// Transitions as soon as mounted
|
|
props: {
|
|
appear: true,
|
|
noFade: this.noFade
|
|
},
|
|
on: {
|
|
// Events used by parent component/instance
|
|
beforeEnter: function beforeEnter(el) {
|
|
return _this3.$emit('show', el);
|
|
},
|
|
afterEnter: function afterEnter(el) {
|
|
return _this3.$emit('shown', el);
|
|
},
|
|
beforeLeave: function beforeLeave(el) {
|
|
return _this3.$emit('hide', el);
|
|
},
|
|
afterLeave: function afterLeave(el) {
|
|
return _this3.$emit('hidden', el);
|
|
}
|
|
}
|
|
}, [this.localShow ? this.renderTemplate(h) : h()]);
|
|
}
|
|
});
|
|
|
|
var BVTooltipTemplate = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TOOLTIP_TEMPLATE,
|
|
extends: BVPopper,
|
|
mixins: [scopedStyleAttrsMixin],
|
|
props: {
|
|
// Other non-reactive (while open) props are pulled in from BVPopper
|
|
id: {
|
|
type: String // default: null
|
|
|
|
},
|
|
html: {
|
|
// Used only by the directive versions
|
|
type: Boolean // default: false
|
|
|
|
}
|
|
},
|
|
data: function data() {
|
|
// We use data, rather than props to ensure reactivity
|
|
// Parent component will directly set this data
|
|
return {
|
|
title: '',
|
|
content: '',
|
|
variant: null,
|
|
customClass: null,
|
|
interactive: true
|
|
};
|
|
},
|
|
computed: {
|
|
templateType: function templateType() {
|
|
return 'tooltip';
|
|
},
|
|
templateClasses: function templateClasses() {
|
|
var _ref;
|
|
|
|
return [(_ref = {
|
|
// Disables pointer events to hide the tooltip when the user
|
|
// hovers over its content
|
|
noninteractive: !this.interactive
|
|
}, _defineProperty(_ref, "b-".concat(this.templateType, "-").concat(this.variant), this.variant), _defineProperty(_ref, "bs-".concat(this.templateType, "-").concat(this.attachment), this.attachment), _ref), this.customClass];
|
|
},
|
|
templateAttributes: function templateAttributes() {
|
|
return _objectSpread2(_objectSpread2({}, this.$parent.$parent.$attrs), {}, {
|
|
id: this.id,
|
|
role: 'tooltip',
|
|
tabindex: '-1'
|
|
}, this.scopedStyleAttrs);
|
|
},
|
|
templateListeners: function templateListeners() {
|
|
var _this = this;
|
|
|
|
// Used for hover/focus trigger listeners
|
|
return {
|
|
mouseenter
|
|
/* istanbul ignore next */
|
|
: function mouseenter(evt) {
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
_this.$emit('mouseenter', evt);
|
|
},
|
|
mouseleave
|
|
/* istanbul ignore next */
|
|
: function mouseleave(evt) {
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
_this.$emit('mouseleave', evt);
|
|
},
|
|
focusin
|
|
/* istanbul ignore next */
|
|
: function focusin(evt) {
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
_this.$emit('focusin', evt);
|
|
},
|
|
focusout
|
|
/* istanbul ignore next */
|
|
: function focusout(evt) {
|
|
/* istanbul ignore next: difficult to test in JSDOM */
|
|
_this.$emit('focusout', evt);
|
|
}
|
|
};
|
|
}
|
|
},
|
|
methods: {
|
|
renderTemplate: function renderTemplate(h) {
|
|
// Title can be a scoped slot function
|
|
var $title = isFunction(this.title) ? this.title({}) : isUndefinedOrNull(this.title) ?
|
|
/* istanbul ignore next */
|
|
h() : this.title; // Directive versions only
|
|
|
|
var domProps = this.html && !isFunction(this.title) ? {
|
|
innerHTML: this.title
|
|
} : {};
|
|
return h('div', {
|
|
staticClass: 'tooltip b-tooltip',
|
|
class: this.templateClasses,
|
|
attrs: this.templateAttributes,
|
|
on: this.templateListeners
|
|
}, [h('div', {
|
|
ref: 'arrow',
|
|
staticClass: 'arrow'
|
|
}), h('div', {
|
|
staticClass: 'tooltip-inner',
|
|
domProps: domProps
|
|
}, [$title])]);
|
|
}
|
|
}
|
|
});
|
|
|
|
var MODAL_SELECTOR = '.modal-content'; // Modal `$root` hidden event
|
|
|
|
var MODAL_CLOSE_EVENT = 'bv::modal::hidden'; // Sidebar container selector for appending tooltip/popover
|
|
|
|
var SIDEBAR_SELECTOR = '.b-sidebar'; // For finding the container to append to
|
|
|
|
var CONTAINER_SELECTOR = [MODAL_SELECTOR, SIDEBAR_SELECTOR].join(', '); // For dropdown sniffing
|
|
|
|
var DROPDOWN_CLASS = 'dropdown';
|
|
var DROPDOWN_OPEN_SELECTOR = '.dropdown-menu.show'; // Data attribute to temporary store the `title` attribute's value
|
|
|
|
var DATA_TITLE_ATTR = 'data-original-title'; // Data specific to popper and template
|
|
// We don't use props, as we need reactivity (we can't pass reactive props)
|
|
|
|
var templateData = {
|
|
// Text string or Scoped slot function
|
|
title: '',
|
|
// Text string or Scoped slot function
|
|
content: '',
|
|
// String
|
|
variant: null,
|
|
// String, Array, Object
|
|
customClass: null,
|
|
// String or array of Strings (overwritten by BVPopper)
|
|
triggers: '',
|
|
// String (overwritten by BVPopper)
|
|
placement: 'auto',
|
|
// String or array of strings
|
|
fallbackPlacement: 'flip',
|
|
// Element or Component reference (or function that returns element) of
|
|
// the element that will have the trigger events bound, and is also
|
|
// default element for positioning
|
|
target: null,
|
|
// HTML ID, Element or Component reference
|
|
container: null,
|
|
// 'body'
|
|
// Boolean
|
|
noFade: false,
|
|
// 'scrollParent', 'viewport', 'window', Element, or Component reference
|
|
boundary: 'scrollParent',
|
|
// Tooltip/popover will try and stay away from
|
|
// boundary edge by this many pixels (Number)
|
|
boundaryPadding: 5,
|
|
// Arrow offset (Number)
|
|
offset: 0,
|
|
// Hover/focus delay (Number or Object)
|
|
delay: 0,
|
|
// Arrow of Tooltip/popover will try and stay away from
|
|
// the edge of tooltip/popover edge by this many pixels
|
|
arrowPadding: 6,
|
|
// Interactive state (Boolean)
|
|
interactive: true,
|
|
// Disabled state (Boolean)
|
|
disabled: false,
|
|
// ID to use for tooltip/popover
|
|
id: null,
|
|
// Flag used by directives only, for HTML content
|
|
html: false
|
|
}; // @vue/component
|
|
|
|
var BVTooltip = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TOOLTIP_HELPER,
|
|
data: function data() {
|
|
return _objectSpread2(_objectSpread2({}, templateData), {}, {
|
|
// State management data
|
|
activeTrigger: {
|
|
// manual: false,
|
|
hover: false,
|
|
click: false,
|
|
focus: false
|
|
},
|
|
localShow: false
|
|
});
|
|
},
|
|
computed: {
|
|
templateType: function templateType() {
|
|
// Overwritten by BVPopover
|
|
return 'tooltip';
|
|
},
|
|
computedId: function computedId() {
|
|
return this.id || "__bv_".concat(this.templateType, "_").concat(this._uid, "__");
|
|
},
|
|
computedDelay: function computedDelay() {
|
|
// Normalizes delay into object form
|
|
var delay = {
|
|
show: 0,
|
|
hide: 0
|
|
};
|
|
|
|
if (isPlainObject(this.delay)) {
|
|
delay.show = mathMax(toInteger(this.delay.show, 0), 0);
|
|
delay.hide = mathMax(toInteger(this.delay.hide, 0), 0);
|
|
} else if (isNumber(this.delay) || isString(this.delay)) {
|
|
delay.show = delay.hide = mathMax(toInteger(this.delay, 0), 0);
|
|
}
|
|
|
|
return delay;
|
|
},
|
|
computedTriggers: function computedTriggers() {
|
|
// Returns the triggers in sorted array form
|
|
// TODO: Switch this to object form for easier lookup
|
|
return concat(this.triggers).filter(Boolean).join(' ').trim().toLowerCase().split(/\s+/).sort();
|
|
},
|
|
isWithActiveTrigger: function isWithActiveTrigger() {
|
|
for (var trigger in this.activeTrigger) {
|
|
if (this.activeTrigger[trigger]) {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
return false;
|
|
},
|
|
computedTemplateData: function computedTemplateData() {
|
|
return {
|
|
title: this.title,
|
|
content: this.content,
|
|
variant: this.variant,
|
|
customClass: this.customClass,
|
|
noFade: this.noFade,
|
|
interactive: this.interactive
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
computedTriggers: function computedTriggers(newTriggers, oldTriggers) {
|
|
var _this = this;
|
|
|
|
// Triggers have changed, so re-register them
|
|
|
|
/* istanbul ignore next */
|
|
if (!looseEqual(newTriggers, oldTriggers)) {
|
|
this.$nextTick(function () {
|
|
// Disable trigger listeners
|
|
_this.unListen(); // Clear any active triggers that are no longer in the list of triggers
|
|
|
|
|
|
oldTriggers.forEach(function (trigger) {
|
|
if (!arrayIncludes(newTriggers, trigger)) {
|
|
if (_this.activeTrigger[trigger]) {
|
|
_this.activeTrigger[trigger] = false;
|
|
}
|
|
}
|
|
}); // Re-enable the trigger listeners
|
|
|
|
_this.listen();
|
|
});
|
|
}
|
|
},
|
|
computedTemplateData: function computedTemplateData() {
|
|
// If any of the while open reactive "props" change,
|
|
// ensure that the template updates accordingly
|
|
this.handleTemplateUpdate();
|
|
},
|
|
title: function title(newValue, oldValue) {
|
|
// Make sure to hide the tooltip when the title is set empty
|
|
if (newValue !== oldValue && !newValue) {
|
|
this.hide();
|
|
}
|
|
},
|
|
disabled: function disabled(newValue) {
|
|
if (newValue) {
|
|
this.disable();
|
|
} else {
|
|
this.enable();
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
var _this2 = this;
|
|
|
|
// Create non-reactive properties
|
|
this.$_tip = null;
|
|
this.$_hoverTimeout = null;
|
|
this.$_hoverState = '';
|
|
this.$_visibleInterval = null;
|
|
this.$_enabled = !this.disabled;
|
|
this.$_noop = noop.bind(this); // Destroy ourselves when the parent is destroyed
|
|
|
|
if (this.$parent) {
|
|
this.$parent.$once('hook:beforeDestroy', function () {
|
|
_this2.$nextTick(function () {
|
|
// In a `requestAF()` to release control back to application
|
|
requestAF(function () {
|
|
_this2.$destroy();
|
|
});
|
|
});
|
|
});
|
|
}
|
|
|
|
this.$nextTick(function () {
|
|
var target = _this2.getTarget();
|
|
|
|
if (target && contains(document.body, target)) {
|
|
// Copy the parent's scoped style attribute
|
|
_this2.scopeId = getScopeId(_this2.$parent); // Set up all trigger handlers and listeners
|
|
|
|
_this2.listen();
|
|
} else {
|
|
/* istanbul ignore next */
|
|
warn(isString(_this2.target) ? "Unable to find target element by ID \"#".concat(_this2.target, "\" in document.") : 'The provided target is no valid HTML element.', _this2.templateType);
|
|
}
|
|
});
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
updated: function updated() {
|
|
// Usually called when the slots/data changes
|
|
this.$nextTick(this.handleTemplateUpdate);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
deactivated: function deactivated() {
|
|
// In a keepalive that has been deactivated, so hide
|
|
// the tooltip/popover if it is showing
|
|
this.forceHide();
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
// Remove all handler/listeners
|
|
this.unListen();
|
|
this.setWhileOpenListeners(false); // Clear any timeouts/intervals
|
|
|
|
this.clearHoverTimeout();
|
|
this.clearVisibilityInterval(); // Destroy the template
|
|
|
|
this.destroyTemplate(); // Remove any other private properties created during create
|
|
|
|
this.$_noop = null;
|
|
},
|
|
methods: {
|
|
// --- Methods for creating and destroying the template ---
|
|
getTemplate: function getTemplate() {
|
|
// Overridden by BVPopover
|
|
return BVTooltipTemplate;
|
|
},
|
|
updateData: function updateData() {
|
|
var _this3 = this;
|
|
|
|
var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
// Method for updating popper/template data
|
|
// We only update data if it exists, and has not changed
|
|
var titleUpdated = false;
|
|
keys(templateData).forEach(function (prop) {
|
|
if (!isUndefined(data[prop]) && _this3[prop] !== data[prop]) {
|
|
_this3[prop] = data[prop];
|
|
|
|
if (prop === 'title') {
|
|
titleUpdated = true;
|
|
}
|
|
}
|
|
}); // If the title has updated, we may need to handle the `title`
|
|
// attribute on the trigger target
|
|
// We only do this while the template is open
|
|
|
|
if (titleUpdated && this.localShow) {
|
|
this.fixTitle();
|
|
}
|
|
},
|
|
createTemplateAndShow: function createTemplateAndShow() {
|
|
// Creates the template instance and show it
|
|
var container = this.getContainer();
|
|
var Template = this.getTemplate();
|
|
var $tip = this.$_tip = new Template({
|
|
parent: this,
|
|
// The following is not reactive to changes in the props data
|
|
propsData: {
|
|
// These values cannot be changed while template is showing
|
|
id: this.computedId,
|
|
html: this.html,
|
|
placement: this.placement,
|
|
fallbackPlacement: this.fallbackPlacement,
|
|
target: this.getPlacementTarget(),
|
|
boundary: this.getBoundary(),
|
|
// Ensure the following are integers
|
|
offset: toInteger(this.offset, 0),
|
|
arrowPadding: toInteger(this.arrowPadding, 0),
|
|
boundaryPadding: toInteger(this.boundaryPadding, 0)
|
|
}
|
|
}); // We set the initial reactive data (values that can be changed while open)
|
|
|
|
this.handleTemplateUpdate(); // Template transition phase events (handled once only)
|
|
// When the template has mounted, but not visibly shown yet
|
|
|
|
$tip.$once('show', this.onTemplateShow); // When the template has completed showing
|
|
|
|
$tip.$once('shown', this.onTemplateShown); // When the template has started to hide
|
|
|
|
$tip.$once('hide', this.onTemplateHide); // When the template has completed hiding
|
|
|
|
$tip.$once('hidden', this.onTemplateHidden); // When the template gets destroyed for any reason
|
|
|
|
$tip.$once('hook:destroyed', this.destroyTemplate); // Convenience events from template
|
|
// To save us from manually adding/removing DOM
|
|
// listeners to tip element when it is open
|
|
|
|
$tip.$on('focusin', this.handleEvent);
|
|
$tip.$on('focusout', this.handleEvent);
|
|
$tip.$on('mouseenter', this.handleEvent);
|
|
$tip.$on('mouseleave', this.handleEvent); // Mount (which triggers the `show`)
|
|
|
|
$tip.$mount(container.appendChild(document.createElement('div'))); // Template will automatically remove its markup from DOM when hidden
|
|
},
|
|
hideTemplate: function hideTemplate() {
|
|
// Trigger the template to start hiding
|
|
// The template will emit the `hide` event after this and
|
|
// then emit the `hidden` event once it is fully hidden
|
|
// The `hook:destroyed` will also be called (safety measure)
|
|
this.$_tip && this.$_tip.hide(); // Clear out any stragging active triggers
|
|
|
|
this.clearActiveTriggers(); // Reset the hover state
|
|
|
|
this.$_hoverState = '';
|
|
},
|
|
// Destroy the template instance and reset state
|
|
destroyTemplate: function destroyTemplate() {
|
|
this.setWhileOpenListeners(false);
|
|
this.clearHoverTimeout();
|
|
this.$_hoverState = '';
|
|
this.clearActiveTriggers();
|
|
this.localPlacementTarget = null;
|
|
|
|
try {
|
|
this.$_tip.$destroy();
|
|
} catch (_unused) {}
|
|
|
|
this.$_tip = null;
|
|
this.removeAriaDescribedby();
|
|
this.restoreTitle();
|
|
this.localShow = false;
|
|
},
|
|
getTemplateElement: function getTemplateElement() {
|
|
return this.$_tip ? this.$_tip.$el : null;
|
|
},
|
|
handleTemplateUpdate: function handleTemplateUpdate() {
|
|
var _this4 = this;
|
|
|
|
// Update our template title/content "props"
|
|
// So that the template updates accordingly
|
|
var $tip = this.$_tip;
|
|
|
|
if ($tip) {
|
|
var props = ['title', 'content', 'variant', 'customClass', 'noFade', 'interactive']; // Only update the values if they have changed
|
|
|
|
props.forEach(function (prop) {
|
|
if ($tip[prop] !== _this4[prop]) {
|
|
$tip[prop] = _this4[prop];
|
|
}
|
|
});
|
|
}
|
|
},
|
|
// --- Show/Hide handlers ---
|
|
// Show the tooltip
|
|
show: function show() {
|
|
var target = this.getTarget();
|
|
|
|
if (!target || !contains(document.body, target) || !isVisible(target) || this.dropdownOpen() || (isUndefinedOrNull(this.title) || this.title === '') && (isUndefinedOrNull(this.content) || this.content === '')) {
|
|
// If trigger element isn't in the DOM or is not visible, or
|
|
// is on an open dropdown toggle, or has no content, then
|
|
// we exit without showing
|
|
return;
|
|
} // If tip already exists, exit early
|
|
|
|
|
|
if (this.$_tip || this.localShow) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // In the process of showing
|
|
|
|
|
|
this.localShow = true; // Create a cancelable BvEvent
|
|
|
|
var showEvt = this.buildEvent('show', {
|
|
cancelable: true
|
|
});
|
|
this.emitEvent(showEvt); // Don't show if event cancelled
|
|
|
|
/* istanbul ignore if */
|
|
|
|
if (showEvt.defaultPrevented) {
|
|
// Destroy the template (if for some reason it was created)
|
|
this.destroyTemplate();
|
|
return;
|
|
} // Fix the title attribute on target
|
|
|
|
|
|
this.fixTitle(); // Set aria-describedby on target
|
|
|
|
this.addAriaDescribedby(); // Create and show the tooltip
|
|
|
|
this.createTemplateAndShow();
|
|
},
|
|
hide: function hide() {
|
|
var force = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
// Hide the tooltip
|
|
var tip = this.getTemplateElement();
|
|
/* istanbul ignore if */
|
|
|
|
if (!tip || !this.localShow) {
|
|
this.restoreTitle();
|
|
return;
|
|
} // Emit cancelable BvEvent 'hide'
|
|
// We disable cancelling if `force` is true
|
|
|
|
|
|
var hideEvt = this.buildEvent('hide', {
|
|
cancelable: !force
|
|
});
|
|
this.emitEvent(hideEvt);
|
|
/* istanbul ignore if: ignore for now */
|
|
|
|
if (hideEvt.defaultPrevented) {
|
|
// Don't hide if event cancelled
|
|
return;
|
|
} // Tell the template to hide
|
|
|
|
|
|
this.hideTemplate();
|
|
},
|
|
forceHide: function forceHide() {
|
|
// Forcefully hides/destroys the template, regardless of any active triggers
|
|
var tip = this.getTemplateElement();
|
|
|
|
if (!tip || !this.localShow) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // Disable while open listeners/watchers
|
|
// This is also done in the template `hide` evt handler
|
|
|
|
|
|
this.setWhileOpenListeners(false); // Clear any hover enter/leave event
|
|
|
|
this.clearHoverTimeout();
|
|
this.$_hoverState = '';
|
|
this.clearActiveTriggers(); // Disable the fade animation on the template
|
|
|
|
if (this.$_tip) {
|
|
this.$_tip.noFade = true;
|
|
} // Hide the tip (with force = true)
|
|
|
|
|
|
this.hide(true);
|
|
},
|
|
enable: function enable() {
|
|
this.$_enabled = true; // Create a non-cancelable BvEvent
|
|
|
|
this.emitEvent(this.buildEvent('enabled'));
|
|
},
|
|
disable: function disable() {
|
|
this.$_enabled = false; // Create a non-cancelable BvEvent
|
|
|
|
this.emitEvent(this.buildEvent('disabled'));
|
|
},
|
|
// --- Handlers for template events ---
|
|
// When template is inserted into DOM, but not yet shown
|
|
onTemplateShow: function onTemplateShow() {
|
|
// Enable while open listeners/watchers
|
|
this.setWhileOpenListeners(true);
|
|
},
|
|
// When template show transition completes
|
|
onTemplateShown: function onTemplateShown() {
|
|
var prevHoverState = this.$_hoverState;
|
|
this.$_hoverState = '';
|
|
/* istanbul ignore next: occasional Node 10 coverage error */
|
|
|
|
if (prevHoverState === 'out') {
|
|
this.leave(null);
|
|
} // Emit a non-cancelable BvEvent 'shown'
|
|
|
|
|
|
this.emitEvent(this.buildEvent('shown'));
|
|
},
|
|
// When template is starting to hide
|
|
onTemplateHide: function onTemplateHide() {
|
|
// Disable while open listeners/watchers
|
|
this.setWhileOpenListeners(false);
|
|
},
|
|
// When template has completed closing (just before it self destructs)
|
|
onTemplateHidden: function onTemplateHidden() {
|
|
// Destroy the template
|
|
this.destroyTemplate(); // Emit a non-cancelable BvEvent 'shown'
|
|
|
|
this.emitEvent(this.buildEvent('hidden'));
|
|
},
|
|
// --- Utility methods ---
|
|
getTarget: function getTarget() {
|
|
var target = this.target;
|
|
|
|
if (isString(target)) {
|
|
target = getById(target.replace(/^#/, ''));
|
|
} else if (isFunction(target)) {
|
|
target = target();
|
|
} else if (target) {
|
|
target = target.$el || target;
|
|
}
|
|
|
|
return isElement(target) ? target : null;
|
|
},
|
|
getPlacementTarget: function getPlacementTarget() {
|
|
// This is the target that the tooltip will be placed on, which may not
|
|
// necessarily be the same element that has the trigger event listeners
|
|
// For now, this is the same as target
|
|
// TODO:
|
|
// Add in child selector support
|
|
// Add in visibility checks for this element
|
|
// Fallback to target if not found
|
|
return this.getTarget();
|
|
},
|
|
getTargetId: function getTargetId() {
|
|
// Returns the ID of the trigger element
|
|
var target = this.getTarget();
|
|
return target && target.id ? target.id : null;
|
|
},
|
|
getContainer: function getContainer() {
|
|
// Handle case where container may be a component ref
|
|
var container = this.container ? this.container.$el || this.container : false;
|
|
var body = document.body;
|
|
var target = this.getTarget(); // If we are in a modal, we append to the modal, If we
|
|
// are in a sidebar, we append to the sidebar, else append
|
|
// to body, unless a container is specified
|
|
// TODO:
|
|
// Template should periodically check to see if it is in dom
|
|
// And if not, self destruct (if container got v-if'ed out of DOM)
|
|
// Or this could possibly be part of the visibility check
|
|
|
|
return container === false ? closest(CONTAINER_SELECTOR, target) || body :
|
|
/*istanbul ignore next */
|
|
isString(container) ?
|
|
/*istanbul ignore next */
|
|
getById(container.replace(/^#/, '')) || body :
|
|
/*istanbul ignore next */
|
|
body;
|
|
},
|
|
getBoundary: function getBoundary() {
|
|
return this.boundary ? this.boundary.$el || this.boundary : 'scrollParent';
|
|
},
|
|
isInModal: function isInModal() {
|
|
var target = this.getTarget();
|
|
return target && closest(MODAL_SELECTOR, target);
|
|
},
|
|
isDropdown: function isDropdown() {
|
|
// Returns true if trigger is a dropdown
|
|
var target = this.getTarget();
|
|
return target && hasClass(target, DROPDOWN_CLASS);
|
|
},
|
|
dropdownOpen: function dropdownOpen() {
|
|
// Returns true if trigger is a dropdown and the dropdown menu is open
|
|
var target = this.getTarget();
|
|
return this.isDropdown() && target && select(DROPDOWN_OPEN_SELECTOR, target);
|
|
},
|
|
clearHoverTimeout: function clearHoverTimeout() {
|
|
clearTimeout(this.$_hoverTimeout);
|
|
this.$_hoverTimeout = null;
|
|
},
|
|
clearVisibilityInterval: function clearVisibilityInterval() {
|
|
clearInterval(this.$_visibleInterval);
|
|
this.$_visibleInterval = null;
|
|
},
|
|
clearActiveTriggers: function clearActiveTriggers() {
|
|
for (var trigger in this.activeTrigger) {
|
|
this.activeTrigger[trigger] = false;
|
|
}
|
|
},
|
|
addAriaDescribedby: function addAriaDescribedby() {
|
|
// Add aria-describedby on trigger element, without removing any other IDs
|
|
var target = this.getTarget();
|
|
var desc = getAttr(target, 'aria-describedby') || '';
|
|
desc = desc.split(/\s+/).concat(this.computedId).join(' ').trim(); // Update/add aria-described by
|
|
|
|
setAttr(target, 'aria-describedby', desc);
|
|
},
|
|
removeAriaDescribedby: function removeAriaDescribedby() {
|
|
var _this5 = this;
|
|
|
|
// Remove aria-describedby on trigger element, without removing any other IDs
|
|
var target = this.getTarget();
|
|
var desc = getAttr(target, 'aria-describedby') || '';
|
|
desc = desc.split(/\s+/).filter(function (d) {
|
|
return d !== _this5.computedId;
|
|
}).join(' ').trim(); // Update or remove aria-describedby
|
|
|
|
if (desc) {
|
|
/* istanbul ignore next */
|
|
setAttr(target, 'aria-describedby', desc);
|
|
} else {
|
|
removeAttr(target, 'aria-describedby');
|
|
}
|
|
},
|
|
fixTitle: function fixTitle() {
|
|
// If the target has a `title` attribute,
|
|
// remove it and store it on a data attribute
|
|
var target = this.getTarget();
|
|
|
|
if (hasAttr(target, 'title')) {
|
|
// Get `title` attribute value and remove it from target
|
|
var title = getAttr(target, 'title');
|
|
setAttr(target, 'title', ''); // Only set the data attribute when the value is truthy
|
|
|
|
if (title) {
|
|
setAttr(target, DATA_TITLE_ATTR, title);
|
|
}
|
|
}
|
|
},
|
|
restoreTitle: function restoreTitle() {
|
|
// If the target had a `title` attribute,
|
|
// restore it and remove the data attribute
|
|
var target = this.getTarget();
|
|
|
|
if (hasAttr(target, DATA_TITLE_ATTR)) {
|
|
// Get data attribute value and remove it from target
|
|
var title = getAttr(target, DATA_TITLE_ATTR);
|
|
removeAttr(target, DATA_TITLE_ATTR); // Only restore the `title` attribute when the value is truthy
|
|
|
|
if (title) {
|
|
setAttr(target, 'title', title);
|
|
}
|
|
}
|
|
},
|
|
// --- BvEvent helpers ---
|
|
buildEvent: function buildEvent(type) {
|
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
// Defaults to a non-cancellable event
|
|
return new BvEvent(type, _objectSpread2({
|
|
cancelable: false,
|
|
target: this.getTarget(),
|
|
relatedTarget: this.getTemplateElement() || null,
|
|
componentId: this.computedId,
|
|
vueTarget: this
|
|
}, options));
|
|
},
|
|
emitEvent: function emitEvent(bvEvt) {
|
|
// Emits a BvEvent on $root and this instance
|
|
var evtName = bvEvt.type;
|
|
var $root = this.$root;
|
|
|
|
if ($root && $root.$emit) {
|
|
// Emit an event on $root
|
|
$root.$emit("bv::".concat(this.templateType, "::").concat(evtName), bvEvt);
|
|
}
|
|
|
|
this.$emit(evtName, bvEvt);
|
|
},
|
|
// --- Event handler setup methods ---
|
|
listen: function listen() {
|
|
var _this6 = this;
|
|
|
|
// Enable trigger event handlers
|
|
var el = this.getTarget();
|
|
|
|
if (!el) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // Listen for global show/hide events
|
|
|
|
|
|
this.setRootListener(true); // Set up our listeners on the target trigger element
|
|
|
|
this.computedTriggers.forEach(function (trigger) {
|
|
if (trigger === 'click') {
|
|
eventOn(el, 'click', _this6.handleEvent, EVENT_OPTIONS_NO_CAPTURE);
|
|
} else if (trigger === 'focus') {
|
|
eventOn(el, 'focusin', _this6.handleEvent, EVENT_OPTIONS_NO_CAPTURE);
|
|
eventOn(el, 'focusout', _this6.handleEvent, EVENT_OPTIONS_NO_CAPTURE);
|
|
} else if (trigger === 'blur') {
|
|
// Used to close $tip when element looses focus
|
|
|
|
/* istanbul ignore next */
|
|
eventOn(el, 'focusout', _this6.handleEvent, EVENT_OPTIONS_NO_CAPTURE);
|
|
} else if (trigger === 'hover') {
|
|
eventOn(el, 'mouseenter', _this6.handleEvent, EVENT_OPTIONS_NO_CAPTURE);
|
|
eventOn(el, 'mouseleave', _this6.handleEvent, EVENT_OPTIONS_NO_CAPTURE);
|
|
}
|
|
}, this);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
unListen: function unListen() {
|
|
var _this7 = this;
|
|
|
|
// Remove trigger event handlers
|
|
var events = ['click', 'focusin', 'focusout', 'mouseenter', 'mouseleave'];
|
|
var target = this.getTarget(); // Stop listening for global show/hide/enable/disable events
|
|
|
|
this.setRootListener(false); // Clear out any active target listeners
|
|
|
|
events.forEach(function (evt) {
|
|
target && eventOff(target, evt, _this7.handleEvent, EVENT_OPTIONS_NO_CAPTURE);
|
|
}, this);
|
|
},
|
|
setRootListener: function setRootListener(on) {
|
|
// Listen for global `bv::{hide|show}::{tooltip|popover}` hide request event
|
|
var $root = this.$root;
|
|
|
|
if ($root) {
|
|
var method = on ? '$on' : '$off';
|
|
var type = this.templateType;
|
|
$root[method]("bv::hide::".concat(type), this.doHide);
|
|
$root[method]("bv::show::".concat(type), this.doShow);
|
|
$root[method]("bv::disable::".concat(type), this.doDisable);
|
|
$root[method]("bv::enable::".concat(type), this.doEnable);
|
|
}
|
|
},
|
|
setWhileOpenListeners: function setWhileOpenListeners(on) {
|
|
// Events that are only registered when the template is showing
|
|
// Modal close events
|
|
this.setModalListener(on); // Dropdown open events (if we are attached to a dropdown)
|
|
|
|
this.setDropdownListener(on); // Periodic $element visibility check
|
|
// For handling when tip target is in <keepalive>, tabs, carousel, etc
|
|
|
|
this.visibleCheck(on); // On-touch start listeners
|
|
|
|
this.setOnTouchStartListener(on);
|
|
},
|
|
// Handler for periodic visibility check
|
|
visibleCheck: function visibleCheck(on) {
|
|
var _this8 = this;
|
|
|
|
this.clearVisibilityInterval();
|
|
var target = this.getTarget();
|
|
var tip = this.getTemplateElement();
|
|
|
|
if (on) {
|
|
this.$_visibleInterval = setInterval(function () {
|
|
if (tip && _this8.localShow && (!target.parentNode || !isVisible(target))) {
|
|
// Target element is no longer visible or not in DOM, so force-hide the tooltip
|
|
_this8.forceHide();
|
|
}
|
|
}, 100);
|
|
}
|
|
},
|
|
setModalListener: function setModalListener(on) {
|
|
// Handle case where tooltip/target is in a modal
|
|
if (this.isInModal()) {
|
|
// We can listen for modal hidden events on `$root`
|
|
this.$root[on ? '$on' : '$off'](MODAL_CLOSE_EVENT, this.forceHide);
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next: JSDOM doesn't support `ontouchstart` */
|
|
setOnTouchStartListener: function setOnTouchStartListener(on) {
|
|
var _this9 = this;
|
|
|
|
// If this is a touch-enabled device we add extra empty
|
|
// `mouseover` listeners to the body's immediate children
|
|
// Only needed because of broken event delegation on iOS
|
|
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
|
|
if ('ontouchstart' in document.documentElement) {
|
|
from(document.body.children).forEach(function (el) {
|
|
eventOnOff(on, el, 'mouseover', _this9.$_noop);
|
|
});
|
|
}
|
|
},
|
|
setDropdownListener: function setDropdownListener(on) {
|
|
var target = this.getTarget();
|
|
|
|
if (!target || !this.$root || !this.isDropdown) {
|
|
return;
|
|
} // We can listen for dropdown shown events on its instance
|
|
// TODO:
|
|
// We could grab the ID from the dropdown, and listen for
|
|
// $root events for that particular dropdown id
|
|
// Dropdown shown and hidden events will need to emit
|
|
// Note: Dropdown auto-ID happens in a `$nextTick()` after mount
|
|
// So the ID lookup would need to be done in a `$nextTick()`
|
|
|
|
|
|
if (target.__vue__) {
|
|
target.__vue__[on ? '$on' : '$off']('shown', this.forceHide);
|
|
}
|
|
},
|
|
// --- Event handlers ---
|
|
handleEvent: function handleEvent(evt) {
|
|
// General trigger event handler
|
|
// target is the trigger element
|
|
var target = this.getTarget();
|
|
|
|
if (!target || isDisabled(target) || !this.$_enabled || this.dropdownOpen()) {
|
|
// If disabled or not enabled, or if a dropdown that is open, don't do anything
|
|
// If tip is shown before element gets disabled, then tip will not
|
|
// close until no longer disabled or forcefully closed
|
|
return;
|
|
}
|
|
|
|
var type = evt.type;
|
|
var triggers = this.computedTriggers;
|
|
|
|
if (type === 'click' && arrayIncludes(triggers, 'click')) {
|
|
this.click(evt);
|
|
} else if (type === 'mouseenter' && arrayIncludes(triggers, 'hover')) {
|
|
// `mouseenter` is a non-bubbling event
|
|
this.enter(evt);
|
|
} else if (type === 'focusin' && arrayIncludes(triggers, 'focus')) {
|
|
// `focusin` is a bubbling event
|
|
// `evt` includes `relatedTarget` (element losing focus)
|
|
this.enter(evt);
|
|
} else if (type === 'focusout' && (arrayIncludes(triggers, 'focus') || arrayIncludes(triggers, 'blur')) || type === 'mouseleave' && arrayIncludes(triggers, 'hover')) {
|
|
// `focusout` is a bubbling event
|
|
// `mouseleave` is a non-bubbling event
|
|
// `tip` is the template (will be null if not open)
|
|
var tip = this.getTemplateElement(); // `evtTarget` is the element which is losing focus/hover and
|
|
|
|
var evtTarget = evt.target; // `relatedTarget` is the element gaining focus/hover
|
|
|
|
var relatedTarget = evt.relatedTarget;
|
|
/* istanbul ignore next */
|
|
|
|
if ( // From tip to target
|
|
tip && contains(tip, evtTarget) && contains(target, relatedTarget) || // From target to tip
|
|
tip && contains(target, evtTarget) && contains(tip, relatedTarget) || // Within tip
|
|
tip && contains(tip, evtTarget) && contains(tip, relatedTarget) || // Within target
|
|
contains(target, evtTarget) && contains(target, relatedTarget)) {
|
|
// If focus/hover moves within `tip` and `target`, don't trigger a leave
|
|
return;
|
|
} // Otherwise trigger a leave
|
|
|
|
|
|
this.leave(evt);
|
|
}
|
|
},
|
|
doHide: function doHide(id) {
|
|
// Programmatically hide tooltip or popover
|
|
if (!id || this.getTargetId() === id || this.computedId === id) {
|
|
// Close all tooltips or popovers, or this specific tip (with ID)
|
|
this.forceHide();
|
|
}
|
|
},
|
|
doShow: function doShow(id) {
|
|
// Programmatically show tooltip or popover
|
|
if (!id || this.getTargetId() === id || this.computedId === id) {
|
|
// Open all tooltips or popovers, or this specific tip (with ID)
|
|
this.show();
|
|
}
|
|
},
|
|
|
|
/*istanbul ignore next: ignore for now */
|
|
doDisable: function doDisable(id)
|
|
/*istanbul ignore next: ignore for now */
|
|
{
|
|
// Programmatically disable tooltip or popover
|
|
if (!id || this.getTargetId() === id || this.computedId === id) {
|
|
// Disable all tooltips or popovers (no ID), or this specific tip (with ID)
|
|
this.disable();
|
|
}
|
|
},
|
|
|
|
/*istanbul ignore next: ignore for now */
|
|
doEnable: function doEnable(id)
|
|
/*istanbul ignore next: ignore for now */
|
|
{
|
|
// Programmatically enable tooltip or popover
|
|
if (!id || this.getTargetId() === id || this.computedId === id) {
|
|
// Enable all tooltips or popovers (no ID), or this specific tip (with ID)
|
|
this.enable();
|
|
}
|
|
},
|
|
click: function click(evt) {
|
|
if (!this.$_enabled || this.dropdownOpen()) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // Get around a WebKit bug where `click` does not trigger focus events
|
|
// On most browsers, `click` triggers a `focusin`/`focus` event first
|
|
// Needed so that trigger 'click blur' works on iOS
|
|
// https://github.com/bootstrap-vue/bootstrap-vue/issues/5099
|
|
// We use `currentTarget` rather than `target` to trigger on the
|
|
// element, not the inner content
|
|
|
|
|
|
attemptFocus(evt.currentTarget);
|
|
this.activeTrigger.click = !this.activeTrigger.click;
|
|
|
|
if (this.isWithActiveTrigger) {
|
|
this.enter(null);
|
|
} else {
|
|
/* istanbul ignore next */
|
|
this.leave(null);
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
toggle: function toggle() {
|
|
// Manual toggle handler
|
|
if (!this.$_enabled || this.dropdownOpen()) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // Should we register as an active trigger?
|
|
// this.activeTrigger.manual = !this.activeTrigger.manual
|
|
|
|
|
|
if (this.localShow) {
|
|
this.leave(null);
|
|
} else {
|
|
this.enter(null);
|
|
}
|
|
},
|
|
enter: function enter() {
|
|
var _this10 = this;
|
|
|
|
var evt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
|
|
// Opening trigger handler
|
|
// Note: Click events are sent with evt === null
|
|
if (evt) {
|
|
this.activeTrigger[evt.type === 'focusin' ? 'focus' : 'hover'] = true;
|
|
}
|
|
/* istanbul ignore next */
|
|
|
|
|
|
if (this.localShow || this.$_hoverState === 'in') {
|
|
this.$_hoverState = 'in';
|
|
return;
|
|
}
|
|
|
|
this.clearHoverTimeout();
|
|
this.$_hoverState = 'in';
|
|
|
|
if (!this.computedDelay.show) {
|
|
this.show();
|
|
} else {
|
|
// Hide any title attribute while enter delay is active
|
|
this.fixTitle();
|
|
this.$_hoverTimeout = setTimeout(function () {
|
|
/* istanbul ignore else */
|
|
if (_this10.$_hoverState === 'in') {
|
|
_this10.show();
|
|
} else if (!_this10.localShow) {
|
|
_this10.restoreTitle();
|
|
}
|
|
}, this.computedDelay.show);
|
|
}
|
|
},
|
|
leave: function leave() {
|
|
var _this11 = this;
|
|
|
|
var evt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
|
|
// Closing trigger handler
|
|
// Note: Click events are sent with evt === null
|
|
if (evt) {
|
|
this.activeTrigger[evt.type === 'focusout' ? 'focus' : 'hover'] = false;
|
|
/* istanbul ignore next */
|
|
|
|
if (evt.type === 'focusout' && arrayIncludes(this.computedTriggers, 'blur')) {
|
|
// Special case for `blur`: we clear out the other triggers
|
|
this.activeTrigger.click = false;
|
|
this.activeTrigger.hover = false;
|
|
}
|
|
}
|
|
/* istanbul ignore next: ignore for now */
|
|
|
|
|
|
if (this.isWithActiveTrigger) {
|
|
return;
|
|
}
|
|
|
|
this.clearHoverTimeout();
|
|
this.$_hoverState = 'out';
|
|
|
|
if (!this.computedDelay.hide) {
|
|
this.hide();
|
|
} else {
|
|
this.$_hoverTimeout = setTimeout(function () {
|
|
if (_this11.$_hoverState === 'out') {
|
|
_this11.hide();
|
|
}
|
|
}, this.computedDelay.hide);
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
var BTooltip = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TOOLTIP,
|
|
inheritAttrs: false,
|
|
props: makePropsConfigurable({
|
|
title: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
// Added in by BPopover
|
|
// content: {
|
|
// type: String,
|
|
// default: undefined
|
|
// },
|
|
target: {
|
|
// String ID of element, or element/component reference
|
|
// Or function that returns one of the above
|
|
type: [String, HTMLElement, SVGElement, Function, Object],
|
|
required: true
|
|
},
|
|
triggers: {
|
|
type: [String, Array],
|
|
default: 'hover focus'
|
|
},
|
|
placement: {
|
|
type: String,
|
|
default: 'top'
|
|
},
|
|
fallbackPlacement: {
|
|
type: [String, Array],
|
|
default: 'flip',
|
|
validator: function validator(value) {
|
|
return isArray(value) && value.every(function (v) {
|
|
return isString(v);
|
|
}) || arrayIncludes(['flip', 'clockwise', 'counterclockwise'], value);
|
|
}
|
|
},
|
|
variant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
customClass: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
delay: {
|
|
type: [Number, Object, String],
|
|
default: 50
|
|
},
|
|
boundary: {
|
|
// String: scrollParent, window, or viewport
|
|
// Element: element reference
|
|
// Object: Vue component
|
|
type: [String, HTMLElement, Object],
|
|
default: 'scrollParent'
|
|
},
|
|
boundaryPadding: {
|
|
type: [Number, String],
|
|
default: 5
|
|
},
|
|
offset: {
|
|
type: [Number, String],
|
|
default: 0
|
|
},
|
|
noFade: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
container: {
|
|
// String: HTML ID of container, if null body is used (default)
|
|
// HTMLElement: element reference reference
|
|
// Object: Vue Component
|
|
type: [String, HTMLElement, Object] // default: undefined
|
|
|
|
},
|
|
show: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noninteractive: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
id: {
|
|
// ID to use for tooltip element
|
|
// If not provided on will automatically be generated
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_TOOLTIP),
|
|
data: function data() {
|
|
return {
|
|
localShow: this.show,
|
|
localTitle: '',
|
|
localContent: ''
|
|
};
|
|
},
|
|
computed: {
|
|
templateData: function templateData() {
|
|
// Data that will be passed to the template and popper
|
|
return {
|
|
// We use massaged versions of the title and content props/slots
|
|
title: this.localTitle,
|
|
content: this.localContent,
|
|
// Pass these props as is
|
|
target: this.target,
|
|
triggers: this.triggers,
|
|
placement: this.placement,
|
|
fallbackPlacement: this.fallbackPlacement,
|
|
variant: this.variant,
|
|
customClass: this.customClass,
|
|
container: this.container,
|
|
boundary: this.boundary,
|
|
boundaryPadding: this.boundaryPadding,
|
|
delay: this.delay,
|
|
offset: this.offset,
|
|
noFade: this.noFade,
|
|
interactive: !this.noninteractive,
|
|
disabled: this.disabled,
|
|
id: this.id
|
|
};
|
|
},
|
|
templateTitleContent: function templateTitleContent() {
|
|
// Used to watch for changes to the title and content props
|
|
return {
|
|
title: this.title,
|
|
content: this.content
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
show: function show(_show, oldVal) {
|
|
if (_show !== oldVal && _show !== this.localShow && this.$_toolpop) {
|
|
if (_show) {
|
|
this.$_toolpop.show();
|
|
} else {
|
|
// We use `forceHide()` to override any active triggers
|
|
this.$_toolpop.forceHide();
|
|
}
|
|
}
|
|
},
|
|
disabled: function disabled(newVal) {
|
|
if (newVal) {
|
|
this.doDisable();
|
|
} else {
|
|
this.doEnable();
|
|
}
|
|
},
|
|
localShow: function localShow(newVal) {
|
|
// TODO: May need to be done in a `$nextTick()`
|
|
this.$emit('update:show', newVal);
|
|
},
|
|
templateData: function templateData() {
|
|
var _this = this;
|
|
|
|
this.$nextTick(function () {
|
|
if (_this.$_toolpop) {
|
|
_this.$_toolpop.updateData(_this.templateData);
|
|
}
|
|
});
|
|
},
|
|
// Watchers for title/content props (prop changes do not trigger the `updated()` hook)
|
|
templateTitleContent: function templateTitleContent() {
|
|
this.$nextTick(this.updateContent);
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Create private non-reactive props
|
|
this.$_toolpop = null;
|
|
},
|
|
updated: function updated() {
|
|
// Update the `propData` object
|
|
// Done in a `$nextTick()` to ensure slot(s) have updated
|
|
this.$nextTick(this.updateContent);
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
// Shutdown our local event listeners
|
|
this.$off('open', this.doOpen);
|
|
this.$off('close', this.doClose);
|
|
this.$off('disable', this.doDisable);
|
|
this.$off('enable', this.doEnable); // Destroy the tip instance
|
|
|
|
if (this.$_toolpop) {
|
|
this.$_toolpop.$destroy();
|
|
this.$_toolpop = null;
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
var _this2 = this;
|
|
|
|
// Instantiate a new BVTooltip instance
|
|
// Done in a `$nextTick()` to ensure DOM has completed rendering
|
|
// so that target can be found
|
|
this.$nextTick(function () {
|
|
// Load the on demand child instance
|
|
var Component = _this2.getComponent(); // Ensure we have initial content
|
|
|
|
|
|
_this2.updateContent(); // Pass down the scoped style attribute if available
|
|
|
|
|
|
var scopeId = getScopeId(_this2) || getScopeId(_this2.$parent); // Create the instance
|
|
|
|
var $toolpop = _this2.$_toolpop = new Component({
|
|
parent: _this2,
|
|
// Pass down the scoped style ID
|
|
_scopeId: scopeId || undefined
|
|
}); // Set the initial data
|
|
|
|
$toolpop.updateData(_this2.templateData); // Set listeners
|
|
|
|
$toolpop.$on('show', _this2.onShow);
|
|
$toolpop.$on('shown', _this2.onShown);
|
|
$toolpop.$on('hide', _this2.onHide);
|
|
$toolpop.$on('hidden', _this2.onHidden);
|
|
$toolpop.$on('disabled', _this2.onDisabled);
|
|
$toolpop.$on('enabled', _this2.onEnabled); // Initially disabled?
|
|
|
|
if (_this2.disabled) {
|
|
// Initially disabled
|
|
_this2.doDisable();
|
|
} // Listen to open signals from others
|
|
|
|
|
|
_this2.$on('open', _this2.doOpen); // Listen to close signals from others
|
|
|
|
|
|
_this2.$on('close', _this2.doClose); // Listen to disable signals from others
|
|
|
|
|
|
_this2.$on('disable', _this2.doDisable); // Listen to enable signals from others
|
|
|
|
|
|
_this2.$on('enable', _this2.doEnable); // Initially show tooltip?
|
|
|
|
|
|
if (_this2.localShow) {
|
|
$toolpop.show();
|
|
}
|
|
});
|
|
},
|
|
methods: {
|
|
getComponent: function getComponent() {
|
|
// Overridden by BPopover
|
|
return BVTooltip;
|
|
},
|
|
updateContent: function updateContent() {
|
|
// Overridden by BPopover
|
|
// Tooltip: Default slot is `title`
|
|
// Popover: Default slot is `content`, `title` slot is title
|
|
// We pass a scoped slot function reference by default (Vue v2.6x)
|
|
// And pass the title prop as a fallback
|
|
this.setTitle(this.$scopedSlots.default || this.title);
|
|
},
|
|
// Helper methods for `updateContent()`
|
|
setTitle: function setTitle(val) {
|
|
val = isUndefinedOrNull(val) ? '' : val; // We only update the value if it has changed
|
|
|
|
if (this.localTitle !== val) {
|
|
this.localTitle = val;
|
|
}
|
|
},
|
|
setContent: function setContent(val) {
|
|
val = isUndefinedOrNull(val) ? '' : val; // We only update the value if it has changed
|
|
|
|
if (this.localContent !== val) {
|
|
this.localContent = val;
|
|
}
|
|
},
|
|
// --- Template event handlers ---
|
|
onShow: function onShow(bvEvt) {
|
|
// Placeholder
|
|
this.$emit('show', bvEvt);
|
|
|
|
if (bvEvt) {
|
|
this.localShow = !bvEvt.defaultPrevented;
|
|
}
|
|
},
|
|
onShown: function onShown(bvEvt) {
|
|
// Tip is now showing
|
|
this.localShow = true;
|
|
this.$emit('shown', bvEvt);
|
|
},
|
|
onHide: function onHide(bvEvt) {
|
|
this.$emit('hide', bvEvt);
|
|
},
|
|
onHidden: function onHidden(bvEvt) {
|
|
// Tip is no longer showing
|
|
this.$emit('hidden', bvEvt);
|
|
this.localShow = false;
|
|
},
|
|
onDisabled: function onDisabled(bvEvt) {
|
|
// Prevent possible endless loop if user mistakenly
|
|
// fires `disabled` instead of `disable`
|
|
if (bvEvt && bvEvt.type === 'disabled') {
|
|
this.$emit('update:disabled', true);
|
|
this.$emit('disabled', bvEvt);
|
|
}
|
|
},
|
|
onEnabled: function onEnabled(bvEvt) {
|
|
// Prevent possible endless loop if user mistakenly
|
|
// fires `enabled` instead of `enable`
|
|
if (bvEvt && bvEvt.type === 'enabled') {
|
|
this.$emit('update:disabled', false);
|
|
this.$emit('enabled', bvEvt);
|
|
}
|
|
},
|
|
// --- Local event listeners ---
|
|
doOpen: function doOpen() {
|
|
!this.localShow && this.$_toolpop && this.$_toolpop.show();
|
|
},
|
|
doClose: function doClose() {
|
|
this.localShow && this.$_toolpop && this.$_toolpop.hide();
|
|
},
|
|
doDisable: function doDisable() {
|
|
this.$_toolpop && this.$_toolpop.disable();
|
|
},
|
|
doEnable: function doEnable() {
|
|
this.$_toolpop && this.$_toolpop.enable();
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
// Always renders a comment node
|
|
// TODO:
|
|
// Future: Possibly render a target slot (single root element)
|
|
// which we can apply the listeners to (pass `this.$el` to BVTooltip)
|
|
return h();
|
|
}
|
|
});
|
|
|
|
var BVPopoverTemplate = /*#__PURE__*/Vue.extend({
|
|
name: NAME_POPOVER_TEMPLATE,
|
|
extends: BVTooltipTemplate,
|
|
computed: {
|
|
templateType: function templateType() {
|
|
return 'popover';
|
|
}
|
|
},
|
|
methods: {
|
|
renderTemplate: function renderTemplate(h) {
|
|
// Title and content could be a scoped slot function
|
|
var $title = isFunction(this.title) ? this.title({}) : this.title;
|
|
var $content = isFunction(this.content) ? this.content({}) : this.content; // Directive usage only
|
|
|
|
var titleDomProps = this.html && !isFunction(this.title) ? {
|
|
innerHTML: this.title
|
|
} : {};
|
|
var contentDomProps = this.html && !isFunction(this.content) ? {
|
|
innerHTML: this.content
|
|
} : {};
|
|
return h('div', {
|
|
staticClass: 'popover b-popover',
|
|
class: this.templateClasses,
|
|
attrs: this.templateAttributes,
|
|
on: this.templateListeners
|
|
}, [h('div', {
|
|
ref: 'arrow',
|
|
staticClass: 'arrow'
|
|
}), isUndefinedOrNull($title) || $title === '' ?
|
|
/* istanbul ignore next */
|
|
h() : h('h3', {
|
|
staticClass: 'popover-header',
|
|
domProps: titleDomProps
|
|
}, [$title]), isUndefinedOrNull($content) || $content === '' ?
|
|
/* istanbul ignore next */
|
|
h() : h('div', {
|
|
staticClass: 'popover-body',
|
|
domProps: contentDomProps
|
|
}, [$content])]);
|
|
}
|
|
}
|
|
});
|
|
|
|
// Popover "Class" (Built as a renderless Vue instance)
|
|
|
|
var BVPopover = /*#__PURE__*/Vue.extend({
|
|
name: NAME_POPOVER_HELPER,
|
|
extends: BVTooltip,
|
|
computed: {
|
|
// Overwrites BVTooltip
|
|
templateType: function templateType() {
|
|
return 'popover';
|
|
}
|
|
},
|
|
methods: {
|
|
getTemplate: function getTemplate() {
|
|
// Overwrites BVTooltip
|
|
return BVPopoverTemplate;
|
|
}
|
|
}
|
|
});
|
|
|
|
var BPopover = /*#__PURE__*/Vue.extend({
|
|
name: NAME_POPOVER,
|
|
extends: BTooltip,
|
|
inheritAttrs: false,
|
|
props: makePropsConfigurable({
|
|
title: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
content: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
triggers: {
|
|
type: [String, Array],
|
|
default: 'click'
|
|
},
|
|
placement: {
|
|
type: String,
|
|
default: 'right'
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: undefined
|
|
},
|
|
customClass: {
|
|
type: String,
|
|
default: undefined
|
|
},
|
|
delay: {
|
|
type: [Number, Object, String],
|
|
default: 50
|
|
},
|
|
boundary: {
|
|
// String: scrollParent, window, or viewport
|
|
// Element: element reference
|
|
// Object: Vue component
|
|
type: [String, HTMLElement, Object],
|
|
default: 'scrollParent'
|
|
},
|
|
boundaryPadding: {
|
|
type: [Number, String],
|
|
default: 5
|
|
}
|
|
}, NAME_POPOVER),
|
|
methods: {
|
|
getComponent: function getComponent() {
|
|
// Overridden by BPopover
|
|
return BVPopover;
|
|
},
|
|
updateContent: function updateContent() {
|
|
// Tooltip: Default slot is `title`
|
|
// Popover: Default slot is `content`, `title` slot is title
|
|
// We pass a scoped slot function references by default (Vue v2.6x)
|
|
// And pass the title prop as a fallback
|
|
this.setContent(this.$scopedSlots.default || this.content);
|
|
this.setTitle(this.$scopedSlots.title || this.title);
|
|
}
|
|
} // Render function provided by BTooltip
|
|
|
|
});
|
|
|
|
var BV_POPOVER = '__BV_Popover__'; // Default trigger
|
|
|
|
var DefaultTrigger = 'click'; // Valid event triggers
|
|
|
|
var validTriggers = {
|
|
focus: true,
|
|
hover: true,
|
|
click: true,
|
|
blur: true,
|
|
manual: true
|
|
}; // Directive modifier test regular expressions. Pre-compile for performance
|
|
|
|
var htmlRE = /^html$/i;
|
|
var noFadeRE = /^nofade$/i;
|
|
var placementRE = /^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i;
|
|
var boundaryRE = /^(window|viewport|scrollParent)$/i;
|
|
var delayRE = /^d\d+$/i;
|
|
var delayShowRE = /^ds\d+$/i;
|
|
var delayHideRE = /^dh\d+$/i;
|
|
var offsetRE = /^o-?\d+$/i;
|
|
var variantRE = /^v-.+$/i;
|
|
var spacesRE = /\s+/; // Build a Popover config based on bindings (if any)
|
|
// Arguments and modifiers take precedence over passed value config object
|
|
|
|
var parseBindings = function parseBindings(bindings, vnode)
|
|
/* istanbul ignore next: not easy to test */
|
|
{
|
|
// We start out with a basic config
|
|
var config = {
|
|
title: undefined,
|
|
content: undefined,
|
|
trigger: '',
|
|
// Default set below if needed
|
|
placement: 'right',
|
|
fallbackPlacement: 'flip',
|
|
container: false,
|
|
// Default of body
|
|
animation: true,
|
|
offset: 0,
|
|
disabled: false,
|
|
id: null,
|
|
html: false,
|
|
delay: getComponentConfig(NAME_POPOVER, 'delay', 50),
|
|
boundary: String(getComponentConfig(NAME_POPOVER, 'boundary', 'scrollParent')),
|
|
boundaryPadding: toInteger(getComponentConfig(NAME_POPOVER, 'boundaryPadding', 5), 0),
|
|
variant: getComponentConfig(NAME_POPOVER, 'variant'),
|
|
customClass: getComponentConfig(NAME_POPOVER, 'customClass')
|
|
}; // Process `bindings.value`
|
|
|
|
if (isString(bindings.value) || isNumber(bindings.value)) {
|
|
// Value is popover content (html optionally supported)
|
|
config.content = bindings.value;
|
|
} else if (isFunction(bindings.value)) {
|
|
// Content generator function
|
|
config.content = bindings.value;
|
|
} else if (isPlainObject(bindings.value)) {
|
|
// Value is config object, so merge
|
|
config = _objectSpread2(_objectSpread2({}, config), bindings.value);
|
|
} // If argument, assume element ID of container element
|
|
|
|
|
|
if (bindings.arg) {
|
|
// Element ID specified as arg
|
|
// We must prepend '#' to become a CSS selector
|
|
config.container = "#".concat(bindings.arg);
|
|
} // If title is not provided, try title attribute
|
|
|
|
|
|
if (isUndefined(config.title)) {
|
|
// Try attribute
|
|
var data = vnode.data || {};
|
|
config.title = data.attrs && !isUndefinedOrNull(data.attrs.title) ? data.attrs.title : undefined;
|
|
} // Normalize delay
|
|
|
|
|
|
if (!isPlainObject(config.delay)) {
|
|
config.delay = {
|
|
show: toInteger(config.delay, 0),
|
|
hide: toInteger(config.delay, 0)
|
|
};
|
|
} // Process modifiers
|
|
|
|
|
|
keys(bindings.modifiers).forEach(function (mod) {
|
|
if (htmlRE.test(mod)) {
|
|
// Title/content allows HTML
|
|
config.html = true;
|
|
} else if (noFadeRE.test(mod)) {
|
|
// No animation
|
|
config.animation = false;
|
|
} else if (placementRE.test(mod)) {
|
|
// Placement of popover
|
|
config.placement = mod;
|
|
} else if (boundaryRE.test(mod)) {
|
|
// Boundary of popover
|
|
mod = mod === 'scrollparent' ? 'scrollParent' : mod;
|
|
config.boundary = mod;
|
|
} else if (delayRE.test(mod)) {
|
|
// Delay value
|
|
var delay = toInteger(mod.slice(1), 0);
|
|
config.delay.show = delay;
|
|
config.delay.hide = delay;
|
|
} else if (delayShowRE.test(mod)) {
|
|
// Delay show value
|
|
config.delay.show = toInteger(mod.slice(2), 0);
|
|
} else if (delayHideRE.test(mod)) {
|
|
// Delay hide value
|
|
config.delay.hide = toInteger(mod.slice(2), 0);
|
|
} else if (offsetRE.test(mod)) {
|
|
// Offset value, negative allowed
|
|
config.offset = toInteger(mod.slice(1), 0);
|
|
} else if (variantRE.test(mod)) {
|
|
// Variant
|
|
config.variant = mod.slice(2) || null;
|
|
}
|
|
}); // Special handling of event trigger modifiers trigger is
|
|
// a space separated list
|
|
|
|
var selectedTriggers = {}; // Parse current config object trigger
|
|
|
|
concat(config.trigger || '').filter(identity).join(' ').trim().toLowerCase().split(spacesRE).forEach(function (trigger) {
|
|
if (validTriggers[trigger]) {
|
|
selectedTriggers[trigger] = true;
|
|
}
|
|
}); // Parse modifiers for triggers
|
|
|
|
keys(bindings.modifiers).forEach(function (mod) {
|
|
mod = mod.toLowerCase();
|
|
|
|
if (validTriggers[mod]) {
|
|
// If modifier is a valid trigger
|
|
selectedTriggers[mod] = true;
|
|
}
|
|
}); // Sanitize triggers
|
|
|
|
config.trigger = keys(selectedTriggers).join(' ');
|
|
|
|
if (config.trigger === 'blur') {
|
|
// Blur by itself is useless, so convert it to 'focus'
|
|
config.trigger = 'focus';
|
|
}
|
|
|
|
if (!config.trigger) {
|
|
// Use default trigger
|
|
config.trigger = DefaultTrigger;
|
|
}
|
|
|
|
return config;
|
|
}; // Add or update Popover on our element
|
|
|
|
|
|
var applyPopover = function applyPopover(el, bindings, vnode) {
|
|
if (!isBrowser) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
var config = parseBindings(bindings, vnode);
|
|
|
|
if (!el[BV_POPOVER]) {
|
|
var $parent = vnode.context;
|
|
el[BV_POPOVER] = new BVPopover({
|
|
parent: $parent,
|
|
// Add the parent's scoped style attribute data
|
|
_scopeId: getScopeId($parent, undefined)
|
|
});
|
|
el[BV_POPOVER].__bv_prev_data__ = {};
|
|
el[BV_POPOVER].$on('show', function ()
|
|
/* istanbul ignore next: for now */
|
|
{
|
|
// Before showing the popover, we update the title
|
|
// and content if they are functions
|
|
var data = {};
|
|
|
|
if (isFunction(config.title)) {
|
|
data.title = config.title(el);
|
|
}
|
|
|
|
if (isFunction(config.content)) {
|
|
data.content = config.content(el);
|
|
}
|
|
|
|
if (keys(data).length > 0) {
|
|
el[BV_POPOVER].updateData(data);
|
|
}
|
|
});
|
|
}
|
|
|
|
var data = {
|
|
title: config.title,
|
|
content: config.content,
|
|
triggers: config.trigger,
|
|
placement: config.placement,
|
|
fallbackPlacement: config.fallbackPlacement,
|
|
variant: config.variant,
|
|
customClass: config.customClass,
|
|
container: config.container,
|
|
boundary: config.boundary,
|
|
delay: config.delay,
|
|
offset: config.offset,
|
|
noFade: !config.animation,
|
|
id: config.id,
|
|
disabled: config.disabled,
|
|
html: config.html
|
|
};
|
|
var oldData = el[BV_POPOVER].__bv_prev_data__;
|
|
el[BV_POPOVER].__bv_prev_data__ = data;
|
|
|
|
if (!looseEqual(data, oldData)) {
|
|
// We only update the instance if data has changed
|
|
var newData = {
|
|
target: el
|
|
};
|
|
keys(data).forEach(function (prop) {
|
|
// We only pass data properties that have changed
|
|
if (data[prop] !== oldData[prop]) {
|
|
// If title/content is a function, we execute it here
|
|
newData[prop] = (prop === 'title' || prop === 'content') && isFunction(data[prop]) ?
|
|
/* istanbul ignore next */
|
|
data[prop](el) : data[prop];
|
|
}
|
|
});
|
|
el[BV_POPOVER].updateData(newData);
|
|
}
|
|
}; // Remove Popover from our element
|
|
|
|
|
|
var removePopover = function removePopover(el) {
|
|
if (el[BV_POPOVER]) {
|
|
el[BV_POPOVER].$destroy();
|
|
el[BV_POPOVER] = null;
|
|
}
|
|
|
|
delete el[BV_POPOVER];
|
|
}; // Export our directive
|
|
|
|
|
|
var VBPopover = {
|
|
bind: function bind(el, bindings, vnode) {
|
|
applyPopover(el, bindings, vnode);
|
|
},
|
|
// We use `componentUpdated` here instead of `update`, as the former
|
|
// waits until the containing component and children have finished updating
|
|
componentUpdated: function componentUpdated(el, bindings, vnode) {
|
|
// Performed in a `$nextTick()` to prevent endless render/update loops
|
|
vnode.context.$nextTick(function () {
|
|
applyPopover(el, bindings, vnode);
|
|
});
|
|
},
|
|
unbind: function unbind(el) {
|
|
removePopover(el);
|
|
}
|
|
};
|
|
|
|
var VBPopoverPlugin = /*#__PURE__*/pluginFactory({
|
|
directives: {
|
|
VBPopover: VBPopover
|
|
}
|
|
});
|
|
|
|
var PopoverPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BPopover: BPopover
|
|
},
|
|
plugins: {
|
|
VBPopoverPlugin: VBPopoverPlugin
|
|
}
|
|
});
|
|
|
|
var BProgressBar = /*#__PURE__*/Vue.extend({
|
|
name: NAME_PROGRESS_BAR,
|
|
mixins: [normalizeSlotMixin],
|
|
inject: {
|
|
bvProgress: {
|
|
default: function _default() {
|
|
return {};
|
|
}
|
|
}
|
|
},
|
|
props: makePropsConfigurable({
|
|
value: {
|
|
type: [Number, String],
|
|
default: 0
|
|
},
|
|
label: {
|
|
type: String // default: null
|
|
|
|
},
|
|
labelHtml: {
|
|
type: String
|
|
},
|
|
// $parent (this.bvProgress) prop values may take precedence over the following props
|
|
// Which is why they are defaulted to null
|
|
max: {
|
|
type: [Number, String],
|
|
default: null
|
|
},
|
|
precision: {
|
|
type: [Number, String],
|
|
default: null
|
|
},
|
|
variant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
striped: {
|
|
type: Boolean,
|
|
default: null
|
|
},
|
|
animated: {
|
|
type: Boolean,
|
|
default: null
|
|
},
|
|
showProgress: {
|
|
type: Boolean,
|
|
default: null
|
|
},
|
|
showValue: {
|
|
type: Boolean,
|
|
default: null
|
|
}
|
|
}, NAME_PROGRESS_BAR),
|
|
computed: {
|
|
progressBarClasses: function progressBarClasses() {
|
|
return [this.computedVariant ? "bg-".concat(this.computedVariant) : '', this.computedStriped || this.computedAnimated ? 'progress-bar-striped' : '', this.computedAnimated ? 'progress-bar-animated' : ''];
|
|
},
|
|
progressBarStyles: function progressBarStyles() {
|
|
return {
|
|
width: 100 * (this.computedValue / this.computedMax) + '%'
|
|
};
|
|
},
|
|
computedValue: function computedValue() {
|
|
return toFloat(this.value, 0);
|
|
},
|
|
computedMax: function computedMax() {
|
|
// Prefer our max over parent setting
|
|
// Default to `100` for invalid values (`-x`, `0`, `NaN`)
|
|
var max = toFloat(this.max) || toFloat(this.bvProgress.max, 0);
|
|
return max > 0 ? max : 100;
|
|
},
|
|
computedPrecision: function computedPrecision() {
|
|
// Prefer our precision over parent setting
|
|
// Default to `0` for invalid values (`-x`, `NaN`)
|
|
return mathMax(toInteger(this.precision, toInteger(this.bvProgress.precision, 0)), 0);
|
|
},
|
|
computedProgress: function computedProgress() {
|
|
var precision = this.computedPrecision;
|
|
var p = mathPow(10, precision);
|
|
return toFixed(100 * p * this.computedValue / this.computedMax / p, precision);
|
|
},
|
|
computedVariant: function computedVariant() {
|
|
// Prefer our variant over parent setting
|
|
return this.variant || this.bvProgress.variant;
|
|
},
|
|
computedStriped: function computedStriped() {
|
|
// Prefer our striped over parent setting
|
|
return isBoolean(this.striped) ? this.striped : this.bvProgress.striped || false;
|
|
},
|
|
computedAnimated: function computedAnimated() {
|
|
// Prefer our animated over parent setting
|
|
return isBoolean(this.animated) ? this.animated : this.bvProgress.animated || false;
|
|
},
|
|
computedShowProgress: function computedShowProgress() {
|
|
// Prefer our showProgress over parent setting
|
|
return isBoolean(this.showProgress) ? this.showProgress : this.bvProgress.showProgress || false;
|
|
},
|
|
computedShowValue: function computedShowValue() {
|
|
// Prefer our showValue over parent setting
|
|
return isBoolean(this.showValue) ? this.showValue : this.bvProgress.showValue || false;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var label = this.label,
|
|
labelHtml = this.labelHtml,
|
|
computedValue = this.computedValue,
|
|
computedPrecision = this.computedPrecision;
|
|
var $children;
|
|
var domProps = {};
|
|
|
|
if (this.hasNormalizedSlot()) {
|
|
$children = this.normalizeSlot();
|
|
} else if (label || labelHtml) {
|
|
domProps = htmlOrText(labelHtml, label);
|
|
} else if (this.computedShowProgress) {
|
|
$children = this.computedProgress;
|
|
} else if (this.computedShowValue) {
|
|
$children = toFixed(computedValue, computedPrecision);
|
|
}
|
|
|
|
return h('div', {
|
|
staticClass: 'progress-bar',
|
|
class: this.progressBarClasses,
|
|
style: this.progressBarStyles,
|
|
attrs: {
|
|
role: 'progressbar',
|
|
'aria-valuemin': '0',
|
|
'aria-valuemax': toString$1(this.computedMax),
|
|
'aria-valuenow': toFixed(computedValue, computedPrecision)
|
|
},
|
|
domProps: domProps
|
|
}, $children);
|
|
}
|
|
});
|
|
|
|
var BProgress = /*#__PURE__*/Vue.extend({
|
|
name: NAME_PROGRESS,
|
|
mixins: [normalizeSlotMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvProgress: this
|
|
};
|
|
},
|
|
props: makePropsConfigurable({
|
|
// These props can be inherited via the child b-progress-bar(s)
|
|
variant: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
striped: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
animated: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
height: {
|
|
type: String // default: null
|
|
|
|
},
|
|
precision: {
|
|
type: [Number, String],
|
|
default: 0
|
|
},
|
|
showProgress: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
showValue: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
max: {
|
|
type: [Number, String],
|
|
default: 100
|
|
},
|
|
// This prop is not inherited by child b-progress-bar(s)
|
|
value: {
|
|
type: [Number, String],
|
|
default: 0
|
|
}
|
|
}, NAME_PROGRESS),
|
|
computed: {
|
|
progressHeight: function progressHeight() {
|
|
return {
|
|
height: this.height || null
|
|
};
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var childNodes = this.normalizeSlot();
|
|
|
|
if (!childNodes) {
|
|
childNodes = h(BProgressBar, {
|
|
props: {
|
|
value: this.value,
|
|
max: this.max,
|
|
precision: this.precision,
|
|
variant: this.variant,
|
|
animated: this.animated,
|
|
striped: this.striped,
|
|
showProgress: this.showProgress,
|
|
showValue: this.showValue
|
|
}
|
|
});
|
|
}
|
|
|
|
return h('div', {
|
|
class: ['progress'],
|
|
style: this.progressHeight
|
|
}, [childNodes]);
|
|
}
|
|
});
|
|
|
|
var ProgressPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BProgress: BProgress,
|
|
BProgressBar: BProgressBar
|
|
}
|
|
});
|
|
|
|
var CLASS_NAME$3 = 'b-sidebar'; // --- Render methods ---
|
|
|
|
var renderHeaderTitle = function renderHeaderTitle(h, ctx) {
|
|
// Render a empty `<span>` when to title was provided
|
|
var title = ctx.computedTile;
|
|
|
|
if (!title) {
|
|
return h('span');
|
|
}
|
|
|
|
return h('strong', {
|
|
attrs: {
|
|
id: ctx.safeId('__title__')
|
|
}
|
|
}, [title]);
|
|
};
|
|
|
|
var renderHeaderClose = function renderHeaderClose(h, ctx) {
|
|
if (ctx.noHeaderClose) {
|
|
return h();
|
|
}
|
|
|
|
var closeLabel = ctx.closeLabel,
|
|
textVariant = ctx.textVariant,
|
|
hide = ctx.hide;
|
|
return h(BButtonClose, {
|
|
ref: 'close-button',
|
|
props: {
|
|
ariaLabel: closeLabel,
|
|
textVariant: textVariant
|
|
},
|
|
on: {
|
|
click: hide
|
|
}
|
|
}, [ctx.normalizeSlot('header-close') || h(BIconX)]);
|
|
};
|
|
|
|
var renderHeader = function renderHeader(h, ctx) {
|
|
if (ctx.noHeader) {
|
|
return h();
|
|
}
|
|
|
|
var $title = renderHeaderTitle(h, ctx);
|
|
var $close = renderHeaderClose(h, ctx);
|
|
return h('header', {
|
|
key: 'header',
|
|
staticClass: "".concat(CLASS_NAME$3, "-header"),
|
|
class: ctx.headerClass
|
|
}, ctx.right ? [$close, $title] : [$title, $close]);
|
|
};
|
|
|
|
var renderBody = function renderBody(h, ctx) {
|
|
return h('div', {
|
|
key: 'body',
|
|
staticClass: "".concat(CLASS_NAME$3, "-body"),
|
|
class: ctx.bodyClass
|
|
}, [ctx.normalizeSlot(SLOT_NAME_DEFAULT, ctx.slotScope)]);
|
|
};
|
|
|
|
var renderFooter = function renderFooter(h, ctx) {
|
|
var $footer = ctx.normalizeSlot(SLOT_NAME_FOOTER, ctx.slotScope);
|
|
|
|
if (!$footer) {
|
|
return h();
|
|
}
|
|
|
|
return h('footer', {
|
|
key: 'footer',
|
|
staticClass: "".concat(CLASS_NAME$3, "-footer"),
|
|
class: ctx.footerClass
|
|
}, [$footer]);
|
|
};
|
|
|
|
var renderContent = function renderContent(h, ctx) {
|
|
// We render the header even if `lazy` is enabled as it
|
|
// acts as the accessible label for the sidebar
|
|
var $header = renderHeader(h, ctx);
|
|
|
|
if (ctx.lazy && !ctx.isOpen) {
|
|
return $header;
|
|
}
|
|
|
|
return [$header, renderBody(h, ctx), renderFooter(h, ctx)];
|
|
};
|
|
|
|
var renderBackdrop = function renderBackdrop(h, ctx) {
|
|
if (!ctx.backdrop) {
|
|
return h();
|
|
}
|
|
|
|
var backdropVariant = ctx.backdropVariant;
|
|
return h('div', {
|
|
directives: [{
|
|
name: 'show',
|
|
value: ctx.localShow
|
|
}],
|
|
staticClass: 'b-sidebar-backdrop',
|
|
class: _defineProperty({}, "bg-".concat(backdropVariant), !!backdropVariant),
|
|
on: {
|
|
click: ctx.onBackdropClick
|
|
}
|
|
});
|
|
}; // --- Main component ---
|
|
// @vue/component
|
|
|
|
|
|
var BSidebar = /*#__PURE__*/Vue.extend({
|
|
name: NAME_SIDEBAR,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin, idMixin, listenOnRootMixin, normalizeSlotMixin],
|
|
inheritAttrs: false,
|
|
model: {
|
|
prop: 'visible',
|
|
event: 'change'
|
|
},
|
|
props: makePropsConfigurable({
|
|
title: {
|
|
type: String // default: null
|
|
|
|
},
|
|
right: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
bgVariant: {
|
|
type: String,
|
|
default: 'light'
|
|
},
|
|
textVariant: {
|
|
type: String,
|
|
default: 'dark'
|
|
},
|
|
shadow: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
width: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
zIndex: {
|
|
type: [Number, String] // default: null
|
|
|
|
},
|
|
ariaLabel: {
|
|
type: String // default: null
|
|
|
|
},
|
|
ariaLabelledby: {
|
|
type: String // default: null
|
|
|
|
},
|
|
closeLabel: {
|
|
// `aria-label` for close button
|
|
// Defaults to 'Close'
|
|
type: String // default: undefined
|
|
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
sidebarClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
headerClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
bodyClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
footerClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
backdrop: {
|
|
// If `true`, shows a basic backdrop
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
backdropVariant: {
|
|
type: String,
|
|
default: 'dark'
|
|
},
|
|
noSlide: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noHeader: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noHeaderClose: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noCloseOnEsc: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noCloseOnBackdrop: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noCloseOnRouteChange: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noEnforceFocus: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
lazy: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
visible: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_SIDEBAR),
|
|
data: function data() {
|
|
return {
|
|
// Internal `v-model` state
|
|
localShow: !!this.visible,
|
|
// For lazy render triggering
|
|
isOpen: !!this.visible
|
|
};
|
|
},
|
|
computed: {
|
|
transitionProps: function transitionProps() {
|
|
return this.noSlide ?
|
|
/* istanbul ignore next */
|
|
{
|
|
css: true
|
|
} : {
|
|
css: true,
|
|
enterClass: '',
|
|
enterActiveClass: 'slide',
|
|
enterToClass: 'show',
|
|
leaveClass: 'show',
|
|
leaveActiveClass: 'slide',
|
|
leaveToClass: ''
|
|
};
|
|
},
|
|
slotScope: function slotScope() {
|
|
return {
|
|
visible: this.localShow,
|
|
right: this.right,
|
|
hide: this.hide
|
|
};
|
|
},
|
|
computedTile: function computedTile() {
|
|
return this.normalizeSlot(SLOT_NAME_TITLE, this.slotScope) || toString$1(this.title) || null;
|
|
},
|
|
titleId: function titleId() {
|
|
return this.computedTile ? this.safeId('__title__') : null;
|
|
},
|
|
computedAttrs: function computedAttrs() {
|
|
return _objectSpread2(_objectSpread2({}, this.bvAttrs), {}, {
|
|
id: this.safeId(),
|
|
tabindex: '-1',
|
|
role: 'dialog',
|
|
'aria-modal': this.backdrop ? 'true' : 'false',
|
|
'aria-hidden': this.localShow ? null : 'true',
|
|
'aria-label': this.ariaLabel || null,
|
|
'aria-labelledby': this.ariaLabelledby || this.titleId || null
|
|
});
|
|
}
|
|
},
|
|
watch: {
|
|
visible: function visible(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
this.localShow = newVal;
|
|
}
|
|
},
|
|
localShow: function localShow(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
this.emitState(newVal);
|
|
this.$emit('change', newVal);
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
$route: function $route() {
|
|
var newVal = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
var oldVal = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
if (!this.noCloseOnRouteChange && newVal.fullPath !== oldVal.fullPath) {
|
|
this.hide();
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Define non-reactive properties
|
|
this.$_returnFocusEl = null;
|
|
},
|
|
mounted: function mounted() {
|
|
var _this = this;
|
|
|
|
// Add `$root` listeners
|
|
this.listenOnRoot(EVENT_TOGGLE, this.handleToggle);
|
|
this.listenOnRoot(EVENT_STATE_REQUEST, this.handleSync); // Send out a gratuitous state event to ensure toggle button is synced
|
|
|
|
this.$nextTick(function () {
|
|
_this.emitState(_this.localShow);
|
|
});
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
activated: function activated() {
|
|
this.emitSync();
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.localShow = false;
|
|
this.$_returnFocusEl = null;
|
|
},
|
|
methods: {
|
|
hide: function hide() {
|
|
this.localShow = false;
|
|
},
|
|
emitState: function emitState() {
|
|
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.localShow;
|
|
this.emitOnRoot(EVENT_STATE, this.safeId(), state);
|
|
},
|
|
emitSync: function emitSync() {
|
|
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.localShow;
|
|
this.emitOnRoot(EVENT_STATE_SYNC, this.safeId(), state);
|
|
},
|
|
handleToggle: function handleToggle(id) {
|
|
// Note `safeId()` can be null until after mount
|
|
if (id && id === this.safeId()) {
|
|
this.localShow = !this.localShow;
|
|
}
|
|
},
|
|
handleSync: function handleSync(id) {
|
|
var _this2 = this;
|
|
|
|
// Note `safeId()` can be null until after mount
|
|
if (id && id === this.safeId()) {
|
|
this.$nextTick(function () {
|
|
_this2.emitSync(_this2.localShow);
|
|
});
|
|
}
|
|
},
|
|
onKeydown: function onKeydown(evt) {
|
|
var keyCode = evt.keyCode;
|
|
|
|
if (!this.noCloseOnEsc && keyCode === CODE_ESC && this.localShow) {
|
|
this.hide();
|
|
}
|
|
},
|
|
onBackdropClick: function onBackdropClick() {
|
|
if (this.localShow && !this.noCloseOnBackdrop) {
|
|
this.hide();
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
onTopTrapFocus: function onTopTrapFocus() {
|
|
var tabables = getTabables(this.$refs.content);
|
|
this.enforceFocus(tabables.reverse()[0]);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
onBottomTrapFocus: function onBottomTrapFocus() {
|
|
var tabables = getTabables(this.$refs.content);
|
|
this.enforceFocus(tabables[0]);
|
|
},
|
|
onBeforeEnter: function onBeforeEnter() {
|
|
// Returning focus to `document.body` may cause unwanted scrolls,
|
|
// so we exclude setting focus on body
|
|
this.$_returnFocusEl = getActiveElement(isBrowser ? [document.body] : []); // Trigger lazy render
|
|
|
|
this.isOpen = true;
|
|
},
|
|
onAfterEnter: function onAfterEnter(el) {
|
|
if (!contains(el, getActiveElement())) {
|
|
this.enforceFocus(el);
|
|
}
|
|
|
|
this.$emit('shown');
|
|
},
|
|
onAfterLeave: function onAfterLeave() {
|
|
this.enforceFocus(this.$_returnFocusEl);
|
|
this.$_returnFocusEl = null; // Trigger lazy render
|
|
|
|
this.isOpen = false;
|
|
this.$emit('hidden');
|
|
},
|
|
enforceFocus: function enforceFocus(el) {
|
|
if (!this.noEnforceFocus) {
|
|
attemptFocus(el);
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _ref;
|
|
|
|
var localShow = this.localShow;
|
|
var shadow = this.shadow === '' ? true : this.shadow;
|
|
var $sidebar = h(this.tag, {
|
|
ref: 'content',
|
|
directives: [{
|
|
name: 'show',
|
|
value: localShow
|
|
}],
|
|
staticClass: CLASS_NAME$3,
|
|
class: [(_ref = {
|
|
shadow: shadow === true
|
|
}, _defineProperty(_ref, "shadow-".concat(shadow), shadow && shadow !== true), _defineProperty(_ref, "".concat(CLASS_NAME$3, "-right"), this.right), _defineProperty(_ref, "bg-".concat(this.bgVariant), !!this.bgVariant), _defineProperty(_ref, "text-".concat(this.textVariant), !!this.textVariant), _ref), this.sidebarClass],
|
|
attrs: this.computedAttrs,
|
|
style: {
|
|
width: this.width
|
|
}
|
|
}, [renderContent(h, this)]);
|
|
$sidebar = h('transition', {
|
|
props: this.transitionProps,
|
|
on: {
|
|
beforeEnter: this.onBeforeEnter,
|
|
afterEnter: this.onAfterEnter,
|
|
afterLeave: this.onAfterLeave
|
|
}
|
|
}, [$sidebar]);
|
|
var $backdrop = h(BVTransition, {
|
|
props: {
|
|
noFade: this.noSlide
|
|
}
|
|
}, [renderBackdrop(h, this)]);
|
|
var $tabTrapTop = h();
|
|
var $tabTrapBottom = h();
|
|
|
|
if (this.backdrop && this.localShow) {
|
|
$tabTrapTop = h('div', {
|
|
attrs: {
|
|
tabindex: '0'
|
|
},
|
|
on: {
|
|
focus: this.onTopTrapFocus
|
|
}
|
|
});
|
|
$tabTrapBottom = h('div', {
|
|
attrs: {
|
|
tabindex: '0'
|
|
},
|
|
on: {
|
|
focus: this.onBottomTrapFocus
|
|
}
|
|
});
|
|
}
|
|
|
|
return h('div', {
|
|
staticClass: 'b-sidebar-outer',
|
|
style: {
|
|
zIndex: this.zIndex
|
|
},
|
|
attrs: {
|
|
tabindex: '-1'
|
|
},
|
|
on: {
|
|
keydown: this.onKeydown
|
|
}
|
|
}, [$tabTrapTop, $sidebar, $tabTrapBottom, $backdrop]);
|
|
}
|
|
});
|
|
|
|
var SidebarPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BSidebar: BSidebar
|
|
},
|
|
plugins: {
|
|
VBTogglePlugin: VBTogglePlugin
|
|
}
|
|
});
|
|
|
|
var BSkeleton = /*#__PURE__*/Vue.extend({
|
|
name: NAME_SKELETON,
|
|
functional: true,
|
|
props: makePropsConfigurable({
|
|
animation: {
|
|
type: String,
|
|
default: 'wave'
|
|
},
|
|
type: {
|
|
type: String,
|
|
default: 'text'
|
|
},
|
|
width: {
|
|
type: String // default: null
|
|
|
|
},
|
|
height: {
|
|
type: String // default: null
|
|
|
|
},
|
|
size: {
|
|
type: String // default: null
|
|
|
|
},
|
|
variant: {
|
|
type: String // default: null
|
|
|
|
}
|
|
}, NAME_SKELETON),
|
|
render: function render(h, _ref) {
|
|
var _class;
|
|
|
|
var data = _ref.data,
|
|
props = _ref.props;
|
|
var size = props.size,
|
|
animation = props.animation,
|
|
variant = props.variant;
|
|
return h('div', mergeData(data, {
|
|
staticClass: 'b-skeleton',
|
|
style: {
|
|
width: size || props.width,
|
|
height: size || props.height
|
|
},
|
|
class: (_class = {}, _defineProperty(_class, "b-skeleton-".concat(props.type), true), _defineProperty(_class, "b-skeleton-animate-".concat(animation), animation), _defineProperty(_class, "bg-".concat(variant), variant), _class)
|
|
}));
|
|
}
|
|
});
|
|
|
|
var BIconstack = /*#__PURE__*/Vue.extend({
|
|
name: NAME_ICONSTACK,
|
|
functional: true,
|
|
props: makePropsConfigurable(commonIconProps, NAME_ICONSTACK),
|
|
render: function render(h, _ref) {
|
|
var data = _ref.data,
|
|
props = _ref.props,
|
|
children = _ref.children;
|
|
return h(BVIconBase, mergeData(data, {
|
|
staticClass: 'b-iconstack',
|
|
props: _objectSpread2(_objectSpread2({}, props), {}, {
|
|
stacked: false
|
|
})
|
|
}), children);
|
|
}
|
|
});
|
|
|
|
// --- BEGIN AUTO-GENERATED FILE ---
|
|
|
|
var IconsPlugin = /*#__PURE__*/pluginFactoryNoConfig({
|
|
components: {
|
|
// Icon helper component
|
|
BIcon: BIcon,
|
|
// Icon stacking component
|
|
BIconstack: BIconstack,
|
|
// BootstrapVue custom icon components
|
|
BIconBlank: BIconBlank,
|
|
// Bootstrap icon components
|
|
BIconAlarm: BIconAlarm,
|
|
BIconAlarmFill: BIconAlarmFill,
|
|
BIconAlignBottom: BIconAlignBottom,
|
|
BIconAlignCenter: BIconAlignCenter,
|
|
BIconAlignEnd: BIconAlignEnd,
|
|
BIconAlignMiddle: BIconAlignMiddle,
|
|
BIconAlignStart: BIconAlignStart,
|
|
BIconAlignTop: BIconAlignTop,
|
|
BIconAlt: BIconAlt,
|
|
BIconApp: BIconApp,
|
|
BIconAppIndicator: BIconAppIndicator,
|
|
BIconArchive: BIconArchive,
|
|
BIconArchiveFill: BIconArchiveFill,
|
|
BIconArrow90degDown: BIconArrow90degDown,
|
|
BIconArrow90degLeft: BIconArrow90degLeft,
|
|
BIconArrow90degRight: BIconArrow90degRight,
|
|
BIconArrow90degUp: BIconArrow90degUp,
|
|
BIconArrowBarDown: BIconArrowBarDown,
|
|
BIconArrowBarLeft: BIconArrowBarLeft,
|
|
BIconArrowBarRight: BIconArrowBarRight,
|
|
BIconArrowBarUp: BIconArrowBarUp,
|
|
BIconArrowClockwise: BIconArrowClockwise,
|
|
BIconArrowCounterclockwise: BIconArrowCounterclockwise,
|
|
BIconArrowDown: BIconArrowDown,
|
|
BIconArrowDownCircle: BIconArrowDownCircle,
|
|
BIconArrowDownCircleFill: BIconArrowDownCircleFill,
|
|
BIconArrowDownLeft: BIconArrowDownLeft,
|
|
BIconArrowDownLeftCircle: BIconArrowDownLeftCircle,
|
|
BIconArrowDownLeftCircleFill: BIconArrowDownLeftCircleFill,
|
|
BIconArrowDownLeftSquare: BIconArrowDownLeftSquare,
|
|
BIconArrowDownLeftSquareFill: BIconArrowDownLeftSquareFill,
|
|
BIconArrowDownRight: BIconArrowDownRight,
|
|
BIconArrowDownRightCircle: BIconArrowDownRightCircle,
|
|
BIconArrowDownRightCircleFill: BIconArrowDownRightCircleFill,
|
|
BIconArrowDownRightSquare: BIconArrowDownRightSquare,
|
|
BIconArrowDownRightSquareFill: BIconArrowDownRightSquareFill,
|
|
BIconArrowDownShort: BIconArrowDownShort,
|
|
BIconArrowDownSquare: BIconArrowDownSquare,
|
|
BIconArrowDownSquareFill: BIconArrowDownSquareFill,
|
|
BIconArrowDownUp: BIconArrowDownUp,
|
|
BIconArrowLeft: BIconArrowLeft,
|
|
BIconArrowLeftCircle: BIconArrowLeftCircle,
|
|
BIconArrowLeftCircleFill: BIconArrowLeftCircleFill,
|
|
BIconArrowLeftRight: BIconArrowLeftRight,
|
|
BIconArrowLeftShort: BIconArrowLeftShort,
|
|
BIconArrowLeftSquare: BIconArrowLeftSquare,
|
|
BIconArrowLeftSquareFill: BIconArrowLeftSquareFill,
|
|
BIconArrowRepeat: BIconArrowRepeat,
|
|
BIconArrowReturnLeft: BIconArrowReturnLeft,
|
|
BIconArrowReturnRight: BIconArrowReturnRight,
|
|
BIconArrowRight: BIconArrowRight,
|
|
BIconArrowRightCircle: BIconArrowRightCircle,
|
|
BIconArrowRightCircleFill: BIconArrowRightCircleFill,
|
|
BIconArrowRightShort: BIconArrowRightShort,
|
|
BIconArrowRightSquare: BIconArrowRightSquare,
|
|
BIconArrowRightSquareFill: BIconArrowRightSquareFill,
|
|
BIconArrowUp: BIconArrowUp,
|
|
BIconArrowUpCircle: BIconArrowUpCircle,
|
|
BIconArrowUpCircleFill: BIconArrowUpCircleFill,
|
|
BIconArrowUpLeft: BIconArrowUpLeft,
|
|
BIconArrowUpLeftCircle: BIconArrowUpLeftCircle,
|
|
BIconArrowUpLeftCircleFill: BIconArrowUpLeftCircleFill,
|
|
BIconArrowUpLeftSquare: BIconArrowUpLeftSquare,
|
|
BIconArrowUpLeftSquareFill: BIconArrowUpLeftSquareFill,
|
|
BIconArrowUpRight: BIconArrowUpRight,
|
|
BIconArrowUpRightCircle: BIconArrowUpRightCircle,
|
|
BIconArrowUpRightCircleFill: BIconArrowUpRightCircleFill,
|
|
BIconArrowUpRightSquare: BIconArrowUpRightSquare,
|
|
BIconArrowUpRightSquareFill: BIconArrowUpRightSquareFill,
|
|
BIconArrowUpShort: BIconArrowUpShort,
|
|
BIconArrowUpSquare: BIconArrowUpSquare,
|
|
BIconArrowUpSquareFill: BIconArrowUpSquareFill,
|
|
BIconArrowsAngleContract: BIconArrowsAngleContract,
|
|
BIconArrowsAngleExpand: BIconArrowsAngleExpand,
|
|
BIconArrowsCollapse: BIconArrowsCollapse,
|
|
BIconArrowsExpand: BIconArrowsExpand,
|
|
BIconArrowsFullscreen: BIconArrowsFullscreen,
|
|
BIconArrowsMove: BIconArrowsMove,
|
|
BIconAspectRatio: BIconAspectRatio,
|
|
BIconAspectRatioFill: BIconAspectRatioFill,
|
|
BIconAsterisk: BIconAsterisk,
|
|
BIconAt: BIconAt,
|
|
BIconAward: BIconAward,
|
|
BIconAwardFill: BIconAwardFill,
|
|
BIconBack: BIconBack,
|
|
BIconBackspace: BIconBackspace,
|
|
BIconBackspaceFill: BIconBackspaceFill,
|
|
BIconBackspaceReverse: BIconBackspaceReverse,
|
|
BIconBackspaceReverseFill: BIconBackspaceReverseFill,
|
|
BIconBadge4k: BIconBadge4k,
|
|
BIconBadge4kFill: BIconBadge4kFill,
|
|
BIconBadge8k: BIconBadge8k,
|
|
BIconBadge8kFill: BIconBadge8kFill,
|
|
BIconBadgeAd: BIconBadgeAd,
|
|
BIconBadgeAdFill: BIconBadgeAdFill,
|
|
BIconBadgeCc: BIconBadgeCc,
|
|
BIconBadgeCcFill: BIconBadgeCcFill,
|
|
BIconBadgeHd: BIconBadgeHd,
|
|
BIconBadgeHdFill: BIconBadgeHdFill,
|
|
BIconBadgeTm: BIconBadgeTm,
|
|
BIconBadgeTmFill: BIconBadgeTmFill,
|
|
BIconBadgeVo: BIconBadgeVo,
|
|
BIconBadgeVoFill: BIconBadgeVoFill,
|
|
BIconBag: BIconBag,
|
|
BIconBagCheck: BIconBagCheck,
|
|
BIconBagCheckFill: BIconBagCheckFill,
|
|
BIconBagDash: BIconBagDash,
|
|
BIconBagDashFill: BIconBagDashFill,
|
|
BIconBagFill: BIconBagFill,
|
|
BIconBagPlus: BIconBagPlus,
|
|
BIconBagPlusFill: BIconBagPlusFill,
|
|
BIconBagX: BIconBagX,
|
|
BIconBagXFill: BIconBagXFill,
|
|
BIconBarChart: BIconBarChart,
|
|
BIconBarChartFill: BIconBarChartFill,
|
|
BIconBarChartLine: BIconBarChartLine,
|
|
BIconBarChartLineFill: BIconBarChartLineFill,
|
|
BIconBarChartSteps: BIconBarChartSteps,
|
|
BIconBasket: BIconBasket,
|
|
BIconBasket2: BIconBasket2,
|
|
BIconBasket2Fill: BIconBasket2Fill,
|
|
BIconBasket3: BIconBasket3,
|
|
BIconBasket3Fill: BIconBasket3Fill,
|
|
BIconBasketFill: BIconBasketFill,
|
|
BIconBattery: BIconBattery,
|
|
BIconBatteryCharging: BIconBatteryCharging,
|
|
BIconBatteryFull: BIconBatteryFull,
|
|
BIconBatteryHalf: BIconBatteryHalf,
|
|
BIconBell: BIconBell,
|
|
BIconBellFill: BIconBellFill,
|
|
BIconBezier: BIconBezier,
|
|
BIconBezier2: BIconBezier2,
|
|
BIconBicycle: BIconBicycle,
|
|
BIconBinoculars: BIconBinoculars,
|
|
BIconBinocularsFill: BIconBinocularsFill,
|
|
BIconBlockquoteLeft: BIconBlockquoteLeft,
|
|
BIconBlockquoteRight: BIconBlockquoteRight,
|
|
BIconBook: BIconBook,
|
|
BIconBookFill: BIconBookFill,
|
|
BIconBookHalf: BIconBookHalf,
|
|
BIconBookmark: BIconBookmark,
|
|
BIconBookmarkCheck: BIconBookmarkCheck,
|
|
BIconBookmarkCheckFill: BIconBookmarkCheckFill,
|
|
BIconBookmarkDash: BIconBookmarkDash,
|
|
BIconBookmarkDashFill: BIconBookmarkDashFill,
|
|
BIconBookmarkFill: BIconBookmarkFill,
|
|
BIconBookmarkHeart: BIconBookmarkHeart,
|
|
BIconBookmarkHeartFill: BIconBookmarkHeartFill,
|
|
BIconBookmarkPlus: BIconBookmarkPlus,
|
|
BIconBookmarkPlusFill: BIconBookmarkPlusFill,
|
|
BIconBookmarkStar: BIconBookmarkStar,
|
|
BIconBookmarkStarFill: BIconBookmarkStarFill,
|
|
BIconBookmarkX: BIconBookmarkX,
|
|
BIconBookmarkXFill: BIconBookmarkXFill,
|
|
BIconBookmarks: BIconBookmarks,
|
|
BIconBookmarksFill: BIconBookmarksFill,
|
|
BIconBookshelf: BIconBookshelf,
|
|
BIconBootstrap: BIconBootstrap,
|
|
BIconBootstrapFill: BIconBootstrapFill,
|
|
BIconBootstrapReboot: BIconBootstrapReboot,
|
|
BIconBorderStyle: BIconBorderStyle,
|
|
BIconBorderWidth: BIconBorderWidth,
|
|
BIconBoundingBox: BIconBoundingBox,
|
|
BIconBoundingBoxCircles: BIconBoundingBoxCircles,
|
|
BIconBox: BIconBox,
|
|
BIconBoxArrowDown: BIconBoxArrowDown,
|
|
BIconBoxArrowDownLeft: BIconBoxArrowDownLeft,
|
|
BIconBoxArrowDownRight: BIconBoxArrowDownRight,
|
|
BIconBoxArrowInDown: BIconBoxArrowInDown,
|
|
BIconBoxArrowInDownLeft: BIconBoxArrowInDownLeft,
|
|
BIconBoxArrowInDownRight: BIconBoxArrowInDownRight,
|
|
BIconBoxArrowInLeft: BIconBoxArrowInLeft,
|
|
BIconBoxArrowInRight: BIconBoxArrowInRight,
|
|
BIconBoxArrowInUp: BIconBoxArrowInUp,
|
|
BIconBoxArrowInUpLeft: BIconBoxArrowInUpLeft,
|
|
BIconBoxArrowInUpRight: BIconBoxArrowInUpRight,
|
|
BIconBoxArrowLeft: BIconBoxArrowLeft,
|
|
BIconBoxArrowRight: BIconBoxArrowRight,
|
|
BIconBoxArrowUp: BIconBoxArrowUp,
|
|
BIconBoxArrowUpLeft: BIconBoxArrowUpLeft,
|
|
BIconBoxArrowUpRight: BIconBoxArrowUpRight,
|
|
BIconBoxSeam: BIconBoxSeam,
|
|
BIconBraces: BIconBraces,
|
|
BIconBricks: BIconBricks,
|
|
BIconBriefcase: BIconBriefcase,
|
|
BIconBriefcaseFill: BIconBriefcaseFill,
|
|
BIconBrightnessAltHigh: BIconBrightnessAltHigh,
|
|
BIconBrightnessAltHighFill: BIconBrightnessAltHighFill,
|
|
BIconBrightnessAltLow: BIconBrightnessAltLow,
|
|
BIconBrightnessAltLowFill: BIconBrightnessAltLowFill,
|
|
BIconBrightnessHigh: BIconBrightnessHigh,
|
|
BIconBrightnessHighFill: BIconBrightnessHighFill,
|
|
BIconBrightnessLow: BIconBrightnessLow,
|
|
BIconBrightnessLowFill: BIconBrightnessLowFill,
|
|
BIconBroadcast: BIconBroadcast,
|
|
BIconBroadcastPin: BIconBroadcastPin,
|
|
BIconBrush: BIconBrush,
|
|
BIconBrushFill: BIconBrushFill,
|
|
BIconBucket: BIconBucket,
|
|
BIconBucketFill: BIconBucketFill,
|
|
BIconBug: BIconBug,
|
|
BIconBugFill: BIconBugFill,
|
|
BIconBuilding: BIconBuilding,
|
|
BIconBullseye: BIconBullseye,
|
|
BIconCalculator: BIconCalculator,
|
|
BIconCalculatorFill: BIconCalculatorFill,
|
|
BIconCalendar: BIconCalendar,
|
|
BIconCalendar2: BIconCalendar2,
|
|
BIconCalendar2Check: BIconCalendar2Check,
|
|
BIconCalendar2CheckFill: BIconCalendar2CheckFill,
|
|
BIconCalendar2Date: BIconCalendar2Date,
|
|
BIconCalendar2DateFill: BIconCalendar2DateFill,
|
|
BIconCalendar2Day: BIconCalendar2Day,
|
|
BIconCalendar2DayFill: BIconCalendar2DayFill,
|
|
BIconCalendar2Event: BIconCalendar2Event,
|
|
BIconCalendar2EventFill: BIconCalendar2EventFill,
|
|
BIconCalendar2Fill: BIconCalendar2Fill,
|
|
BIconCalendar2Minus: BIconCalendar2Minus,
|
|
BIconCalendar2MinusFill: BIconCalendar2MinusFill,
|
|
BIconCalendar2Month: BIconCalendar2Month,
|
|
BIconCalendar2MonthFill: BIconCalendar2MonthFill,
|
|
BIconCalendar2Plus: BIconCalendar2Plus,
|
|
BIconCalendar2PlusFill: BIconCalendar2PlusFill,
|
|
BIconCalendar2Range: BIconCalendar2Range,
|
|
BIconCalendar2RangeFill: BIconCalendar2RangeFill,
|
|
BIconCalendar2Week: BIconCalendar2Week,
|
|
BIconCalendar2WeekFill: BIconCalendar2WeekFill,
|
|
BIconCalendar2X: BIconCalendar2X,
|
|
BIconCalendar2XFill: BIconCalendar2XFill,
|
|
BIconCalendar3: BIconCalendar3,
|
|
BIconCalendar3Event: BIconCalendar3Event,
|
|
BIconCalendar3EventFill: BIconCalendar3EventFill,
|
|
BIconCalendar3Fill: BIconCalendar3Fill,
|
|
BIconCalendar3Range: BIconCalendar3Range,
|
|
BIconCalendar3RangeFill: BIconCalendar3RangeFill,
|
|
BIconCalendar3Week: BIconCalendar3Week,
|
|
BIconCalendar3WeekFill: BIconCalendar3WeekFill,
|
|
BIconCalendar4: BIconCalendar4,
|
|
BIconCalendar4Event: BIconCalendar4Event,
|
|
BIconCalendar4Range: BIconCalendar4Range,
|
|
BIconCalendar4Week: BIconCalendar4Week,
|
|
BIconCalendarCheck: BIconCalendarCheck,
|
|
BIconCalendarCheckFill: BIconCalendarCheckFill,
|
|
BIconCalendarDate: BIconCalendarDate,
|
|
BIconCalendarDateFill: BIconCalendarDateFill,
|
|
BIconCalendarDay: BIconCalendarDay,
|
|
BIconCalendarDayFill: BIconCalendarDayFill,
|
|
BIconCalendarEvent: BIconCalendarEvent,
|
|
BIconCalendarEventFill: BIconCalendarEventFill,
|
|
BIconCalendarFill: BIconCalendarFill,
|
|
BIconCalendarMinus: BIconCalendarMinus,
|
|
BIconCalendarMinusFill: BIconCalendarMinusFill,
|
|
BIconCalendarMonth: BIconCalendarMonth,
|
|
BIconCalendarMonthFill: BIconCalendarMonthFill,
|
|
BIconCalendarPlus: BIconCalendarPlus,
|
|
BIconCalendarPlusFill: BIconCalendarPlusFill,
|
|
BIconCalendarRange: BIconCalendarRange,
|
|
BIconCalendarRangeFill: BIconCalendarRangeFill,
|
|
BIconCalendarWeek: BIconCalendarWeek,
|
|
BIconCalendarWeekFill: BIconCalendarWeekFill,
|
|
BIconCalendarX: BIconCalendarX,
|
|
BIconCalendarXFill: BIconCalendarXFill,
|
|
BIconCamera: BIconCamera,
|
|
BIconCamera2: BIconCamera2,
|
|
BIconCameraFill: BIconCameraFill,
|
|
BIconCameraReels: BIconCameraReels,
|
|
BIconCameraReelsFill: BIconCameraReelsFill,
|
|
BIconCameraVideo: BIconCameraVideo,
|
|
BIconCameraVideoFill: BIconCameraVideoFill,
|
|
BIconCameraVideoOff: BIconCameraVideoOff,
|
|
BIconCameraVideoOffFill: BIconCameraVideoOffFill,
|
|
BIconCapslock: BIconCapslock,
|
|
BIconCapslockFill: BIconCapslockFill,
|
|
BIconCardChecklist: BIconCardChecklist,
|
|
BIconCardHeading: BIconCardHeading,
|
|
BIconCardImage: BIconCardImage,
|
|
BIconCardList: BIconCardList,
|
|
BIconCardText: BIconCardText,
|
|
BIconCaretDown: BIconCaretDown,
|
|
BIconCaretDownFill: BIconCaretDownFill,
|
|
BIconCaretDownSquare: BIconCaretDownSquare,
|
|
BIconCaretDownSquareFill: BIconCaretDownSquareFill,
|
|
BIconCaretLeft: BIconCaretLeft,
|
|
BIconCaretLeftFill: BIconCaretLeftFill,
|
|
BIconCaretLeftSquare: BIconCaretLeftSquare,
|
|
BIconCaretLeftSquareFill: BIconCaretLeftSquareFill,
|
|
BIconCaretRight: BIconCaretRight,
|
|
BIconCaretRightFill: BIconCaretRightFill,
|
|
BIconCaretRightSquare: BIconCaretRightSquare,
|
|
BIconCaretRightSquareFill: BIconCaretRightSquareFill,
|
|
BIconCaretUp: BIconCaretUp,
|
|
BIconCaretUpFill: BIconCaretUpFill,
|
|
BIconCaretUpSquare: BIconCaretUpSquare,
|
|
BIconCaretUpSquareFill: BIconCaretUpSquareFill,
|
|
BIconCart: BIconCart,
|
|
BIconCart2: BIconCart2,
|
|
BIconCart3: BIconCart3,
|
|
BIconCart4: BIconCart4,
|
|
BIconCartCheck: BIconCartCheck,
|
|
BIconCartCheckFill: BIconCartCheckFill,
|
|
BIconCartDash: BIconCartDash,
|
|
BIconCartDashFill: BIconCartDashFill,
|
|
BIconCartFill: BIconCartFill,
|
|
BIconCartPlus: BIconCartPlus,
|
|
BIconCartPlusFill: BIconCartPlusFill,
|
|
BIconCartX: BIconCartX,
|
|
BIconCartXFill: BIconCartXFill,
|
|
BIconCash: BIconCash,
|
|
BIconCashStack: BIconCashStack,
|
|
BIconCast: BIconCast,
|
|
BIconChat: BIconChat,
|
|
BIconChatDots: BIconChatDots,
|
|
BIconChatDotsFill: BIconChatDotsFill,
|
|
BIconChatFill: BIconChatFill,
|
|
BIconChatLeft: BIconChatLeft,
|
|
BIconChatLeftDots: BIconChatLeftDots,
|
|
BIconChatLeftDotsFill: BIconChatLeftDotsFill,
|
|
BIconChatLeftFill: BIconChatLeftFill,
|
|
BIconChatLeftQuote: BIconChatLeftQuote,
|
|
BIconChatLeftQuoteFill: BIconChatLeftQuoteFill,
|
|
BIconChatLeftText: BIconChatLeftText,
|
|
BIconChatLeftTextFill: BIconChatLeftTextFill,
|
|
BIconChatQuote: BIconChatQuote,
|
|
BIconChatQuoteFill: BIconChatQuoteFill,
|
|
BIconChatRight: BIconChatRight,
|
|
BIconChatRightDots: BIconChatRightDots,
|
|
BIconChatRightDotsFill: BIconChatRightDotsFill,
|
|
BIconChatRightFill: BIconChatRightFill,
|
|
BIconChatRightQuote: BIconChatRightQuote,
|
|
BIconChatRightQuoteFill: BIconChatRightQuoteFill,
|
|
BIconChatRightText: BIconChatRightText,
|
|
BIconChatRightTextFill: BIconChatRightTextFill,
|
|
BIconChatSquare: BIconChatSquare,
|
|
BIconChatSquareDots: BIconChatSquareDots,
|
|
BIconChatSquareDotsFill: BIconChatSquareDotsFill,
|
|
BIconChatSquareFill: BIconChatSquareFill,
|
|
BIconChatSquareQuote: BIconChatSquareQuote,
|
|
BIconChatSquareQuoteFill: BIconChatSquareQuoteFill,
|
|
BIconChatSquareText: BIconChatSquareText,
|
|
BIconChatSquareTextFill: BIconChatSquareTextFill,
|
|
BIconChatText: BIconChatText,
|
|
BIconChatTextFill: BIconChatTextFill,
|
|
BIconCheck: BIconCheck,
|
|
BIconCheck2: BIconCheck2,
|
|
BIconCheck2All: BIconCheck2All,
|
|
BIconCheck2Circle: BIconCheck2Circle,
|
|
BIconCheck2Square: BIconCheck2Square,
|
|
BIconCheckAll: BIconCheckAll,
|
|
BIconCheckCircle: BIconCheckCircle,
|
|
BIconCheckCircleFill: BIconCheckCircleFill,
|
|
BIconCheckSquare: BIconCheckSquare,
|
|
BIconCheckSquareFill: BIconCheckSquareFill,
|
|
BIconChevronBarContract: BIconChevronBarContract,
|
|
BIconChevronBarDown: BIconChevronBarDown,
|
|
BIconChevronBarExpand: BIconChevronBarExpand,
|
|
BIconChevronBarLeft: BIconChevronBarLeft,
|
|
BIconChevronBarRight: BIconChevronBarRight,
|
|
BIconChevronBarUp: BIconChevronBarUp,
|
|
BIconChevronCompactDown: BIconChevronCompactDown,
|
|
BIconChevronCompactLeft: BIconChevronCompactLeft,
|
|
BIconChevronCompactRight: BIconChevronCompactRight,
|
|
BIconChevronCompactUp: BIconChevronCompactUp,
|
|
BIconChevronContract: BIconChevronContract,
|
|
BIconChevronDoubleDown: BIconChevronDoubleDown,
|
|
BIconChevronDoubleLeft: BIconChevronDoubleLeft,
|
|
BIconChevronDoubleRight: BIconChevronDoubleRight,
|
|
BIconChevronDoubleUp: BIconChevronDoubleUp,
|
|
BIconChevronDown: BIconChevronDown,
|
|
BIconChevronExpand: BIconChevronExpand,
|
|
BIconChevronLeft: BIconChevronLeft,
|
|
BIconChevronRight: BIconChevronRight,
|
|
BIconChevronUp: BIconChevronUp,
|
|
BIconCircle: BIconCircle,
|
|
BIconCircleFill: BIconCircleFill,
|
|
BIconCircleHalf: BIconCircleHalf,
|
|
BIconCircleSquare: BIconCircleSquare,
|
|
BIconClipboard: BIconClipboard,
|
|
BIconClipboardCheck: BIconClipboardCheck,
|
|
BIconClipboardData: BIconClipboardData,
|
|
BIconClipboardMinus: BIconClipboardMinus,
|
|
BIconClipboardPlus: BIconClipboardPlus,
|
|
BIconClipboardX: BIconClipboardX,
|
|
BIconClock: BIconClock,
|
|
BIconClockFill: BIconClockFill,
|
|
BIconClockHistory: BIconClockHistory,
|
|
BIconCloud: BIconCloud,
|
|
BIconCloudArrowDown: BIconCloudArrowDown,
|
|
BIconCloudArrowDownFill: BIconCloudArrowDownFill,
|
|
BIconCloudArrowUp: BIconCloudArrowUp,
|
|
BIconCloudArrowUpFill: BIconCloudArrowUpFill,
|
|
BIconCloudCheck: BIconCloudCheck,
|
|
BIconCloudCheckFill: BIconCloudCheckFill,
|
|
BIconCloudDownload: BIconCloudDownload,
|
|
BIconCloudDownloadFill: BIconCloudDownloadFill,
|
|
BIconCloudFill: BIconCloudFill,
|
|
BIconCloudMinus: BIconCloudMinus,
|
|
BIconCloudMinusFill: BIconCloudMinusFill,
|
|
BIconCloudPlus: BIconCloudPlus,
|
|
BIconCloudPlusFill: BIconCloudPlusFill,
|
|
BIconCloudSlash: BIconCloudSlash,
|
|
BIconCloudSlashFill: BIconCloudSlashFill,
|
|
BIconCloudUpload: BIconCloudUpload,
|
|
BIconCloudUploadFill: BIconCloudUploadFill,
|
|
BIconCode: BIconCode,
|
|
BIconCodeSlash: BIconCodeSlash,
|
|
BIconCodeSquare: BIconCodeSquare,
|
|
BIconCollection: BIconCollection,
|
|
BIconCollectionFill: BIconCollectionFill,
|
|
BIconCollectionPlay: BIconCollectionPlay,
|
|
BIconCollectionPlayFill: BIconCollectionPlayFill,
|
|
BIconColumns: BIconColumns,
|
|
BIconColumnsGap: BIconColumnsGap,
|
|
BIconCommand: BIconCommand,
|
|
BIconCompass: BIconCompass,
|
|
BIconCompassFill: BIconCompassFill,
|
|
BIconCone: BIconCone,
|
|
BIconConeStriped: BIconConeStriped,
|
|
BIconController: BIconController,
|
|
BIconCpu: BIconCpu,
|
|
BIconCpuFill: BIconCpuFill,
|
|
BIconCreditCard: BIconCreditCard,
|
|
BIconCreditCard2Back: BIconCreditCard2Back,
|
|
BIconCreditCard2BackFill: BIconCreditCard2BackFill,
|
|
BIconCreditCard2Front: BIconCreditCard2Front,
|
|
BIconCreditCard2FrontFill: BIconCreditCard2FrontFill,
|
|
BIconCreditCardFill: BIconCreditCardFill,
|
|
BIconCrop: BIconCrop,
|
|
BIconCup: BIconCup,
|
|
BIconCupFill: BIconCupFill,
|
|
BIconCupStraw: BIconCupStraw,
|
|
BIconCursor: BIconCursor,
|
|
BIconCursorFill: BIconCursorFill,
|
|
BIconCursorText: BIconCursorText,
|
|
BIconDash: BIconDash,
|
|
BIconDashCircle: BIconDashCircle,
|
|
BIconDashCircleFill: BIconDashCircleFill,
|
|
BIconDashSquare: BIconDashSquare,
|
|
BIconDashSquareFill: BIconDashSquareFill,
|
|
BIconDiagram2: BIconDiagram2,
|
|
BIconDiagram2Fill: BIconDiagram2Fill,
|
|
BIconDiagram3: BIconDiagram3,
|
|
BIconDiagram3Fill: BIconDiagram3Fill,
|
|
BIconDiamond: BIconDiamond,
|
|
BIconDiamondFill: BIconDiamondFill,
|
|
BIconDiamondHalf: BIconDiamondHalf,
|
|
BIconDice1: BIconDice1,
|
|
BIconDice1Fill: BIconDice1Fill,
|
|
BIconDice2: BIconDice2,
|
|
BIconDice2Fill: BIconDice2Fill,
|
|
BIconDice3: BIconDice3,
|
|
BIconDice3Fill: BIconDice3Fill,
|
|
BIconDice4: BIconDice4,
|
|
BIconDice4Fill: BIconDice4Fill,
|
|
BIconDice5: BIconDice5,
|
|
BIconDice5Fill: BIconDice5Fill,
|
|
BIconDice6: BIconDice6,
|
|
BIconDice6Fill: BIconDice6Fill,
|
|
BIconDisplay: BIconDisplay,
|
|
BIconDisplayFill: BIconDisplayFill,
|
|
BIconDistributeHorizontal: BIconDistributeHorizontal,
|
|
BIconDistributeVertical: BIconDistributeVertical,
|
|
BIconDoorClosed: BIconDoorClosed,
|
|
BIconDoorClosedFill: BIconDoorClosedFill,
|
|
BIconDoorOpen: BIconDoorOpen,
|
|
BIconDoorOpenFill: BIconDoorOpenFill,
|
|
BIconDot: BIconDot,
|
|
BIconDownload: BIconDownload,
|
|
BIconDroplet: BIconDroplet,
|
|
BIconDropletFill: BIconDropletFill,
|
|
BIconDropletHalf: BIconDropletHalf,
|
|
BIconEarbuds: BIconEarbuds,
|
|
BIconEasel: BIconEasel,
|
|
BIconEaselFill: BIconEaselFill,
|
|
BIconEgg: BIconEgg,
|
|
BIconEggFill: BIconEggFill,
|
|
BIconEggFried: BIconEggFried,
|
|
BIconEject: BIconEject,
|
|
BIconEjectFill: BIconEjectFill,
|
|
BIconEmojiAngry: BIconEmojiAngry,
|
|
BIconEmojiAngryFill: BIconEmojiAngryFill,
|
|
BIconEmojiDizzy: BIconEmojiDizzy,
|
|
BIconEmojiDizzyFill: BIconEmojiDizzyFill,
|
|
BIconEmojiExpressionless: BIconEmojiExpressionless,
|
|
BIconEmojiExpressionlessFill: BIconEmojiExpressionlessFill,
|
|
BIconEmojiFrown: BIconEmojiFrown,
|
|
BIconEmojiFrownFill: BIconEmojiFrownFill,
|
|
BIconEmojiHeartEyes: BIconEmojiHeartEyes,
|
|
BIconEmojiHeartEyesFill: BIconEmojiHeartEyesFill,
|
|
BIconEmojiLaughing: BIconEmojiLaughing,
|
|
BIconEmojiLaughingFill: BIconEmojiLaughingFill,
|
|
BIconEmojiNeutral: BIconEmojiNeutral,
|
|
BIconEmojiNeutralFill: BIconEmojiNeutralFill,
|
|
BIconEmojiSmile: BIconEmojiSmile,
|
|
BIconEmojiSmileFill: BIconEmojiSmileFill,
|
|
BIconEmojiSmileUpsideDown: BIconEmojiSmileUpsideDown,
|
|
BIconEmojiSmileUpsideDownFill: BIconEmojiSmileUpsideDownFill,
|
|
BIconEmojiSunglasses: BIconEmojiSunglasses,
|
|
BIconEmojiSunglassesFill: BIconEmojiSunglassesFill,
|
|
BIconEmojiWink: BIconEmojiWink,
|
|
BIconEmojiWinkFill: BIconEmojiWinkFill,
|
|
BIconEnvelope: BIconEnvelope,
|
|
BIconEnvelopeFill: BIconEnvelopeFill,
|
|
BIconEnvelopeOpen: BIconEnvelopeOpen,
|
|
BIconEnvelopeOpenFill: BIconEnvelopeOpenFill,
|
|
BIconExclamation: BIconExclamation,
|
|
BIconExclamationCircle: BIconExclamationCircle,
|
|
BIconExclamationCircleFill: BIconExclamationCircleFill,
|
|
BIconExclamationDiamond: BIconExclamationDiamond,
|
|
BIconExclamationDiamondFill: BIconExclamationDiamondFill,
|
|
BIconExclamationOctagon: BIconExclamationOctagon,
|
|
BIconExclamationOctagonFill: BIconExclamationOctagonFill,
|
|
BIconExclamationSquare: BIconExclamationSquare,
|
|
BIconExclamationSquareFill: BIconExclamationSquareFill,
|
|
BIconExclamationTriangle: BIconExclamationTriangle,
|
|
BIconExclamationTriangleFill: BIconExclamationTriangleFill,
|
|
BIconExclude: BIconExclude,
|
|
BIconEye: BIconEye,
|
|
BIconEyeFill: BIconEyeFill,
|
|
BIconEyeSlash: BIconEyeSlash,
|
|
BIconEyeSlashFill: BIconEyeSlashFill,
|
|
BIconEyeglasses: BIconEyeglasses,
|
|
BIconFile: BIconFile,
|
|
BIconFileArrowDown: BIconFileArrowDown,
|
|
BIconFileArrowDownFill: BIconFileArrowDownFill,
|
|
BIconFileArrowUp: BIconFileArrowUp,
|
|
BIconFileArrowUpFill: BIconFileArrowUpFill,
|
|
BIconFileBarGraph: BIconFileBarGraph,
|
|
BIconFileBarGraphFill: BIconFileBarGraphFill,
|
|
BIconFileBinary: BIconFileBinary,
|
|
BIconFileBinaryFill: BIconFileBinaryFill,
|
|
BIconFileBreak: BIconFileBreak,
|
|
BIconFileBreakFill: BIconFileBreakFill,
|
|
BIconFileCheck: BIconFileCheck,
|
|
BIconFileCheckFill: BIconFileCheckFill,
|
|
BIconFileCode: BIconFileCode,
|
|
BIconFileCodeFill: BIconFileCodeFill,
|
|
BIconFileDiff: BIconFileDiff,
|
|
BIconFileDiffFill: BIconFileDiffFill,
|
|
BIconFileEarmark: BIconFileEarmark,
|
|
BIconFileEarmarkArrowDown: BIconFileEarmarkArrowDown,
|
|
BIconFileEarmarkArrowDownFill: BIconFileEarmarkArrowDownFill,
|
|
BIconFileEarmarkArrowUp: BIconFileEarmarkArrowUp,
|
|
BIconFileEarmarkArrowUpFill: BIconFileEarmarkArrowUpFill,
|
|
BIconFileEarmarkBarGraph: BIconFileEarmarkBarGraph,
|
|
BIconFileEarmarkBarGraphFill: BIconFileEarmarkBarGraphFill,
|
|
BIconFileEarmarkBinary: BIconFileEarmarkBinary,
|
|
BIconFileEarmarkBinaryFill: BIconFileEarmarkBinaryFill,
|
|
BIconFileEarmarkBreak: BIconFileEarmarkBreak,
|
|
BIconFileEarmarkBreakFill: BIconFileEarmarkBreakFill,
|
|
BIconFileEarmarkCheck: BIconFileEarmarkCheck,
|
|
BIconFileEarmarkCheckFill: BIconFileEarmarkCheckFill,
|
|
BIconFileEarmarkCode: BIconFileEarmarkCode,
|
|
BIconFileEarmarkCodeFill: BIconFileEarmarkCodeFill,
|
|
BIconFileEarmarkDiff: BIconFileEarmarkDiff,
|
|
BIconFileEarmarkDiffFill: BIconFileEarmarkDiffFill,
|
|
BIconFileEarmarkEasel: BIconFileEarmarkEasel,
|
|
BIconFileEarmarkEaselFill: BIconFileEarmarkEaselFill,
|
|
BIconFileEarmarkExcel: BIconFileEarmarkExcel,
|
|
BIconFileEarmarkExcelFill: BIconFileEarmarkExcelFill,
|
|
BIconFileEarmarkFill: BIconFileEarmarkFill,
|
|
BIconFileEarmarkFont: BIconFileEarmarkFont,
|
|
BIconFileEarmarkFontFill: BIconFileEarmarkFontFill,
|
|
BIconFileEarmarkImage: BIconFileEarmarkImage,
|
|
BIconFileEarmarkImageFill: BIconFileEarmarkImageFill,
|
|
BIconFileEarmarkLock: BIconFileEarmarkLock,
|
|
BIconFileEarmarkLock2: BIconFileEarmarkLock2,
|
|
BIconFileEarmarkLock2Fill: BIconFileEarmarkLock2Fill,
|
|
BIconFileEarmarkLockFill: BIconFileEarmarkLockFill,
|
|
BIconFileEarmarkMedical: BIconFileEarmarkMedical,
|
|
BIconFileEarmarkMedicalFill: BIconFileEarmarkMedicalFill,
|
|
BIconFileEarmarkMinus: BIconFileEarmarkMinus,
|
|
BIconFileEarmarkMinusFill: BIconFileEarmarkMinusFill,
|
|
BIconFileEarmarkMusic: BIconFileEarmarkMusic,
|
|
BIconFileEarmarkMusicFill: BIconFileEarmarkMusicFill,
|
|
BIconFileEarmarkPerson: BIconFileEarmarkPerson,
|
|
BIconFileEarmarkPersonFill: BIconFileEarmarkPersonFill,
|
|
BIconFileEarmarkPlay: BIconFileEarmarkPlay,
|
|
BIconFileEarmarkPlayFill: BIconFileEarmarkPlayFill,
|
|
BIconFileEarmarkPlus: BIconFileEarmarkPlus,
|
|
BIconFileEarmarkPlusFill: BIconFileEarmarkPlusFill,
|
|
BIconFileEarmarkPost: BIconFileEarmarkPost,
|
|
BIconFileEarmarkPostFill: BIconFileEarmarkPostFill,
|
|
BIconFileEarmarkPpt: BIconFileEarmarkPpt,
|
|
BIconFileEarmarkPptFill: BIconFileEarmarkPptFill,
|
|
BIconFileEarmarkRichtext: BIconFileEarmarkRichtext,
|
|
BIconFileEarmarkRichtextFill: BIconFileEarmarkRichtextFill,
|
|
BIconFileEarmarkRuled: BIconFileEarmarkRuled,
|
|
BIconFileEarmarkRuledFill: BIconFileEarmarkRuledFill,
|
|
BIconFileEarmarkSlides: BIconFileEarmarkSlides,
|
|
BIconFileEarmarkSlidesFill: BIconFileEarmarkSlidesFill,
|
|
BIconFileEarmarkSpreadsheet: BIconFileEarmarkSpreadsheet,
|
|
BIconFileEarmarkSpreadsheetFill: BIconFileEarmarkSpreadsheetFill,
|
|
BIconFileEarmarkText: BIconFileEarmarkText,
|
|
BIconFileEarmarkTextFill: BIconFileEarmarkTextFill,
|
|
BIconFileEarmarkWord: BIconFileEarmarkWord,
|
|
BIconFileEarmarkWordFill: BIconFileEarmarkWordFill,
|
|
BIconFileEarmarkX: BIconFileEarmarkX,
|
|
BIconFileEarmarkXFill: BIconFileEarmarkXFill,
|
|
BIconFileEarmarkZip: BIconFileEarmarkZip,
|
|
BIconFileEarmarkZipFill: BIconFileEarmarkZipFill,
|
|
BIconFileEasel: BIconFileEasel,
|
|
BIconFileEaselFill: BIconFileEaselFill,
|
|
BIconFileExcel: BIconFileExcel,
|
|
BIconFileExcelFill: BIconFileExcelFill,
|
|
BIconFileFill: BIconFileFill,
|
|
BIconFileFont: BIconFileFont,
|
|
BIconFileFontFill: BIconFileFontFill,
|
|
BIconFileImage: BIconFileImage,
|
|
BIconFileImageFill: BIconFileImageFill,
|
|
BIconFileLock: BIconFileLock,
|
|
BIconFileLock2: BIconFileLock2,
|
|
BIconFileLock2Fill: BIconFileLock2Fill,
|
|
BIconFileLockFill: BIconFileLockFill,
|
|
BIconFileMedical: BIconFileMedical,
|
|
BIconFileMedicalFill: BIconFileMedicalFill,
|
|
BIconFileMinus: BIconFileMinus,
|
|
BIconFileMinusFill: BIconFileMinusFill,
|
|
BIconFileMusic: BIconFileMusic,
|
|
BIconFileMusicFill: BIconFileMusicFill,
|
|
BIconFilePerson: BIconFilePerson,
|
|
BIconFilePersonFill: BIconFilePersonFill,
|
|
BIconFilePlay: BIconFilePlay,
|
|
BIconFilePlayFill: BIconFilePlayFill,
|
|
BIconFilePlus: BIconFilePlus,
|
|
BIconFilePlusFill: BIconFilePlusFill,
|
|
BIconFilePost: BIconFilePost,
|
|
BIconFilePostFill: BIconFilePostFill,
|
|
BIconFilePpt: BIconFilePpt,
|
|
BIconFilePptFill: BIconFilePptFill,
|
|
BIconFileRichtext: BIconFileRichtext,
|
|
BIconFileRichtextFill: BIconFileRichtextFill,
|
|
BIconFileRuled: BIconFileRuled,
|
|
BIconFileRuledFill: BIconFileRuledFill,
|
|
BIconFileSlides: BIconFileSlides,
|
|
BIconFileSlidesFill: BIconFileSlidesFill,
|
|
BIconFileSpreadsheet: BIconFileSpreadsheet,
|
|
BIconFileSpreadsheetFill: BIconFileSpreadsheetFill,
|
|
BIconFileText: BIconFileText,
|
|
BIconFileTextFill: BIconFileTextFill,
|
|
BIconFileWord: BIconFileWord,
|
|
BIconFileWordFill: BIconFileWordFill,
|
|
BIconFileX: BIconFileX,
|
|
BIconFileXFill: BIconFileXFill,
|
|
BIconFileZip: BIconFileZip,
|
|
BIconFileZipFill: BIconFileZipFill,
|
|
BIconFiles: BIconFiles,
|
|
BIconFilesAlt: BIconFilesAlt,
|
|
BIconFilm: BIconFilm,
|
|
BIconFilter: BIconFilter,
|
|
BIconFilterCircle: BIconFilterCircle,
|
|
BIconFilterCircleFill: BIconFilterCircleFill,
|
|
BIconFilterLeft: BIconFilterLeft,
|
|
BIconFilterRight: BIconFilterRight,
|
|
BIconFilterSquare: BIconFilterSquare,
|
|
BIconFilterSquareFill: BIconFilterSquareFill,
|
|
BIconFlag: BIconFlag,
|
|
BIconFlagFill: BIconFlagFill,
|
|
BIconFlower1: BIconFlower1,
|
|
BIconFlower2: BIconFlower2,
|
|
BIconFlower3: BIconFlower3,
|
|
BIconFolder: BIconFolder,
|
|
BIconFolder2: BIconFolder2,
|
|
BIconFolder2Open: BIconFolder2Open,
|
|
BIconFolderCheck: BIconFolderCheck,
|
|
BIconFolderFill: BIconFolderFill,
|
|
BIconFolderMinus: BIconFolderMinus,
|
|
BIconFolderPlus: BIconFolderPlus,
|
|
BIconFolderSymlink: BIconFolderSymlink,
|
|
BIconFolderSymlinkFill: BIconFolderSymlinkFill,
|
|
BIconFolderX: BIconFolderX,
|
|
BIconFonts: BIconFonts,
|
|
BIconForward: BIconForward,
|
|
BIconForwardFill: BIconForwardFill,
|
|
BIconFront: BIconFront,
|
|
BIconFullscreen: BIconFullscreen,
|
|
BIconFullscreenExit: BIconFullscreenExit,
|
|
BIconFunnel: BIconFunnel,
|
|
BIconFunnelFill: BIconFunnelFill,
|
|
BIconGear: BIconGear,
|
|
BIconGearFill: BIconGearFill,
|
|
BIconGearWide: BIconGearWide,
|
|
BIconGearWideConnected: BIconGearWideConnected,
|
|
BIconGem: BIconGem,
|
|
BIconGeo: BIconGeo,
|
|
BIconGeoAlt: BIconGeoAlt,
|
|
BIconGeoAltFill: BIconGeoAltFill,
|
|
BIconGeoFill: BIconGeoFill,
|
|
BIconGift: BIconGift,
|
|
BIconGiftFill: BIconGiftFill,
|
|
BIconGlobe: BIconGlobe,
|
|
BIconGlobe2: BIconGlobe2,
|
|
BIconGraphDown: BIconGraphDown,
|
|
BIconGraphUp: BIconGraphUp,
|
|
BIconGrid: BIconGrid,
|
|
BIconGrid1x2: BIconGrid1x2,
|
|
BIconGrid1x2Fill: BIconGrid1x2Fill,
|
|
BIconGrid3x2: BIconGrid3x2,
|
|
BIconGrid3x2Gap: BIconGrid3x2Gap,
|
|
BIconGrid3x2GapFill: BIconGrid3x2GapFill,
|
|
BIconGrid3x3: BIconGrid3x3,
|
|
BIconGrid3x3Gap: BIconGrid3x3Gap,
|
|
BIconGrid3x3GapFill: BIconGrid3x3GapFill,
|
|
BIconGridFill: BIconGridFill,
|
|
BIconGripHorizontal: BIconGripHorizontal,
|
|
BIconGripVertical: BIconGripVertical,
|
|
BIconHammer: BIconHammer,
|
|
BIconHandIndex: BIconHandIndex,
|
|
BIconHandIndexThumb: BIconHandIndexThumb,
|
|
BIconHandThumbsDown: BIconHandThumbsDown,
|
|
BIconHandThumbsUp: BIconHandThumbsUp,
|
|
BIconHandbag: BIconHandbag,
|
|
BIconHandbagFill: BIconHandbagFill,
|
|
BIconHash: BIconHash,
|
|
BIconHdd: BIconHdd,
|
|
BIconHddFill: BIconHddFill,
|
|
BIconHddNetwork: BIconHddNetwork,
|
|
BIconHddNetworkFill: BIconHddNetworkFill,
|
|
BIconHddRack: BIconHddRack,
|
|
BIconHddRackFill: BIconHddRackFill,
|
|
BIconHddStack: BIconHddStack,
|
|
BIconHddStackFill: BIconHddStackFill,
|
|
BIconHeadphones: BIconHeadphones,
|
|
BIconHeadset: BIconHeadset,
|
|
BIconHeart: BIconHeart,
|
|
BIconHeartFill: BIconHeartFill,
|
|
BIconHeartHalf: BIconHeartHalf,
|
|
BIconHeptagon: BIconHeptagon,
|
|
BIconHeptagonFill: BIconHeptagonFill,
|
|
BIconHeptagonHalf: BIconHeptagonHalf,
|
|
BIconHexagon: BIconHexagon,
|
|
BIconHexagonFill: BIconHexagonFill,
|
|
BIconHexagonHalf: BIconHexagonHalf,
|
|
BIconHourglass: BIconHourglass,
|
|
BIconHourglassBottom: BIconHourglassBottom,
|
|
BIconHourglassSplit: BIconHourglassSplit,
|
|
BIconHourglassTop: BIconHourglassTop,
|
|
BIconHouse: BIconHouse,
|
|
BIconHouseDoor: BIconHouseDoor,
|
|
BIconHouseDoorFill: BIconHouseDoorFill,
|
|
BIconHouseFill: BIconHouseFill,
|
|
BIconHr: BIconHr,
|
|
BIconImage: BIconImage,
|
|
BIconImageAlt: BIconImageAlt,
|
|
BIconImageFill: BIconImageFill,
|
|
BIconImages: BIconImages,
|
|
BIconInbox: BIconInbox,
|
|
BIconInboxFill: BIconInboxFill,
|
|
BIconInboxes: BIconInboxes,
|
|
BIconInboxesFill: BIconInboxesFill,
|
|
BIconInfo: BIconInfo,
|
|
BIconInfoCircle: BIconInfoCircle,
|
|
BIconInfoCircleFill: BIconInfoCircleFill,
|
|
BIconInfoSquare: BIconInfoSquare,
|
|
BIconInfoSquareFill: BIconInfoSquareFill,
|
|
BIconInputCursor: BIconInputCursor,
|
|
BIconInputCursorText: BIconInputCursorText,
|
|
BIconIntersect: BIconIntersect,
|
|
BIconJournal: BIconJournal,
|
|
BIconJournalAlbum: BIconJournalAlbum,
|
|
BIconJournalArrowDown: BIconJournalArrowDown,
|
|
BIconJournalArrowUp: BIconJournalArrowUp,
|
|
BIconJournalBookmark: BIconJournalBookmark,
|
|
BIconJournalBookmarkFill: BIconJournalBookmarkFill,
|
|
BIconJournalCheck: BIconJournalCheck,
|
|
BIconJournalCode: BIconJournalCode,
|
|
BIconJournalMedical: BIconJournalMedical,
|
|
BIconJournalMinus: BIconJournalMinus,
|
|
BIconJournalPlus: BIconJournalPlus,
|
|
BIconJournalRichtext: BIconJournalRichtext,
|
|
BIconJournalText: BIconJournalText,
|
|
BIconJournalX: BIconJournalX,
|
|
BIconJournals: BIconJournals,
|
|
BIconJoystick: BIconJoystick,
|
|
BIconJustify: BIconJustify,
|
|
BIconJustifyLeft: BIconJustifyLeft,
|
|
BIconJustifyRight: BIconJustifyRight,
|
|
BIconKanban: BIconKanban,
|
|
BIconKanbanFill: BIconKanbanFill,
|
|
BIconKey: BIconKey,
|
|
BIconKeyFill: BIconKeyFill,
|
|
BIconKeyboard: BIconKeyboard,
|
|
BIconKeyboardFill: BIconKeyboardFill,
|
|
BIconLadder: BIconLadder,
|
|
BIconLamp: BIconLamp,
|
|
BIconLampFill: BIconLampFill,
|
|
BIconLaptop: BIconLaptop,
|
|
BIconLaptopFill: BIconLaptopFill,
|
|
BIconLayers: BIconLayers,
|
|
BIconLayersFill: BIconLayersFill,
|
|
BIconLayersHalf: BIconLayersHalf,
|
|
BIconLayoutSidebar: BIconLayoutSidebar,
|
|
BIconLayoutSidebarInset: BIconLayoutSidebarInset,
|
|
BIconLayoutSidebarInsetReverse: BIconLayoutSidebarInsetReverse,
|
|
BIconLayoutSidebarReverse: BIconLayoutSidebarReverse,
|
|
BIconLayoutSplit: BIconLayoutSplit,
|
|
BIconLayoutTextSidebar: BIconLayoutTextSidebar,
|
|
BIconLayoutTextSidebarReverse: BIconLayoutTextSidebarReverse,
|
|
BIconLayoutTextWindow: BIconLayoutTextWindow,
|
|
BIconLayoutTextWindowReverse: BIconLayoutTextWindowReverse,
|
|
BIconLayoutThreeColumns: BIconLayoutThreeColumns,
|
|
BIconLayoutWtf: BIconLayoutWtf,
|
|
BIconLifePreserver: BIconLifePreserver,
|
|
BIconLightning: BIconLightning,
|
|
BIconLightningFill: BIconLightningFill,
|
|
BIconLink: BIconLink,
|
|
BIconLink45deg: BIconLink45deg,
|
|
BIconList: BIconList,
|
|
BIconListCheck: BIconListCheck,
|
|
BIconListNested: BIconListNested,
|
|
BIconListOl: BIconListOl,
|
|
BIconListStars: BIconListStars,
|
|
BIconListTask: BIconListTask,
|
|
BIconListUl: BIconListUl,
|
|
BIconLock: BIconLock,
|
|
BIconLockFill: BIconLockFill,
|
|
BIconMailbox: BIconMailbox,
|
|
BIconMailbox2: BIconMailbox2,
|
|
BIconMap: BIconMap,
|
|
BIconMapFill: BIconMapFill,
|
|
BIconMarkdown: BIconMarkdown,
|
|
BIconMarkdownFill: BIconMarkdownFill,
|
|
BIconMenuApp: BIconMenuApp,
|
|
BIconMenuAppFill: BIconMenuAppFill,
|
|
BIconMenuButton: BIconMenuButton,
|
|
BIconMenuButtonFill: BIconMenuButtonFill,
|
|
BIconMenuButtonWide: BIconMenuButtonWide,
|
|
BIconMenuButtonWideFill: BIconMenuButtonWideFill,
|
|
BIconMenuDown: BIconMenuDown,
|
|
BIconMenuUp: BIconMenuUp,
|
|
BIconMic: BIconMic,
|
|
BIconMicFill: BIconMicFill,
|
|
BIconMicMute: BIconMicMute,
|
|
BIconMicMuteFill: BIconMicMuteFill,
|
|
BIconMinecart: BIconMinecart,
|
|
BIconMinecartLoaded: BIconMinecartLoaded,
|
|
BIconMoon: BIconMoon,
|
|
BIconMouse: BIconMouse,
|
|
BIconMouse2: BIconMouse2,
|
|
BIconMouse3: BIconMouse3,
|
|
BIconMusicNote: BIconMusicNote,
|
|
BIconMusicNoteBeamed: BIconMusicNoteBeamed,
|
|
BIconMusicNoteList: BIconMusicNoteList,
|
|
BIconMusicPlayer: BIconMusicPlayer,
|
|
BIconMusicPlayerFill: BIconMusicPlayerFill,
|
|
BIconNewspaper: BIconNewspaper,
|
|
BIconNodeMinus: BIconNodeMinus,
|
|
BIconNodeMinusFill: BIconNodeMinusFill,
|
|
BIconNodePlus: BIconNodePlus,
|
|
BIconNodePlusFill: BIconNodePlusFill,
|
|
BIconNut: BIconNut,
|
|
BIconNutFill: BIconNutFill,
|
|
BIconOctagon: BIconOctagon,
|
|
BIconOctagonFill: BIconOctagonFill,
|
|
BIconOctagonHalf: BIconOctagonHalf,
|
|
BIconOption: BIconOption,
|
|
BIconOutlet: BIconOutlet,
|
|
BIconPaperclip: BIconPaperclip,
|
|
BIconParagraph: BIconParagraph,
|
|
BIconPatchCheck: BIconPatchCheck,
|
|
BIconPatchCheckFll: BIconPatchCheckFll,
|
|
BIconPatchExclamation: BIconPatchExclamation,
|
|
BIconPatchExclamationFll: BIconPatchExclamationFll,
|
|
BIconPatchMinus: BIconPatchMinus,
|
|
BIconPatchMinusFll: BIconPatchMinusFll,
|
|
BIconPatchPlus: BIconPatchPlus,
|
|
BIconPatchPlusFll: BIconPatchPlusFll,
|
|
BIconPatchQuestion: BIconPatchQuestion,
|
|
BIconPatchQuestionFll: BIconPatchQuestionFll,
|
|
BIconPause: BIconPause,
|
|
BIconPauseFill: BIconPauseFill,
|
|
BIconPeace: BIconPeace,
|
|
BIconPeaceFill: BIconPeaceFill,
|
|
BIconPen: BIconPen,
|
|
BIconPenFill: BIconPenFill,
|
|
BIconPencil: BIconPencil,
|
|
BIconPencilFill: BIconPencilFill,
|
|
BIconPencilSquare: BIconPencilSquare,
|
|
BIconPentagon: BIconPentagon,
|
|
BIconPentagonFill: BIconPentagonFill,
|
|
BIconPentagonHalf: BIconPentagonHalf,
|
|
BIconPeople: BIconPeople,
|
|
BIconPeopleFill: BIconPeopleFill,
|
|
BIconPercent: BIconPercent,
|
|
BIconPerson: BIconPerson,
|
|
BIconPersonBadge: BIconPersonBadge,
|
|
BIconPersonBadgeFill: BIconPersonBadgeFill,
|
|
BIconPersonBoundingBox: BIconPersonBoundingBox,
|
|
BIconPersonCheck: BIconPersonCheck,
|
|
BIconPersonCheckFill: BIconPersonCheckFill,
|
|
BIconPersonCircle: BIconPersonCircle,
|
|
BIconPersonDash: BIconPersonDash,
|
|
BIconPersonDashFill: BIconPersonDashFill,
|
|
BIconPersonFill: BIconPersonFill,
|
|
BIconPersonLinesFill: BIconPersonLinesFill,
|
|
BIconPersonPlus: BIconPersonPlus,
|
|
BIconPersonPlusFill: BIconPersonPlusFill,
|
|
BIconPersonSquare: BIconPersonSquare,
|
|
BIconPersonX: BIconPersonX,
|
|
BIconPersonXFill: BIconPersonXFill,
|
|
BIconPhone: BIconPhone,
|
|
BIconPhoneFill: BIconPhoneFill,
|
|
BIconPhoneLandscape: BIconPhoneLandscape,
|
|
BIconPhoneLandscapeFill: BIconPhoneLandscapeFill,
|
|
BIconPhoneVibrate: BIconPhoneVibrate,
|
|
BIconPieChart: BIconPieChart,
|
|
BIconPieChartFill: BIconPieChartFill,
|
|
BIconPip: BIconPip,
|
|
BIconPipFill: BIconPipFill,
|
|
BIconPlay: BIconPlay,
|
|
BIconPlayFill: BIconPlayFill,
|
|
BIconPlug: BIconPlug,
|
|
BIconPlugFill: BIconPlugFill,
|
|
BIconPlus: BIconPlus,
|
|
BIconPlusCircle: BIconPlusCircle,
|
|
BIconPlusCircleFill: BIconPlusCircleFill,
|
|
BIconPlusSquare: BIconPlusSquare,
|
|
BIconPlusSquareFill: BIconPlusSquareFill,
|
|
BIconPower: BIconPower,
|
|
BIconPrinter: BIconPrinter,
|
|
BIconPrinterFill: BIconPrinterFill,
|
|
BIconPuzzle: BIconPuzzle,
|
|
BIconPuzzleFill: BIconPuzzleFill,
|
|
BIconQuestion: BIconQuestion,
|
|
BIconQuestionCircle: BIconQuestionCircle,
|
|
BIconQuestionCircleFill: BIconQuestionCircleFill,
|
|
BIconQuestionDiamond: BIconQuestionDiamond,
|
|
BIconQuestionDiamondFill: BIconQuestionDiamondFill,
|
|
BIconQuestionOctagon: BIconQuestionOctagon,
|
|
BIconQuestionOctagonFill: BIconQuestionOctagonFill,
|
|
BIconQuestionSquare: BIconQuestionSquare,
|
|
BIconQuestionSquareFill: BIconQuestionSquareFill,
|
|
BIconReceipt: BIconReceipt,
|
|
BIconReceiptCutoff: BIconReceiptCutoff,
|
|
BIconReception0: BIconReception0,
|
|
BIconReception1: BIconReception1,
|
|
BIconReception2: BIconReception2,
|
|
BIconReception3: BIconReception3,
|
|
BIconReception4: BIconReception4,
|
|
BIconReply: BIconReply,
|
|
BIconReplyAll: BIconReplyAll,
|
|
BIconReplyAllFill: BIconReplyAllFill,
|
|
BIconReplyFill: BIconReplyFill,
|
|
BIconRss: BIconRss,
|
|
BIconRssFill: BIconRssFill,
|
|
BIconScissors: BIconScissors,
|
|
BIconScrewdriver: BIconScrewdriver,
|
|
BIconSearch: BIconSearch,
|
|
BIconSegmentedNav: BIconSegmentedNav,
|
|
BIconServer: BIconServer,
|
|
BIconShare: BIconShare,
|
|
BIconShareFill: BIconShareFill,
|
|
BIconShield: BIconShield,
|
|
BIconShieldCheck: BIconShieldCheck,
|
|
BIconShieldExclamation: BIconShieldExclamation,
|
|
BIconShieldFill: BIconShieldFill,
|
|
BIconShieldFillCheck: BIconShieldFillCheck,
|
|
BIconShieldFillExclamation: BIconShieldFillExclamation,
|
|
BIconShieldFillMinus: BIconShieldFillMinus,
|
|
BIconShieldFillPlus: BIconShieldFillPlus,
|
|
BIconShieldFillX: BIconShieldFillX,
|
|
BIconShieldLock: BIconShieldLock,
|
|
BIconShieldLockFill: BIconShieldLockFill,
|
|
BIconShieldMinus: BIconShieldMinus,
|
|
BIconShieldPlus: BIconShieldPlus,
|
|
BIconShieldShaded: BIconShieldShaded,
|
|
BIconShieldSlash: BIconShieldSlash,
|
|
BIconShieldSlashFill: BIconShieldSlashFill,
|
|
BIconShieldX: BIconShieldX,
|
|
BIconShift: BIconShift,
|
|
BIconShiftFill: BIconShiftFill,
|
|
BIconShop: BIconShop,
|
|
BIconShopWindow: BIconShopWindow,
|
|
BIconShuffle: BIconShuffle,
|
|
BIconSignpost: BIconSignpost,
|
|
BIconSignpost2: BIconSignpost2,
|
|
BIconSignpost2Fill: BIconSignpost2Fill,
|
|
BIconSignpostFill: BIconSignpostFill,
|
|
BIconSignpostSplit: BIconSignpostSplit,
|
|
BIconSignpostSplitFill: BIconSignpostSplitFill,
|
|
BIconSim: BIconSim,
|
|
BIconSimFill: BIconSimFill,
|
|
BIconSkipBackward: BIconSkipBackward,
|
|
BIconSkipBackwardFill: BIconSkipBackwardFill,
|
|
BIconSkipEnd: BIconSkipEnd,
|
|
BIconSkipEndFill: BIconSkipEndFill,
|
|
BIconSkipForward: BIconSkipForward,
|
|
BIconSkipForwardFill: BIconSkipForwardFill,
|
|
BIconSkipStart: BIconSkipStart,
|
|
BIconSkipStartFill: BIconSkipStartFill,
|
|
BIconSlash: BIconSlash,
|
|
BIconSlashCircle: BIconSlashCircle,
|
|
BIconSlashCircleFill: BIconSlashCircleFill,
|
|
BIconSlashSquare: BIconSlashSquare,
|
|
BIconSlashSquareFill: BIconSlashSquareFill,
|
|
BIconSliders: BIconSliders,
|
|
BIconSmartwatch: BIconSmartwatch,
|
|
BIconSortAlphaDown: BIconSortAlphaDown,
|
|
BIconSortAlphaDownAlt: BIconSortAlphaDownAlt,
|
|
BIconSortAlphaUp: BIconSortAlphaUp,
|
|
BIconSortAlphaUpAlt: BIconSortAlphaUpAlt,
|
|
BIconSortDown: BIconSortDown,
|
|
BIconSortDownAlt: BIconSortDownAlt,
|
|
BIconSortNumericDown: BIconSortNumericDown,
|
|
BIconSortNumericDownAlt: BIconSortNumericDownAlt,
|
|
BIconSortNumericUp: BIconSortNumericUp,
|
|
BIconSortNumericUpAlt: BIconSortNumericUpAlt,
|
|
BIconSortUp: BIconSortUp,
|
|
BIconSortUpAlt: BIconSortUpAlt,
|
|
BIconSoundwave: BIconSoundwave,
|
|
BIconSpeaker: BIconSpeaker,
|
|
BIconSpeakerFill: BIconSpeakerFill,
|
|
BIconSpellcheck: BIconSpellcheck,
|
|
BIconSquare: BIconSquare,
|
|
BIconSquareFill: BIconSquareFill,
|
|
BIconSquareHalf: BIconSquareHalf,
|
|
BIconStar: BIconStar,
|
|
BIconStarFill: BIconStarFill,
|
|
BIconStarHalf: BIconStarHalf,
|
|
BIconStickies: BIconStickies,
|
|
BIconStickiesFill: BIconStickiesFill,
|
|
BIconSticky: BIconSticky,
|
|
BIconStickyFill: BIconStickyFill,
|
|
BIconStop: BIconStop,
|
|
BIconStopFill: BIconStopFill,
|
|
BIconStoplights: BIconStoplights,
|
|
BIconStoplightsFill: BIconStoplightsFill,
|
|
BIconStopwatch: BIconStopwatch,
|
|
BIconStopwatchFill: BIconStopwatchFill,
|
|
BIconSubtract: BIconSubtract,
|
|
BIconSuitClub: BIconSuitClub,
|
|
BIconSuitClubFill: BIconSuitClubFill,
|
|
BIconSuitDiamond: BIconSuitDiamond,
|
|
BIconSuitDiamondFill: BIconSuitDiamondFill,
|
|
BIconSuitHeart: BIconSuitHeart,
|
|
BIconSuitHeartFill: BIconSuitHeartFill,
|
|
BIconSuitSpade: BIconSuitSpade,
|
|
BIconSuitSpadeFill: BIconSuitSpadeFill,
|
|
BIconSun: BIconSun,
|
|
BIconSunglasses: BIconSunglasses,
|
|
BIconTable: BIconTable,
|
|
BIconTablet: BIconTablet,
|
|
BIconTabletFill: BIconTabletFill,
|
|
BIconTabletLandscape: BIconTabletLandscape,
|
|
BIconTabletLandscapeFill: BIconTabletLandscapeFill,
|
|
BIconTag: BIconTag,
|
|
BIconTagFill: BIconTagFill,
|
|
BIconTags: BIconTags,
|
|
BIconTagsFill: BIconTagsFill,
|
|
BIconTelephone: BIconTelephone,
|
|
BIconTelephoneFill: BIconTelephoneFill,
|
|
BIconTelephoneForward: BIconTelephoneForward,
|
|
BIconTelephoneForwardFill: BIconTelephoneForwardFill,
|
|
BIconTelephoneInbound: BIconTelephoneInbound,
|
|
BIconTelephoneInboundFill: BIconTelephoneInboundFill,
|
|
BIconTelephoneMinus: BIconTelephoneMinus,
|
|
BIconTelephoneMinusFill: BIconTelephoneMinusFill,
|
|
BIconTelephoneOutbound: BIconTelephoneOutbound,
|
|
BIconTelephoneOutboundFill: BIconTelephoneOutboundFill,
|
|
BIconTelephonePlus: BIconTelephonePlus,
|
|
BIconTelephonePlusFill: BIconTelephonePlusFill,
|
|
BIconTelephoneX: BIconTelephoneX,
|
|
BIconTelephoneXFill: BIconTelephoneXFill,
|
|
BIconTerminal: BIconTerminal,
|
|
BIconTerminalFill: BIconTerminalFill,
|
|
BIconTextCenter: BIconTextCenter,
|
|
BIconTextIndentLeft: BIconTextIndentLeft,
|
|
BIconTextIndentRight: BIconTextIndentRight,
|
|
BIconTextLeft: BIconTextLeft,
|
|
BIconTextParagraph: BIconTextParagraph,
|
|
BIconTextRight: BIconTextRight,
|
|
BIconTextarea: BIconTextarea,
|
|
BIconTextareaResize: BIconTextareaResize,
|
|
BIconTextareaT: BIconTextareaT,
|
|
BIconThermometer: BIconThermometer,
|
|
BIconThermometerHalf: BIconThermometerHalf,
|
|
BIconThreeDots: BIconThreeDots,
|
|
BIconThreeDotsVertical: BIconThreeDotsVertical,
|
|
BIconToggle2Off: BIconToggle2Off,
|
|
BIconToggle2On: BIconToggle2On,
|
|
BIconToggleOff: BIconToggleOff,
|
|
BIconToggleOn: BIconToggleOn,
|
|
BIconToggles: BIconToggles,
|
|
BIconToggles2: BIconToggles2,
|
|
BIconTools: BIconTools,
|
|
BIconTrash: BIconTrash,
|
|
BIconTrash2: BIconTrash2,
|
|
BIconTrash2Fill: BIconTrash2Fill,
|
|
BIconTrashFill: BIconTrashFill,
|
|
BIconTree: BIconTree,
|
|
BIconTreeFill: BIconTreeFill,
|
|
BIconTriangle: BIconTriangle,
|
|
BIconTriangleFill: BIconTriangleFill,
|
|
BIconTriangleHalf: BIconTriangleHalf,
|
|
BIconTrophy: BIconTrophy,
|
|
BIconTrophyFill: BIconTrophyFill,
|
|
BIconTruck: BIconTruck,
|
|
BIconTruckFlatbed: BIconTruckFlatbed,
|
|
BIconTv: BIconTv,
|
|
BIconTvFill: BIconTvFill,
|
|
BIconType: BIconType,
|
|
BIconTypeBold: BIconTypeBold,
|
|
BIconTypeH1: BIconTypeH1,
|
|
BIconTypeH2: BIconTypeH2,
|
|
BIconTypeH3: BIconTypeH3,
|
|
BIconTypeItalic: BIconTypeItalic,
|
|
BIconTypeStrikethrough: BIconTypeStrikethrough,
|
|
BIconTypeUnderline: BIconTypeUnderline,
|
|
BIconUiChecks: BIconUiChecks,
|
|
BIconUiChecksGrid: BIconUiChecksGrid,
|
|
BIconUiRadios: BIconUiRadios,
|
|
BIconUiRadiosGrid: BIconUiRadiosGrid,
|
|
BIconUnion: BIconUnion,
|
|
BIconUnlock: BIconUnlock,
|
|
BIconUnlockFill: BIconUnlockFill,
|
|
BIconUpc: BIconUpc,
|
|
BIconUpcScan: BIconUpcScan,
|
|
BIconUpload: BIconUpload,
|
|
BIconVectorPen: BIconVectorPen,
|
|
BIconViewList: BIconViewList,
|
|
BIconViewStacked: BIconViewStacked,
|
|
BIconVoicemail: BIconVoicemail,
|
|
BIconVolumeDown: BIconVolumeDown,
|
|
BIconVolumeDownFill: BIconVolumeDownFill,
|
|
BIconVolumeMute: BIconVolumeMute,
|
|
BIconVolumeMuteFill: BIconVolumeMuteFill,
|
|
BIconVolumeOff: BIconVolumeOff,
|
|
BIconVolumeOffFill: BIconVolumeOffFill,
|
|
BIconVolumeUp: BIconVolumeUp,
|
|
BIconVolumeUpFill: BIconVolumeUpFill,
|
|
BIconVr: BIconVr,
|
|
BIconWallet: BIconWallet,
|
|
BIconWallet2: BIconWallet2,
|
|
BIconWalletFill: BIconWalletFill,
|
|
BIconWatch: BIconWatch,
|
|
BIconWifi: BIconWifi,
|
|
BIconWifi1: BIconWifi1,
|
|
BIconWifi2: BIconWifi2,
|
|
BIconWifiOff: BIconWifiOff,
|
|
BIconWindow: BIconWindow,
|
|
BIconWrench: BIconWrench,
|
|
BIconX: BIconX,
|
|
BIconXCircle: BIconXCircle,
|
|
BIconXCircleFill: BIconXCircleFill,
|
|
BIconXDiamond: BIconXDiamond,
|
|
BIconXDiamondFill: BIconXDiamondFill,
|
|
BIconXOctagon: BIconXOctagon,
|
|
BIconXOctagonFill: BIconXOctagonFill,
|
|
BIconXSquare: BIconXSquare,
|
|
BIconXSquareFill: BIconXSquareFill,
|
|
BIconZoomIn: BIconZoomIn,
|
|
BIconZoomOut: BIconZoomOut
|
|
}
|
|
}); // Export the BootstrapVueIcons plugin installer
|
|
// Mainly for the stand-alone bootstrap-vue-icons.xxx.js builds
|
|
|
|
var BootstrapVueIcons = /*#__PURE__*/pluginFactoryNoConfig({
|
|
plugins: {
|
|
IconsPlugin: IconsPlugin
|
|
}
|
|
}, {
|
|
NAME: 'BootstrapVueIcons'
|
|
}); // --- END AUTO-GENERATED FILE ---
|
|
|
|
var BSkeletonIcon = /*#__PURE__*/Vue.extend({
|
|
name: NAME_SKELETON_ICON,
|
|
functional: true,
|
|
props: makePropsConfigurable({
|
|
animation: {
|
|
type: String,
|
|
default: 'wave'
|
|
},
|
|
icon: {
|
|
type: String
|
|
},
|
|
iconProps: {
|
|
type: Object,
|
|
default: function _default() {}
|
|
}
|
|
}, NAME_SKELETON_ICON),
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props;
|
|
var icon = props.icon,
|
|
animation = props.animation;
|
|
var $icon = h(BIcon, {
|
|
props: _objectSpread2({
|
|
icon: icon
|
|
}, props.iconProps),
|
|
staticClass: 'b-skeleton-icon'
|
|
});
|
|
return h('div', {
|
|
staticClass: 'b-skeleton-icon-wrapper position-relative d-inline-block overflow-hidden',
|
|
class: _defineProperty({}, "b-skeleton-animate-".concat(animation), animation)
|
|
}, [$icon]);
|
|
}
|
|
});
|
|
|
|
var BSkeletonImg = /*#__PURE__*/Vue.extend({
|
|
name: NAME_SKELETON_IMG,
|
|
functional: true,
|
|
props: makePropsConfigurable({
|
|
animation: {
|
|
type: String
|
|
},
|
|
aspect: {
|
|
type: String,
|
|
default: '16:9'
|
|
},
|
|
noAspect: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
height: {
|
|
type: String
|
|
},
|
|
width: {
|
|
type: String
|
|
},
|
|
variant: {
|
|
type: String
|
|
},
|
|
cardImg: {
|
|
type: String
|
|
}
|
|
}, NAME_SKELETON_IMG),
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props;
|
|
var aspect = props.aspect,
|
|
width = props.width,
|
|
height = props.height,
|
|
animation = props.animation,
|
|
variant = props.variant,
|
|
cardImg = props.cardImg;
|
|
var $img = h(BSkeleton, {
|
|
props: {
|
|
type: 'img',
|
|
width: width,
|
|
height: height,
|
|
animation: animation,
|
|
variant: variant
|
|
},
|
|
class: _defineProperty({}, "card-img-".concat(cardImg), cardImg)
|
|
});
|
|
return props.noAspect ? $img : h(BAspect, {
|
|
props: {
|
|
aspect: aspect
|
|
}
|
|
}, [$img]);
|
|
}
|
|
});
|
|
|
|
// Mixin to determine if an event listener has been registered
|
|
|
|
var hasListenerMixin = {
|
|
methods: {
|
|
hasListener: function hasListener(name) {
|
|
// Only includes listeners registered via `v-on:name`
|
|
var $listeners = this.$listeners || {}; // Includes `v-on:name` and `this.$on('name')` registered listeners
|
|
// Note this property is not part of the public Vue API, but it is
|
|
// the only way to determine if a listener was added via `vm.$on`
|
|
|
|
var $events = this._events || {}; // Registered listeners in `this._events` are always an array,
|
|
// but might be zero length
|
|
|
|
return !isUndefined($listeners[name]) || isArray($events[name]) && $events[name].length > 0;
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$14 = makePropsConfigurable({
|
|
variant: {
|
|
type: String,
|
|
default: null
|
|
}
|
|
}, NAME_TR);
|
|
var LIGHT = 'light';
|
|
var DARK = 'dark'; // TODO:
|
|
// In Bootstrap v5, we won't need "sniffing" as table element variants properly inherit
|
|
// to the child elements, so this can be converted to a functional component
|
|
// @vue/component
|
|
|
|
var BTr = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TR,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin, listenersMixin, normalizeSlotMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvTableTr: this
|
|
};
|
|
},
|
|
inject: {
|
|
bvTableRowGroup: {
|
|
/* istanbul ignore next */
|
|
default: function _default() {
|
|
return {};
|
|
}
|
|
}
|
|
},
|
|
inheritAttrs: false,
|
|
props: props$14,
|
|
computed: {
|
|
inTbody: function inTbody() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
return this.bvTableRowGroup.isTbody;
|
|
},
|
|
inThead: function inThead() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
return this.bvTableRowGroup.isThead;
|
|
},
|
|
inTfoot: function inTfoot() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
return this.bvTableRowGroup.isTfoot;
|
|
},
|
|
isDark: function isDark() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
return this.bvTableRowGroup.isDark;
|
|
},
|
|
isStacked: function isStacked() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
return this.bvTableRowGroup.isStacked;
|
|
},
|
|
isResponsive: function isResponsive() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
return this.bvTableRowGroup.isResponsive;
|
|
},
|
|
isStickyHeader: function isStickyHeader() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
// Sticky headers are only supported in thead
|
|
return this.bvTableRowGroup.isStickyHeader;
|
|
},
|
|
hasStickyHeader: function hasStickyHeader() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
// Needed to handle header background classes, due to lack of
|
|
// background color inheritance with Bootstrap v4 table CSS
|
|
return !this.isStacked && this.bvTableRowGroup.hasStickyHeader;
|
|
},
|
|
tableVariant: function tableVariant() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
return this.bvTableRowGroup.tableVariant;
|
|
},
|
|
headVariant: function headVariant() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
return this.inThead ? this.bvTableRowGroup.headVariant : null;
|
|
},
|
|
footVariant: function footVariant() {
|
|
// Sniffed by <b-td> / <b-th>
|
|
return this.inTfoot ? this.bvTableRowGroup.footVariant : null;
|
|
},
|
|
isRowDark: function isRowDark() {
|
|
return this.headVariant === LIGHT || this.footVariant === LIGHT ?
|
|
/* istanbul ignore next */
|
|
false : this.headVariant === DARK || this.footVariant === DARK ?
|
|
/* istanbul ignore next */
|
|
true : this.isDark;
|
|
},
|
|
trClasses: function trClasses() {
|
|
return [this.variant ? "".concat(this.isRowDark ? 'bg' : 'table', "-").concat(this.variant) : null];
|
|
},
|
|
trAttrs: function trAttrs() {
|
|
return _objectSpread2({
|
|
role: 'row'
|
|
}, this.bvAttrs);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
return h('tr', {
|
|
class: this.trClasses,
|
|
attrs: this.trAttrs,
|
|
// Pass native listeners to child
|
|
on: this.bvListeners
|
|
}, this.normalizeSlot());
|
|
}
|
|
});
|
|
|
|
var slotName = 'bottom-row';
|
|
var bottomRowMixin = {
|
|
methods: {
|
|
renderBottomRow: function renderBottomRow() {
|
|
var h = this.$createElement; // Static bottom row slot (hidden in visibly stacked mode as we can't control the data-label)
|
|
// If in *always* stacked mode, we don't bother rendering the row
|
|
|
|
if (!this.hasNormalizedSlot(slotName) || this.stacked === true || this.stacked === '') {
|
|
return h();
|
|
}
|
|
|
|
var fields = this.computedFields;
|
|
return h(BTr, {
|
|
key: 'b-bottom-row',
|
|
staticClass: 'b-table-bottom-row',
|
|
class: [isFunction(this.tbodyTrClass) ?
|
|
/* istanbul ignore next */
|
|
this.tbodyTrClass(null, 'row-bottom') : this.tbodyTrClass],
|
|
attrs: isFunction(this.tbodyTrAttr) ?
|
|
/* istanbul ignore next */
|
|
this.tbodyTrAttr(null, 'row-bottom') : this.tbodyTrAttr
|
|
}, this.normalizeSlot(slotName, {
|
|
columns: fields.length,
|
|
fields: fields
|
|
}));
|
|
}
|
|
}
|
|
};
|
|
|
|
// Parse a rowspan or colspan into a digit (or `null` if < `1` )
|
|
|
|
var parseSpan = function parseSpan(value) {
|
|
value = toInteger(value, 0);
|
|
return value > 0 ? value : null;
|
|
};
|
|
/* istanbul ignore next */
|
|
|
|
|
|
var spanValidator = function spanValidator(val) {
|
|
return isUndefinedOrNull(val) || parseSpan(val) > 0;
|
|
}; // --- Props ---
|
|
|
|
|
|
var props$15 = makePropsConfigurable({
|
|
variant: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
colspan: {
|
|
type: [Number, String],
|
|
default: null,
|
|
validator: spanValidator
|
|
},
|
|
rowspan: {
|
|
type: [Number, String],
|
|
default: null,
|
|
validator: spanValidator
|
|
},
|
|
stackedHeading: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
stickyColumn: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_TABLE_CELL); // --- Main component ---
|
|
// TODO:
|
|
// In Bootstrap v5, we won't need "sniffing" as table element variants properly inherit
|
|
// to the child elements, so this can be converted to a functional component
|
|
// @vue/component
|
|
|
|
var BTd = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TABLE_CELL,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin, listenersMixin, normalizeSlotMixin],
|
|
inject: {
|
|
bvTableTr: {
|
|
/* istanbul ignore next */
|
|
default: function _default() {
|
|
return {};
|
|
}
|
|
}
|
|
},
|
|
inheritAttrs: false,
|
|
props: props$15,
|
|
computed: {
|
|
tag: function tag() {
|
|
// Overridden by <b-th>
|
|
return 'td';
|
|
},
|
|
inTbody: function inTbody() {
|
|
return this.bvTableTr.inTbody;
|
|
},
|
|
inThead: function inThead() {
|
|
return this.bvTableTr.inThead;
|
|
},
|
|
inTfoot: function inTfoot() {
|
|
return this.bvTableTr.inTfoot;
|
|
},
|
|
isDark: function isDark() {
|
|
return this.bvTableTr.isDark;
|
|
},
|
|
isStacked: function isStacked() {
|
|
return this.bvTableTr.isStacked;
|
|
},
|
|
isStackedCell: function isStackedCell() {
|
|
// We only support stacked-heading in tbody in stacked mode
|
|
return this.inTbody && this.isStacked;
|
|
},
|
|
isResponsive: function isResponsive() {
|
|
return this.bvTableTr.isResponsive;
|
|
},
|
|
isStickyHeader: function isStickyHeader() {
|
|
// Needed to handle header background classes, due to lack of
|
|
// background color inheritance with Bootstrap v4 table CSS
|
|
// Sticky headers only apply to cells in table `thead`
|
|
return this.bvTableTr.isStickyHeader;
|
|
},
|
|
hasStickyHeader: function hasStickyHeader() {
|
|
// Needed to handle header background classes, due to lack of
|
|
// background color inheritance with Bootstrap v4 table CSS
|
|
return this.bvTableTr.hasStickyHeader;
|
|
},
|
|
isStickyColumn: function isStickyColumn() {
|
|
// Needed to handle background classes, due to lack of
|
|
// background color inheritance with Bootstrap v4 table CSS
|
|
// Sticky column cells are only available in responsive
|
|
// mode (horizontal scrolling) or when sticky header mode
|
|
// Applies to cells in `thead`, `tbody` and `tfoot`
|
|
return !this.isStacked && (this.isResponsive || this.hasStickyHeader) && this.stickyColumn;
|
|
},
|
|
rowVariant: function rowVariant() {
|
|
return this.bvTableTr.variant;
|
|
},
|
|
headVariant: function headVariant() {
|
|
return this.bvTableTr.headVariant;
|
|
},
|
|
footVariant: function footVariant() {
|
|
return this.bvTableTr.footVariant;
|
|
},
|
|
tableVariant: function tableVariant() {
|
|
return this.bvTableTr.tableVariant;
|
|
},
|
|
computedColspan: function computedColspan() {
|
|
return parseSpan(this.colspan);
|
|
},
|
|
computedRowspan: function computedRowspan() {
|
|
return parseSpan(this.rowspan);
|
|
},
|
|
cellClasses: function cellClasses() {
|
|
// We use computed props here for improved performance by caching
|
|
// the results of the string interpolation
|
|
var variant = this.variant;
|
|
|
|
if (!variant && this.isStickyHeader && !this.headVariant || !variant && this.isStickyColumn && this.inTfoot && !this.footVariant || !variant && this.isStickyColumn && this.inThead && !this.headVariant || !variant && this.isStickyColumn && this.inTbody) {
|
|
// Needed for sticky-header mode as Bootstrap v4 table cells do
|
|
// not inherit parent's background-color. Boo!
|
|
variant = this.rowVariant || this.tableVariant || 'b-table-default';
|
|
}
|
|
|
|
return [variant ? "".concat(this.isDark ? 'bg' : 'table', "-").concat(variant) : null, this.isStickyColumn ? 'b-table-sticky-column' : null];
|
|
},
|
|
cellAttrs: function cellAttrs() {
|
|
// We use computed props here for improved performance by caching
|
|
// the results of the object spread (Object.assign)
|
|
var headOrFoot = this.inThead || this.inTfoot; // Make sure col/rowspan's are > 0 or null
|
|
|
|
var colspan = this.computedColspan;
|
|
var rowspan = this.computedRowspan; // Default role and scope
|
|
|
|
var role = 'cell';
|
|
var scope = null; // Compute role and scope
|
|
// We only add scopes with an explicit span of 1 or greater
|
|
|
|
if (headOrFoot) {
|
|
// Header or footer cells
|
|
role = 'columnheader';
|
|
scope = colspan > 0 ? 'colspan' : 'col';
|
|
} else if (isTag(this.tag, 'th')) {
|
|
// th's in tbody
|
|
role = 'rowheader';
|
|
scope = rowspan > 0 ? 'rowgroup' : 'row';
|
|
}
|
|
|
|
return _objectSpread2(_objectSpread2({
|
|
colspan: colspan,
|
|
rowspan: rowspan,
|
|
role: role,
|
|
scope: scope
|
|
}, this.bvAttrs), {}, {
|
|
// Add in the stacked cell label data-attribute if in
|
|
// stacked mode (if a stacked heading label is provided)
|
|
'data-label': this.isStackedCell && !isUndefinedOrNull(this.stackedHeading) ?
|
|
/* istanbul ignore next */
|
|
toString$1(this.stackedHeading) : null
|
|
});
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var content = [this.normalizeSlot()];
|
|
return h(this.tag, {
|
|
class: this.cellClasses,
|
|
attrs: this.cellAttrs,
|
|
// Transfer any native listeners
|
|
on: this.bvListeners
|
|
}, [this.isStackedCell ? h('div', [content]) : content]);
|
|
}
|
|
});
|
|
|
|
var busySlotName = 'table-busy';
|
|
var busyMixin = {
|
|
props: makePropsConfigurable({
|
|
busy: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_TABLE),
|
|
data: function data() {
|
|
return {
|
|
localBusy: false
|
|
};
|
|
},
|
|
computed: {
|
|
computedBusy: function computedBusy() {
|
|
return this.busy || this.localBusy;
|
|
}
|
|
},
|
|
watch: {
|
|
localBusy: function localBusy(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
this.$emit('update:busy', newVal);
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
// Event handler helper
|
|
stopIfBusy: function stopIfBusy(evt) {
|
|
if (this.computedBusy) {
|
|
// If table is busy (via provider) then don't propagate
|
|
stopEvent(evt);
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
},
|
|
// Render the busy indicator or return `null` if not busy
|
|
renderBusy: function renderBusy() {
|
|
var h = this.$createElement; // Return a busy indicator row, or `null` if not busy
|
|
|
|
if (this.computedBusy && this.hasNormalizedSlot(busySlotName)) {
|
|
// Show the busy slot
|
|
return h(BTr, {
|
|
key: 'table-busy-slot',
|
|
staticClass: 'b-table-busy-slot',
|
|
class: [isFunction(this.tbodyTrClass) ?
|
|
/* istanbul ignore next */
|
|
this.tbodyTrClass(null, busySlotName) : this.tbodyTrClass],
|
|
attrs: isFunction(this.tbodyTrAttr) ?
|
|
/* istanbul ignore next */
|
|
this.tbodyTrAttr(null, busySlotName) : this.tbodyTrAttr
|
|
}, [h(BTd, {
|
|
props: {
|
|
colspan: this.computedFields.length || null
|
|
}
|
|
}, [this.normalizeSlot(busySlotName)])]);
|
|
} else {
|
|
// We return `null` here so that we can determine if we need to
|
|
// render the table items rows or not
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
var captionMixin = {
|
|
props: makePropsConfigurable({
|
|
// `caption-top` is part of table-render mixin (styling)
|
|
// captionTop: {
|
|
// type: Boolean,
|
|
// default: false
|
|
// },
|
|
caption: {
|
|
type: String // default: null
|
|
|
|
},
|
|
captionHtml: {
|
|
type: String
|
|
}
|
|
}, NAME_TABLE),
|
|
computed: {
|
|
captionId: function captionId() {
|
|
// Even though `this.safeId` looks like a method, it is a computed prop
|
|
// that returns a new function if the underlying ID changes
|
|
return this.isStacked ? this.safeId('_caption_') : null;
|
|
}
|
|
},
|
|
methods: {
|
|
renderCaption: function renderCaption() {
|
|
var caption = this.caption,
|
|
captionHtml = this.captionHtml;
|
|
var h = this.$createElement;
|
|
var $caption = h();
|
|
var hasCaptionSlot = this.hasNormalizedSlot('table-caption');
|
|
|
|
if (hasCaptionSlot || caption || captionHtml) {
|
|
$caption = h('caption', {
|
|
key: 'caption',
|
|
attrs: {
|
|
id: this.captionId
|
|
},
|
|
domProps: hasCaptionSlot ? {} : htmlOrText(captionHtml, caption)
|
|
}, this.normalizeSlot('table-caption'));
|
|
}
|
|
|
|
return $caption;
|
|
}
|
|
}
|
|
};
|
|
|
|
var colgroupMixin = {
|
|
methods: {
|
|
renderColgroup: function renderColgroup() {
|
|
var h = this.$createElement;
|
|
var fields = this.computedFields;
|
|
var $colgroup = h();
|
|
|
|
if (this.hasNormalizedSlot('table-colgroup')) {
|
|
$colgroup = h('colgroup', {
|
|
key: 'colgroup'
|
|
}, [this.normalizeSlot('table-colgroup', {
|
|
columns: fields.length,
|
|
fields: fields
|
|
})]);
|
|
}
|
|
|
|
return $colgroup;
|
|
}
|
|
}
|
|
};
|
|
|
|
var emptyMixin = {
|
|
props: makePropsConfigurable({
|
|
showEmpty: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
emptyText: {
|
|
type: String,
|
|
default: 'There are no records to show'
|
|
},
|
|
emptyHtml: {
|
|
type: String
|
|
},
|
|
emptyFilteredText: {
|
|
type: String,
|
|
default: 'There are no records matching your request'
|
|
},
|
|
emptyFilteredHtml: {
|
|
type: String
|
|
}
|
|
}, NAME_TABLE),
|
|
methods: {
|
|
renderEmpty: function renderEmpty() {
|
|
var h = this.$createElement;
|
|
var items = this.computedItems;
|
|
var $empty = h();
|
|
|
|
if (this.showEmpty && (!items || items.length === 0) && !(this.computedBusy && this.hasNormalizedSlot('table-busy'))) {
|
|
var isFiltered = this.isFiltered,
|
|
emptyText = this.emptyText,
|
|
emptyHtml = this.emptyHtml,
|
|
emptyFilteredText = this.emptyFilteredText,
|
|
emptyFilteredHtml = this.emptyFilteredHtml,
|
|
computedFields = this.computedFields,
|
|
tbodyTrClass = this.tbodyTrClass,
|
|
tbodyTrAttr = this.tbodyTrAttr;
|
|
$empty = this.normalizeSlot(this.isFiltered ? 'emptyfiltered' : 'empty', {
|
|
emptyFilteredHtml: emptyFilteredHtml,
|
|
emptyFilteredText: emptyFilteredText,
|
|
emptyHtml: emptyHtml,
|
|
emptyText: emptyText,
|
|
fields: computedFields,
|
|
// Not sure why this is included, as it will always be an empty array
|
|
items: this.computedItems
|
|
});
|
|
|
|
if (!$empty) {
|
|
$empty = h('div', {
|
|
class: ['text-center', 'my-2'],
|
|
domProps: isFiltered ? htmlOrText(emptyFilteredHtml, emptyFilteredText) : htmlOrText(emptyHtml, emptyText)
|
|
});
|
|
}
|
|
|
|
$empty = h(BTd, {
|
|
props: {
|
|
colspan: computedFields.length || null
|
|
}
|
|
}, [h('div', {
|
|
attrs: {
|
|
role: 'alert',
|
|
'aria-live': 'polite'
|
|
}
|
|
}, [$empty])]);
|
|
$empty = h(BTr, {
|
|
staticClass: 'b-table-empty-row',
|
|
class: [isFunction(tbodyTrClass) ?
|
|
/* istanbul ignore next */
|
|
this.tbodyTrClass(null, 'row-empty') : tbodyTrClass],
|
|
attrs: isFunction(tbodyTrAttr) ?
|
|
/* istanbul ignore next */
|
|
this.tbodyTrAttr(null, 'row-empty') : tbodyTrAttr,
|
|
key: isFiltered ? 'b-empty-filtered-row' : 'b-empty-row'
|
|
}, [$empty]);
|
|
}
|
|
|
|
return $empty;
|
|
}
|
|
}
|
|
};
|
|
|
|
// Constants used by table helpers
|
|
// Object of item keys that should be ignored for headers and
|
|
// stringification and filter events
|
|
var IGNORED_FIELD_KEYS = {
|
|
_rowVariant: true,
|
|
_cellVariants: true,
|
|
_showDetails: true
|
|
}; // Filter CSS selector for click/dblclick/etc. events
|
|
// If any of these selectors match the clicked element, we ignore the event
|
|
|
|
var EVENT_FILTER = ['a', 'a *', // Include content inside links
|
|
'button', 'button *', // Include content inside buttons
|
|
'input:not(.disabled):not([disabled])', 'select:not(.disabled):not([disabled])', 'textarea:not(.disabled):not([disabled])', '[role="link"]', '[role="link"] *', '[role="button"]', '[role="button"] *', '[tabindex]:not(.disabled):not([disabled])'].join(',');
|
|
|
|
var sanitizeRow = function sanitizeRow(row, ignoreFields, includeFields) {
|
|
var fieldsObj = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
// We first need to format the row based on the field configurations
|
|
// This ensures that we add formatted values for keys that may not
|
|
// exist in the row itself
|
|
var formattedRow = keys(fieldsObj).reduce(function (result, key) {
|
|
var field = fieldsObj[key];
|
|
var filterByFormatted = field.filterByFormatted;
|
|
var formatter = isFunction(filterByFormatted) ?
|
|
/* istanbul ignore next */
|
|
filterByFormatted : filterByFormatted ?
|
|
/* istanbul ignore next */
|
|
field.formatter : null;
|
|
|
|
if (isFunction(formatter)) {
|
|
result[key] = formatter(row[key], key, row);
|
|
}
|
|
|
|
return result;
|
|
}, clone(row)); // Determine the allowed keys:
|
|
// - Ignore special fields that start with `_`
|
|
// - Ignore fields in the `ignoreFields` array
|
|
// - Include only fields in the `includeFields` array
|
|
|
|
var allowedKeys = keys(formattedRow).filter(function (key) {
|
|
return !IGNORED_FIELD_KEYS[key] && !(isArray(ignoreFields) && ignoreFields.length > 0 && arrayIncludes(ignoreFields, key)) && !(isArray(includeFields) && includeFields.length > 0 && !arrayIncludes(includeFields, key));
|
|
});
|
|
return pick(formattedRow, allowedKeys);
|
|
};
|
|
|
|
// SSR safe deterministic way (keys are sorted before stringification)
|
|
//
|
|
// ex:
|
|
// { b: 3, c: { z: 'zzz', d: null, e: 2 }, d: [10, 12, 11], a: 'one' }
|
|
// becomes
|
|
// 'one 3 2 zzz 10 12 11'
|
|
//
|
|
// Primitives (numbers/strings) are returned as-is
|
|
// Null and undefined values are filtered out
|
|
// Dates are converted to their native string format
|
|
|
|
var stringifyObjectValues = function stringifyObjectValues(val) {
|
|
if (isUndefinedOrNull(val)) {
|
|
/* istanbul ignore next */
|
|
return '';
|
|
} // Arrays are also object, and keys just returns the array indexes
|
|
// Date objects we convert to strings
|
|
|
|
|
|
if (isObject(val) && !isDate(val)) {
|
|
return keys(val).sort() // Sort to prevent SSR issues on pre-rendered sorted tables
|
|
.filter(function (v) {
|
|
return !isUndefinedOrNull(v);
|
|
}) // Ignore undefined/null values
|
|
.map(function (k) {
|
|
return stringifyObjectValues(val[k]);
|
|
}).join(' ');
|
|
}
|
|
|
|
return toString$1(val);
|
|
};
|
|
|
|
// TODO: Add option to stringify `scopedSlot` items
|
|
|
|
var stringifyRecordValues = function stringifyRecordValues(row, ignoreFields, includeFields, fieldsObj) {
|
|
return isObject(row) ? stringifyObjectValues(sanitizeRow(row, ignoreFields, includeFields, fieldsObj)) :
|
|
/* istanbul ignore next */
|
|
'';
|
|
};
|
|
|
|
var DEBOUNCE_DEPRECATED_MSG = 'Prop "filter-debounce" is deprecated. Use the debounce feature of "<b-form-input>" instead.';
|
|
var filteringMixin = {
|
|
props: makePropsConfigurable({
|
|
filter: {
|
|
type: [String, RegExp, Object, Array],
|
|
default: null
|
|
},
|
|
filterFunction: {
|
|
type: Function // default: null
|
|
|
|
},
|
|
filterIgnoredFields: {
|
|
type: Array // default: undefined
|
|
|
|
},
|
|
filterIncludedFields: {
|
|
type: Array // default: undefined
|
|
|
|
},
|
|
filterDebounce: {
|
|
type: [Number, String],
|
|
deprecated: DEBOUNCE_DEPRECATED_MSG,
|
|
default: 0,
|
|
validator: function validator(value) {
|
|
return /^\d+/.test(String(value));
|
|
}
|
|
}
|
|
}, NAME_TABLE),
|
|
data: function data() {
|
|
return {
|
|
// Flag for displaying which empty slot to show and some event triggering
|
|
isFiltered: false,
|
|
// Where we store the copy of the filter criteria after debouncing
|
|
// We pre-set it with the sanitized filter value
|
|
localFilter: this.filterSanitize(this.filter)
|
|
};
|
|
},
|
|
computed: {
|
|
computedFilterIgnored: function computedFilterIgnored() {
|
|
return concat(this.filterIgnoredFields || []).filter(identity);
|
|
},
|
|
computedFilterIncluded: function computedFilterIncluded() {
|
|
return concat(this.filterIncludedFields || []).filter(identity);
|
|
},
|
|
computedFilterDebounce: function computedFilterDebounce() {
|
|
var ms = toInteger(this.filterDebounce, 0);
|
|
/* istanbul ignore next */
|
|
|
|
if (ms > 0) {
|
|
warn(DEBOUNCE_DEPRECATED_MSG, NAME_TABLE);
|
|
}
|
|
|
|
return ms;
|
|
},
|
|
localFiltering: function localFiltering() {
|
|
return this.hasProvider ? !!this.noProviderFiltering : true;
|
|
},
|
|
// For watching changes to `filteredItems` vs `localItems`
|
|
filteredCheck: function filteredCheck() {
|
|
return {
|
|
filteredItems: this.filteredItems,
|
|
localItems: this.localItems,
|
|
localFilter: this.localFilter
|
|
};
|
|
},
|
|
// Sanitized/normalize filter-function prop
|
|
localFilterFn: function localFilterFn() {
|
|
// Return `null` to signal to use internal filter function
|
|
var filterFunction = this.filterFunction;
|
|
var result = null;
|
|
|
|
try {
|
|
result = filterFunction();
|
|
} catch (_unused) {}
|
|
|
|
return isUndefined(result) ? null : filterFunction;
|
|
},
|
|
// Returns the records in `localItems` that match the filter criteria
|
|
// Returns the original `localItems` array if not sorting
|
|
filteredItems: function filteredItems() {
|
|
var items = this.localItems || []; // Note the criteria is debounced and sanitized
|
|
|
|
var criteria = this.localFilter; // Resolve the filtering function, when requested
|
|
// We prefer the provided filtering function and fallback to the internal one
|
|
// When no filtering criteria is specified the filtering factories will return `null`
|
|
|
|
var filterFn = this.localFiltering ? this.filterFnFactory(this.localFilterFn, criteria) || this.defaultFilterFnFactory(criteria) : null; // We only do local filtering when requested and there are records to filter
|
|
|
|
return filterFn && items.length > 0 ? items.filter(filterFn) : items;
|
|
}
|
|
},
|
|
watch: {
|
|
// Watch for debounce being set to 0
|
|
computedFilterDebounce: function computedFilterDebounce(newVal) {
|
|
if (!newVal && this.$_filterTimer) {
|
|
this.clearFilterTimer();
|
|
this.localFilter = this.filterSanitize(this.filter);
|
|
}
|
|
},
|
|
// Watch for changes to the filter criteria, and debounce if necessary
|
|
filter: {
|
|
// We need a deep watcher in case the user passes
|
|
// an object when using `filter-function`
|
|
deep: true,
|
|
handler: function handler(newCriteria) {
|
|
var _this = this;
|
|
|
|
var timeout = this.computedFilterDebounce;
|
|
this.clearFilterTimer();
|
|
|
|
if (timeout && timeout > 0) {
|
|
// If we have a debounce time, delay the update of `localFilter`
|
|
this.$_filterTimer = setTimeout(function () {
|
|
_this.localFilter = _this.filterSanitize(newCriteria);
|
|
}, timeout);
|
|
} else {
|
|
// Otherwise, immediately update `localFilter` with `newFilter` value
|
|
this.localFilter = this.filterSanitize(newCriteria);
|
|
}
|
|
}
|
|
},
|
|
// Watch for changes to the filter criteria and filtered items vs `localItems`
|
|
// Set visual state and emit events as required
|
|
filteredCheck: function filteredCheck(_ref) {
|
|
var filteredItems = _ref.filteredItems,
|
|
localFilter = _ref.localFilter;
|
|
// Determine if the dataset is filtered or not
|
|
var isFiltered = false;
|
|
|
|
if (!localFilter) {
|
|
// If filter criteria is falsey
|
|
isFiltered = false;
|
|
} else if (looseEqual(localFilter, []) || looseEqual(localFilter, {})) {
|
|
// If filter criteria is an empty array or object
|
|
isFiltered = false;
|
|
} else if (localFilter) {
|
|
// If filter criteria is truthy
|
|
isFiltered = true;
|
|
}
|
|
|
|
if (isFiltered) {
|
|
this.$emit('filtered', filteredItems, filteredItems.length);
|
|
}
|
|
|
|
this.isFiltered = isFiltered;
|
|
},
|
|
isFiltered: function isFiltered(newVal, oldVal) {
|
|
if (newVal === false && oldVal === true) {
|
|
// We need to emit a filtered event if isFiltered transitions from true to
|
|
// false so that users can update their pagination controls.
|
|
this.$emit('filtered', this.localItems, this.localItems.length);
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
var _this2 = this;
|
|
|
|
// Create private non-reactive props
|
|
this.$_filterTimer = null; // If filter is "pre-set", set the criteria
|
|
// This will trigger any watchers/dependents
|
|
// this.localFilter = this.filterSanitize(this.filter)
|
|
// Set the initial filtered state in a `$nextTick()` so that
|
|
// we trigger a filtered event if needed
|
|
|
|
this.$nextTick(function () {
|
|
_this2.isFiltered = Boolean(_this2.localFilter);
|
|
});
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.clearFilterTimer();
|
|
},
|
|
methods: {
|
|
clearFilterTimer: function clearFilterTimer() {
|
|
clearTimeout(this.$_filterTimer);
|
|
this.$_filterTimer = null;
|
|
},
|
|
filterSanitize: function filterSanitize(criteria) {
|
|
// Sanitizes filter criteria based on internal or external filtering
|
|
if (this.localFiltering && !this.localFilterFn && !(isString(criteria) || isRegExp(criteria))) {
|
|
// If using internal filter function, which only accepts string or RegExp,
|
|
// return '' to signify no filter
|
|
return '';
|
|
} // Could be a string, object or array, as needed by external filter function
|
|
// We use `cloneDeep` to ensure we have a new copy of an object or array
|
|
// without Vue's reactive observers
|
|
|
|
|
|
return cloneDeep(criteria);
|
|
},
|
|
// Filter Function factories
|
|
filterFnFactory: function filterFnFactory(filterFn, criteria) {
|
|
// Wrapper factory for external filter functions
|
|
// Wrap the provided filter-function and return a new function
|
|
// Returns `null` if no filter-function defined or if criteria is falsey
|
|
// Rather than directly grabbing `this.computedLocalFilterFn` or `this.filterFunction`
|
|
// we have it passed, so that the caller computed prop will be reactive to changes
|
|
// in the original filter-function (as this routine is a method)
|
|
if (!filterFn || !isFunction(filterFn) || !criteria || looseEqual(criteria, []) || looseEqual(criteria, {})) {
|
|
return null;
|
|
} // Build the wrapped filter test function, passing the criteria to the provided function
|
|
|
|
|
|
var fn = function fn(item) {
|
|
// Generated function returns true if the criteria matches part
|
|
// of the serialized data, otherwise false
|
|
return filterFn(item, criteria);
|
|
}; // Return the wrapped function
|
|
|
|
|
|
return fn;
|
|
},
|
|
defaultFilterFnFactory: function defaultFilterFnFactory(criteria) {
|
|
var _this3 = this;
|
|
|
|
// Generates the default filter function, using the given filter criteria
|
|
// Returns `null` if no criteria or criteria format not supported
|
|
if (!criteria || !(isString(criteria) || isRegExp(criteria))) {
|
|
// Built in filter can only support strings or RegExp criteria (at the moment)
|
|
return null;
|
|
} // Build the RegExp needed for filtering
|
|
|
|
|
|
var regExp = criteria;
|
|
|
|
if (isString(regExp)) {
|
|
// Escape special RegExp characters in the string and convert contiguous
|
|
// whitespace to \s+ matches
|
|
var pattern = escapeRegExp(criteria).replace(RX_SPACES, '\\s+'); // Build the RegExp (no need for global flag, as we only need
|
|
// to find the value once in the string)
|
|
|
|
regExp = new RegExp(".*".concat(pattern, ".*"), 'i');
|
|
} // Generate the wrapped filter test function to use
|
|
|
|
|
|
var fn = function fn(item) {
|
|
// This searches all row values (and sub property values) in the entire (excluding
|
|
// special `_` prefixed keys), because we convert the record to a space-separated
|
|
// string containing all the value properties (recursively), even ones that are
|
|
// not visible (not specified in this.fields)
|
|
// Users can ignore filtering on specific fields, or on only certain fields,
|
|
// and can optionall specify searching results of fields with formatter
|
|
//
|
|
// TODO: Enable searching on scoped slots (optional, as it will be SLOW)
|
|
//
|
|
// Generated function returns true if the criteria matches part of
|
|
// the serialized data, otherwise false
|
|
//
|
|
// We set `lastIndex = 0` on the `RegExp` in case someone specifies the `/g` global flag
|
|
regExp.lastIndex = 0;
|
|
return regExp.test(stringifyRecordValues(item, _this3.computedFilterIgnored, _this3.computedFilterIncluded, _this3.computedFieldsObj));
|
|
}; // Return the generated function
|
|
|
|
|
|
return fn;
|
|
}
|
|
}
|
|
};
|
|
|
|
var processField = function processField(key, value) {
|
|
var field = null;
|
|
|
|
if (isString(value)) {
|
|
// Label shortcut
|
|
field = {
|
|
key: key,
|
|
label: value
|
|
};
|
|
} else if (isFunction(value)) {
|
|
// Formatter shortcut
|
|
field = {
|
|
key: key,
|
|
formatter: value
|
|
};
|
|
} else if (isObject(value)) {
|
|
field = clone(value);
|
|
field.key = field.key || key;
|
|
} else if (value !== false) {
|
|
// Fallback to just key
|
|
|
|
/* istanbul ignore next */
|
|
field = {
|
|
key: key
|
|
};
|
|
}
|
|
|
|
return field;
|
|
}; // We normalize fields into an array of objects
|
|
// [ { key:..., label:..., ...}, {...}, ..., {..}]
|
|
|
|
|
|
var normalizeFields = function normalizeFields(origFields, items) {
|
|
var fields = [];
|
|
|
|
if (isArray(origFields)) {
|
|
// Normalize array Form
|
|
origFields.filter(identity).forEach(function (f) {
|
|
if (isString(f)) {
|
|
fields.push({
|
|
key: f,
|
|
label: startCase(f)
|
|
});
|
|
} else if (isObject(f) && f.key && isString(f.key)) {
|
|
// Full object definition. We use assign so that we don't mutate the original
|
|
fields.push(clone(f));
|
|
} else if (isObject(f) && keys(f).length === 1) {
|
|
// Shortcut object (i.e. { 'foo_bar': 'This is Foo Bar' }
|
|
var key = keys(f)[0];
|
|
var field = processField(key, f[key]);
|
|
|
|
if (field) {
|
|
fields.push(field);
|
|
}
|
|
}
|
|
});
|
|
} // If no field provided, take a sample from first record (if exits)
|
|
|
|
|
|
if (fields.length === 0 && isArray(items) && items.length > 0) {
|
|
var sample = items[0];
|
|
keys(sample).forEach(function (k) {
|
|
if (!IGNORED_FIELD_KEYS[k]) {
|
|
fields.push({
|
|
key: k,
|
|
label: startCase(k)
|
|
});
|
|
}
|
|
});
|
|
} // Ensure we have a unique array of fields and that they have String labels
|
|
|
|
|
|
var memo = {};
|
|
return fields.filter(function (f) {
|
|
if (!memo[f.key]) {
|
|
memo[f.key] = true;
|
|
f.label = isString(f.label) ? f.label : startCase(f.key);
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
});
|
|
};
|
|
|
|
var itemsMixin = {
|
|
props: makePropsConfigurable({
|
|
items: {
|
|
// Provider mixin adds in `Function` type
|
|
type: Array,
|
|
|
|
/* istanbul ignore next */
|
|
default: function _default() {
|
|
return [];
|
|
}
|
|
},
|
|
fields: {
|
|
type: Array,
|
|
default: null
|
|
},
|
|
primaryKey: {
|
|
// Primary key for record
|
|
// If provided the value in each row must be unique!
|
|
type: String // default: null
|
|
|
|
},
|
|
value: {
|
|
// `v-model` for retrieving the current displayed rows
|
|
type: Array,
|
|
default: function _default() {
|
|
return [];
|
|
}
|
|
}
|
|
}, NAME_TABLE),
|
|
data: function data() {
|
|
return {
|
|
// Our local copy of the items
|
|
// Must be an array
|
|
localItems: isArray(this.items) ? this.items.slice() : []
|
|
};
|
|
},
|
|
computed: {
|
|
computedFields: function computedFields() {
|
|
// We normalize fields into an array of objects
|
|
// `[ { key:..., label:..., ...}, {...}, ..., {..}]`
|
|
return normalizeFields(this.fields, this.localItems);
|
|
},
|
|
computedFieldsObj: function computedFieldsObj() {
|
|
// Fields as a simple lookup hash object
|
|
// Mainly for formatter lookup and use in `scopedSlots` for convenience
|
|
// If the field has a formatter, it normalizes formatter to a
|
|
// function ref or `undefined` if no formatter
|
|
var parent = this.$parent;
|
|
return this.computedFields.reduce(function (obj, f) {
|
|
// We use object spread here so we don't mutate the original field object
|
|
obj[f.key] = clone(f);
|
|
|
|
if (f.formatter) {
|
|
// Normalize formatter to a function ref or `undefined`
|
|
var formatter = f.formatter;
|
|
|
|
if (isString(formatter) && isFunction(parent[formatter])) {
|
|
formatter = parent[formatter];
|
|
} else if (!isFunction(formatter)) {
|
|
/* istanbul ignore next */
|
|
formatter = undefined;
|
|
} // Return formatter function or `undefined` if none
|
|
|
|
|
|
obj[f.key].formatter = formatter;
|
|
}
|
|
|
|
return obj;
|
|
}, {});
|
|
},
|
|
computedItems: function computedItems() {
|
|
// Fallback if various mixins not provided
|
|
return (this.paginatedItems || this.sortedItems || this.filteredItems || this.localItems ||
|
|
/* istanbul ignore next */
|
|
[]).slice();
|
|
},
|
|
context: function context() {
|
|
// Current state of sorting, filtering and pagination props/values
|
|
return {
|
|
filter: this.localFilter,
|
|
sortBy: this.localSortBy,
|
|
sortDesc: this.localSortDesc,
|
|
perPage: mathMax(toInteger(this.perPage, 0), 0),
|
|
currentPage: mathMax(toInteger(this.currentPage, 0), 1),
|
|
apiUrl: this.apiUrl
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
items: function items(newItems) {
|
|
/* istanbul ignore else */
|
|
if (isArray(newItems)) {
|
|
// Set `localItems`/`filteredItems` to a copy of the provided array
|
|
this.localItems = newItems.slice();
|
|
} else if (isUndefinedOrNull(newItems)) {
|
|
/* istanbul ignore next */
|
|
this.localItems = [];
|
|
}
|
|
},
|
|
// Watch for changes on `computedItems` and update the `v-model`
|
|
computedItems: function computedItems(newVal, oldVal) {
|
|
if (!looseEqual(newVal, oldVal)) {
|
|
this.$emit('input', newVal);
|
|
}
|
|
},
|
|
// Watch for context changes
|
|
context: function context(newVal, oldVal) {
|
|
// Emit context information for external paging/filtering/sorting handling
|
|
if (!looseEqual(newVal, oldVal)) {
|
|
this.$emit('context-changed', newVal);
|
|
}
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
// Initially update the `v-model` of displayed items
|
|
this.$emit('input', this.computedItems);
|
|
},
|
|
methods: {
|
|
// Method to get the formatter method for a given field key
|
|
getFieldFormatter: function getFieldFormatter(key) {
|
|
var field = this.computedFieldsObj[key]; // `this.computedFieldsObj` has pre-normalized the formatter to a
|
|
// function ref if present, otherwise `undefined`
|
|
|
|
return field ? field.formatter : undefined;
|
|
}
|
|
}
|
|
};
|
|
|
|
var paginationMixin$1 = {
|
|
props: makePropsConfigurable({
|
|
perPage: {
|
|
type: [Number, String],
|
|
default: 0
|
|
},
|
|
currentPage: {
|
|
type: [Number, String],
|
|
default: 1
|
|
}
|
|
}, NAME_TABLE),
|
|
computed: {
|
|
localPaging: function localPaging() {
|
|
return this.hasProvider ? !!this.noProviderPaging : true;
|
|
},
|
|
paginatedItems: function paginatedItems() {
|
|
var items = this.sortedItems || this.filteredItems || this.localItems || [];
|
|
var currentPage = mathMax(toInteger(this.currentPage, 1), 1);
|
|
var perPage = mathMax(toInteger(this.perPage, 0), 0); // Apply local pagination
|
|
|
|
if (this.localPaging && !!perPage) {
|
|
// Grab the current page of data (which may be past filtered items limit)
|
|
items = items.slice((currentPage - 1) * perPage, currentPage * perPage);
|
|
} // Return the items to display in the table
|
|
|
|
|
|
return items;
|
|
}
|
|
}
|
|
};
|
|
|
|
var providerMixin = {
|
|
mixins: [listenOnRootMixin],
|
|
props: makePropsConfigurable({
|
|
// Prop override(s)
|
|
items: {
|
|
// Adds in 'Function' support
|
|
type: [Array, Function],
|
|
|
|
/* istanbul ignore next */
|
|
default: function _default() {
|
|
return [];
|
|
}
|
|
},
|
|
// Additional props
|
|
noProviderPaging: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noProviderSorting: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noProviderFiltering: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
apiUrl: {
|
|
// Passthrough prop. Passed to the context object. Not used by b-table directly
|
|
type: String,
|
|
default: ''
|
|
}
|
|
}, NAME_TABLE),
|
|
computed: {
|
|
hasProvider: function hasProvider() {
|
|
return isFunction(this.items);
|
|
},
|
|
providerTriggerContext: function providerTriggerContext() {
|
|
// Used to trigger the provider function via a watcher. Only the fields that
|
|
// are needed for triggering a provider update are included. Note that the
|
|
// regular this.context is sent to the provider during fetches though, as they
|
|
// may need all the prop info.
|
|
var ctx = {
|
|
apiUrl: this.apiUrl,
|
|
filter: null,
|
|
sortBy: null,
|
|
sortDesc: null,
|
|
perPage: null,
|
|
currentPage: null
|
|
};
|
|
|
|
if (!this.noProviderFiltering) {
|
|
// Either a string, or could be an object or array.
|
|
ctx.filter = this.localFilter;
|
|
}
|
|
|
|
if (!this.noProviderSorting) {
|
|
ctx.sortBy = this.localSortBy;
|
|
ctx.sortDesc = this.localSortDesc;
|
|
}
|
|
|
|
if (!this.noProviderPaging) {
|
|
ctx.perPage = this.perPage;
|
|
ctx.currentPage = this.currentPage;
|
|
}
|
|
|
|
return clone(ctx);
|
|
}
|
|
},
|
|
watch: {
|
|
// Provider update triggering
|
|
items: function items(newVal) {
|
|
// If a new provider has been specified, trigger an update
|
|
if (this.hasProvider || isFunction(newVal)) {
|
|
this.$nextTick(this._providerUpdate);
|
|
}
|
|
},
|
|
providerTriggerContext: function providerTriggerContext(newVal, oldVal) {
|
|
// Trigger the provider to update as the relevant context values have changed.
|
|
if (!looseEqual(newVal, oldVal)) {
|
|
this.$nextTick(this._providerUpdate);
|
|
}
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
var _this = this;
|
|
|
|
// Call the items provider if necessary
|
|
if (this.hasProvider && (!this.localItems || this.localItems.length === 0)) {
|
|
// Fetch on mount if localItems is empty
|
|
this._providerUpdate();
|
|
} // Listen for global messages to tell us to force refresh the table
|
|
|
|
|
|
this.listenOnRoot('bv::refresh::table', function (id) {
|
|
if (id === _this.id || id === _this) {
|
|
_this.refresh();
|
|
}
|
|
});
|
|
},
|
|
methods: {
|
|
refresh: function refresh() {
|
|
// Public Method: Force a refresh of the provider function
|
|
this.$off('refreshed', this.refresh);
|
|
|
|
if (this.computedBusy) {
|
|
// Can't force an update when forced busy by user (busy prop === true)
|
|
if (this.localBusy && this.hasProvider) {
|
|
// But if provider running (localBusy), re-schedule refresh once `refreshed` emitted
|
|
this.$on('refreshed', this.refresh);
|
|
}
|
|
} else {
|
|
this.clearSelected();
|
|
|
|
if (this.hasProvider) {
|
|
this.$nextTick(this._providerUpdate);
|
|
} else {
|
|
/* istanbul ignore next */
|
|
this.localItems = isArray(this.items) ? this.items.slice() : [];
|
|
}
|
|
}
|
|
},
|
|
// Provider related methods
|
|
_providerSetLocal: function _providerSetLocal(items) {
|
|
this.localItems = isArray(items) ? items.slice() : [];
|
|
this.localBusy = false;
|
|
this.$emit('refreshed'); // New root emit
|
|
|
|
if (this.id) {
|
|
this.emitOnRoot('bv::table::refreshed', this.id);
|
|
}
|
|
},
|
|
_providerUpdate: function _providerUpdate() {
|
|
var _this2 = this;
|
|
|
|
// Refresh the provider function items.
|
|
if (!this.hasProvider) {
|
|
// Do nothing if no provider
|
|
return;
|
|
} // If table is busy, wait until refreshed before calling again
|
|
|
|
|
|
if (this.computedBusy) {
|
|
// Schedule a new refresh once `refreshed` is emitted
|
|
this.$nextTick(this.refresh);
|
|
return;
|
|
} // Set internal busy state
|
|
|
|
|
|
this.localBusy = true; // Call provider function with context and optional callback after DOM is fully updated
|
|
|
|
this.$nextTick(function () {
|
|
try {
|
|
// Call provider function passing it the context and optional callback
|
|
var data = _this2.items(_this2.context, _this2._providerSetLocal);
|
|
|
|
if (isPromise(data)) {
|
|
// Provider returned Promise
|
|
data.then(function (items) {
|
|
// Provider resolved with items
|
|
_this2._providerSetLocal(items);
|
|
});
|
|
} else if (isArray(data)) {
|
|
// Provider returned Array data
|
|
_this2._providerSetLocal(data);
|
|
} else {
|
|
/* istanbul ignore if */
|
|
if (_this2.items.length !== 2) {
|
|
// Check number of arguments provider function requested
|
|
// Provider not using callback (didn't request second argument), so we clear
|
|
// busy state as most likely there was an error in the provider function
|
|
|
|
/* istanbul ignore next */
|
|
warn("Provider function didn't request callback and did not return a promise or data.", NAME_TABLE);
|
|
_this2.localBusy = false;
|
|
}
|
|
}
|
|
} catch (e)
|
|
/* istanbul ignore next */
|
|
{
|
|
// Provider function borked on us, so we spew out a warning
|
|
// and clear the busy state
|
|
warn("Provider function error [".concat(e.name, "] ").concat(e.message, "."), NAME_TABLE);
|
|
_this2.localBusy = false;
|
|
|
|
_this2.$off('refreshed', _this2.refresh);
|
|
}
|
|
});
|
|
}
|
|
}
|
|
};
|
|
|
|
var SELECT_MODES = ['range', 'multi', 'single'];
|
|
var selectableMixin = {
|
|
props: makePropsConfigurable({
|
|
selectable: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
selectMode: {
|
|
type: String,
|
|
default: 'multi',
|
|
validator: function validator(value) {
|
|
return arrayIncludes(SELECT_MODES, value);
|
|
}
|
|
},
|
|
selectedVariant: {
|
|
type: String,
|
|
default: 'active'
|
|
},
|
|
noSelectOnClick: {
|
|
// Disable use of click handlers for row selection
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_TABLE),
|
|
data: function data() {
|
|
return {
|
|
selectedRows: [],
|
|
selectedLastRow: -1
|
|
};
|
|
},
|
|
computed: {
|
|
isSelectable: function isSelectable() {
|
|
return this.selectable && this.selectMode;
|
|
},
|
|
hasSelectableRowClick: function hasSelectableRowClick() {
|
|
return this.isSelectable && !this.noSelectOnClick;
|
|
},
|
|
supportsSelectableRows: function supportsSelectableRows() {
|
|
return true;
|
|
},
|
|
selectableHasSelection: function selectableHasSelection() {
|
|
return this.isSelectable && this.selectedRows && this.selectedRows.length > 0 && this.selectedRows.some(identity);
|
|
},
|
|
selectableIsMultiSelect: function selectableIsMultiSelect() {
|
|
return this.isSelectable && arrayIncludes(['range', 'multi'], this.selectMode);
|
|
},
|
|
selectableTableClasses: function selectableTableClasses() {
|
|
var _ref;
|
|
|
|
return _ref = {
|
|
'b-table-selectable': this.isSelectable
|
|
}, _defineProperty(_ref, "b-table-select-".concat(this.selectMode), this.isSelectable), _defineProperty(_ref, 'b-table-selecting', this.selectableHasSelection), _defineProperty(_ref, 'b-table-selectable-no-click', this.isSelectable && !this.hasSelectableRowClick), _ref;
|
|
},
|
|
selectableTableAttrs: function selectableTableAttrs() {
|
|
return {
|
|
// TODO:
|
|
// Should this attribute not be included when no-select-on-click is set
|
|
// since this attribute implies keyboard navigation?
|
|
'aria-multiselectable': !this.isSelectable ? null : this.selectableIsMultiSelect ? 'true' : 'false'
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
computedItems: function computedItems(newVal, oldVal) {
|
|
// Reset for selectable
|
|
var equal = false;
|
|
|
|
if (this.isSelectable && this.selectedRows.length > 0) {
|
|
// Quick check against array length
|
|
equal = isArray(newVal) && isArray(oldVal) && newVal.length === oldVal.length;
|
|
|
|
for (var i = 0; equal && i < newVal.length; i++) {
|
|
// Look for the first non-loosely equal row, after ignoring reserved fields
|
|
equal = looseEqual(sanitizeRow(newVal[i]), sanitizeRow(oldVal[i]));
|
|
}
|
|
}
|
|
|
|
if (!equal) {
|
|
this.clearSelected();
|
|
}
|
|
},
|
|
selectable: function selectable(newVal) {
|
|
this.clearSelected();
|
|
this.setSelectionHandlers(newVal);
|
|
},
|
|
selectMode: function selectMode() {
|
|
this.clearSelected();
|
|
},
|
|
hasSelectableRowClick: function hasSelectableRowClick(newVal) {
|
|
this.clearSelected();
|
|
this.setSelectionHandlers(!newVal);
|
|
},
|
|
selectedRows: function selectedRows(_selectedRows, oldVal) {
|
|
var _this = this;
|
|
|
|
if (this.isSelectable && !looseEqual(_selectedRows, oldVal)) {
|
|
var items = []; // `.forEach()` skips over non-existent indices (on sparse arrays)
|
|
|
|
_selectedRows.forEach(function (v, idx) {
|
|
if (v) {
|
|
items.push(_this.computedItems[idx]);
|
|
}
|
|
});
|
|
|
|
this.$emit('row-selected', items);
|
|
}
|
|
}
|
|
},
|
|
beforeMount: function beforeMount() {
|
|
// Set up handlers if needed
|
|
if (this.isSelectable) {
|
|
this.setSelectionHandlers(true);
|
|
}
|
|
},
|
|
methods: {
|
|
// Public methods
|
|
selectRow: function selectRow(index) {
|
|
// Select a particular row (indexed based on computedItems)
|
|
if (this.isSelectable && isNumber(index) && index >= 0 && index < this.computedItems.length && !this.isRowSelected(index)) {
|
|
var selectedRows = this.selectableIsMultiSelect ? this.selectedRows.slice() : [];
|
|
selectedRows[index] = true;
|
|
this.selectedLastClicked = -1;
|
|
this.selectedRows = selectedRows;
|
|
}
|
|
},
|
|
unselectRow: function unselectRow(index) {
|
|
// Un-select a particular row (indexed based on `computedItems`)
|
|
if (this.isSelectable && isNumber(index) && this.isRowSelected(index)) {
|
|
var selectedRows = this.selectedRows.slice();
|
|
selectedRows[index] = false;
|
|
this.selectedLastClicked = -1;
|
|
this.selectedRows = selectedRows;
|
|
}
|
|
},
|
|
selectAllRows: function selectAllRows() {
|
|
var length = this.computedItems.length;
|
|
|
|
if (this.isSelectable && length > 0) {
|
|
this.selectedLastClicked = -1;
|
|
this.selectedRows = this.selectableIsMultiSelect ? range(length).map(function () {
|
|
return true;
|
|
}) : [true];
|
|
}
|
|
},
|
|
isRowSelected: function isRowSelected(index) {
|
|
// Determine if a row is selected (indexed based on `computedItems`)
|
|
return !!(isNumber(index) && this.selectedRows[index]);
|
|
},
|
|
clearSelected: function clearSelected() {
|
|
// Clear any active selected row(s)
|
|
this.selectedLastClicked = -1;
|
|
this.selectedRows = [];
|
|
},
|
|
// Internal private methods
|
|
selectableRowClasses: function selectableRowClasses(index) {
|
|
if (this.isSelectable && this.isRowSelected(index)) {
|
|
var variant = this.selectedVariant;
|
|
return _defineProperty({
|
|
'b-table-row-selected': true
|
|
}, "".concat(this.dark ? 'bg' : 'table', "-").concat(variant), variant);
|
|
} else {
|
|
return {};
|
|
}
|
|
},
|
|
selectableRowAttrs: function selectableRowAttrs(index) {
|
|
return {
|
|
'aria-selected': !this.isSelectable ? null : this.isRowSelected(index) ? 'true' : 'false'
|
|
};
|
|
},
|
|
setSelectionHandlers: function setSelectionHandlers(on) {
|
|
var method = on && !this.noSelectOnClick ? '$on' : '$off'; // Handle row-clicked event
|
|
|
|
this[method]('row-clicked', this.selectionHandler); // Clear selection on filter, pagination, and sort changes
|
|
|
|
this[method]('filtered', this.clearSelected);
|
|
this[method]('context-changed', this.clearSelected);
|
|
},
|
|
selectionHandler: function selectionHandler(item, index, evt) {
|
|
/* istanbul ignore if: should never happen */
|
|
if (!this.isSelectable || this.noSelectOnClick) {
|
|
// Don't do anything if table is not in selectable mode
|
|
this.clearSelected();
|
|
return;
|
|
}
|
|
|
|
var selectMode = this.selectMode;
|
|
var selectedRows = this.selectedRows.slice();
|
|
var selected = !selectedRows[index]; // Note 'multi' mode needs no special event handling
|
|
|
|
if (selectMode === 'single') {
|
|
selectedRows = [];
|
|
} else if (selectMode === 'range') {
|
|
if (this.selectedLastRow > -1 && evt.shiftKey) {
|
|
// range
|
|
for (var idx = mathMin(this.selectedLastRow, index); idx <= mathMax(this.selectedLastRow, index); idx++) {
|
|
selectedRows[idx] = true;
|
|
}
|
|
|
|
selected = true;
|
|
} else {
|
|
if (!(evt.ctrlKey || evt.metaKey)) {
|
|
// Clear range selection if any
|
|
selectedRows = [];
|
|
selected = true;
|
|
}
|
|
|
|
this.selectedLastRow = selected ? index : -1;
|
|
}
|
|
}
|
|
|
|
selectedRows[index] = selected;
|
|
this.selectedRows = selectedRows;
|
|
}
|
|
}
|
|
};
|
|
|
|
/*
|
|
* Consistent and stable sort function across JavaScript platforms
|
|
*
|
|
* Inconsistent sorts can cause SSR problems between client and server
|
|
* such as in <b-table> if sortBy is applied to the data on server side render.
|
|
* Chrome and V8 native sorts are inconsistent/unstable
|
|
*
|
|
* This function uses native sort with fallback to index compare when the a and b
|
|
* compare returns 0
|
|
*
|
|
* Algorithm based on:
|
|
* https://stackoverflow.com/questions/1427608/fast-stable-sorting-algorithm-implementation-in-javascript/45422645#45422645
|
|
*
|
|
* @param {array} array to sort
|
|
* @param {function} sort compare function
|
|
* @return {array}
|
|
*/
|
|
var stableSort = function stableSort(array, compareFn) {
|
|
// Using `.bind(compareFn)` on the wrapped anonymous function improves
|
|
// performance by avoiding the function call setup. We don't use an arrow
|
|
// function here as it binds `this` to the `stableSort` context rather than
|
|
// the `compareFn` context, which wouldn't give us the performance increase.
|
|
return array.map(function (a, index) {
|
|
return [index, a];
|
|
}).sort(function (a, b) {
|
|
return this(a[1], b[1]) || a[0] - b[0];
|
|
}.bind(compareFn)).map(function (e) {
|
|
return e[1];
|
|
});
|
|
};
|
|
|
|
//
|
|
// TODO: Add option to sort by multiple columns (tri-state per column,
|
|
// plus order of columns in sort) where sortBy could be an array
|
|
// of objects `[ {key: 'foo', sortDir: 'asc'}, {key:'bar', sortDir: 'desc'} ...]`
|
|
// or an array of arrays `[ ['foo','asc'], ['bar','desc'] ]`
|
|
// Multisort will most likely be handled in mixin-sort.js by
|
|
// calling this method for each sortBy
|
|
|
|
var defaultSortCompare = function defaultSortCompare(a, b, sortBy, sortDesc, formatter, localeOpts, locale, nullLast) {
|
|
var aa = get(a, sortBy, null);
|
|
var bb = get(b, sortBy, null);
|
|
|
|
if (isFunction(formatter)) {
|
|
aa = formatter(aa, sortBy, a);
|
|
bb = formatter(bb, sortBy, b);
|
|
}
|
|
|
|
aa = isUndefinedOrNull(aa) ? '' : aa;
|
|
bb = isUndefinedOrNull(bb) ? '' : bb;
|
|
|
|
if (isDate(aa) && isDate(bb) || isNumber(aa) && isNumber(bb)) {
|
|
// Special case for comparing dates and numbers
|
|
// Internally dates are compared via their epoch number values
|
|
return aa < bb ? -1 : aa > bb ? 1 : 0;
|
|
} else if (nullLast && aa === '' && bb !== '') {
|
|
// Special case when sorting null/undefined/empty string last
|
|
return 1;
|
|
} else if (nullLast && aa !== '' && bb === '') {
|
|
// Special case when sorting null/undefined/empty string last
|
|
return -1;
|
|
} // Do localized string comparison
|
|
|
|
|
|
return stringifyObjectValues(aa).localeCompare(stringifyObjectValues(bb), locale, localeOpts);
|
|
};
|
|
|
|
var SORT_DIRECTIONS = ['asc', 'desc', 'last'];
|
|
var sortingMixin = {
|
|
props: makePropsConfigurable({
|
|
sortBy: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
sortDesc: {
|
|
// TODO: Make this tri-state: true, false, null
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
sortDirection: {
|
|
// This prop is named incorrectly
|
|
// It should be `initialSortDirection` as it is a bit misleading
|
|
// (not to mention it screws up the ARIA label on the headers)
|
|
type: String,
|
|
default: 'asc',
|
|
validator: function validator(value) {
|
|
return arrayIncludes(SORT_DIRECTIONS, value);
|
|
}
|
|
},
|
|
sortCompare: {
|
|
type: Function // default: null
|
|
|
|
},
|
|
sortCompareOptions: {
|
|
// Supported localCompare options, see `options` section of:
|
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare
|
|
type: Object,
|
|
default: function _default() {
|
|
return {
|
|
numeric: true
|
|
};
|
|
}
|
|
},
|
|
sortCompareLocale: {
|
|
// String: locale code
|
|
// Array: array of Locale strings
|
|
type: [String, Array] // default: undefined
|
|
|
|
},
|
|
sortNullLast: {
|
|
// Sort null and undefined to appear last
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noSortReset: {
|
|
// Another prop that should have had a better name.
|
|
// It should be noSortClear (on non-sortable headers).
|
|
// We will need to make sure the documentation is clear on what
|
|
// this prop does (as well as in the code for future reference)
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
labelSortAsc: {
|
|
type: String,
|
|
default: 'Click to sort Ascending'
|
|
},
|
|
labelSortDesc: {
|
|
type: String,
|
|
default: 'Click to sort Descending'
|
|
},
|
|
labelSortClear: {
|
|
type: String,
|
|
default: 'Click to clear sorting'
|
|
},
|
|
noLocalSorting: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noFooterSorting: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
sortIconLeft: {
|
|
// Place the sorting icon on the left of the header cells
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_TABLE),
|
|
data: function data() {
|
|
return {
|
|
localSortBy: this.sortBy || '',
|
|
localSortDesc: this.sortDesc || false
|
|
};
|
|
},
|
|
computed: {
|
|
localSorting: function localSorting() {
|
|
return this.hasProvider ? !!this.noProviderSorting : !this.noLocalSorting;
|
|
},
|
|
isSortable: function isSortable() {
|
|
return this.computedFields.some(function (f) {
|
|
return f.sortable;
|
|
});
|
|
},
|
|
sortedItems: function sortedItems() {
|
|
// Sorts the filtered items and returns a new array of the sorted items
|
|
// or the original items array if not sorted.
|
|
var items = (this.filteredItems || this.localItems || []).slice();
|
|
var sortBy = this.localSortBy;
|
|
var sortDesc = this.localSortDesc;
|
|
var sortCompare = this.sortCompare;
|
|
var localSorting = this.localSorting;
|
|
|
|
var sortOptions = _objectSpread2(_objectSpread2({}, this.sortCompareOptions), {}, {
|
|
usage: 'sort'
|
|
});
|
|
|
|
var sortLocale = this.sortCompareLocale || undefined;
|
|
var nullLast = this.sortNullLast;
|
|
|
|
if (sortBy && localSorting) {
|
|
var field = this.computedFieldsObj[sortBy] || {};
|
|
var sortByFormatted = field.sortByFormatted;
|
|
var formatter = isFunction(sortByFormatted) ?
|
|
/* istanbul ignore next */
|
|
sortByFormatted : sortByFormatted ? this.getFieldFormatter(sortBy) : undefined; // `stableSort` returns a new array, and leaves the original array intact
|
|
|
|
return stableSort(items, function (a, b) {
|
|
var result = null;
|
|
|
|
if (isFunction(sortCompare)) {
|
|
// Call user provided sortCompare routine
|
|
result = sortCompare(a, b, sortBy, sortDesc, formatter, sortOptions, sortLocale);
|
|
}
|
|
|
|
if (isUndefinedOrNull(result) || result === false) {
|
|
// Fallback to built-in defaultSortCompare if sortCompare
|
|
// is not defined or returns null/false
|
|
result = defaultSortCompare(a, b, sortBy, sortDesc, formatter, sortOptions, sortLocale, nullLast);
|
|
} // Negate result if sorting in descending order
|
|
|
|
|
|
return (result || 0) * (sortDesc ? -1 : 1);
|
|
});
|
|
}
|
|
|
|
return items;
|
|
}
|
|
},
|
|
watch: {
|
|
/* istanbul ignore next: pain in the butt to test */
|
|
isSortable: function isSortable(newVal) {
|
|
if (newVal) {
|
|
if (this.isSortable) {
|
|
this.$on('head-clicked', this.handleSort);
|
|
}
|
|
} else {
|
|
this.$off('head-clicked', this.handleSort);
|
|
}
|
|
},
|
|
sortDesc: function sortDesc(newVal) {
|
|
if (newVal === this.localSortDesc) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
this.localSortDesc = newVal || false;
|
|
},
|
|
sortBy: function sortBy(newVal) {
|
|
if (newVal === this.localSortBy) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
this.localSortBy = newVal || '';
|
|
},
|
|
// Update .sync props
|
|
localSortDesc: function localSortDesc(newVal, oldVal) {
|
|
// Emit update to sort-desc.sync
|
|
if (newVal !== oldVal) {
|
|
this.$emit('update:sortDesc', newVal);
|
|
}
|
|
},
|
|
localSortBy: function localSortBy(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
this.$emit('update:sortBy', newVal);
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
if (this.isSortable) {
|
|
this.$on('head-clicked', this.handleSort);
|
|
}
|
|
},
|
|
methods: {
|
|
// Handlers
|
|
// Need to move from thead-mixin
|
|
handleSort: function handleSort(key, field, evt, isFoot) {
|
|
var _this = this;
|
|
|
|
if (!this.isSortable) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
if (isFoot && this.noFooterSorting) {
|
|
return;
|
|
} // TODO: make this tri-state sorting
|
|
// cycle desc => asc => none => desc => ...
|
|
|
|
|
|
var sortChanged = false;
|
|
|
|
var toggleLocalSortDesc = function toggleLocalSortDesc() {
|
|
var sortDirection = field.sortDirection || _this.sortDirection;
|
|
|
|
if (sortDirection === 'asc') {
|
|
_this.localSortDesc = false;
|
|
} else if (sortDirection === 'desc') {
|
|
_this.localSortDesc = true;
|
|
} else ;
|
|
};
|
|
|
|
if (field.sortable) {
|
|
var sortKey = !this.localSorting && field.sortKey ? field.sortKey : key;
|
|
|
|
if (this.localSortBy === sortKey) {
|
|
// Change sorting direction on current column
|
|
this.localSortDesc = !this.localSortDesc;
|
|
} else {
|
|
// Start sorting this column ascending
|
|
this.localSortBy = sortKey; // this.localSortDesc = false
|
|
|
|
toggleLocalSortDesc();
|
|
}
|
|
|
|
sortChanged = true;
|
|
} else if (this.localSortBy && !this.noSortReset) {
|
|
this.localSortBy = '';
|
|
toggleLocalSortDesc();
|
|
sortChanged = true;
|
|
}
|
|
|
|
if (sortChanged) {
|
|
// Sorting parameters changed
|
|
this.$emit('sort-changed', this.context);
|
|
}
|
|
},
|
|
// methods to compute classes and attrs for thead>th cells
|
|
sortTheadThClasses: function sortTheadThClasses(key, field, isFoot) {
|
|
return {
|
|
// If sortable and sortIconLeft are true, then place sort icon on the left
|
|
'b-table-sort-icon-left': field.sortable && this.sortIconLeft && !(isFoot && this.noFooterSorting)
|
|
};
|
|
},
|
|
sortTheadThAttrs: function sortTheadThAttrs(key, field, isFoot) {
|
|
if (!this.isSortable || isFoot && this.noFooterSorting) {
|
|
// No attributes if not a sortable table
|
|
return {};
|
|
}
|
|
|
|
var sortable = field.sortable; // Assemble the aria-sort attribute value
|
|
|
|
var ariaSort = sortable && this.localSortBy === key ? this.localSortDesc ? 'descending' : 'ascending' : sortable ? 'none' : null; // Return the attribute
|
|
|
|
return {
|
|
'aria-sort': ariaSort
|
|
};
|
|
},
|
|
sortTheadThLabel: function sortTheadThLabel(key, field, isFoot) {
|
|
// A label to be placed in an `.sr-only` element in the header cell
|
|
if (!this.isSortable || isFoot && this.noFooterSorting) {
|
|
// No label if not a sortable table
|
|
return null;
|
|
}
|
|
|
|
var sortable = field.sortable; // The correctness of these labels is very important for screen-reader users.
|
|
|
|
var labelSorting = '';
|
|
|
|
if (sortable) {
|
|
if (this.localSortBy === key) {
|
|
// currently sorted sortable column.
|
|
labelSorting = this.localSortDesc ? this.labelSortAsc : this.labelSortDesc;
|
|
} else {
|
|
// Not currently sorted sortable column.
|
|
// Not using nested ternary's here for clarity/readability
|
|
// Default for ariaLabel
|
|
labelSorting = this.localSortDesc ? this.labelSortDesc : this.labelSortAsc; // Handle sortDirection setting
|
|
|
|
var sortDirection = this.sortDirection || field.sortDirection;
|
|
|
|
if (sortDirection === 'asc') {
|
|
labelSorting = this.labelSortAsc;
|
|
} else if (sortDirection === 'desc') {
|
|
labelSorting = this.labelSortDesc;
|
|
}
|
|
}
|
|
} else if (!this.noSortReset) {
|
|
// Non sortable column
|
|
labelSorting = this.localSortBy ? this.labelSortClear : '';
|
|
} // Return the sr-only sort label or null if no label
|
|
|
|
|
|
return trim(labelSorting) || null;
|
|
}
|
|
}
|
|
};
|
|
|
|
var stackedMixin = {
|
|
props: makePropsConfigurable({
|
|
stacked: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
}
|
|
}, NAME_TABLE),
|
|
computed: {
|
|
isStacked: function isStacked() {
|
|
// `true` when always stacked, or returns breakpoint specified
|
|
return this.stacked === '' ? true : this.stacked;
|
|
},
|
|
isStackedAlways: function isStackedAlways() {
|
|
return this.isStacked === true;
|
|
},
|
|
stackedTableClasses: function stackedTableClasses() {
|
|
return _defineProperty({
|
|
'b-table-stacked': this.isStackedAlways
|
|
}, "b-table-stacked-".concat(this.stacked), !this.isStackedAlways && this.isStacked);
|
|
}
|
|
}
|
|
};
|
|
|
|
// Includes all main table styling options
|
|
|
|
var tableRendererMixin = {
|
|
// Don't place attributes on root element automatically,
|
|
// as table could be wrapped in responsive `<div>`
|
|
inheritAttrs: false,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvTable: this
|
|
};
|
|
},
|
|
props: makePropsConfigurable({
|
|
striped: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
bordered: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
borderless: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
outlined: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
dark: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
hover: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
small: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
fixed: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
responsive: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
stickyHeader: {
|
|
// If a string, it is assumed to be the table `max-height` value
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
noBorderCollapse: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
captionTop: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
tableVariant: {
|
|
type: String // default: null
|
|
|
|
},
|
|
tableClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
}
|
|
}, NAME_TABLE),
|
|
computed: {
|
|
// Layout related computed props
|
|
isResponsive: function isResponsive() {
|
|
var responsive = this.responsive === '' ? true : this.responsive;
|
|
return this.isStacked ? false : responsive;
|
|
},
|
|
isStickyHeader: function isStickyHeader() {
|
|
var stickyHeader = this.stickyHeader === '' ? true : this.stickyHeader;
|
|
return this.isStacked ? false : stickyHeader;
|
|
},
|
|
wrapperClasses: function wrapperClasses() {
|
|
return [this.isStickyHeader ? 'b-table-sticky-header' : '', this.isResponsive === true ? 'table-responsive' : this.isResponsive ? "table-responsive-".concat(this.responsive) : ''].filter(identity);
|
|
},
|
|
wrapperStyles: function wrapperStyles() {
|
|
return this.isStickyHeader && !isBoolean(this.isStickyHeader) ? {
|
|
maxHeight: this.isStickyHeader
|
|
} : {};
|
|
},
|
|
tableClasses: function tableClasses() {
|
|
var hover = this.isTableSimple ? this.hover : this.hover && this.computedItems.length > 0 && !this.computedBusy;
|
|
return [// User supplied classes
|
|
this.tableClass, // Styling classes
|
|
{
|
|
'table-striped': this.striped,
|
|
'table-hover': hover,
|
|
'table-dark': this.dark,
|
|
'table-bordered': this.bordered,
|
|
'table-borderless': this.borderless,
|
|
'table-sm': this.small,
|
|
// The following are b-table custom styles
|
|
border: this.outlined,
|
|
'b-table-fixed': this.fixed,
|
|
'b-table-caption-top': this.captionTop,
|
|
'b-table-no-border-collapse': this.noBorderCollapse
|
|
}, this.tableVariant ? "".concat(this.dark ? 'bg' : 'table', "-").concat(this.tableVariant) : '', // Stacked table classes
|
|
this.stackedTableClasses, // Selectable classes
|
|
this.selectableTableClasses];
|
|
},
|
|
tableAttrs: function tableAttrs() {
|
|
// Preserve user supplied aria-describedby, if provided in `$attrs`
|
|
var adb = [(this.bvAttrs || {})['aria-describedby'], this.captionId].filter(identity).join(' ') || null;
|
|
var items = this.computedItems;
|
|
var filteredItems = this.filteredItems;
|
|
var fields = this.computedFields;
|
|
var selectableAttrs = this.selectableTableAttrs || {};
|
|
var ariaAttrs = this.isTableSimple ? {} : {
|
|
'aria-busy': this.computedBusy ? 'true' : 'false',
|
|
'aria-colcount': toString$1(fields.length),
|
|
'aria-describedby': adb
|
|
};
|
|
var rowCount = items && filteredItems && filteredItems.length > items.length ? toString$1(filteredItems.length) : null;
|
|
return _objectSpread2(_objectSpread2(_objectSpread2({
|
|
// We set `aria-rowcount` before merging in `$attrs`,
|
|
// in case user has supplied their own
|
|
'aria-rowcount': rowCount
|
|
}, this.bvAttrs), {}, {
|
|
// Now we can override any `$attrs` here
|
|
id: this.safeId(),
|
|
role: 'table'
|
|
}, ariaAttrs), selectableAttrs);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var $content = [];
|
|
|
|
if (this.isTableSimple) {
|
|
$content.push(this.normalizeSlot());
|
|
} else {
|
|
// Build the `<caption>` (from caption mixin)
|
|
$content.push(this.renderCaption ? this.renderCaption() : null); // Build the `<colgroup>`
|
|
|
|
$content.push(this.renderColgroup ? this.renderColgroup() : null); // Build the `<thead>`
|
|
|
|
$content.push(this.renderThead ? this.renderThead() : null); // Build the `<tbody>`
|
|
|
|
$content.push(this.renderTbody ? this.renderTbody() : null); // Build the `<tfoot>`
|
|
|
|
$content.push(this.renderTfoot ? this.renderTfoot() : null);
|
|
} // Assemble `<table>`
|
|
|
|
|
|
var $table = h('table', {
|
|
key: 'b-table',
|
|
staticClass: 'table b-table',
|
|
class: this.tableClasses,
|
|
attrs: this.tableAttrs
|
|
}, $content.filter(identity)); // Add responsive/sticky wrapper if needed and return table
|
|
|
|
return this.wrapperClasses.length > 0 ? h('div', {
|
|
key: 'wrap',
|
|
class: this.wrapperClasses,
|
|
style: this.wrapperStyles
|
|
}, [$table]) : $table;
|
|
}
|
|
};
|
|
|
|
var props$16 = makePropsConfigurable({
|
|
tbodyTransitionProps: {
|
|
type: Object // default: undefined
|
|
|
|
},
|
|
tbodyTransitionHandlers: {
|
|
type: Object // default: undefined
|
|
|
|
}
|
|
}, NAME_TBODY); // TODO:
|
|
// In Bootstrap v5, we won't need "sniffing" as table element variants properly inherit
|
|
// to the child elements, so this can be converted to a functional component
|
|
// @vue/component
|
|
|
|
var BTbody = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TBODY,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin, listenersMixin, normalizeSlotMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvTableRowGroup: this
|
|
};
|
|
},
|
|
inject: {
|
|
bvTable: {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
|
|
/* istanbul ignore next */
|
|
default: function _default() {
|
|
return {};
|
|
}
|
|
}
|
|
},
|
|
inheritAttrs: false,
|
|
props: props$16,
|
|
computed: {
|
|
isTbody: function isTbody() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return true;
|
|
},
|
|
isDark: function isDark() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.dark;
|
|
},
|
|
isStacked: function isStacked() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.isStacked;
|
|
},
|
|
isResponsive: function isResponsive() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.isResponsive;
|
|
},
|
|
isStickyHeader: function isStickyHeader() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
// Sticky headers are only supported in thead
|
|
return false;
|
|
},
|
|
hasStickyHeader: function hasStickyHeader() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
// Needed to handle header background classes, due to lack of
|
|
// background color inheritance with Bootstrap v4 table CSS
|
|
return !this.isStacked && this.bvTable.stickyHeader;
|
|
},
|
|
tableVariant: function tableVariant() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.tableVariant;
|
|
},
|
|
isTransitionGroup: function isTransitionGroup() {
|
|
return this.tbodyTransitionProps || this.tbodyTransitionHandlers;
|
|
},
|
|
tbodyAttrs: function tbodyAttrs() {
|
|
return _objectSpread2({
|
|
role: 'rowgroup'
|
|
}, this.bvAttrs);
|
|
},
|
|
tbodyProps: function tbodyProps() {
|
|
return this.tbodyTransitionProps ? _objectSpread2(_objectSpread2({}, this.tbodyTransitionProps), {}, {
|
|
tag: 'tbody'
|
|
}) : {};
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var data = {
|
|
props: this.tbodyProps,
|
|
attrs: this.tbodyAttrs
|
|
};
|
|
|
|
if (this.isTransitionGroup) {
|
|
// We use native listeners if a transition group for any delegated events
|
|
data.on = this.tbodyTransitionHandlers || {};
|
|
data.nativeOn = this.bvListeners;
|
|
} else {
|
|
// Otherwise we place any listeners on the tbody element
|
|
data.on = this.bvListeners;
|
|
}
|
|
|
|
return h(this.isTransitionGroup ? 'transition-group' : 'tbody', data, this.normalizeSlot());
|
|
}
|
|
});
|
|
|
|
var TABLE_TAG_NAMES = ['TD', 'TH', 'TR']; // Returns `true` if we should ignore the click/double-click/keypress event
|
|
// Avoids having the user need to use `@click.stop` on the form control
|
|
|
|
var filterEvent = function filterEvent(evt) {
|
|
// Exit early when we don't have a target element
|
|
if (!evt || !evt.target) {
|
|
/* istanbul ignore next */
|
|
return false;
|
|
}
|
|
|
|
var el = evt.target; // Exit early when element is disabled or a table element
|
|
|
|
if (el.disabled || TABLE_TAG_NAMES.indexOf(el.tagName) !== -1) {
|
|
return false;
|
|
} // Ignore the click when it was inside a dropdown menu
|
|
|
|
|
|
if (closest('.dropdown-menu', el)) {
|
|
return true;
|
|
}
|
|
|
|
var label = el.tagName === 'LABEL' ? el : closest('label', el); // If the label's form control is not disabled then we don't propagate event
|
|
// Modern browsers have `label.control` that references the associated input, but IE 11
|
|
// does not have this property on the label element, so we resort to DOM lookups
|
|
|
|
if (label) {
|
|
var labelFor = getAttr(label, 'for');
|
|
var input = labelFor ? getById(labelFor) : select('input, select, textarea', label);
|
|
|
|
if (input && !input.disabled) {
|
|
return true;
|
|
}
|
|
} // Otherwise check if the event target matches one of the selectors in the
|
|
// event filter (i.e. anchors, non disabled inputs, etc.)
|
|
// Return `true` if we should ignore the event
|
|
|
|
|
|
return matches(el, EVENT_FILTER);
|
|
};
|
|
|
|
// Used to filter out click events caused by the mouse up at end of selection
|
|
//
|
|
// Accepts an element as only argument to test to see if selection overlaps or is
|
|
// contained within the element
|
|
|
|
var textSelectionActive = function textSelectionActive() {
|
|
var el = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document;
|
|
var sel = getSel();
|
|
return sel && sel.toString().trim() !== '' && sel.containsNode && isElement(el) ?
|
|
/* istanbul ignore next */
|
|
sel.containsNode(el, true) : false;
|
|
};
|
|
|
|
// In Bootstrap v5, we won't need "sniffing" as table element variants properly inherit
|
|
// to the child elements, so this can be converted to a functional component
|
|
// @vue/component
|
|
|
|
var BTh = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TH,
|
|
extends: BTd,
|
|
computed: {
|
|
tag: function tag() {
|
|
return 'th';
|
|
}
|
|
}
|
|
});
|
|
|
|
var detailsSlotName = 'row-details';
|
|
var tbodyRowMixin = {
|
|
props: makePropsConfigurable({
|
|
tbodyTrClass: {
|
|
type: [String, Array, Object, Function] // default: null
|
|
|
|
},
|
|
tbodyTrAttr: {
|
|
type: [Object, Function] // default: null
|
|
|
|
},
|
|
detailsTdClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
}
|
|
}, NAME_TABLE),
|
|
methods: {
|
|
// Methods for computing classes, attributes and styles for table cells
|
|
getTdValues: function getTdValues(item, key, tdValue, defValue) {
|
|
var parent = this.$parent;
|
|
|
|
if (tdValue) {
|
|
var value = get(item, key, '');
|
|
|
|
if (isFunction(tdValue)) {
|
|
return tdValue(value, key, item);
|
|
} else if (isString(tdValue) && isFunction(parent[tdValue])) {
|
|
return parent[tdValue](value, key, item);
|
|
}
|
|
|
|
return tdValue;
|
|
}
|
|
|
|
return defValue;
|
|
},
|
|
getThValues: function getThValues(item, key, thValue, type, defValue) {
|
|
var parent = this.$parent;
|
|
|
|
if (thValue) {
|
|
var value = get(item, key, '');
|
|
|
|
if (isFunction(thValue)) {
|
|
return thValue(value, key, item, type);
|
|
} else if (isString(thValue) && isFunction(parent[thValue])) {
|
|
return parent[thValue](value, key, item, type);
|
|
}
|
|
|
|
return thValue;
|
|
}
|
|
|
|
return defValue;
|
|
},
|
|
// Method to get the value for a field
|
|
getFormattedValue: function getFormattedValue(item, field) {
|
|
var key = field.key;
|
|
var formatter = this.getFieldFormatter(key);
|
|
var value = get(item, key, null);
|
|
|
|
if (isFunction(formatter)) {
|
|
value = formatter(value, key, item);
|
|
}
|
|
|
|
return isUndefinedOrNull(value) ? '' : value;
|
|
},
|
|
// Factory function methods
|
|
toggleDetailsFactory: function toggleDetailsFactory(hasDetailsSlot, item) {
|
|
var _this = this;
|
|
|
|
// Returns a function to toggle a row's details slot
|
|
return function () {
|
|
if (hasDetailsSlot) {
|
|
_this.$set(item, '_showDetails', !item._showDetails);
|
|
}
|
|
};
|
|
},
|
|
// Row event handlers
|
|
rowHovered: function rowHovered(evt) {
|
|
// `mouseenter` handler (non-bubbling)
|
|
// `this.tbodyRowEvtStopped` from tbody mixin
|
|
if (!this.tbodyRowEvtStopped(evt)) {
|
|
// `this.emitTbodyRowEvent` from tbody mixin
|
|
this.emitTbodyRowEvent('row-hovered', evt);
|
|
}
|
|
},
|
|
rowUnhovered: function rowUnhovered(evt) {
|
|
// `mouseleave` handler (non-bubbling)
|
|
// `this.tbodyRowEvtStopped` from tbody mixin
|
|
if (!this.tbodyRowEvtStopped(evt)) {
|
|
// `this.emitTbodyRowEvent` from tbody mixin
|
|
this.emitTbodyRowEvent('row-unhovered', evt);
|
|
}
|
|
},
|
|
// Render helpers
|
|
renderTbodyRowCell: function renderTbodyRowCell(field, colIndex, item, rowIndex) {
|
|
var _this2 = this;
|
|
|
|
// Renders a TD or TH for a row's field
|
|
var h = this.$createElement;
|
|
var hasDetailsSlot = this.hasNormalizedSlot(detailsSlotName);
|
|
var formatted = this.getFormattedValue(item, field);
|
|
var key = field.key;
|
|
var stickyColumn = !this.isStacked && (this.isResponsive || this.stickyHeader) && field.stickyColumn; // We only uses the helper components for sticky columns to
|
|
// improve performance of BTable/BTableLite by reducing the
|
|
// total number of vue instances created during render
|
|
|
|
var cellTag = stickyColumn ? field.isRowHeader ? BTh : BTd : field.isRowHeader ? 'th' : 'td';
|
|
var cellVariant = item._cellVariants && item._cellVariants[key] ? item._cellVariants[key] : field.variant || null;
|
|
var data = {
|
|
// For the Vue key, we concatenate the column index and
|
|
// field key (as field keys could be duplicated)
|
|
// TODO: Although we do prevent duplicate field keys...
|
|
// So we could change this to: `row-${rowIndex}-cell-${key}`
|
|
key: "row-".concat(rowIndex, "-cell-").concat(colIndex, "-").concat(key),
|
|
class: [field.class ? field.class : '', this.getTdValues(item, key, field.tdClass, '')],
|
|
props: {},
|
|
attrs: _objectSpread2({
|
|
'aria-colindex': String(colIndex + 1)
|
|
}, field.isRowHeader ? this.getThValues(item, key, field.thAttr, 'row', {}) : this.getTdValues(item, key, field.tdAttr, {}))
|
|
};
|
|
|
|
if (stickyColumn) {
|
|
// We are using the helper BTd or BTh
|
|
data.props = {
|
|
stackedHeading: this.isStacked ? field.label : null,
|
|
stickyColumn: true,
|
|
variant: cellVariant
|
|
};
|
|
} else {
|
|
// Using native TD or TH element, so we need to
|
|
// add in the attributes and variant class
|
|
data.attrs['data-label'] = this.isStacked && !isUndefinedOrNull(field.label) ? toString$1(field.label) : null;
|
|
data.attrs.role = field.isRowHeader ? 'rowheader' : 'cell';
|
|
data.attrs.scope = field.isRowHeader ? 'row' : null; // Add in the variant class
|
|
|
|
if (cellVariant) {
|
|
data.class.push("".concat(this.dark ? 'bg' : 'table', "-").concat(cellVariant));
|
|
}
|
|
}
|
|
|
|
var slotScope = {
|
|
item: item,
|
|
index: rowIndex,
|
|
field: field,
|
|
unformatted: get(item, key, ''),
|
|
value: formatted,
|
|
toggleDetails: this.toggleDetailsFactory(hasDetailsSlot, item),
|
|
detailsShowing: Boolean(item._showDetails)
|
|
}; // If table supports selectable mode, then add in the following scope
|
|
// this.supportsSelectableRows will be undefined if mixin isn't loaded
|
|
|
|
if (this.supportsSelectableRows) {
|
|
slotScope.rowSelected = this.isRowSelected(rowIndex);
|
|
|
|
slotScope.selectRow = function () {
|
|
return _this2.selectRow(rowIndex);
|
|
};
|
|
|
|
slotScope.unselectRow = function () {
|
|
return _this2.unselectRow(rowIndex);
|
|
};
|
|
} // The new `v-slot` syntax doesn't like a slot name starting with
|
|
// a square bracket and if using in-document HTML templates, the
|
|
// v-slot attributes are lower-cased by the browser.
|
|
// Switched to round bracket syntax to prevent confusion with
|
|
// dynamic slot name syntax.
|
|
// We look for slots in this order: `cell(${key})`, `cell(${key.toLowerCase()})`, 'cell()'
|
|
// Slot names are now cached by mixin tbody in `this.$_bodyFieldSlotNameCache`
|
|
// Will be `null` if no slot (or fallback slot) exists
|
|
|
|
|
|
var slotName = this.$_bodyFieldSlotNameCache[key];
|
|
var $childNodes = slotName ? this.normalizeSlot(slotName, slotScope) : toString$1(formatted);
|
|
|
|
if (this.isStacked) {
|
|
// We wrap in a DIV to ensure rendered as a single cell when visually stacked!
|
|
$childNodes = [h('div', [$childNodes])];
|
|
} // Render either a td or th cell
|
|
|
|
|
|
return h(cellTag, data, [$childNodes]);
|
|
},
|
|
renderTbodyRow: function renderTbodyRow(item, rowIndex) {
|
|
var _this3 = this;
|
|
|
|
// Renders an item's row (or rows if details supported)
|
|
var h = this.$createElement;
|
|
var fields = this.computedFields;
|
|
var tableStriped = this.striped;
|
|
var hasDetailsSlot = this.hasNormalizedSlot(detailsSlotName);
|
|
var rowShowDetails = item._showDetails && hasDetailsSlot;
|
|
var hasRowClickHandler = this.$listeners['row-clicked'] || this.hasSelectableRowClick; // We can return more than one TR if rowDetails enabled
|
|
|
|
var $rows = []; // Details ID needed for `aria-details` when details showing
|
|
// We set it to `null` when not showing so that attribute
|
|
// does not appear on the element
|
|
|
|
var detailsId = rowShowDetails ? this.safeId("_details_".concat(rowIndex, "_")) : null; // For each item data field in row
|
|
|
|
var $tds = fields.map(function (field, colIndex) {
|
|
return _this3.renderTbodyRowCell(field, colIndex, item, rowIndex);
|
|
}); // Calculate the row number in the dataset (indexed from 1)
|
|
|
|
var ariaRowIndex = null;
|
|
|
|
if (this.currentPage && this.perPage && this.perPage > 0) {
|
|
ariaRowIndex = String((this.currentPage - 1) * this.perPage + rowIndex + 1);
|
|
} // Create a unique :key to help ensure that sub components are re-rendered rather than
|
|
// re-used, which can cause issues. If a primary key is not provided we use the rendered
|
|
// rows index within the tbody.
|
|
// See: https://github.com/bootstrap-vue/bootstrap-vue/issues/2410
|
|
|
|
|
|
var primaryKey = this.primaryKey;
|
|
var primaryKeyValue = toString$1(get(item, primaryKey)) || null;
|
|
var rowKey = primaryKeyValue || toString$1(rowIndex); // If primary key is provided, use it to generate a unique ID on each tbody > tr
|
|
// In the format of '{tableId}__row_{primaryKeyValue}'
|
|
|
|
var rowId = primaryKeyValue ? this.safeId("_row_".concat(primaryKeyValue)) : null; // Selectable classes and attributes
|
|
|
|
var selectableClasses = this.selectableRowClasses ? this.selectableRowClasses(rowIndex) : {};
|
|
var selectableAttrs = this.selectableRowAttrs ? this.selectableRowAttrs(rowIndex) : {}; // Additional classes and attributes
|
|
|
|
var userTrClasses = isFunction(this.tbodyTrClass) ? this.tbodyTrClass(item, 'row') : this.tbodyTrClass;
|
|
var userTrAttrs = isFunction(this.tbodyTrAttr) ?
|
|
/* istanbul ignore next */
|
|
this.tbodyTrAttr(item, 'row') : this.tbodyTrAttr; // Add the item row
|
|
|
|
$rows.push(h(BTr, {
|
|
key: "__b-table-row-".concat(rowKey, "__"),
|
|
ref: 'itemRows',
|
|
refInFor: true,
|
|
class: [userTrClasses, selectableClasses, rowShowDetails ? 'b-table-has-details' : ''],
|
|
props: {
|
|
variant: item._rowVariant || null
|
|
},
|
|
attrs: _objectSpread2(_objectSpread2({
|
|
id: rowId
|
|
}, userTrAttrs), {}, {
|
|
// Users cannot override the following attributes
|
|
tabindex: hasRowClickHandler ? '0' : null,
|
|
'data-pk': primaryKeyValue || null,
|
|
'aria-details': detailsId,
|
|
'aria-owns': detailsId,
|
|
'aria-rowindex': ariaRowIndex
|
|
}, selectableAttrs),
|
|
on: {
|
|
// Note: These events are not A11Y friendly!
|
|
mouseenter: this.rowHovered,
|
|
mouseleave: this.rowUnhovered
|
|
}
|
|
}, $tds)); // Row Details slot
|
|
|
|
if (rowShowDetails) {
|
|
var detailsScope = {
|
|
item: item,
|
|
index: rowIndex,
|
|
fields: fields,
|
|
toggleDetails: this.toggleDetailsFactory(hasDetailsSlot, item)
|
|
}; // If table supports selectable mode, then add in the following scope
|
|
// this.supportsSelectableRows will be undefined if mixin isn't loaded
|
|
|
|
if (this.supportsSelectableRows) {
|
|
detailsScope.rowSelected = this.isRowSelected(rowIndex);
|
|
|
|
detailsScope.selectRow = function () {
|
|
return _this3.selectRow(rowIndex);
|
|
};
|
|
|
|
detailsScope.unselectRow = function () {
|
|
return _this3.unselectRow(rowIndex);
|
|
};
|
|
} // Render the details slot in a TD
|
|
|
|
|
|
var $details = h(BTd, {
|
|
props: {
|
|
colspan: fields.length
|
|
},
|
|
class: this.detailsTdClass
|
|
}, [this.normalizeSlot(detailsSlotName, detailsScope)]); // Add a hidden row to keep table row striping consistent when details showing
|
|
// Only added if the table is striped
|
|
|
|
if (tableStriped) {
|
|
$rows.push( // We don't use `BTr` here as we don't need the extra functionality
|
|
h('tr', {
|
|
key: "__b-table-details-stripe__".concat(rowKey),
|
|
staticClass: 'd-none',
|
|
attrs: {
|
|
'aria-hidden': 'true',
|
|
role: 'presentation'
|
|
}
|
|
}));
|
|
} // Add the actual details row
|
|
|
|
|
|
var userDetailsTrClasses = isFunction(this.tbodyTrClass) ?
|
|
/* istanbul ignore next */
|
|
this.tbodyTrClass(item, detailsSlotName) : this.tbodyTrClass;
|
|
var userDetailsTrAttrs = isFunction(this.tbodyTrAttr) ?
|
|
/* istanbul ignore next */
|
|
this.tbodyTrAttr(item, detailsSlotName) : this.tbodyTrAttr;
|
|
$rows.push(h(BTr, {
|
|
key: "__b-table-details__".concat(rowKey),
|
|
staticClass: 'b-table-details',
|
|
class: [userDetailsTrClasses],
|
|
props: {
|
|
variant: item._rowVariant || null
|
|
},
|
|
attrs: _objectSpread2(_objectSpread2({}, userDetailsTrAttrs), {}, {
|
|
// Users cannot override the following attributes
|
|
id: detailsId,
|
|
tabindex: '-1'
|
|
})
|
|
}, [$details]));
|
|
} else if (hasDetailsSlot) {
|
|
// Only add the placeholder if a the table has a row-details slot defined (but not shown)
|
|
$rows.push(h());
|
|
|
|
if (tableStriped) {
|
|
// Add extra placeholder if table is striped
|
|
$rows.push(h());
|
|
}
|
|
} // Return the row(s)
|
|
|
|
|
|
return $rows;
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$17 = _objectSpread2(_objectSpread2({}, props$16), {}, {
|
|
tbodyClass: {
|
|
type: [String, Array, Object] // default: undefined
|
|
|
|
}
|
|
});
|
|
|
|
var tbodyMixin = {
|
|
mixins: [tbodyRowMixin],
|
|
props: props$17,
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.$_bodyFieldSlotNameCache = null;
|
|
},
|
|
methods: {
|
|
// Helper methods
|
|
getTbodyTrs: function getTbodyTrs() {
|
|
// Returns all the item TR elements (excludes detail and spacer rows)
|
|
// `this.$refs.itemRows` is an array of item TR components/elements
|
|
// Rows should all be B-TR components, but we map to TR elements
|
|
// Also note that `this.$refs.itemRows` may not always be in document order
|
|
var refs = this.$refs || {};
|
|
var tbody = refs.tbody ? refs.tbody.$el || refs.tbody : null;
|
|
var trs = (refs.itemRows || []).map(function (tr) {
|
|
return tr.$el || tr;
|
|
});
|
|
return tbody && tbody.children && tbody.children.length > 0 && trs && trs.length > 0 ? from(tbody.children).filter(function (tr) {
|
|
return arrayIncludes(trs, tr);
|
|
}) :
|
|
/* istanbul ignore next */
|
|
[];
|
|
},
|
|
getTbodyTrIndex: function getTbodyTrIndex(el) {
|
|
// Returns index of a particular TBODY item TR
|
|
// We set `true` on closest to include self in result
|
|
|
|
/* istanbul ignore next: should not normally happen */
|
|
if (!isElement(el)) {
|
|
return -1;
|
|
}
|
|
|
|
var tr = el.tagName === 'TR' ? el : closest('tr', el, true);
|
|
return tr ? this.getTbodyTrs().indexOf(tr) : -1;
|
|
},
|
|
emitTbodyRowEvent: function emitTbodyRowEvent(type, evt) {
|
|
// Emits a row event, with the item object, row index and original event
|
|
if (type && this.hasListener(type) && evt && evt.target) {
|
|
var rowIndex = this.getTbodyTrIndex(evt.target);
|
|
|
|
if (rowIndex > -1) {
|
|
// The array of TRs correlate to the `computedItems` array
|
|
var item = this.computedItems[rowIndex];
|
|
this.$emit(type, item, rowIndex, evt);
|
|
}
|
|
}
|
|
},
|
|
tbodyRowEvtStopped: function tbodyRowEvtStopped(evt) {
|
|
return this.stopIfBusy && this.stopIfBusy(evt);
|
|
},
|
|
// Delegated row event handlers
|
|
onTbodyRowKeydown: function onTbodyRowKeydown(evt) {
|
|
// Keyboard navigation and row click emulation
|
|
var target = evt.target;
|
|
|
|
if (this.tbodyRowEvtStopped(evt) || target.tagName !== 'TR' || !isActiveElement(target) || target.tabIndex !== 0) {
|
|
// Early exit if not an item row TR
|
|
return;
|
|
}
|
|
|
|
var keyCode = evt.keyCode;
|
|
|
|
if (arrayIncludes([CODE_ENTER, CODE_SPACE], keyCode)) {
|
|
// Emulated click for keyboard users, transfer to click handler
|
|
stopEvent(evt);
|
|
this.onTBodyRowClicked(evt);
|
|
} else if (arrayIncludes([CODE_UP, CODE_DOWN, CODE_HOME, CODE_END], keyCode)) {
|
|
// Keyboard navigation
|
|
var rowIndex = this.getTbodyTrIndex(target);
|
|
|
|
if (rowIndex > -1) {
|
|
stopEvent(evt);
|
|
var trs = this.getTbodyTrs();
|
|
var shift = evt.shiftKey;
|
|
|
|
if (keyCode === CODE_HOME || shift && keyCode === CODE_UP) {
|
|
// Focus first row
|
|
attemptFocus(trs[0]);
|
|
} else if (keyCode === CODE_END || shift && keyCode === CODE_DOWN) {
|
|
// Focus last row
|
|
attemptFocus(trs[trs.length - 1]);
|
|
} else if (keyCode === CODE_UP && rowIndex > 0) {
|
|
// Focus previous row
|
|
attemptFocus(trs[rowIndex - 1]);
|
|
} else if (keyCode === CODE_DOWN && rowIndex < trs.length - 1) {
|
|
// Focus next row
|
|
attemptFocus(trs[rowIndex + 1]);
|
|
}
|
|
}
|
|
}
|
|
},
|
|
onTBodyRowClicked: function onTBodyRowClicked(evt) {
|
|
if (this.tbodyRowEvtStopped(evt)) {
|
|
// If table is busy, then don't propagate
|
|
return;
|
|
} else if (filterEvent(evt) || textSelectionActive(this.$el)) {
|
|
// Clicked on a non-disabled control so ignore
|
|
// Or user is selecting text, so ignore
|
|
return;
|
|
}
|
|
|
|
this.emitTbodyRowEvent('row-clicked', evt);
|
|
},
|
|
onTbodyRowMiddleMouseRowClicked: function onTbodyRowMiddleMouseRowClicked(evt) {
|
|
if (!this.tbodyRowEvtStopped(evt) && evt.which === 2) {
|
|
this.emitTbodyRowEvent('row-middle-clicked', evt);
|
|
}
|
|
},
|
|
onTbodyRowContextmenu: function onTbodyRowContextmenu(evt) {
|
|
if (!this.tbodyRowEvtStopped(evt)) {
|
|
this.emitTbodyRowEvent('row-contextmenu', evt);
|
|
}
|
|
},
|
|
onTbodyRowDblClicked: function onTbodyRowDblClicked(evt) {
|
|
if (!this.tbodyRowEvtStopped(evt) && !filterEvent(evt)) {
|
|
this.emitTbodyRowEvent('row-dblclicked', evt);
|
|
}
|
|
},
|
|
// Note: Row hover handlers are handled by the tbody-row mixin
|
|
// As mouseenter/mouseleave events do not bubble
|
|
//
|
|
// Render Helper
|
|
renderTbody: function renderTbody() {
|
|
var _this = this;
|
|
|
|
// Render the tbody element and children
|
|
var items = this.computedItems; // Shortcut to `createElement` (could use `this._c()` instead)
|
|
|
|
var h = this.$createElement;
|
|
var hasRowClickHandler = this.hasListener('row-clicked') || this.hasSelectableRowClick; // Prepare the tbody rows
|
|
|
|
var $rows = []; // Add the item data rows or the busy slot
|
|
|
|
var $busy = this.renderBusy ? this.renderBusy() : null;
|
|
|
|
if ($busy) {
|
|
// If table is busy and a busy slot, then return only the busy "row" indicator
|
|
$rows.push($busy);
|
|
} else {
|
|
// Table isn't busy, or we don't have a busy slot
|
|
// Create a slot cache for improved performance when looking up cell slot names
|
|
// Values will be keyed by the field's `key` and will store the slot's name
|
|
// Slots could be dynamic (i.e. `v-if`), so we must compute on each render
|
|
// Used by tbody-row mixin render helper
|
|
var cache = {};
|
|
var defaultSlotName = this.hasNormalizedSlot('cell()') ? 'cell()' : null;
|
|
this.computedFields.forEach(function (field) {
|
|
var key = field.key;
|
|
var fullName = "cell(".concat(key, ")");
|
|
var lowerName = "cell(".concat(key.toLowerCase(), ")");
|
|
cache[key] = _this.hasNormalizedSlot(fullName) ? fullName : _this.hasNormalizedSlot(lowerName) ?
|
|
/* istanbul ignore next */
|
|
lowerName : defaultSlotName;
|
|
}); // Created as a non-reactive property so to not trigger component updates
|
|
// Must be a fresh object each render
|
|
|
|
this.$_bodyFieldSlotNameCache = cache; // Add static top row slot (hidden in visibly stacked mode
|
|
// as we can't control `data-label` attr)
|
|
|
|
$rows.push(this.renderTopRow ? this.renderTopRow() : h()); // Render the rows
|
|
|
|
items.forEach(function (item, rowIndex) {
|
|
// Render the individual item row (rows if details slot)
|
|
$rows.push(_this.renderTbodyRow(item, rowIndex));
|
|
}); // Empty items / empty filtered row slot (only shows if `items.length < 1`)
|
|
|
|
$rows.push(this.renderEmpty ? this.renderEmpty() : h()); // Static bottom row slot (hidden in visibly stacked mode
|
|
// as we can't control `data-label` attr)
|
|
|
|
$rows.push(this.renderBottomRow ? this.renderBottomRow() : h());
|
|
} // Note: these events will only emit if a listener is registered
|
|
|
|
|
|
var handlers = {
|
|
auxclick: this.onTbodyRowMiddleMouseRowClicked,
|
|
// TODO:
|
|
// Perhaps we do want to automatically prevent the
|
|
// default context menu from showing if there is a
|
|
// `row-contextmenu` listener registered
|
|
contextmenu: this.onTbodyRowContextmenu,
|
|
// The following event(s) is not considered A11Y friendly
|
|
dblclick: this.onTbodyRowDblClicked // Hover events (`mouseenter`/`mouseleave`) are handled by `tbody-row` mixin
|
|
|
|
}; // Add in click/keydown listeners if needed
|
|
|
|
if (hasRowClickHandler) {
|
|
handlers.click = this.onTBodyRowClicked;
|
|
handlers.keydown = this.onTbodyRowKeydown;
|
|
} // Assemble rows into the tbody
|
|
|
|
|
|
var $tbody = h(BTbody, {
|
|
ref: 'tbody',
|
|
class: this.tbodyClass || null,
|
|
props: {
|
|
tbodyTransitionProps: this.tbodyTransitionProps,
|
|
tbodyTransitionHandlers: this.tbodyTransitionHandlers
|
|
},
|
|
// BTbody transfers all native event listeners to the root element
|
|
// TODO: Only set the handlers if the table is not busy
|
|
on: handlers
|
|
}, $rows); // Return the assembled tbody
|
|
|
|
return $tbody;
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$18 = makePropsConfigurable({
|
|
footVariant: {
|
|
type: String,
|
|
// Supported values: 'lite', 'dark', or null
|
|
default: null
|
|
}
|
|
}, NAME_TFOOT); // TODO:
|
|
// In Bootstrap v5, we won't need "sniffing" as table element variants properly inherit
|
|
// to the child elements, so this can be converted to a functional component
|
|
// @vue/component
|
|
|
|
var BTfoot = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TFOOT,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin, listenersMixin, normalizeSlotMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvTableRowGroup: this
|
|
};
|
|
},
|
|
inject: {
|
|
bvTable: {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
|
|
/* istanbul ignore next */
|
|
default: function _default() {
|
|
return {};
|
|
}
|
|
}
|
|
},
|
|
inheritAttrs: false,
|
|
props: props$18,
|
|
computed: {
|
|
isTfoot: function isTfoot() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return true;
|
|
},
|
|
isDark: function isDark() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.dark;
|
|
},
|
|
isStacked: function isStacked() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.isStacked;
|
|
},
|
|
isResponsive: function isResponsive() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.isResponsive;
|
|
},
|
|
isStickyHeader: function isStickyHeader() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
// Sticky headers are only supported in thead
|
|
return false;
|
|
},
|
|
hasStickyHeader: function hasStickyHeader() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
// Needed to handle header background classes, due to lack of
|
|
// background color inheritance with Bootstrap v4 table CSS
|
|
return !this.isStacked && this.bvTable.stickyHeader;
|
|
},
|
|
tableVariant: function tableVariant() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.tableVariant;
|
|
},
|
|
tfootClasses: function tfootClasses() {
|
|
return [this.footVariant ? "thead-".concat(this.footVariant) : null];
|
|
},
|
|
tfootAttrs: function tfootAttrs() {
|
|
return _objectSpread2({
|
|
role: 'rowgroup'
|
|
}, this.bvAttrs);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
return h('tfoot', {
|
|
class: this.tfootClasses,
|
|
attrs: this.tfootAttrs,
|
|
// Pass down any native listeners
|
|
on: this.bvListeners
|
|
}, this.normalizeSlot());
|
|
}
|
|
});
|
|
|
|
var tfootMixin = {
|
|
props: makePropsConfigurable({
|
|
footClone: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
footVariant: {
|
|
type: String // 'dark', 'light', or `null` (or custom)
|
|
// default: null
|
|
|
|
},
|
|
footRowVariant: {
|
|
// Any Bootstrap theme variant (or custom). Falls back to `headRowVariant`
|
|
type: String // default: null
|
|
|
|
},
|
|
tfootClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
tfootTrClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
}
|
|
}, NAME_TABLE),
|
|
methods: {
|
|
renderTFootCustom: function renderTFootCustom() {
|
|
var h = this.$createElement;
|
|
|
|
if (this.hasNormalizedSlot('custom-foot')) {
|
|
return h(BTfoot, {
|
|
key: 'bv-tfoot-custom',
|
|
class: this.tfootClass || null,
|
|
props: {
|
|
footVariant: this.footVariant || this.headVariant || null
|
|
}
|
|
}, this.normalizeSlot('custom-foot', {
|
|
items: this.computedItems.slice(),
|
|
fields: this.computedFields.slice(),
|
|
columns: this.computedFields.length
|
|
}));
|
|
} else {
|
|
return h();
|
|
}
|
|
},
|
|
renderTfoot: function renderTfoot() {
|
|
// Passing true to renderThead will make it render a tfoot
|
|
return this.footClone ? this.renderThead(true) : this.renderTFootCustom();
|
|
}
|
|
}
|
|
};
|
|
|
|
var props$19 = makePropsConfigurable({
|
|
headVariant: {
|
|
// Also sniffed by <b-tr> / <b-td> / <b-th>
|
|
type: String,
|
|
// Supported values: 'lite', 'dark', or null
|
|
default: null
|
|
}
|
|
}, NAME_THEAD); // TODO:
|
|
// In Bootstrap v5, we won't need "sniffing" as table element variants properly inherit
|
|
// to the child elements, so this can be converted to a functional component
|
|
// @vue/component
|
|
|
|
var BThead = /*#__PURE__*/Vue.extend({
|
|
name: NAME_THEAD,
|
|
// Mixin order is important!
|
|
mixins: [attrsMixin, listenersMixin, normalizeSlotMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvTableRowGroup: this
|
|
};
|
|
},
|
|
inject: {
|
|
bvTable: {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
|
|
/* istanbul ignore next */
|
|
default: function _default() {
|
|
return {};
|
|
}
|
|
}
|
|
},
|
|
inheritAttrs: false,
|
|
props: props$19,
|
|
computed: {
|
|
isThead: function isThead() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return true;
|
|
},
|
|
isDark: function isDark() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.dark;
|
|
},
|
|
isStacked: function isStacked() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.isStacked;
|
|
},
|
|
isResponsive: function isResponsive() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.isResponsive;
|
|
},
|
|
isStickyHeader: function isStickyHeader() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
// Needed to handle header background classes, due to lack of
|
|
// background color inheritance with Bootstrap v4 table CSS
|
|
// Sticky headers only apply to cells in table `thead`
|
|
return !this.isStacked && this.bvTable.stickyHeader;
|
|
},
|
|
hasStickyHeader: function hasStickyHeader() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
// Needed to handle header background classes, due to lack of
|
|
// background color inheritance with Bootstrap v4 table CSS
|
|
return !this.isStacked && this.bvTable.stickyHeader;
|
|
},
|
|
tableVariant: function tableVariant() {
|
|
// Sniffed by <b-tr> / <b-td> / <b-th>
|
|
return this.bvTable.tableVariant;
|
|
},
|
|
theadClasses: function theadClasses() {
|
|
return [this.headVariant ? "thead-".concat(this.headVariant) : null];
|
|
},
|
|
theadAttrs: function theadAttrs() {
|
|
return _objectSpread2({
|
|
role: 'rowgroup'
|
|
}, this.bvAttrs);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
return h('thead', {
|
|
class: this.theadClasses,
|
|
attrs: this.theadAttrs,
|
|
// Pass down any native listeners
|
|
on: this.bvListeners
|
|
}, this.normalizeSlot());
|
|
}
|
|
});
|
|
|
|
var theadMixin = {
|
|
props: makePropsConfigurable({
|
|
headVariant: {
|
|
type: String // 'light', 'dark' or `null` (or custom)
|
|
// default: null
|
|
|
|
},
|
|
headRowVariant: {
|
|
// Any Bootstrap theme variant (or custom)
|
|
type: String // default: null
|
|
|
|
},
|
|
theadClass: {
|
|
type: [String, Array, Object] // default: undefined
|
|
|
|
},
|
|
theadTrClass: {
|
|
type: [String, Array, Object] // default: undefined
|
|
|
|
}
|
|
}, NAME_TABLE),
|
|
methods: {
|
|
fieldClasses: function fieldClasses(field) {
|
|
// Header field (<th>) classes
|
|
return [field.class ? field.class : '', field.thClass ? field.thClass : ''];
|
|
},
|
|
headClicked: function headClicked(evt, field, isFoot) {
|
|
if (this.stopIfBusy && this.stopIfBusy(evt)) {
|
|
// If table is busy (via provider) then don't propagate
|
|
return;
|
|
} else if (filterEvent(evt)) {
|
|
// Clicked on a non-disabled control so ignore
|
|
return;
|
|
} else if (textSelectionActive(this.$el)) {
|
|
// User is selecting text, so ignore
|
|
|
|
/* istanbul ignore next: JSDOM doesn't support getSelection() */
|
|
return;
|
|
}
|
|
|
|
stopEvent(evt);
|
|
this.$emit('head-clicked', field.key, field, evt, isFoot);
|
|
},
|
|
renderThead: function renderThead() {
|
|
var _this = this;
|
|
|
|
var isFoot = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
var h = this.$createElement;
|
|
var fields = this.computedFields || []; // In always stacked mode, we don't bother rendering the head/foot
|
|
// Or if no field headings (empty table)
|
|
|
|
if (this.isStackedAlways || fields.length === 0) {
|
|
return h();
|
|
}
|
|
|
|
var isSortable = this.isSortable,
|
|
isSelectable = this.isSelectable,
|
|
headVariant = this.headVariant,
|
|
footVariant = this.footVariant,
|
|
headRowVariant = this.headRowVariant,
|
|
footRowVariant = this.footRowVariant;
|
|
var hasHeadClickListener = isSortable || this.hasListener('head-clicked'); // Reference to `selectAllRows` and `clearSelected()`, if table is selectable
|
|
|
|
var selectAllRows = isSelectable ? this.selectAllRows : noop;
|
|
var clearSelected = isSelectable ? this.clearSelected : noop; // Helper function to generate a field <th> cell
|
|
|
|
var makeCell = function makeCell(field, colIndex) {
|
|
var label = field.label,
|
|
labelHtml = field.labelHtml,
|
|
variant = field.variant,
|
|
stickyColumn = field.stickyColumn,
|
|
key = field.key;
|
|
var ariaLabel = null;
|
|
|
|
if (!field.label.trim() && !field.headerTitle) {
|
|
// In case field's label and title are empty/blank
|
|
// We need to add a hint about what the column is about for non-sighted users
|
|
|
|
/* istanbul ignore next */
|
|
ariaLabel = startCase(field.key);
|
|
}
|
|
|
|
var on = {};
|
|
|
|
if (hasHeadClickListener) {
|
|
on.click = function (evt) {
|
|
_this.headClicked(evt, field, isFoot);
|
|
};
|
|
|
|
on.keydown = function (evt) {
|
|
var keyCode = evt.keyCode;
|
|
|
|
if (keyCode === CODE_ENTER || keyCode === CODE_SPACE) {
|
|
_this.headClicked(evt, field, isFoot);
|
|
}
|
|
};
|
|
}
|
|
|
|
var sortAttrs = isSortable ? _this.sortTheadThAttrs(key, field, isFoot) : {};
|
|
var sortClass = isSortable ? _this.sortTheadThClasses(key, field, isFoot) : null;
|
|
var sortLabel = isSortable ? _this.sortTheadThLabel(key, field, isFoot) : null;
|
|
var data = {
|
|
class: [_this.fieldClasses(field), sortClass],
|
|
props: {
|
|
variant: variant,
|
|
stickyColumn: stickyColumn
|
|
},
|
|
style: field.thStyle || {},
|
|
attrs: _objectSpread2(_objectSpread2({
|
|
// We only add a tabindex of 0 if there is a head-clicked listener
|
|
tabindex: hasHeadClickListener ? '0' : null,
|
|
abbr: field.headerAbbr || null,
|
|
title: field.headerTitle || null,
|
|
'aria-colindex': colIndex + 1,
|
|
'aria-label': ariaLabel
|
|
}, _this.getThValues(null, key, field.thAttr, isFoot ? 'foot' : 'head', {})), sortAttrs),
|
|
on: on,
|
|
key: key
|
|
}; // Handle edge case where in-document templates are used with new
|
|
// `v-slot:name` syntax where the browser lower-cases the v-slot's
|
|
// name (attributes become lower cased when parsed by the browser)
|
|
// We have replaced the square bracket syntax with round brackets
|
|
// to prevent confusion with dynamic slot names
|
|
|
|
var slotNames = ["head(".concat(key, ")"), "head(".concat(key.toLowerCase(), ")"), 'head()']; // Footer will fallback to header slot names
|
|
|
|
if (isFoot) {
|
|
slotNames = ["foot(".concat(key, ")"), "foot(".concat(key.toLowerCase(), ")"), 'foot()'].concat(_toConsumableArray(slotNames));
|
|
}
|
|
|
|
var scope = {
|
|
label: label,
|
|
column: key,
|
|
field: field,
|
|
isFoot: isFoot,
|
|
// Add in row select methods
|
|
selectAllRows: selectAllRows,
|
|
clearSelected: clearSelected
|
|
};
|
|
var $content = _this.normalizeSlot(slotNames, scope) || h('div', {
|
|
domProps: htmlOrText(labelHtml, label)
|
|
});
|
|
var $srLabel = sortLabel ? h('span', {
|
|
staticClass: 'sr-only'
|
|
}, " (".concat(sortLabel, ")")) : null; // Return the header cell
|
|
|
|
return h(BTh, data, [$content, $srLabel].filter(identity));
|
|
}; // Generate the array of <th> cells
|
|
|
|
|
|
var $cells = fields.map(makeCell).filter(identity); // Generate the row(s)
|
|
|
|
var $trs = [];
|
|
|
|
if (isFoot) {
|
|
$trs.push(h(BTr, {
|
|
class: this.tfootTrClass,
|
|
props: {
|
|
variant: isUndefinedOrNull(footRowVariant) ? headRowVariant :
|
|
/* istanbul ignore next */
|
|
footRowVariant
|
|
}
|
|
}, $cells));
|
|
} else {
|
|
var scope = {
|
|
columns: fields.length,
|
|
fields: fields,
|
|
// Add in row select methods
|
|
selectAllRows: selectAllRows,
|
|
clearSelected: clearSelected
|
|
};
|
|
$trs.push(this.normalizeSlot('thead-top', scope) || h());
|
|
$trs.push(h(BTr, {
|
|
class: this.theadTrClass,
|
|
props: {
|
|
variant: headRowVariant
|
|
}
|
|
}, $cells));
|
|
}
|
|
|
|
return h(isFoot ? BTfoot : BThead, {
|
|
key: isFoot ? 'bv-tfoot' : 'bv-thead',
|
|
class: (isFoot ? this.tfootClass : this.theadClass) || null,
|
|
props: isFoot ? {
|
|
footVariant: footVariant || headVariant || null
|
|
} : {
|
|
headVariant: headVariant || null
|
|
}
|
|
}, $trs);
|
|
}
|
|
}
|
|
};
|
|
|
|
var slotName$1 = 'top-row';
|
|
var topRowMixin = {
|
|
methods: {
|
|
renderTopRow: function renderTopRow() {
|
|
var h = this.$createElement; // Add static Top Row slot (hidden in visibly stacked mode as we can't control the data-label)
|
|
// If in *always* stacked mode, we don't bother rendering the row
|
|
|
|
if (!this.hasNormalizedSlot(slotName$1) || this.stacked === true || this.stacked === '') {
|
|
return h();
|
|
}
|
|
|
|
var fields = this.computedFields;
|
|
return h(BTr, {
|
|
key: 'b-top-row',
|
|
staticClass: 'b-table-top-row',
|
|
class: [isFunction(this.tbodyTrClass) ? this.tbodyTrClass(null, 'row-top') : this.tbodyTrClass],
|
|
attrs: isFunction(this.tbodyTrAttr) ? this.tbodyTrAttr(null, 'row-top') : this.tbodyTrAttr
|
|
}, [this.normalizeSlot(slotName$1, {
|
|
columns: fields.length,
|
|
fields: fields
|
|
})]);
|
|
}
|
|
}
|
|
};
|
|
|
|
// @vue/component
|
|
|
|
var BTable = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TABLE,
|
|
// Order of mixins is important!
|
|
// They are merged from first to last, followed by this component
|
|
mixins: [// General mixins
|
|
attrsMixin, hasListenerMixin, idMixin, normalizeSlotMixin, // Required table mixins
|
|
itemsMixin, tableRendererMixin, stackedMixin, theadMixin, tfootMixin, tbodyMixin, // Table features mixins
|
|
stackedMixin, filteringMixin, sortingMixin, paginationMixin$1, captionMixin, colgroupMixin, selectableMixin, emptyMixin, topRowMixin, bottomRowMixin, busyMixin, providerMixin] // Render function is provided by table-renderer mixin
|
|
|
|
});
|
|
|
|
// @vue/component
|
|
|
|
var BTableLite = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TABLE_LITE,
|
|
// Order of mixins is important!
|
|
// They are merged from first to last, followed by this component.
|
|
mixins: [// Required mixins
|
|
hasListenerMixin, idMixin, normalizeSlotMixin, itemsMixin, tableRendererMixin, stackedMixin, theadMixin, tfootMixin, tbodyMixin, // Features Mixins
|
|
// These are pretty lightweight, and are useful for lightweight tables
|
|
captionMixin, colgroupMixin] // render function provided by table-renderer mixin
|
|
|
|
});
|
|
|
|
// @vue/component
|
|
|
|
var BTableSimple = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TABLE_SIMPLE,
|
|
// Order of mixins is important!
|
|
// They are merged from first to last, followed by this component.
|
|
mixins: [// Required mixins
|
|
idMixin, normalizeSlotMixin, tableRendererMixin, // feature mixin
|
|
// Stacked requires extra handling by users via
|
|
// the table cell `stacked-heading` prop
|
|
stackedMixin],
|
|
computed: {
|
|
isTableSimple: function isTableSimple() {
|
|
return true;
|
|
}
|
|
} // render function provided by table-renderer mixin
|
|
|
|
});
|
|
|
|
var TableLitePlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BTableLite: BTableLite
|
|
}
|
|
});
|
|
var TableSimplePlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BTableSimple: BTableSimple,
|
|
BTbody: BTbody,
|
|
BThead: BThead,
|
|
BTfoot: BTfoot,
|
|
BTr: BTr,
|
|
BTd: BTd,
|
|
BTh: BTh
|
|
}
|
|
});
|
|
var TablePlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BTable: BTable
|
|
},
|
|
plugins: {
|
|
TableLitePlugin: TableLitePlugin,
|
|
TableSimplePlugin: TableSimplePlugin
|
|
}
|
|
});
|
|
|
|
var BSkeletonTable = /*#__PURE__*/Vue.extend({
|
|
name: NAME_SKELETON_TABLE,
|
|
functional: true,
|
|
props: makePropsConfigurable({
|
|
animation: {
|
|
type: String
|
|
},
|
|
rows: {
|
|
type: Number,
|
|
default: 3,
|
|
validator: function validator(value) {
|
|
return value > 0;
|
|
}
|
|
},
|
|
columns: {
|
|
type: Number,
|
|
default: 5,
|
|
validator: function validator(value) {
|
|
return value > 0;
|
|
}
|
|
},
|
|
hideHeader: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
showFooter: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
tableProps: {
|
|
type: Object,
|
|
default: function _default() {}
|
|
}
|
|
}, NAME_SKELETON_TABLE),
|
|
render: function render(h, _ref) {
|
|
var props = _ref.props;
|
|
var animation = props.animation,
|
|
columns = props.columns;
|
|
var $th = h('th', [h(BSkeleton, {
|
|
props: {
|
|
animation: animation
|
|
}
|
|
})]);
|
|
var $thTr = h('tr', createAndFillArray(columns, $th));
|
|
var $td = h('td', [h(BSkeleton, {
|
|
props: {
|
|
width: '75%',
|
|
animation: animation
|
|
}
|
|
})]);
|
|
var $tdTr = h('tr', createAndFillArray(columns, $td));
|
|
var $tbody = h('tbody', createAndFillArray(props.rows, $tdTr));
|
|
var $thead = !props.hideHeader ? h('thead', [$thTr]) : h();
|
|
var $tfoot = props.showFooter ? h('tfoot', [$thTr]) : h();
|
|
return h(BTableSimple, {
|
|
props: _objectSpread2({}, props.tableProps)
|
|
}, [$thead, $tbody, $tfoot]);
|
|
}
|
|
});
|
|
|
|
var BSkeletonWrapper = /*#__PURE__*/Vue.extend({
|
|
name: NAME_SKELETON_WRAPPER,
|
|
functional: true,
|
|
props: makePropsConfigurable({
|
|
loading: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_SKELETON_WRAPPER),
|
|
render: function render(h, _ref) {
|
|
var data = _ref.data,
|
|
props = _ref.props,
|
|
slots = _ref.slots,
|
|
scopedSlots = _ref.scopedSlots;
|
|
var $slots = slots();
|
|
var $scopedSlots = scopedSlots || {};
|
|
var slotScope = {};
|
|
|
|
if (props.loading) {
|
|
return h('div', mergeData(data, {
|
|
attrs: {
|
|
role: 'alert',
|
|
'aria-live': 'polite',
|
|
'aria-busy': true
|
|
},
|
|
staticClass: 'b-skeleton-wrapper',
|
|
key: 'loading'
|
|
}), [normalizeSlot('loading', slotScope, $scopedSlots, $slots) || h()]);
|
|
}
|
|
|
|
return normalizeSlot(SLOT_NAME_DEFAULT, slotScope, $scopedSlots, $slots) || h();
|
|
}
|
|
});
|
|
|
|
var SkeletonPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BSkeleton: BSkeleton,
|
|
BSkeletonIcon: BSkeletonIcon,
|
|
BSkeletonImg: BSkeletonImg,
|
|
BSkeletonTable: BSkeletonTable,
|
|
BSkeletonWrapper: BSkeletonWrapper
|
|
}
|
|
});
|
|
|
|
var SpinnerPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BSpinner: BSpinner
|
|
}
|
|
});
|
|
|
|
var navProps = omit(props$X, ['tabs', 'isNavBar', 'cardHeader']); // --- Helper methods ---
|
|
// Filter function to filter out disabled tabs
|
|
|
|
var notDisabled = function notDisabled(tab) {
|
|
return !tab.disabled;
|
|
}; // --- Helper components ---
|
|
// @vue/component
|
|
|
|
|
|
var BVTabButton = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TAB_BUTTON_HELPER,
|
|
inject: {
|
|
bvTabs: {
|
|
/* istanbul ignore next */
|
|
default: function _default() {
|
|
return {};
|
|
}
|
|
}
|
|
},
|
|
props: makePropsConfigurable({
|
|
// Reference to the child <b-tab> instance
|
|
tab: {
|
|
default: null
|
|
},
|
|
tabs: {
|
|
type: Array,
|
|
|
|
/* istanbul ignore next */
|
|
default: function _default() {
|
|
return [];
|
|
}
|
|
},
|
|
id: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
controls: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
tabIndex: {
|
|
type: Number,
|
|
default: null
|
|
},
|
|
posInSet: {
|
|
type: Number,
|
|
default: null
|
|
},
|
|
setSize: {
|
|
type: Number,
|
|
default: null
|
|
},
|
|
noKeyNav: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_TABS),
|
|
methods: {
|
|
focus: function focus() {
|
|
attemptFocus(this.$refs.link);
|
|
},
|
|
handleEvt: function handleEvt(evt) {
|
|
if (this.tab.disabled) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
var type = evt.type,
|
|
keyCode = evt.keyCode,
|
|
shiftKey = evt.shiftKey;
|
|
|
|
if (type === 'click') {
|
|
stopEvent(evt);
|
|
this.$emit('click', evt);
|
|
} else if (type === 'keydown' && keyCode === CODE_SPACE) {
|
|
// For ARIA tabs the SPACE key will also trigger a click/select
|
|
// Even with keyboard navigation disabled, SPACE should "click" the button
|
|
// See: https://github.com/bootstrap-vue/bootstrap-vue/issues/4323
|
|
stopEvent(evt);
|
|
this.$emit('click', evt);
|
|
} else if (type === 'keydown' && !this.noKeyNav) {
|
|
// For keyboard navigation
|
|
if ([CODE_UP, CODE_LEFT, CODE_HOME].indexOf(keyCode) !== -1) {
|
|
stopEvent(evt);
|
|
|
|
if (shiftKey || keyCode === CODE_HOME) {
|
|
this.$emit('first', evt);
|
|
} else {
|
|
this.$emit('prev', evt);
|
|
}
|
|
} else if ([CODE_DOWN, CODE_RIGHT, CODE_END].indexOf(keyCode) !== -1) {
|
|
stopEvent(evt);
|
|
|
|
if (shiftKey || keyCode === CODE_END) {
|
|
this.$emit('last', evt);
|
|
} else {
|
|
this.$emit('next', evt);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var id = this.id,
|
|
tabIndex = this.tabIndex,
|
|
setSize = this.setSize,
|
|
posInSet = this.posInSet,
|
|
controls = this.controls,
|
|
handleEvt = this.handleEvt;
|
|
var _this$tab = this.tab,
|
|
title = _this$tab.title,
|
|
localActive = _this$tab.localActive,
|
|
disabled = _this$tab.disabled,
|
|
titleItemClass = _this$tab.titleItemClass,
|
|
titleLinkClass = _this$tab.titleLinkClass,
|
|
titleLinkAttributes = _this$tab.titleLinkAttributes;
|
|
var $link = h(BLink, {
|
|
ref: 'link',
|
|
staticClass: 'nav-link',
|
|
class: [{
|
|
active: localActive && !disabled,
|
|
disabled: disabled
|
|
}, titleLinkClass, // Apply <b-tabs> `activeNavItemClass` styles when the tab is active
|
|
localActive ? this.bvTabs.activeNavItemClass : null],
|
|
props: {
|
|
disabled: disabled
|
|
},
|
|
attrs: _objectSpread2(_objectSpread2({}, titleLinkAttributes), {}, {
|
|
role: 'tab',
|
|
id: id,
|
|
// Roving tab index when keynav enabled
|
|
tabindex: tabIndex,
|
|
'aria-selected': localActive && !disabled ? 'true' : 'false',
|
|
'aria-setsize': setSize,
|
|
'aria-posinset': posInSet,
|
|
'aria-controls': controls
|
|
}),
|
|
on: {
|
|
click: handleEvt,
|
|
keydown: handleEvt
|
|
}
|
|
}, [this.tab.normalizeSlot(SLOT_NAME_TITLE) || title]);
|
|
return h('li', {
|
|
staticClass: 'nav-item',
|
|
class: [titleItemClass],
|
|
attrs: {
|
|
role: 'presentation'
|
|
}
|
|
}, [$link]);
|
|
}
|
|
}); // @vue/component
|
|
|
|
var BTabs = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TABS,
|
|
mixins: [idMixin, normalizeSlotMixin],
|
|
provide: function provide() {
|
|
return {
|
|
bvTabs: this
|
|
};
|
|
},
|
|
model: {
|
|
prop: 'value',
|
|
event: 'input'
|
|
},
|
|
props: _objectSpread2(_objectSpread2({}, navProps), {}, {
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
card: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
end: {
|
|
// Synonym for 'bottom'
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noFade: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noNavStyle: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noKeyNav: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
lazy: {
|
|
// This prop is sniffed by the <b-tab> child
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
contentClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
navClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
navWrapperClass: {
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
activeNavItemClass: {
|
|
// Only applied to the currently active <b-nav-item>
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
activeTabClass: {
|
|
// Only applied to the currently active <b-tab>
|
|
// This prop is sniffed by the <b-tab> child
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
value: {
|
|
// v-model
|
|
type: Number,
|
|
default: null
|
|
}
|
|
}),
|
|
data: function data() {
|
|
return {
|
|
// Index of current tab
|
|
currentTab: toInteger(this.value, -1),
|
|
// Array of direct child <b-tab> instances, in DOM order
|
|
tabs: [],
|
|
// Array of child instances registered (for triggering reactive updates)
|
|
registeredTabs: [],
|
|
// Flag to know if we are mounted or not
|
|
isMounted: false
|
|
};
|
|
},
|
|
computed: {
|
|
fade: function fade() {
|
|
// This computed prop is sniffed by the tab child
|
|
return !this.noFade;
|
|
},
|
|
localNavClass: function localNavClass() {
|
|
var classes = [];
|
|
|
|
if (this.card && this.vertical) {
|
|
classes.push('card-header', 'h-100', 'border-bottom-0', 'rounded-0');
|
|
}
|
|
|
|
return [].concat(classes, [this.navClass]);
|
|
}
|
|
},
|
|
watch: {
|
|
currentTab: function currentTab(newVal) {
|
|
var index = -1; // Ensure only one tab is active at most
|
|
|
|
this.tabs.forEach(function (tab, idx) {
|
|
if (newVal === idx && !tab.disabled) {
|
|
tab.localActive = true;
|
|
index = idx;
|
|
} else {
|
|
tab.localActive = false;
|
|
}
|
|
}); // Update the v-model
|
|
|
|
this.$emit('input', index);
|
|
},
|
|
value: function value(newVal, oldVal) {
|
|
if (newVal !== oldVal) {
|
|
newVal = toInteger(newVal, -1);
|
|
oldVal = toInteger(oldVal, 0);
|
|
var tabs = this.tabs;
|
|
|
|
if (tabs[newVal] && !tabs[newVal].disabled) {
|
|
this.activateTab(tabs[newVal]);
|
|
} else {
|
|
// Try next or prev tabs
|
|
if (newVal < oldVal) {
|
|
this.previousTab();
|
|
} else {
|
|
this.nextTab();
|
|
}
|
|
}
|
|
}
|
|
},
|
|
registeredTabs: function registeredTabs() {
|
|
var _this = this;
|
|
|
|
// Each b-tab will register/unregister itself.
|
|
// We use this to detect when tabs are added/removed
|
|
// to trigger the update of the tabs.
|
|
this.$nextTick(function () {
|
|
requestAF(function () {
|
|
_this.updateTabs();
|
|
});
|
|
});
|
|
},
|
|
tabs: function tabs(newVal, oldVal) {
|
|
var _this2 = this;
|
|
|
|
// If tabs added, removed, or re-ordered, we emit a `changed` event.
|
|
// We use `tab._uid` instead of `tab.safeId()`, as the later is changed
|
|
// in a nextTick if no explicit ID is provided, causing duplicate emits.
|
|
if (!looseEqual(newVal.map(function (t) {
|
|
return t._uid;
|
|
}), oldVal.map(function (t) {
|
|
return t._uid;
|
|
}))) {
|
|
// In a nextTick to ensure currentTab has been set first.
|
|
this.$nextTick(function () {
|
|
// We emit shallow copies of the new and old arrays of tabs, to
|
|
// prevent users from potentially mutating the internal arrays.
|
|
_this2.$emit('changed', newVal.slice(), oldVal.slice());
|
|
});
|
|
}
|
|
},
|
|
isMounted: function isMounted(newVal) {
|
|
var _this3 = this;
|
|
|
|
// Trigger an update after mounted. Needed for tabs inside lazy modals.
|
|
if (newVal) {
|
|
requestAF(function () {
|
|
_this3.updateTabs();
|
|
});
|
|
} // Enable or disable the observer
|
|
|
|
|
|
this.setObserver(newVal);
|
|
}
|
|
},
|
|
created: function created() {
|
|
var _this4 = this;
|
|
|
|
// Create private non-reactive props
|
|
this.$_observer = null;
|
|
this.currentTab = toInteger(this.value, -1); // For SSR and to make sure only a single tab is shown on mount
|
|
// We wrap this in a `$nextTick()` to ensure the child tabs have been created
|
|
|
|
this.$nextTick(function () {
|
|
_this4.updateTabs();
|
|
});
|
|
},
|
|
mounted: function mounted() {
|
|
var _this5 = this;
|
|
|
|
// Call `updateTabs()` just in case...
|
|
this.updateTabs();
|
|
this.$nextTick(function () {
|
|
// Flag we are now mounted and to switch to DOM for tab probing.
|
|
// As this.$slots.default appears to lie about component instances
|
|
// after b-tabs is destroyed and re-instantiated.
|
|
// And this.$children does not respect DOM order.
|
|
_this5.isMounted = true;
|
|
});
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
deactivated: function deactivated() {
|
|
this.isMounted = false;
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
activated: function activated() {
|
|
var _this6 = this;
|
|
|
|
this.currentTab = toInteger(this.value, -1);
|
|
this.$nextTick(function () {
|
|
_this6.updateTabs();
|
|
|
|
_this6.isMounted = true;
|
|
});
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.isMounted = false;
|
|
},
|
|
destroyed: function destroyed() {
|
|
// Ensure no references to child instances exist
|
|
this.tabs = [];
|
|
},
|
|
methods: {
|
|
registerTab: function registerTab(tab) {
|
|
var _this7 = this;
|
|
|
|
if (!arrayIncludes(this.registeredTabs, tab)) {
|
|
this.registeredTabs.push(tab);
|
|
tab.$once('hook:destroyed', function () {
|
|
_this7.unregisterTab(tab);
|
|
});
|
|
}
|
|
},
|
|
unregisterTab: function unregisterTab(tab) {
|
|
this.registeredTabs = this.registeredTabs.slice().filter(function (t) {
|
|
return t !== tab;
|
|
});
|
|
},
|
|
// DOM observer is needed to detect changes in order of tabs
|
|
setObserver: function setObserver(on) {
|
|
this.$_observer && this.$_observer.disconnect();
|
|
this.$_observer = null;
|
|
|
|
if (on) {
|
|
var self = this;
|
|
/* istanbul ignore next: difficult to test mutation observer in JSDOM */
|
|
|
|
var handler = function handler() {
|
|
// We delay the update to ensure that `tab.safeId()` has
|
|
// updated with the final ID value.
|
|
self.$nextTick(function () {
|
|
requestAF(function () {
|
|
self.updateTabs();
|
|
});
|
|
});
|
|
}; // Watch for changes to <b-tab> sub components
|
|
|
|
|
|
this.$_observer = observeDom(this.$refs.tabsContainer, handler, {
|
|
childList: true,
|
|
subtree: false,
|
|
attributes: true,
|
|
attributeFilter: ['id']
|
|
});
|
|
}
|
|
},
|
|
getTabs: function getTabs() {
|
|
// We use `registeredTabs` as the source of truth for child tab components
|
|
// We also filter out any `<b-tab>` components that are extended
|
|
// `<b-tab>` with a root child `<b-tab>`
|
|
// See: https://github.com/bootstrap-vue/bootstrap-vue/issues/3260
|
|
var tabs = this.registeredTabs.filter(function (tab) {
|
|
return tab.$children.filter(function (t) {
|
|
return t._isTab;
|
|
}).length === 0;
|
|
}); // DOM Order of Tabs
|
|
|
|
var order = [];
|
|
|
|
if (this.isMounted && tabs.length > 0) {
|
|
// We rely on the DOM when mounted to get the 'true' order of the `<b-tab>` children
|
|
// `querySelectorAll()` always returns elements in document order, regardless of
|
|
// order specified in the selector
|
|
var selector = tabs.map(function (tab) {
|
|
return "#".concat(tab.safeId());
|
|
}).join(', ');
|
|
order = selectAll(selector, this.$el).map(function (el) {
|
|
return el.id;
|
|
}).filter(identity);
|
|
} // Stable sort keeps the original order if not found in the `order` array,
|
|
// which will be an empty array before mount
|
|
|
|
|
|
return stableSort(tabs, function (a, b) {
|
|
return order.indexOf(a.safeId()) - order.indexOf(b.safeId());
|
|
});
|
|
},
|
|
// Update list of `<b-tab>` children
|
|
updateTabs: function updateTabs() {
|
|
// Probe tabs
|
|
var tabs = this.getTabs(); // Find *last* active non-disabled tab in current tabs
|
|
// We trust tab state over `currentTab`, in case tabs were added/removed/re-ordered
|
|
|
|
var tabIndex = tabs.indexOf(tabs.slice().reverse().find(function (tab) {
|
|
return tab.localActive && !tab.disabled;
|
|
})); // Else try setting to `currentTab`
|
|
|
|
if (tabIndex < 0) {
|
|
var currentTab = this.currentTab;
|
|
|
|
if (currentTab >= tabs.length) {
|
|
// Handle last tab being removed, so find the last non-disabled tab
|
|
tabIndex = tabs.indexOf(tabs.slice().reverse().find(notDisabled));
|
|
} else if (tabs[currentTab] && !tabs[currentTab].disabled) {
|
|
// Current tab is not disabled
|
|
tabIndex = currentTab;
|
|
}
|
|
} // Else find *first* non-disabled tab in current tabs
|
|
|
|
|
|
if (tabIndex < 0) {
|
|
tabIndex = tabs.indexOf(tabs.find(notDisabled));
|
|
} // Set the current tab state to active
|
|
|
|
|
|
tabs.forEach(function (tab) {
|
|
// tab.localActive = idx === tabIndex && !tab.disabled
|
|
tab.localActive = false;
|
|
});
|
|
|
|
if (tabs[tabIndex]) {
|
|
tabs[tabIndex].localActive = true;
|
|
} // Update the array of tab children
|
|
|
|
|
|
this.tabs = tabs; // Set the currentTab index (can be -1 if no non-disabled tabs)
|
|
|
|
this.currentTab = tabIndex;
|
|
},
|
|
// Find a button that controls a tab, given the tab reference
|
|
// Returns the button vm instance
|
|
getButtonForTab: function getButtonForTab(tab) {
|
|
return (this.$refs.buttons || []).find(function (btn) {
|
|
return btn.tab === tab;
|
|
});
|
|
},
|
|
// Force a button to re-render its content, given a <b-tab> instance
|
|
// Called by <b-tab> on `update()`
|
|
updateButton: function updateButton(tab) {
|
|
var button = this.getButtonForTab(tab);
|
|
|
|
if (button && button.$forceUpdate) {
|
|
button.$forceUpdate();
|
|
}
|
|
},
|
|
// Activate a tab given a `<b-tab>` instance
|
|
// Also accessed by `<b-tab>`
|
|
activateTab: function activateTab(tab) {
|
|
var result = false;
|
|
|
|
if (tab) {
|
|
var index = this.tabs.indexOf(tab);
|
|
|
|
if (!tab.disabled && index > -1 && index !== this.currentTab) {
|
|
var tabEvt = new BvEvent('activate-tab', {
|
|
cancelable: true,
|
|
vueTarget: this,
|
|
componentId: this.safeId()
|
|
});
|
|
this.$emit(tabEvt.type, index, this.currentTab, tabEvt);
|
|
|
|
if (!tabEvt.defaultPrevented) {
|
|
result = true;
|
|
this.currentTab = index;
|
|
}
|
|
}
|
|
} // Couldn't set tab, so ensure v-model is set to `this.currentTab`
|
|
|
|
/* istanbul ignore next: should rarely happen */
|
|
|
|
|
|
if (!result && this.currentTab !== this.value) {
|
|
this.$emit('input', this.currentTab);
|
|
}
|
|
|
|
return result;
|
|
},
|
|
// Deactivate a tab given a <b-tab> instance
|
|
// Accessed by <b-tab>
|
|
deactivateTab: function deactivateTab(tab) {
|
|
if (tab) {
|
|
// Find first non-disabled tab that isn't the one being deactivated
|
|
// If no tabs are available, then don't deactivate current tab
|
|
return this.activateTab(this.tabs.filter(function (t) {
|
|
return t !== tab;
|
|
}).find(notDisabled));
|
|
}
|
|
/* istanbul ignore next: should never/rarely happen */
|
|
|
|
|
|
return false;
|
|
},
|
|
// Focus a tab button given its <b-tab> instance
|
|
focusButton: function focusButton(tab) {
|
|
var _this8 = this;
|
|
|
|
// Wrap in `$nextTick()` to ensure DOM has completed rendering/updating before focusing
|
|
this.$nextTick(function () {
|
|
attemptFocus(_this8.getButtonForTab(tab));
|
|
});
|
|
},
|
|
// Emit a click event on a specified <b-tab> component instance
|
|
emitTabClick: function emitTabClick(tab, evt) {
|
|
if (isEvent(evt) && tab && tab.$emit && !tab.disabled) {
|
|
tab.$emit('click', evt);
|
|
}
|
|
},
|
|
// Click handler
|
|
clickTab: function clickTab(tab, evt) {
|
|
this.activateTab(tab);
|
|
this.emitTabClick(tab, evt);
|
|
},
|
|
// Move to first non-disabled tab
|
|
firstTab: function firstTab(focus) {
|
|
var tab = this.tabs.find(notDisabled);
|
|
|
|
if (this.activateTab(tab) && focus) {
|
|
this.focusButton(tab);
|
|
this.emitTabClick(tab, focus);
|
|
}
|
|
},
|
|
// Move to previous non-disabled tab
|
|
previousTab: function previousTab(focus) {
|
|
var currentIndex = mathMax(this.currentTab, 0);
|
|
var tab = this.tabs.slice(0, currentIndex).reverse().find(notDisabled);
|
|
|
|
if (this.activateTab(tab) && focus) {
|
|
this.focusButton(tab);
|
|
this.emitTabClick(tab, focus);
|
|
}
|
|
},
|
|
// Move to next non-disabled tab
|
|
nextTab: function nextTab(focus) {
|
|
var currentIndex = mathMax(this.currentTab, -1);
|
|
var tab = this.tabs.slice(currentIndex + 1).find(notDisabled);
|
|
|
|
if (this.activateTab(tab) && focus) {
|
|
this.focusButton(tab);
|
|
this.emitTabClick(tab, focus);
|
|
}
|
|
},
|
|
// Move to last non-disabled tab
|
|
lastTab: function lastTab(focus) {
|
|
var tab = this.tabs.slice().reverse().find(notDisabled);
|
|
|
|
if (this.activateTab(tab) && focus) {
|
|
this.focusButton(tab);
|
|
this.emitTabClick(tab, focus);
|
|
}
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _this9 = this;
|
|
|
|
var tabs = this.tabs,
|
|
noKeyNav = this.noKeyNav,
|
|
firstTab = this.firstTab,
|
|
previousTab = this.previousTab,
|
|
nextTab = this.nextTab,
|
|
lastTab = this.lastTab; // Currently active tab
|
|
|
|
var activeTab = tabs.find(function (tab) {
|
|
return tab.localActive && !tab.disabled;
|
|
}); // Tab button to allow focusing when no active tab found (keynav only)
|
|
|
|
var fallbackTab = tabs.find(function (tab) {
|
|
return !tab.disabled;
|
|
}); // For each `<b-tab>` found create the tab buttons
|
|
|
|
var buttons = tabs.map(function (tab, index) {
|
|
var tabIndex = null; // Ensure at least one tab button is focusable when keynav enabled (if possible)
|
|
|
|
if (!noKeyNav) {
|
|
// Buttons are not in tab index unless active, or a fallback tab
|
|
tabIndex = -1;
|
|
|
|
if (activeTab === tab || !activeTab && fallbackTab === tab) {
|
|
// Place tab button in tab sequence
|
|
tabIndex = null;
|
|
}
|
|
}
|
|
|
|
return h(BVTabButton, {
|
|
key: tab._uid || index,
|
|
ref: 'buttons',
|
|
// Needed to make `this.$refs.buttons` an array
|
|
refInFor: true,
|
|
props: {
|
|
tab: tab,
|
|
tabs: tabs,
|
|
id: tab.controlledBy || (tab.safeId ? tab.safeId("_BV_tab_button_") : null),
|
|
controls: tab.safeId ? tab.safeId() : null,
|
|
tabIndex: tabIndex,
|
|
setSize: tabs.length,
|
|
posInSet: index + 1,
|
|
noKeyNav: noKeyNav
|
|
},
|
|
on: {
|
|
click: function click(evt) {
|
|
_this9.clickTab(tab, evt);
|
|
},
|
|
first: firstTab,
|
|
prev: previousTab,
|
|
next: nextTab,
|
|
last: lastTab
|
|
}
|
|
});
|
|
}); // Nav
|
|
|
|
var nav = h(BNav, {
|
|
ref: 'nav',
|
|
class: this.localNavClass,
|
|
attrs: {
|
|
role: 'tablist',
|
|
id: this.safeId('_BV_tab_controls_')
|
|
},
|
|
props: {
|
|
fill: this.fill,
|
|
justified: this.justified,
|
|
align: this.align,
|
|
tabs: !this.noNavStyle && !this.pills,
|
|
pills: !this.noNavStyle && this.pills,
|
|
vertical: this.vertical,
|
|
small: this.small,
|
|
cardHeader: this.card && !this.vertical
|
|
}
|
|
}, [this.normalizeSlot('tabs-start') || h(), buttons, this.normalizeSlot('tabs-end') || h()]);
|
|
nav = h('div', {
|
|
key: 'bv-tabs-nav',
|
|
class: [{
|
|
'card-header': this.card && !this.vertical && !this.end,
|
|
'card-footer': this.card && !this.vertical && this.end,
|
|
'col-auto': this.vertical
|
|
}, this.navWrapperClass]
|
|
}, [nav]);
|
|
var empty = h();
|
|
|
|
if (!tabs || tabs.length === 0) {
|
|
empty = h('div', {
|
|
key: 'bv-empty-tab',
|
|
class: ['tab-pane', 'active', {
|
|
'card-body': this.card
|
|
}]
|
|
}, this.normalizeSlot('empty'));
|
|
} // Main content section
|
|
|
|
|
|
var content = h('div', {
|
|
ref: 'tabsContainer',
|
|
key: 'bv-tabs-container',
|
|
staticClass: 'tab-content',
|
|
class: [{
|
|
col: this.vertical
|
|
}, this.contentClass],
|
|
attrs: {
|
|
id: this.safeId('_BV_tab_container_')
|
|
}
|
|
}, concat(this.normalizeSlot(), empty)); // Render final output
|
|
|
|
return h(this.tag, {
|
|
staticClass: 'tabs',
|
|
class: {
|
|
row: this.vertical,
|
|
'no-gutters': this.vertical && this.card
|
|
},
|
|
attrs: {
|
|
id: this.safeId()
|
|
}
|
|
}, [this.end ? content : h(), [nav], this.end ? h() : content]);
|
|
}
|
|
});
|
|
|
|
var BTab = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TAB,
|
|
mixins: [idMixin, normalizeSlotMixin],
|
|
inject: {
|
|
bvTabs: {
|
|
default: function _default() {
|
|
return {};
|
|
}
|
|
}
|
|
},
|
|
props: makePropsConfigurable({
|
|
active: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
tag: {
|
|
type: String,
|
|
default: 'div'
|
|
},
|
|
buttonId: {
|
|
type: String // default: ''
|
|
|
|
},
|
|
title: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
titleItemClass: {
|
|
// Sniffed by `<b-tabs>` and added to nav `li.nav-item`
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
titleLinkClass: {
|
|
// Sniffed by `<b-tabs>` and added to nav `a.nav-link`
|
|
type: [String, Array, Object] // default: null
|
|
|
|
},
|
|
titleLinkAttributes: {
|
|
type: Object // default: null
|
|
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noBody: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
lazy: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, NAME_TAB),
|
|
data: function data() {
|
|
return {
|
|
localActive: this.active && !this.disabled,
|
|
show: false
|
|
};
|
|
},
|
|
computed: {
|
|
tabClasses: function tabClasses() {
|
|
return [{
|
|
active: this.localActive,
|
|
disabled: this.disabled,
|
|
'card-body': this.bvTabs.card && !this.noBody
|
|
}, // Apply <b-tabs> `activeTabClass` styles when this tab is active
|
|
this.localActive ? this.bvTabs.activeTabClass : null];
|
|
},
|
|
controlledBy: function controlledBy() {
|
|
return this.buttonId || this.safeId('__BV_tab_button__');
|
|
},
|
|
computedNoFade: function computedNoFade() {
|
|
return !(this.bvTabs.fade || false);
|
|
},
|
|
computedLazy: function computedLazy() {
|
|
return this.bvTabs.lazy || this.lazy;
|
|
},
|
|
// For parent sniffing of child
|
|
_isTab: function _isTab() {
|
|
return true;
|
|
}
|
|
},
|
|
watch: {
|
|
localActive: function localActive(newValue) {
|
|
// Make `active` prop work with `.sync` modifier
|
|
this.$emit('update:active', newValue);
|
|
},
|
|
active: function active(newValue, oldValue) {
|
|
if (newValue !== oldValue) {
|
|
if (newValue) {
|
|
// If activated post mount
|
|
this.activate();
|
|
} else {
|
|
/* istanbul ignore next */
|
|
if (!this.deactivate()) {
|
|
// Tab couldn't be deactivated, so we reset the synced active prop
|
|
// Deactivation will fail if no other tabs to activate
|
|
this.$emit('update:active', this.localActive);
|
|
}
|
|
}
|
|
}
|
|
},
|
|
disabled: function disabled(newValue, oldValue) {
|
|
if (newValue !== oldValue) {
|
|
var firstTab = this.bvTabs.firstTab;
|
|
|
|
if (newValue && this.localActive && firstTab) {
|
|
this.localActive = false;
|
|
firstTab();
|
|
}
|
|
}
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
// Inform b-tabs of our presence
|
|
this.registerTab(); // Initially show on mount if active and not disabled
|
|
|
|
this.show = this.localActive;
|
|
},
|
|
updated: function updated() {
|
|
// Force the tab button content to update (since slots are not reactive)
|
|
// Only done if we have a title slot, as the title prop is reactive
|
|
var updateButton = this.bvTabs.updateButton;
|
|
|
|
if (updateButton && this.hasNormalizedSlot(SLOT_NAME_TITLE)) {
|
|
updateButton(this);
|
|
}
|
|
},
|
|
destroyed: function destroyed() {
|
|
// inform b-tabs of our departure
|
|
this.unregisterTab();
|
|
},
|
|
methods: {
|
|
// Private methods
|
|
registerTab: function registerTab() {
|
|
// Inform `<b-tabs>` of our presence
|
|
var registerTab = this.bvTabs.registerTab;
|
|
|
|
if (registerTab) {
|
|
registerTab(this);
|
|
}
|
|
},
|
|
unregisterTab: function unregisterTab() {
|
|
// Inform `<b-tabs>` of our departure
|
|
var unregisterTab = this.bvTabs.unregisterTab;
|
|
|
|
if (unregisterTab) {
|
|
unregisterTab(this);
|
|
}
|
|
},
|
|
// Public methods
|
|
activate: function activate() {
|
|
// Not inside a `<b-tabs>` component or tab is disabled
|
|
var activateTab = this.bvTabs.activateTab;
|
|
return activateTab && !this.disabled ? activateTab(this) : false;
|
|
},
|
|
deactivate: function deactivate() {
|
|
// Not inside a `<b-tabs>` component or not active to begin with
|
|
var deactivateTab = this.bvTabs.deactivateTab;
|
|
return deactivateTab && this.localActive ? deactivateTab(this) : false;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var localActive = this.localActive;
|
|
var $content = h(this.tag, {
|
|
ref: 'panel',
|
|
staticClass: 'tab-pane',
|
|
class: this.tabClasses,
|
|
directives: [{
|
|
name: 'show',
|
|
rawName: 'v-show',
|
|
value: localActive,
|
|
expression: 'localActive'
|
|
}],
|
|
attrs: {
|
|
role: 'tabpanel',
|
|
id: this.safeId(),
|
|
'aria-hidden': localActive ? 'false' : 'true',
|
|
'aria-labelledby': this.controlledBy || null
|
|
}
|
|
}, // Render content lazily if requested
|
|
[localActive || !this.computedLazy ? this.normalizeSlot() : h()]);
|
|
return h(BVTransition, {
|
|
props: {
|
|
mode: 'out-in',
|
|
noFade: this.computedNoFade
|
|
}
|
|
}, [$content]);
|
|
}
|
|
});
|
|
|
|
var TabsPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BTabs: BTabs,
|
|
BTab: BTab
|
|
}
|
|
});
|
|
|
|
var TimePlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BTime: BTime
|
|
}
|
|
});
|
|
|
|
var props$1a = makePropsConfigurable({
|
|
name: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
ariaLive: {
|
|
type: String,
|
|
default: undefined
|
|
},
|
|
// Allowed: 'true' or 'false' or null
|
|
ariaAtomic: {
|
|
type: String // default: undefined
|
|
|
|
},
|
|
role: {
|
|
// Aria role
|
|
type: String // default: undefined
|
|
|
|
}
|
|
}, NAME_TOASTER); // @vue/component
|
|
|
|
var DefaultTransition = /*#__PURE__*/Vue.extend({
|
|
data: function data() {
|
|
return {
|
|
// Transition classes base name
|
|
name: 'b-toaster'
|
|
};
|
|
},
|
|
methods: {
|
|
onAfterEnter: function onAfterEnter(el) {
|
|
var _this = this;
|
|
|
|
// Work around a Vue.js bug where `*-enter-to` class is not removed
|
|
// See: https://github.com/vuejs/vue/pull/7901
|
|
// The `*-move` class is also stuck on elements that moved,
|
|
// but there are no JavaScript hooks to handle after move
|
|
// See: https://github.com/vuejs/vue/pull/7906
|
|
requestAF(function () {
|
|
removeClass(el, "".concat(_this.name, "-enter-to"));
|
|
});
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
return h('transition-group', {
|
|
props: {
|
|
tag: 'div',
|
|
name: this.name
|
|
},
|
|
on: {
|
|
afterEnter: this.onAfterEnter
|
|
}
|
|
}, this.$slots.default);
|
|
}
|
|
}); // @vue/component
|
|
|
|
var BToaster = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TOASTER,
|
|
props: props$1a,
|
|
data: function data() {
|
|
return {
|
|
// We don't render on SSR or if a an existing target found
|
|
doRender: false,
|
|
dead: false,
|
|
// Toaster names cannot change once created
|
|
staticName: this.name
|
|
};
|
|
},
|
|
beforeMount: function beforeMount() {
|
|
var _this2 = this;
|
|
|
|
this.staticName = this.name;
|
|
/* istanbul ignore if */
|
|
|
|
if (Wormhole.hasTarget(this.staticName)) {
|
|
warn("A \"<portal-target>\" with name \"".concat(this.name, "\" already exists in the document."), NAME_TOASTER);
|
|
this.dead = true;
|
|
} else {
|
|
this.doRender = true;
|
|
this.$once('hook:beforeDestroy', function () {
|
|
// Let toasts made with `this.$bvToast.toast()` know that this toaster
|
|
// is being destroyed and should should also destroy/hide themselves
|
|
_this2.$root.$emit('bv::toaster::destroyed', _this2.staticName);
|
|
});
|
|
}
|
|
},
|
|
destroyed: function destroyed() {
|
|
// Remove from DOM if needed
|
|
|
|
/* istanbul ignore next: difficult to test */
|
|
if (this.$el && this.$el.parentNode) {
|
|
this.$el.parentNode.removeChild(this.$el);
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var $toaster = h('div', {
|
|
class: ['d-none', {
|
|
'b-dead-toaster': this.dead
|
|
}]
|
|
});
|
|
|
|
if (this.doRender) {
|
|
var $target = h(PortalTarget, {
|
|
staticClass: 'b-toaster-slot',
|
|
props: {
|
|
name: this.staticName,
|
|
multiple: true,
|
|
tag: 'div',
|
|
slim: false,
|
|
// transition: this.transition || DefaultTransition
|
|
transition: DefaultTransition
|
|
}
|
|
});
|
|
$toaster = h('div', {
|
|
staticClass: 'b-toaster',
|
|
class: [this.staticName],
|
|
attrs: {
|
|
id: this.staticName,
|
|
role: this.role || null,
|
|
// Fallback to null to make sure attribute doesn't exist
|
|
'aria-live': this.ariaLive,
|
|
'aria-atomic': this.ariaAtomic
|
|
}
|
|
}, [$target]);
|
|
}
|
|
|
|
return $toaster;
|
|
}
|
|
});
|
|
|
|
var MIN_DURATION = 1000; // --- Props ---
|
|
|
|
var linkProps$5 = pick(props$1, ['href', 'to']);
|
|
var props$1b = makePropsConfigurable(_objectSpread2({
|
|
id: {
|
|
// Even though the ID prop is provided by idMixin, we
|
|
// add it here for $bvToast props filtering
|
|
type: String // default: null
|
|
|
|
},
|
|
title: {
|
|
type: String // default: null
|
|
|
|
},
|
|
toaster: {
|
|
type: String,
|
|
default: 'b-toaster-top-right'
|
|
},
|
|
visible: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
variant: {
|
|
type: String // default: null
|
|
|
|
},
|
|
isStatus: {
|
|
// Switches role to 'status' and aria-live to 'polite'
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
appendToast: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noAutoHide: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
autoHideDelay: {
|
|
type: [Number, String],
|
|
default: 5000
|
|
},
|
|
noCloseButton: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noFade: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
noHoverPause: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
solid: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
toastClass: {
|
|
type: [String, Object, Array] // default: undefined
|
|
|
|
},
|
|
headerClass: {
|
|
type: [String, Object, Array] // default: undefined
|
|
|
|
},
|
|
bodyClass: {
|
|
type: [String, Object, Array] // default: undefined
|
|
|
|
},
|
|
static: {
|
|
// Render the toast in place, rather than in a portal-target
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}, linkProps$5), NAME_TOAST); // @vue/component
|
|
|
|
var BToast = /*#__PURE__*/Vue.extend({
|
|
name: NAME_TOAST,
|
|
mixins: [attrsMixin, idMixin, listenOnRootMixin, normalizeSlotMixin, scopedStyleAttrsMixin],
|
|
inheritAttrs: false,
|
|
model: {
|
|
prop: 'visible',
|
|
event: 'change'
|
|
},
|
|
props: props$1b,
|
|
data: function data() {
|
|
return {
|
|
isMounted: false,
|
|
doRender: false,
|
|
localShow: false,
|
|
isTransitioning: false,
|
|
isHiding: false,
|
|
order: 0,
|
|
dismissStarted: 0,
|
|
resumeDismiss: 0
|
|
};
|
|
},
|
|
computed: {
|
|
bToastClasses: function bToastClasses() {
|
|
return _defineProperty({
|
|
'b-toast-solid': this.solid,
|
|
'b-toast-append': this.appendToast,
|
|
'b-toast-prepend': !this.appendToast
|
|
}, "b-toast-".concat(this.variant), this.variant);
|
|
},
|
|
slotScope: function slotScope() {
|
|
return {
|
|
hide: this.hide
|
|
};
|
|
},
|
|
computedDuration: function computedDuration() {
|
|
// Minimum supported duration is 1 second
|
|
return mathMax(toInteger(this.autoHideDelay, 0), MIN_DURATION);
|
|
},
|
|
computedToaster: function computedToaster() {
|
|
return String(this.toaster);
|
|
},
|
|
transitionHandlers: function transitionHandlers() {
|
|
return {
|
|
beforeEnter: this.onBeforeEnter,
|
|
afterEnter: this.onAfterEnter,
|
|
beforeLeave: this.onBeforeLeave,
|
|
afterLeave: this.onAfterLeave
|
|
};
|
|
},
|
|
computedAttrs: function computedAttrs() {
|
|
return _objectSpread2(_objectSpread2({}, this.bvAttrs), {}, {
|
|
id: this.safeId(),
|
|
tabindex: '0'
|
|
});
|
|
}
|
|
},
|
|
watch: {
|
|
visible: function visible(newVal) {
|
|
newVal ? this.show() : this.hide();
|
|
},
|
|
localShow: function localShow(newVal) {
|
|
if (newVal !== this.visible) {
|
|
this.$emit('change', newVal);
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
toaster: function toaster() {
|
|
// If toaster target changed, make sure toaster exists
|
|
this.$nextTick(this.ensureToaster);
|
|
},
|
|
|
|
/* istanbul ignore next */
|
|
static: function _static(newVal) {
|
|
// If static changes to true, and the toast is showing,
|
|
// ensure the toaster target exists
|
|
if (newVal && this.localShow) {
|
|
this.ensureToaster();
|
|
}
|
|
}
|
|
},
|
|
created: function created() {
|
|
// Create private non-reactive props
|
|
this.$_dismissTimer = null;
|
|
},
|
|
mounted: function mounted() {
|
|
var _this = this;
|
|
|
|
this.isMounted = true;
|
|
this.$nextTick(function () {
|
|
if (_this.visible) {
|
|
requestAF(function () {
|
|
_this.show();
|
|
});
|
|
}
|
|
}); // Listen for global $root show events
|
|
|
|
this.listenOnRoot('bv::show::toast', function (id) {
|
|
if (id === _this.safeId()) {
|
|
_this.show();
|
|
}
|
|
}); // Listen for global $root hide events
|
|
|
|
this.listenOnRoot('bv::hide::toast', function (id) {
|
|
if (!id || id === _this.safeId()) {
|
|
_this.hide();
|
|
}
|
|
}); // Make sure we hide when toaster is destroyed
|
|
|
|
/* istanbul ignore next: difficult to test */
|
|
|
|
this.listenOnRoot('bv::toaster::destroyed', function (toaster) {
|
|
/* istanbul ignore next */
|
|
if (toaster === _this.computedToaster) {
|
|
/* istanbul ignore next */
|
|
_this.hide();
|
|
}
|
|
});
|
|
},
|
|
beforeDestroy: function beforeDestroy() {
|
|
this.clearDismissTimer();
|
|
},
|
|
methods: {
|
|
show: function show() {
|
|
var _this2 = this;
|
|
|
|
if (!this.localShow) {
|
|
this.ensureToaster();
|
|
var showEvt = this.buildEvent('show');
|
|
this.emitEvent(showEvt);
|
|
this.dismissStarted = this.resumeDismiss = 0;
|
|
this.order = Date.now() * (this.appendToast ? 1 : -1);
|
|
this.isHiding = false;
|
|
this.doRender = true;
|
|
this.$nextTick(function () {
|
|
// We show the toast after we have rendered the portal and b-toast wrapper
|
|
// so that screen readers will properly announce the toast
|
|
requestAF(function () {
|
|
_this2.localShow = true;
|
|
});
|
|
});
|
|
}
|
|
},
|
|
hide: function hide() {
|
|
var _this3 = this;
|
|
|
|
if (this.localShow) {
|
|
var hideEvt = this.buildEvent('hide');
|
|
this.emitEvent(hideEvt);
|
|
this.setHoverHandler(false);
|
|
this.dismissStarted = this.resumeDismiss = 0;
|
|
this.clearDismissTimer();
|
|
this.isHiding = true;
|
|
requestAF(function () {
|
|
_this3.localShow = false;
|
|
});
|
|
}
|
|
},
|
|
buildEvent: function buildEvent(type) {
|
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
return new BvEvent(type, _objectSpread2(_objectSpread2({
|
|
cancelable: false,
|
|
target: this.$el || null,
|
|
relatedTarget: null
|
|
}, options), {}, {
|
|
vueTarget: this,
|
|
componentId: this.safeId()
|
|
}));
|
|
},
|
|
emitEvent: function emitEvent(bvEvt) {
|
|
var type = bvEvt.type;
|
|
this.emitOnRoot("bv::toast:".concat(type), bvEvt);
|
|
this.$emit(type, bvEvt);
|
|
},
|
|
ensureToaster: function ensureToaster() {
|
|
if (this.static) {
|
|
return;
|
|
}
|
|
|
|
if (!Wormhole.hasTarget(this.computedToaster)) {
|
|
var div = document.createElement('div');
|
|
document.body.appendChild(div);
|
|
var toaster = new BToaster({
|
|
parent: this.$root,
|
|
propsData: {
|
|
name: this.computedToaster
|
|
}
|
|
});
|
|
toaster.$mount(div);
|
|
}
|
|
},
|
|
startDismissTimer: function startDismissTimer() {
|
|
this.clearDismissTimer();
|
|
|
|
if (!this.noAutoHide) {
|
|
this.$_dismissTimer = setTimeout(this.hide, this.resumeDismiss || this.computedDuration);
|
|
this.dismissStarted = Date.now();
|
|
this.resumeDismiss = 0;
|
|
}
|
|
},
|
|
clearDismissTimer: function clearDismissTimer() {
|
|
clearTimeout(this.$_dismissTimer);
|
|
this.$_dismissTimer = null;
|
|
},
|
|
setHoverHandler: function setHoverHandler(on) {
|
|
var el = this.$refs['b-toast'];
|
|
eventOnOff(on, el, 'mouseenter', this.onPause, EVENT_OPTIONS_NO_CAPTURE);
|
|
eventOnOff(on, el, 'mouseleave', this.onUnPause, EVENT_OPTIONS_NO_CAPTURE);
|
|
},
|
|
onPause: function onPause() {
|
|
// Determine time remaining, and then pause timer
|
|
if (this.noAutoHide || this.noHoverPause || !this.$_dismissTimer || this.resumeDismiss) {
|
|
return;
|
|
}
|
|
|
|
var passed = Date.now() - this.dismissStarted;
|
|
|
|
if (passed > 0) {
|
|
this.clearDismissTimer();
|
|
this.resumeDismiss = mathMax(this.computedDuration - passed, MIN_DURATION);
|
|
}
|
|
},
|
|
onUnPause: function onUnPause() {
|
|
// Restart timer with max of time remaining or 1 second
|
|
if (this.noAutoHide || this.noHoverPause || !this.resumeDismiss) {
|
|
this.resumeDismiss = this.dismissStarted = 0;
|
|
return;
|
|
}
|
|
|
|
this.startDismissTimer();
|
|
},
|
|
onLinkClick: function onLinkClick() {
|
|
var _this4 = this;
|
|
|
|
// We delay the close to allow time for the
|
|
// browser to process the link click
|
|
this.$nextTick(function () {
|
|
requestAF(function () {
|
|
_this4.hide();
|
|
});
|
|
});
|
|
},
|
|
onBeforeEnter: function onBeforeEnter() {
|
|
this.isTransitioning = true;
|
|
},
|
|
onAfterEnter: function onAfterEnter() {
|
|
this.isTransitioning = false;
|
|
var hiddenEvt = this.buildEvent('shown');
|
|
this.emitEvent(hiddenEvt);
|
|
this.startDismissTimer();
|
|
this.setHoverHandler(true);
|
|
},
|
|
onBeforeLeave: function onBeforeLeave() {
|
|
this.isTransitioning = true;
|
|
},
|
|
onAfterLeave: function onAfterLeave() {
|
|
this.isTransitioning = false;
|
|
this.order = 0;
|
|
this.resumeDismiss = this.dismissStarted = 0;
|
|
var hiddenEvt = this.buildEvent('hidden');
|
|
this.emitEvent(hiddenEvt);
|
|
this.doRender = false;
|
|
},
|
|
makeToast: function makeToast(h) {
|
|
var _this5 = this;
|
|
|
|
// Render helper for generating the toast
|
|
// Assemble the header content
|
|
var $headerContent = [];
|
|
var $title = this.normalizeSlot('toast-title', this.slotScope);
|
|
|
|
if ($title) {
|
|
$headerContent.push($title);
|
|
} else if (this.title) {
|
|
$headerContent.push(h('strong', {
|
|
staticClass: 'mr-2'
|
|
}, this.title));
|
|
}
|
|
|
|
if (!this.noCloseButton) {
|
|
$headerContent.push(h(BButtonClose, {
|
|
staticClass: 'ml-auto mb-1',
|
|
on: {
|
|
click: function click() {
|
|
_this5.hide();
|
|
}
|
|
}
|
|
}));
|
|
} // Assemble the header (if needed)
|
|
|
|
|
|
var $header = h();
|
|
|
|
if ($headerContent.length > 0) {
|
|
$header = h('header', {
|
|
staticClass: 'toast-header',
|
|
class: this.headerClass
|
|
}, $headerContent);
|
|
} // Toast body
|
|
|
|
|
|
var link = isLink(this);
|
|
var $body = h(link ? BLink : 'div', {
|
|
staticClass: 'toast-body',
|
|
class: this.bodyClass,
|
|
props: link ? pluckProps(linkProps$5, this) : {},
|
|
on: link ? {
|
|
click: this.onLinkClick
|
|
} : {}
|
|
}, [this.normalizeSlot(SLOT_NAME_DEFAULT, this.slotScope) || h()]); // Build the toast
|
|
|
|
var $toast = h('div', {
|
|
key: "toast-".concat(this._uid),
|
|
ref: 'toast',
|
|
staticClass: 'toast',
|
|
class: this.toastClass,
|
|
attrs: this.computedAttrs
|
|
}, [$header, $body]);
|
|
return $toast;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
if (!this.doRender || !this.isMounted) {
|
|
return h();
|
|
}
|
|
|
|
var name = "b-toast-".concat(this._uid); // If scoped styles are applied and the toast is not static,
|
|
// make sure the scoped style data attribute is applied
|
|
|
|
var scopedStyleAttrs = !this.static ? this.scopedStyleAttrs : {};
|
|
return h(Portal, {
|
|
props: {
|
|
name: name,
|
|
to: this.computedToaster,
|
|
order: this.order,
|
|
slim: true,
|
|
disabled: this.static
|
|
}
|
|
}, [h('div', {
|
|
key: name,
|
|
ref: 'b-toast',
|
|
staticClass: 'b-toast',
|
|
class: this.bToastClasses,
|
|
attrs: _objectSpread2(_objectSpread2({}, scopedStyleAttrs), {}, {
|
|
id: this.safeId('_toast_outer'),
|
|
role: this.isHiding ? null : this.isStatus ? 'status' : 'alert',
|
|
'aria-live': this.isHiding ? null : this.isStatus ? 'polite' : 'assertive',
|
|
'aria-atomic': this.isHiding ? null : 'true'
|
|
})
|
|
}, [h(BVTransition, {
|
|
props: {
|
|
noFade: this.noFade
|
|
},
|
|
on: this.transitionHandlers
|
|
}, [this.localShow ? this.makeToast(h) : h()])])]);
|
|
}
|
|
});
|
|
|
|
var PROP_NAME$2 = '$bvToast';
|
|
var PROP_NAME_PRIV$1 = '_bv__toast'; // Base toast props that are allowed
|
|
// Some may be ignored or overridden on some message boxes
|
|
// Prop ID is allowed, but really only should be used for testing
|
|
// We need to add it in explicitly as it comes from the `idMixin`
|
|
|
|
var BASE_PROPS$1 = ['id'].concat(_toConsumableArray(keys(omit(props$1b, ['static', 'visible'])))); // Map prop names to toast slot names
|
|
|
|
var propsToSlots$1 = {
|
|
toastContent: 'default',
|
|
title: 'toast-title'
|
|
}; // --- Utility methods ---
|
|
// Method to filter only recognized props that are not undefined
|
|
|
|
var filterOptions$1 = function filterOptions(options) {
|
|
return BASE_PROPS$1.reduce(function (memo, key) {
|
|
if (!isUndefined(options[key])) {
|
|
memo[key] = options[key];
|
|
}
|
|
|
|
return memo;
|
|
}, {});
|
|
}; // Method to install `$bvToast` VM injection
|
|
|
|
|
|
var plugin$1 = function plugin(Vue) {
|
|
// Create a private sub-component constructor that
|
|
// extends BToast and self-destructs after hidden
|
|
// @vue/component
|
|
var BVToastPop = Vue.extend({
|
|
name: NAME_TOAST_POP,
|
|
extends: BToast,
|
|
destroyed: function destroyed() {
|
|
// Make sure we not in document any more
|
|
if (this.$el && this.$el.parentNode) {
|
|
this.$el.parentNode.removeChild(this.$el);
|
|
}
|
|
},
|
|
mounted: function mounted() {
|
|
var _this = this;
|
|
|
|
// Self destruct handler
|
|
var handleDestroy = function handleDestroy() {
|
|
// Ensure the toast has been force hidden
|
|
_this.localShow = false;
|
|
_this.doRender = false;
|
|
|
|
_this.$nextTick(function () {
|
|
_this.$nextTick(function () {
|
|
// In a `requestAF()` to release control back to application
|
|
// and to allow the portal-target time to remove the content
|
|
requestAF(function () {
|
|
_this.$destroy();
|
|
});
|
|
});
|
|
});
|
|
}; // Self destruct if parent destroyed
|
|
|
|
|
|
this.$parent.$once('hook:destroyed', handleDestroy); // Self destruct after hidden
|
|
|
|
this.$once('hidden', handleDestroy); // Self destruct when toaster is destroyed
|
|
|
|
this.listenOnRoot('bv::toaster::destroyed', function (toaster) {
|
|
/* istanbul ignore next: hard to test */
|
|
if (toaster === _this.toaster) {
|
|
handleDestroy();
|
|
}
|
|
});
|
|
}
|
|
}); // Private method to generate the on-demand toast
|
|
|
|
var makeToast = function makeToast(props, $parent) {
|
|
if (warnNotClient(PROP_NAME$2)) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
} // Create an instance of `BVToastPop` component
|
|
|
|
|
|
var toast = new BVToastPop({
|
|
// We set parent as the local VM so these toasts can emit events on the
|
|
// app `$root`, and it ensures `BToast` is destroyed when parent is destroyed
|
|
parent: $parent,
|
|
propsData: _objectSpread2(_objectSpread2(_objectSpread2({}, filterOptions$1(getComponentConfig(NAME_TOAST))), omit(props, keys(propsToSlots$1))), {}, {
|
|
// Props that can't be overridden
|
|
static: false,
|
|
visible: true
|
|
})
|
|
}); // Convert certain props to slots
|
|
|
|
keys(propsToSlots$1).forEach(function (prop) {
|
|
var value = props[prop];
|
|
|
|
if (!isUndefined(value)) {
|
|
// Can be a string, or array of VNodes
|
|
if (prop === 'title' && isString(value)) {
|
|
// Special case for title if it is a string, we wrap in a <strong>
|
|
value = [$parent.$createElement('strong', {
|
|
class: 'mr-2'
|
|
}, value)];
|
|
}
|
|
|
|
toast.$slots[propsToSlots$1[prop]] = concat(value);
|
|
}
|
|
}); // Create a mount point (a DIV) and mount it (which triggers the show)
|
|
|
|
var div = document.createElement('div');
|
|
document.body.appendChild(div);
|
|
toast.$mount(div);
|
|
}; // Declare BvToast instance property class
|
|
|
|
|
|
var BvToast = /*#__PURE__*/function () {
|
|
function BvToast(vm) {
|
|
_classCallCheck(this, BvToast);
|
|
|
|
// Assign the new properties to this instance
|
|
assign(this, {
|
|
_vm: vm,
|
|
_root: vm.$root
|
|
}); // Set these properties as read-only and non-enumerable
|
|
|
|
defineProperties(this, {
|
|
_vm: readonlyDescriptor(),
|
|
_root: readonlyDescriptor()
|
|
});
|
|
} // --- Public Instance methods ---
|
|
// Opens a user defined toast and returns immediately
|
|
|
|
|
|
_createClass(BvToast, [{
|
|
key: "toast",
|
|
value: function toast(content) {
|
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
|
|
if (!content || warnNotClient(PROP_NAME$2)) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
makeToast(_objectSpread2(_objectSpread2({}, filterOptions$1(options)), {}, {
|
|
toastContent: content
|
|
}), this._vm);
|
|
} // shows a `<b-toast>` component with the specified ID
|
|
|
|
}, {
|
|
key: "show",
|
|
value: function show(id) {
|
|
if (id) {
|
|
this._root.$emit('bv::show::toast', id);
|
|
}
|
|
} // Hide a toast with specified ID, or if not ID all toasts
|
|
|
|
}, {
|
|
key: "hide",
|
|
value: function hide() {
|
|
var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
|
|
this._root.$emit('bv::hide::toast', id);
|
|
}
|
|
}]);
|
|
|
|
return BvToast;
|
|
}(); // Add our instance mixin
|
|
|
|
|
|
Vue.mixin({
|
|
beforeCreate: function beforeCreate() {
|
|
// Because we need access to `$root` for `$emits`, and VM for parenting,
|
|
// we have to create a fresh instance of `BvToast` for each VM
|
|
this[PROP_NAME_PRIV$1] = new BvToast(this);
|
|
}
|
|
}); // Define our read-only `$bvToast` instance property
|
|
// Placed in an if just in case in HMR mode
|
|
|
|
if (!hasOwnProperty(Vue.prototype, PROP_NAME$2)) {
|
|
defineProperty(Vue.prototype, PROP_NAME$2, {
|
|
get: function get() {
|
|
/* istanbul ignore next */
|
|
if (!this || !this[PROP_NAME_PRIV$1]) {
|
|
warn("\"".concat(PROP_NAME$2, "\" must be accessed from a Vue instance \"this\" context."), NAME_TOAST);
|
|
}
|
|
|
|
return this[PROP_NAME_PRIV$1];
|
|
}
|
|
});
|
|
}
|
|
};
|
|
|
|
var BVToastPlugin = /*#__PURE__*/pluginFactory({
|
|
plugins: {
|
|
plugin: plugin$1
|
|
}
|
|
});
|
|
|
|
var ToastPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BToast: BToast,
|
|
BToaster: BToaster
|
|
},
|
|
// $bvToast injection
|
|
plugins: {
|
|
BVToastPlugin: BVToastPlugin
|
|
}
|
|
});
|
|
|
|
var BV_TOOLTIP = '__BV_Tooltip__'; // Default trigger
|
|
|
|
var DefaultTrigger$1 = 'hover focus'; // Valid event triggers
|
|
|
|
var validTriggers$1 = {
|
|
focus: true,
|
|
hover: true,
|
|
click: true,
|
|
blur: true,
|
|
manual: true
|
|
}; // Directive modifier test regular expressions. Pre-compile for performance
|
|
|
|
var htmlRE$1 = /^html$/i;
|
|
var noninteractiveRE = /^noninteractive$/i;
|
|
var noFadeRE$1 = /^nofade$/i;
|
|
var placementRE$1 = /^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i;
|
|
var boundaryRE$1 = /^(window|viewport|scrollParent)$/i;
|
|
var delayRE$1 = /^d\d+$/i;
|
|
var delayShowRE$1 = /^ds\d+$/i;
|
|
var delayHideRE$1 = /^dh\d+$/i;
|
|
var offsetRE$1 = /^o-?\d+$/i;
|
|
var variantRE$1 = /^v-.+$/i;
|
|
var spacesRE$1 = /\s+/; // Build a Tooltip config based on bindings (if any)
|
|
// Arguments and modifiers take precedence over passed value config object
|
|
|
|
var parseBindings$1 = function parseBindings(bindings, vnode)
|
|
/* istanbul ignore next: not easy to test */
|
|
{
|
|
// We start out with a basic config
|
|
var config = {
|
|
title: undefined,
|
|
trigger: '',
|
|
// Default set below if needed
|
|
placement: 'top',
|
|
fallbackPlacement: 'flip',
|
|
container: false,
|
|
// Default of body
|
|
animation: true,
|
|
offset: 0,
|
|
id: null,
|
|
html: false,
|
|
interactive: true,
|
|
disabled: false,
|
|
delay: getComponentConfig(NAME_TOOLTIP, 'delay', 50),
|
|
boundary: String(getComponentConfig(NAME_TOOLTIP, 'boundary', 'scrollParent')),
|
|
boundaryPadding: toInteger(getComponentConfig(NAME_TOOLTIP, 'boundaryPadding', 5), 0),
|
|
variant: getComponentConfig(NAME_TOOLTIP, 'variant'),
|
|
customClass: getComponentConfig(NAME_TOOLTIP, 'customClass')
|
|
}; // Process `bindings.value`
|
|
|
|
if (isString(bindings.value) || isNumber(bindings.value)) {
|
|
// Value is tooltip content (HTML optionally supported)
|
|
config.title = bindings.value;
|
|
} else if (isFunction(bindings.value)) {
|
|
// Title generator function
|
|
config.title = bindings.value;
|
|
} else if (isPlainObject(bindings.value)) {
|
|
// Value is config object, so merge
|
|
config = _objectSpread2(_objectSpread2({}, config), bindings.value);
|
|
} // If title is not provided, try title attribute
|
|
|
|
|
|
if (isUndefined(config.title)) {
|
|
// Try attribute
|
|
var data = vnode.data || {};
|
|
config.title = data.attrs && !isUndefinedOrNull(data.attrs.title) ? data.attrs.title : undefined;
|
|
} // Normalize delay
|
|
|
|
|
|
if (!isPlainObject(config.delay)) {
|
|
config.delay = {
|
|
show: toInteger(config.delay, 0),
|
|
hide: toInteger(config.delay, 0)
|
|
};
|
|
} // If argument, assume element ID of container element
|
|
|
|
|
|
if (bindings.arg) {
|
|
// Element ID specified as arg
|
|
// We must prepend '#' to become a CSS selector
|
|
config.container = "#".concat(bindings.arg);
|
|
} // Process modifiers
|
|
|
|
|
|
keys(bindings.modifiers).forEach(function (mod) {
|
|
if (htmlRE$1.test(mod)) {
|
|
// Title allows HTML
|
|
config.html = true;
|
|
} else if (noninteractiveRE.test(mod)) {
|
|
// Noninteractive
|
|
config.interactive = false;
|
|
} else if (noFadeRE$1.test(mod)) {
|
|
// No animation
|
|
config.animation = false;
|
|
} else if (placementRE$1.test(mod)) {
|
|
// Placement of tooltip
|
|
config.placement = mod;
|
|
} else if (boundaryRE$1.test(mod)) {
|
|
// Boundary of tooltip
|
|
mod = mod === 'scrollparent' ? 'scrollParent' : mod;
|
|
config.boundary = mod;
|
|
} else if (delayRE$1.test(mod)) {
|
|
// Delay value
|
|
var delay = toInteger(mod.slice(1), 0);
|
|
config.delay.show = delay;
|
|
config.delay.hide = delay;
|
|
} else if (delayShowRE$1.test(mod)) {
|
|
// Delay show value
|
|
config.delay.show = toInteger(mod.slice(2), 0);
|
|
} else if (delayHideRE$1.test(mod)) {
|
|
// Delay hide value
|
|
config.delay.hide = toInteger(mod.slice(2), 0);
|
|
} else if (offsetRE$1.test(mod)) {
|
|
// Offset value, negative allowed
|
|
config.offset = toInteger(mod.slice(1), 0);
|
|
} else if (variantRE$1.test(mod)) {
|
|
// Variant
|
|
config.variant = mod.slice(2) || null;
|
|
}
|
|
}); // Special handling of event trigger modifiers trigger is
|
|
// a space separated list
|
|
|
|
var selectedTriggers = {}; // Parse current config object trigger
|
|
|
|
concat(config.trigger || '').filter(identity).join(' ').trim().toLowerCase().split(spacesRE$1).forEach(function (trigger) {
|
|
if (validTriggers$1[trigger]) {
|
|
selectedTriggers[trigger] = true;
|
|
}
|
|
}); // Parse modifiers for triggers
|
|
|
|
keys(bindings.modifiers).forEach(function (mod) {
|
|
mod = mod.toLowerCase();
|
|
|
|
if (validTriggers$1[mod]) {
|
|
// If modifier is a valid trigger
|
|
selectedTriggers[mod] = true;
|
|
}
|
|
}); // Sanitize triggers
|
|
|
|
config.trigger = keys(selectedTriggers).join(' ');
|
|
|
|
if (config.trigger === 'blur') {
|
|
// Blur by itself is useless, so convert it to 'focus'
|
|
config.trigger = 'focus';
|
|
}
|
|
|
|
if (!config.trigger) {
|
|
// Use default trigger
|
|
config.trigger = DefaultTrigger$1;
|
|
} // Return the config
|
|
|
|
|
|
return config;
|
|
}; // Add/update Tooltip on our element
|
|
|
|
|
|
var applyTooltip = function applyTooltip(el, bindings, vnode) {
|
|
if (!isBrowser) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
var config = parseBindings$1(bindings, vnode);
|
|
|
|
if (!el[BV_TOOLTIP]) {
|
|
var $parent = vnode.context;
|
|
el[BV_TOOLTIP] = new BVTooltip({
|
|
parent: $parent,
|
|
// Add the parent's scoped style attribute data
|
|
_scopeId: getScopeId($parent, undefined)
|
|
});
|
|
el[BV_TOOLTIP].__bv_prev_data__ = {};
|
|
el[BV_TOOLTIP].$on('show', function ()
|
|
/* istanbul ignore next: for now */
|
|
{
|
|
// Before showing the tooltip, we update the title if it is a function
|
|
if (isFunction(config.title)) {
|
|
el[BV_TOOLTIP].updateData({
|
|
title: config.title(el)
|
|
});
|
|
}
|
|
});
|
|
}
|
|
|
|
var data = {
|
|
title: config.title,
|
|
triggers: config.trigger,
|
|
placement: config.placement,
|
|
fallbackPlacement: config.fallbackPlacement,
|
|
variant: config.variant,
|
|
customClass: config.customClass,
|
|
container: config.container,
|
|
boundary: config.boundary,
|
|
delay: config.delay,
|
|
offset: config.offset,
|
|
noFade: !config.animation,
|
|
id: config.id,
|
|
interactive: config.interactive,
|
|
disabled: config.disabled,
|
|
html: config.html
|
|
};
|
|
var oldData = el[BV_TOOLTIP].__bv_prev_data__;
|
|
el[BV_TOOLTIP].__bv_prev_data__ = data;
|
|
|
|
if (!looseEqual(data, oldData)) {
|
|
// We only update the instance if data has changed
|
|
var newData = {
|
|
target: el
|
|
};
|
|
keys(data).forEach(function (prop) {
|
|
// We only pass data properties that have changed
|
|
if (data[prop] !== oldData[prop]) {
|
|
// if title is a function, we execute it here
|
|
newData[prop] = prop === 'title' && isFunction(data[prop]) ? data[prop](el) : data[prop];
|
|
}
|
|
});
|
|
el[BV_TOOLTIP].updateData(newData);
|
|
}
|
|
}; // Remove Tooltip on our element
|
|
|
|
|
|
var removeTooltip = function removeTooltip(el) {
|
|
if (el[BV_TOOLTIP]) {
|
|
el[BV_TOOLTIP].$destroy();
|
|
el[BV_TOOLTIP] = null;
|
|
}
|
|
|
|
delete el[BV_TOOLTIP];
|
|
}; // Export our directive
|
|
|
|
|
|
var VBTooltip = {
|
|
bind: function bind(el, bindings, vnode) {
|
|
applyTooltip(el, bindings, vnode);
|
|
},
|
|
// We use `componentUpdated` here instead of `update`, as the former
|
|
// waits until the containing component and children have finished updating
|
|
componentUpdated: function componentUpdated(el, bindings, vnode) {
|
|
// Performed in a `$nextTick()` to prevent render update loops
|
|
vnode.context.$nextTick(function () {
|
|
applyTooltip(el, bindings, vnode);
|
|
});
|
|
},
|
|
unbind: function unbind(el) {
|
|
removeTooltip(el);
|
|
}
|
|
};
|
|
|
|
var VBTooltipPlugin = /*#__PURE__*/pluginFactory({
|
|
directives: {
|
|
VBTooltip: VBTooltip
|
|
}
|
|
});
|
|
|
|
var TooltipPlugin = /*#__PURE__*/pluginFactory({
|
|
components: {
|
|
BTooltip: BTooltip
|
|
},
|
|
plugins: {
|
|
VBTooltipPlugin: VBTooltipPlugin
|
|
}
|
|
});
|
|
|
|
var componentsPlugin = /*#__PURE__*/pluginFactory({
|
|
plugins: {
|
|
AlertPlugin: AlertPlugin,
|
|
AspectPlugin: AspectPlugin,
|
|
AvatarPlugin: AvatarPlugin,
|
|
BadgePlugin: BadgePlugin,
|
|
BreadcrumbPlugin: BreadcrumbPlugin,
|
|
ButtonPlugin: ButtonPlugin,
|
|
ButtonGroupPlugin: ButtonGroupPlugin,
|
|
ButtonToolbarPlugin: ButtonToolbarPlugin,
|
|
CalendarPlugin: CalendarPlugin,
|
|
CardPlugin: CardPlugin,
|
|
CarouselPlugin: CarouselPlugin,
|
|
CollapsePlugin: CollapsePlugin,
|
|
DropdownPlugin: DropdownPlugin,
|
|
EmbedPlugin: EmbedPlugin,
|
|
FormPlugin: FormPlugin,
|
|
FormCheckboxPlugin: FormCheckboxPlugin,
|
|
FormDatepickerPlugin: FormDatepickerPlugin,
|
|
FormFilePlugin: FormFilePlugin,
|
|
FormGroupPlugin: FormGroupPlugin,
|
|
FormInputPlugin: FormInputPlugin,
|
|
FormRadioPlugin: FormRadioPlugin,
|
|
FormRatingPlugin: FormRatingPlugin,
|
|
FormSelectPlugin: FormSelectPlugin,
|
|
FormSpinbuttonPlugin: FormSpinbuttonPlugin,
|
|
FormTagsPlugin: FormTagsPlugin,
|
|
FormTextareaPlugin: FormTextareaPlugin,
|
|
FormTimepickerPlugin: FormTimepickerPlugin,
|
|
ImagePlugin: ImagePlugin,
|
|
InputGroupPlugin: InputGroupPlugin,
|
|
JumbotronPlugin: JumbotronPlugin,
|
|
LayoutPlugin: LayoutPlugin,
|
|
LinkPlugin: LinkPlugin,
|
|
ListGroupPlugin: ListGroupPlugin,
|
|
MediaPlugin: MediaPlugin,
|
|
ModalPlugin: ModalPlugin,
|
|
NavPlugin: NavPlugin,
|
|
NavbarPlugin: NavbarPlugin,
|
|
OverlayPlugin: OverlayPlugin,
|
|
PaginationPlugin: PaginationPlugin,
|
|
PaginationNavPlugin: PaginationNavPlugin,
|
|
PopoverPlugin: PopoverPlugin,
|
|
ProgressPlugin: ProgressPlugin,
|
|
SidebarPlugin: SidebarPlugin,
|
|
SkeletonPlugin: SkeletonPlugin,
|
|
SpinnerPlugin: SpinnerPlugin,
|
|
TablePlugin: TablePlugin,
|
|
TabsPlugin: TabsPlugin,
|
|
TimePlugin: TimePlugin,
|
|
ToastPlugin: ToastPlugin,
|
|
TooltipPlugin: TooltipPlugin
|
|
}
|
|
});
|
|
|
|
var VBHoverPlugin = /*#__PURE__*/pluginFactory({
|
|
directives: {
|
|
VBHover: VBHover
|
|
}
|
|
});
|
|
|
|
var VBModalPlugin = /*#__PURE__*/pluginFactory({
|
|
directives: {
|
|
VBModal: VBModal
|
|
}
|
|
});
|
|
|
|
/*
|
|
* Constants / Defaults
|
|
*/
|
|
|
|
var NAME$1 = 'v-b-scrollspy';
|
|
var ACTIVATE_EVENT = 'bv::scrollspy::activate';
|
|
var CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item';
|
|
var CLASS_NAME_ACTIVE = 'active';
|
|
var SELECTOR_NAV_LIST_GROUP = '.nav, .list-group';
|
|
var SELECTOR_NAV_LINKS = '.nav-link';
|
|
var SELECTOR_NAV_ITEMS = '.nav-item';
|
|
var SELECTOR_LIST_ITEMS = '.list-group-item';
|
|
var SELECTOR_DROPDOWN = '.dropdown, .dropup';
|
|
var SELECTOR_DROPDOWN_ITEMS = '.dropdown-item';
|
|
var SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';
|
|
var METHOD_OFFSET = 'offset';
|
|
var METHOD_POSITION = 'position';
|
|
var Default = {
|
|
element: 'body',
|
|
offset: 10,
|
|
method: 'auto',
|
|
throttle: 75
|
|
};
|
|
var DefaultType = {
|
|
element: '(string|element|component)',
|
|
offset: 'number',
|
|
method: 'string',
|
|
throttle: 'number'
|
|
}; // Transition Events
|
|
|
|
var TransitionEndEvents$1 = ['webkitTransitionEnd', 'transitionend', 'otransitionend', 'oTransitionEnd'];
|
|
/*
|
|
* Utility Methods
|
|
*/
|
|
// Better var type detection
|
|
|
|
var toType$1 = function toType(obj)
|
|
/* istanbul ignore next: not easy to test */
|
|
{
|
|
return toString(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
|
|
}; // Check config properties for expected types
|
|
|
|
/* istanbul ignore next */
|
|
|
|
|
|
var typeCheckConfig = function typeCheckConfig(componentName, config, configTypes)
|
|
/* istanbul ignore next: not easy to test */
|
|
{
|
|
for (var property in configTypes) {
|
|
if (hasOwnProperty(configTypes, property)) {
|
|
var expectedTypes = configTypes[property];
|
|
var value = config[property];
|
|
var valueType = value && isElement(value) ? 'element' : toType$1(value); // handle Vue instances
|
|
|
|
valueType = value && value._isVue ? 'component' : valueType;
|
|
|
|
if (!new RegExp(expectedTypes).test(valueType)) {
|
|
/* istanbul ignore next */
|
|
warn("".concat(componentName, ": Option \"").concat(property, "\" provided type \"").concat(valueType, "\" but expected type \"").concat(expectedTypes, "\""));
|
|
}
|
|
}
|
|
}
|
|
};
|
|
/*
|
|
* ------------------------------------------------------------------------
|
|
* Class Definition
|
|
* ------------------------------------------------------------------------
|
|
*/
|
|
|
|
/* istanbul ignore next: not easy to test */
|
|
|
|
|
|
var ScrollSpy
|
|
/* istanbul ignore next: not easy to test */
|
|
= /*#__PURE__*/function () {
|
|
function ScrollSpy(element, config, $root) {
|
|
_classCallCheck(this, ScrollSpy);
|
|
|
|
// The element we activate links in
|
|
this.$el = element;
|
|
this.$scroller = null;
|
|
this.$selector = [SELECTOR_NAV_LINKS, SELECTOR_LIST_ITEMS, SELECTOR_DROPDOWN_ITEMS].join(',');
|
|
this.$offsets = [];
|
|
this.$targets = [];
|
|
this.$activeTarget = null;
|
|
this.$scrollHeight = 0;
|
|
this.$resizeTimeout = null;
|
|
this.$scrollerObserver = null;
|
|
this.$targetsObserver = null;
|
|
this.$root = $root || null;
|
|
this.$config = null;
|
|
this.updateConfig(config);
|
|
}
|
|
|
|
_createClass(ScrollSpy, [{
|
|
key: "updateConfig",
|
|
value: function updateConfig(config, $root) {
|
|
if (this.$scroller) {
|
|
// Just in case out scroll element has changed
|
|
this.unlisten();
|
|
this.$scroller = null;
|
|
}
|
|
|
|
var cfg = _objectSpread2(_objectSpread2({}, this.constructor.Default), config);
|
|
|
|
if ($root) {
|
|
this.$root = $root;
|
|
}
|
|
|
|
typeCheckConfig(this.constructor.Name, cfg, this.constructor.DefaultType);
|
|
this.$config = cfg;
|
|
|
|
if (this.$root) {
|
|
var self = this;
|
|
this.$root.$nextTick(function () {
|
|
self.listen();
|
|
});
|
|
} else {
|
|
this.listen();
|
|
}
|
|
}
|
|
}, {
|
|
key: "dispose",
|
|
value: function dispose() {
|
|
this.unlisten();
|
|
clearTimeout(this.$resizeTimeout);
|
|
this.$resizeTimeout = null;
|
|
this.$el = null;
|
|
this.$config = null;
|
|
this.$scroller = null;
|
|
this.$selector = null;
|
|
this.$offsets = null;
|
|
this.$targets = null;
|
|
this.$activeTarget = null;
|
|
this.$scrollHeight = null;
|
|
}
|
|
}, {
|
|
key: "listen",
|
|
value: function listen() {
|
|
var _this = this;
|
|
|
|
var scroller = this.getScroller();
|
|
|
|
if (scroller && scroller.tagName !== 'BODY') {
|
|
eventOn(scroller, 'scroll', this, EVENT_OPTIONS_NO_CAPTURE);
|
|
}
|
|
|
|
eventOn(window, 'scroll', this, EVENT_OPTIONS_NO_CAPTURE);
|
|
eventOn(window, 'resize', this, EVENT_OPTIONS_NO_CAPTURE);
|
|
eventOn(window, 'orientationchange', this, EVENT_OPTIONS_NO_CAPTURE);
|
|
TransitionEndEvents$1.forEach(function (evtName) {
|
|
eventOn(window, evtName, _this, EVENT_OPTIONS_NO_CAPTURE);
|
|
});
|
|
this.setObservers(true); // Schedule a refresh
|
|
|
|
this.handleEvent('refresh');
|
|
}
|
|
}, {
|
|
key: "unlisten",
|
|
value: function unlisten() {
|
|
var _this2 = this;
|
|
|
|
var scroller = this.getScroller();
|
|
this.setObservers(false);
|
|
|
|
if (scroller && scroller.tagName !== 'BODY') {
|
|
eventOff(scroller, 'scroll', this, EVENT_OPTIONS_NO_CAPTURE);
|
|
}
|
|
|
|
eventOff(window, 'scroll', this, EVENT_OPTIONS_NO_CAPTURE);
|
|
eventOff(window, 'resize', this, EVENT_OPTIONS_NO_CAPTURE);
|
|
eventOff(window, 'orientationchange', this, EVENT_OPTIONS_NO_CAPTURE);
|
|
TransitionEndEvents$1.forEach(function (evtName) {
|
|
eventOff(window, evtName, _this2, EVENT_OPTIONS_NO_CAPTURE);
|
|
});
|
|
}
|
|
}, {
|
|
key: "setObservers",
|
|
value: function setObservers(on) {
|
|
var _this3 = this;
|
|
|
|
// We observe both the scroller for content changes, and the target links
|
|
this.$scrollerObserver && this.$scrollerObserver.disconnect();
|
|
this.$targetsObserver && this.$targetsObserver.disconnect();
|
|
this.$scrollerObserver = null;
|
|
this.$targetsObserver = null;
|
|
|
|
if (on) {
|
|
this.$targetsObserver = observeDom(this.$el, function () {
|
|
_this3.handleEvent('mutation');
|
|
}, {
|
|
subtree: true,
|
|
childList: true,
|
|
attributes: true,
|
|
attributeFilter: ['href']
|
|
});
|
|
this.$scrollerObserver = observeDom(this.getScroller(), function () {
|
|
_this3.handleEvent('mutation');
|
|
}, {
|
|
subtree: true,
|
|
childList: true,
|
|
characterData: true,
|
|
attributes: true,
|
|
attributeFilter: ['id', 'style', 'class']
|
|
});
|
|
}
|
|
} // General event handler
|
|
|
|
}, {
|
|
key: "handleEvent",
|
|
value: function handleEvent(evt) {
|
|
var type = isString(evt) ? evt : evt.type;
|
|
var self = this;
|
|
|
|
var resizeThrottle = function resizeThrottle() {
|
|
if (!self.$resizeTimeout) {
|
|
self.$resizeTimeout = setTimeout(function () {
|
|
self.refresh();
|
|
self.process();
|
|
self.$resizeTimeout = null;
|
|
}, self.$config.throttle);
|
|
}
|
|
};
|
|
|
|
if (type === 'scroll') {
|
|
if (!this.$scrollerObserver) {
|
|
// Just in case we are added to the DOM before the scroll target is
|
|
// We re-instantiate our listeners, just in case
|
|
this.listen();
|
|
}
|
|
|
|
this.process();
|
|
} else if (/(resize|orientationchange|mutation|refresh)/.test(type)) {
|
|
// Postpone these events by throttle time
|
|
resizeThrottle();
|
|
}
|
|
} // Refresh the list of target links on the element we are applied to
|
|
|
|
}, {
|
|
key: "refresh",
|
|
value: function refresh() {
|
|
var _this4 = this;
|
|
|
|
var scroller = this.getScroller();
|
|
|
|
if (!scroller) {
|
|
return;
|
|
}
|
|
|
|
var autoMethod = scroller !== scroller.window ? METHOD_POSITION : METHOD_OFFSET;
|
|
var method = this.$config.method === 'auto' ? autoMethod : this.$config.method;
|
|
var methodFn = method === METHOD_POSITION ? position : offset;
|
|
var offsetBase = method === METHOD_POSITION ? this.getScrollTop() : 0;
|
|
this.$offsets = [];
|
|
this.$targets = [];
|
|
this.$scrollHeight = this.getScrollHeight(); // Find all the unique link HREFs that we will control
|
|
|
|
selectAll(this.$selector, this.$el) // Get HREF value
|
|
.map(function (link) {
|
|
return getAttr(link, 'href');
|
|
}) // Filter out HREFs that do not match our RegExp
|
|
.filter(function (href) {
|
|
return href && RX_HREF.test(href || '');
|
|
}) // Find all elements with ID that match HREF hash
|
|
.map(function (href) {
|
|
// Convert HREF into an ID (including # at beginning)
|
|
var id = href.replace(RX_HREF, '$1').trim();
|
|
|
|
if (!id) {
|
|
return null;
|
|
} // Find the element with the ID specified by id
|
|
|
|
|
|
var el = select(id, scroller);
|
|
|
|
if (el && isVisible(el)) {
|
|
return {
|
|
offset: toInteger(methodFn(el).top, 0) + offsetBase,
|
|
target: id
|
|
};
|
|
}
|
|
|
|
return null;
|
|
}).filter(Boolean) // Sort them by their offsets (smallest first)
|
|
.sort(function (a, b) {
|
|
return a.offset - b.offset;
|
|
}) // record only unique targets/offsets
|
|
.reduce(function (memo, item) {
|
|
if (!memo[item.target]) {
|
|
_this4.$offsets.push(item.offset);
|
|
|
|
_this4.$targets.push(item.target);
|
|
|
|
memo[item.target] = true;
|
|
}
|
|
|
|
return memo;
|
|
}, {}); // Return this for easy chaining
|
|
|
|
return this;
|
|
} // Handle activating/clearing
|
|
|
|
}, {
|
|
key: "process",
|
|
value: function process() {
|
|
var scrollTop = this.getScrollTop() + this.$config.offset;
|
|
var scrollHeight = this.getScrollHeight();
|
|
var maxScroll = this.$config.offset + scrollHeight - this.getOffsetHeight();
|
|
|
|
if (this.$scrollHeight !== scrollHeight) {
|
|
this.refresh();
|
|
}
|
|
|
|
if (scrollTop >= maxScroll) {
|
|
var target = this.$targets[this.$targets.length - 1];
|
|
|
|
if (this.$activeTarget !== target) {
|
|
this.activate(target);
|
|
}
|
|
|
|
return;
|
|
}
|
|
|
|
if (this.$activeTarget && scrollTop < this.$offsets[0] && this.$offsets[0] > 0) {
|
|
this.$activeTarget = null;
|
|
this.clear();
|
|
return;
|
|
}
|
|
|
|
for (var i = this.$offsets.length; i--;) {
|
|
var isActiveTarget = this.$activeTarget !== this.$targets[i] && scrollTop >= this.$offsets[i] && (isUndefined(this.$offsets[i + 1]) || scrollTop < this.$offsets[i + 1]);
|
|
|
|
if (isActiveTarget) {
|
|
this.activate(this.$targets[i]);
|
|
}
|
|
}
|
|
}
|
|
}, {
|
|
key: "getScroller",
|
|
value: function getScroller() {
|
|
if (this.$scroller) {
|
|
return this.$scroller;
|
|
}
|
|
|
|
var scroller = this.$config.element;
|
|
|
|
if (!scroller) {
|
|
return null;
|
|
} else if (isElement(scroller.$el)) {
|
|
scroller = scroller.$el;
|
|
} else if (isString(scroller)) {
|
|
scroller = select(scroller);
|
|
}
|
|
|
|
if (!scroller) {
|
|
return null;
|
|
}
|
|
|
|
this.$scroller = scroller.tagName === 'BODY' ? window : scroller;
|
|
return this.$scroller;
|
|
}
|
|
}, {
|
|
key: "getScrollTop",
|
|
value: function getScrollTop() {
|
|
var scroller = this.getScroller();
|
|
return scroller === window ? scroller.pageYOffset : scroller.scrollTop;
|
|
}
|
|
}, {
|
|
key: "getScrollHeight",
|
|
value: function getScrollHeight() {
|
|
return this.getScroller().scrollHeight || mathMax(document.body.scrollHeight, document.documentElement.scrollHeight);
|
|
}
|
|
}, {
|
|
key: "getOffsetHeight",
|
|
value: function getOffsetHeight() {
|
|
var scroller = this.getScroller();
|
|
return scroller === window ? window.innerHeight : getBCR(scroller).height;
|
|
}
|
|
}, {
|
|
key: "activate",
|
|
value: function activate(target) {
|
|
var _this5 = this;
|
|
|
|
this.$activeTarget = target;
|
|
this.clear(); // Grab the list of target links (<a href="{$target}">)
|
|
|
|
var links = selectAll(this.$selector // Split out the base selectors
|
|
.split(',') // Map to a selector that matches links with HREF ending in the ID (including '#')
|
|
.map(function (selector) {
|
|
return "".concat(selector, "[href$=\"").concat(target, "\"]");
|
|
}) // Join back into a single selector string
|
|
.join(','), this.$el);
|
|
links.forEach(function (link) {
|
|
if (hasClass(link, CLASS_NAME_DROPDOWN_ITEM)) {
|
|
// This is a dropdown item, so find the .dropdown-toggle and set its state
|
|
var dropdown = closest(SELECTOR_DROPDOWN, link);
|
|
|
|
if (dropdown) {
|
|
_this5.setActiveState(select(SELECTOR_DROPDOWN_TOGGLE, dropdown), true);
|
|
} // Also set this link's state
|
|
|
|
|
|
_this5.setActiveState(link, true);
|
|
} else {
|
|
// Set triggered link as active
|
|
_this5.setActiveState(link, true);
|
|
|
|
if (matches(link.parentElement, SELECTOR_NAV_ITEMS)) {
|
|
// Handle nav-link inside nav-item, and set nav-item active
|
|
_this5.setActiveState(link.parentElement, true);
|
|
} // Set triggered links parents as active
|
|
// With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
|
|
|
|
|
|
var el = link;
|
|
|
|
while (el) {
|
|
el = closest(SELECTOR_NAV_LIST_GROUP, el);
|
|
var sibling = el ? el.previousElementSibling : null;
|
|
|
|
if (sibling && matches(sibling, "".concat(SELECTOR_NAV_LINKS, ", ").concat(SELECTOR_LIST_ITEMS))) {
|
|
_this5.setActiveState(sibling, true);
|
|
} // Handle special case where nav-link is inside a nav-item
|
|
|
|
|
|
if (sibling && matches(sibling, SELECTOR_NAV_ITEMS)) {
|
|
_this5.setActiveState(select(SELECTOR_NAV_LINKS, sibling), true); // Add active state to nav-item as well
|
|
|
|
|
|
_this5.setActiveState(sibling, true);
|
|
}
|
|
}
|
|
}
|
|
}); // Signal event to via $root, passing ID of activated target and reference to array of links
|
|
|
|
if (links && links.length > 0 && this.$root) {
|
|
this.$root.$emit(ACTIVATE_EVENT, target, links);
|
|
}
|
|
}
|
|
}, {
|
|
key: "clear",
|
|
value: function clear() {
|
|
var _this6 = this;
|
|
|
|
selectAll("".concat(this.$selector, ", ").concat(SELECTOR_NAV_ITEMS), this.$el).filter(function (el) {
|
|
return hasClass(el, CLASS_NAME_ACTIVE);
|
|
}).forEach(function (el) {
|
|
return _this6.setActiveState(el, false);
|
|
});
|
|
}
|
|
}, {
|
|
key: "setActiveState",
|
|
value: function setActiveState(el, active) {
|
|
if (!el) {
|
|
return;
|
|
}
|
|
|
|
if (active) {
|
|
addClass(el, CLASS_NAME_ACTIVE);
|
|
} else {
|
|
removeClass(el, CLASS_NAME_ACTIVE);
|
|
}
|
|
}
|
|
}], [{
|
|
key: "Name",
|
|
get: function get() {
|
|
return NAME$1;
|
|
}
|
|
}, {
|
|
key: "Default",
|
|
get: function get() {
|
|
return Default;
|
|
}
|
|
}, {
|
|
key: "DefaultType",
|
|
get: function get() {
|
|
return DefaultType;
|
|
}
|
|
}]);
|
|
|
|
return ScrollSpy;
|
|
}();
|
|
|
|
var BV_SCROLLSPY = '__BV_ScrollSpy__'; // Pre-compiled regular expressions
|
|
|
|
var onlyDigitsRE = /^\d+$/;
|
|
var offsetRE$2 = /^(auto|position|offset)$/; // Build a ScrollSpy config based on bindings (if any)
|
|
// Arguments and modifiers take precedence over passed value config object
|
|
|
|
/* istanbul ignore next: not easy to test */
|
|
|
|
var parseBindings$2 = function parseBindings(bindings)
|
|
/* istanbul ignore next: not easy to test */
|
|
{
|
|
var config = {}; // If argument, assume element ID
|
|
|
|
if (bindings.arg) {
|
|
// Element ID specified as arg
|
|
// We must prepend '#' to become a CSS selector
|
|
config.element = "#".concat(bindings.arg);
|
|
} // Process modifiers
|
|
|
|
|
|
keys(bindings.modifiers).forEach(function (mod) {
|
|
if (onlyDigitsRE.test(mod)) {
|
|
// Offset value
|
|
config.offset = toInteger(mod, 0);
|
|
} else if (offsetRE$2.test(mod)) {
|
|
// Offset method
|
|
config.method = mod;
|
|
}
|
|
}); // Process value
|
|
|
|
if (isString(bindings.value)) {
|
|
// Value is a CSS ID or selector
|
|
config.element = bindings.value;
|
|
} else if (isNumber(bindings.value)) {
|
|
// Value is offset
|
|
config.offset = mathRound(bindings.value);
|
|
} else if (isObject(bindings.value)) {
|
|
// Value is config object
|
|
// Filter the object based on our supported config options
|
|
keys(bindings.value).filter(function (k) {
|
|
return !!ScrollSpy.DefaultType[k];
|
|
}).forEach(function (k) {
|
|
config[k] = bindings.value[k];
|
|
});
|
|
}
|
|
|
|
return config;
|
|
}; // Add or update ScrollSpy on our element
|
|
|
|
|
|
var applyScrollspy = function applyScrollspy(el, bindings, vnode)
|
|
/* istanbul ignore next: not easy to test */
|
|
{
|
|
if (!isBrowser) {
|
|
/* istanbul ignore next */
|
|
return;
|
|
}
|
|
|
|
var config = parseBindings$2(bindings);
|
|
|
|
if (el[BV_SCROLLSPY]) {
|
|
el[BV_SCROLLSPY].updateConfig(config, vnode.context.$root);
|
|
} else {
|
|
el[BV_SCROLLSPY] = new ScrollSpy(el, config, vnode.context.$root);
|
|
}
|
|
}; // Remove ScrollSpy on our element
|
|
|
|
/* istanbul ignore next: not easy to test */
|
|
|
|
|
|
var removeScrollspy = function removeScrollspy(el)
|
|
/* istanbul ignore next: not easy to test */
|
|
{
|
|
if (el[BV_SCROLLSPY]) {
|
|
el[BV_SCROLLSPY].dispose();
|
|
el[BV_SCROLLSPY] = null;
|
|
delete el[BV_SCROLLSPY];
|
|
}
|
|
};
|
|
/*
|
|
* Export our directive
|
|
*/
|
|
|
|
|
|
var VBScrollspy = {
|
|
/* istanbul ignore next: not easy to test */
|
|
bind: function bind(el, bindings, vnode) {
|
|
applyScrollspy(el, bindings, vnode);
|
|
},
|
|
|
|
/* istanbul ignore next: not easy to test */
|
|
inserted: function inserted(el, bindings, vnode) {
|
|
applyScrollspy(el, bindings, vnode);
|
|
},
|
|
|
|
/* istanbul ignore next: not easy to test */
|
|
update: function update(el, bindings, vnode) {
|
|
if (bindings.value !== bindings.oldValue) {
|
|
applyScrollspy(el, bindings, vnode);
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next: not easy to test */
|
|
componentUpdated: function componentUpdated(el, bindings, vnode) {
|
|
if (bindings.value !== bindings.oldValue) {
|
|
applyScrollspy(el, bindings, vnode);
|
|
}
|
|
},
|
|
|
|
/* istanbul ignore next: not easy to test */
|
|
unbind: function unbind(el) {
|
|
removeScrollspy(el);
|
|
}
|
|
};
|
|
|
|
var VBScrollspyPlugin = /*#__PURE__*/pluginFactory({
|
|
directives: {
|
|
VBScrollspy: VBScrollspy
|
|
}
|
|
});
|
|
|
|
var VBVisiblePlugin = /*#__PURE__*/pluginFactory({
|
|
directives: {
|
|
VBVisible: VBVisible
|
|
}
|
|
});
|
|
|
|
var directivesPlugin = /*#__PURE__*/pluginFactory({
|
|
plugins: {
|
|
VBHoverPlugin: VBHoverPlugin,
|
|
VBModalPlugin: VBModalPlugin,
|
|
VBPopoverPlugin: VBPopoverPlugin,
|
|
VBScrollspyPlugin: VBScrollspyPlugin,
|
|
VBTogglePlugin: VBTogglePlugin,
|
|
VBTooltipPlugin: VBTooltipPlugin,
|
|
VBVisiblePlugin: VBVisiblePlugin
|
|
}
|
|
});
|
|
|
|
//
|
|
var BVConfigPlugin = /*#__PURE__*/pluginFactory();
|
|
|
|
var NAME$2 = 'BootstrapVue'; // --- BootstrapVue installer ---
|
|
|
|
var install = /*#__PURE__*/installFactory({
|
|
plugins: {
|
|
componentsPlugin: componentsPlugin,
|
|
directivesPlugin: directivesPlugin
|
|
}
|
|
}); // --- BootstrapVue plugin ---
|
|
|
|
var BootstrapVue = /*#__PURE__*/{
|
|
install: install,
|
|
NAME: NAME$2
|
|
}; // --- Named exports for BvConfigPlugin ---
|
|
|
|
export default BootstrapVue;
|
|
export { AlertPlugin, AspectPlugin, AvatarPlugin, BAlert, BAspect, BAvatar, BAvatarGroup, BBadge, BBreadcrumb, BBreadcrumbItem, BButton, BButtonClose, BButtonGroup, BButtonToolbar, BCalendar, BCard, BCardBody, BCardFooter, BCardGroup, BCardHeader, BCardImg, BCardImgLazy, BCardSubTitle, BCardText, BCardTitle, BCarousel, BCarouselSlide, BCol, BCollapse, BContainer, BDropdown, BDropdownDivider, BDropdownForm, BDropdownGroup, BDropdownHeader, BDropdownItem, BDropdownItemButton, BDropdownText, BEmbed, BForm, BFormCheckbox, BFormCheckboxGroup, BFormDatalist, BFormDatepicker, BFormFile, BFormGroup, BFormInput, BFormInvalidFeedback, BFormRadio, BFormRadioGroup, BFormRating, BFormRow, BFormSelect, BFormSelectOption, BFormSelectOptionGroup, BFormSpinbutton, BFormTag, BFormTags, BFormText, BFormTextarea, BFormTimepicker, BFormValidFeedback, BIcon, BIconAlarm, BIconAlarmFill, BIconAlignBottom, BIconAlignCenter, BIconAlignEnd, BIconAlignMiddle, BIconAlignStart, BIconAlignTop, BIconAlt, BIconApp, BIconAppIndicator, BIconArchive, BIconArchiveFill, BIconArrow90degDown, BIconArrow90degLeft, BIconArrow90degRight, BIconArrow90degUp, BIconArrowBarDown, BIconArrowBarLeft, BIconArrowBarRight, BIconArrowBarUp, BIconArrowClockwise, BIconArrowCounterclockwise, BIconArrowDown, BIconArrowDownCircle, BIconArrowDownCircleFill, BIconArrowDownLeft, BIconArrowDownLeftCircle, BIconArrowDownLeftCircleFill, BIconArrowDownLeftSquare, BIconArrowDownLeftSquareFill, BIconArrowDownRight, BIconArrowDownRightCircle, BIconArrowDownRightCircleFill, BIconArrowDownRightSquare, BIconArrowDownRightSquareFill, BIconArrowDownShort, BIconArrowDownSquare, BIconArrowDownSquareFill, BIconArrowDownUp, BIconArrowLeft, BIconArrowLeftCircle, BIconArrowLeftCircleFill, BIconArrowLeftRight, BIconArrowLeftShort, BIconArrowLeftSquare, BIconArrowLeftSquareFill, BIconArrowRepeat, BIconArrowReturnLeft, BIconArrowReturnRight, BIconArrowRight, BIconArrowRightCircle, BIconArrowRightCircleFill, BIconArrowRightShort, BIconArrowRightSquare, BIconArrowRightSquareFill, BIconArrowUp, BIconArrowUpCircle, BIconArrowUpCircleFill, BIconArrowUpLeft, BIconArrowUpLeftCircle, BIconArrowUpLeftCircleFill, BIconArrowUpLeftSquare, BIconArrowUpLeftSquareFill, BIconArrowUpRight, BIconArrowUpRightCircle, BIconArrowUpRightCircleFill, BIconArrowUpRightSquare, BIconArrowUpRightSquareFill, BIconArrowUpShort, BIconArrowUpSquare, BIconArrowUpSquareFill, BIconArrowsAngleContract, BIconArrowsAngleExpand, BIconArrowsCollapse, BIconArrowsExpand, BIconArrowsFullscreen, BIconArrowsMove, BIconAspectRatio, BIconAspectRatioFill, BIconAsterisk, BIconAt, BIconAward, BIconAwardFill, BIconBack, BIconBackspace, BIconBackspaceFill, BIconBackspaceReverse, BIconBackspaceReverseFill, BIconBadge4k, BIconBadge4kFill, BIconBadge8k, BIconBadge8kFill, BIconBadgeAd, BIconBadgeAdFill, BIconBadgeCc, BIconBadgeCcFill, BIconBadgeHd, BIconBadgeHdFill, BIconBadgeTm, BIconBadgeTmFill, BIconBadgeVo, BIconBadgeVoFill, BIconBag, BIconBagCheck, BIconBagCheckFill, BIconBagDash, BIconBagDashFill, BIconBagFill, BIconBagPlus, BIconBagPlusFill, BIconBagX, BIconBagXFill, BIconBarChart, BIconBarChartFill, BIconBarChartLine, BIconBarChartLineFill, BIconBarChartSteps, BIconBasket, BIconBasket2, BIconBasket2Fill, BIconBasket3, BIconBasket3Fill, BIconBasketFill, BIconBattery, BIconBatteryCharging, BIconBatteryFull, BIconBatteryHalf, BIconBell, BIconBellFill, BIconBezier, BIconBezier2, BIconBicycle, BIconBinoculars, BIconBinocularsFill, BIconBlank, BIconBlockquoteLeft, BIconBlockquoteRight, BIconBook, BIconBookFill, BIconBookHalf, BIconBookmark, BIconBookmarkCheck, BIconBookmarkCheckFill, BIconBookmarkDash, BIconBookmarkDashFill, BIconBookmarkFill, BIconBookmarkHeart, BIconBookmarkHeartFill, BIconBookmarkPlus, BIconBookmarkPlusFill, BIconBookmarkStar, BIconBookmarkStarFill, BIconBookmarkX, BIconBookmarkXFill, BIconBookmarks, BIconBookmarksFill, BIconBookshelf, BIconBootstrap, BIconBootstrapFill, BIconBootstrapReboot, BIconBorderStyle, BIconBorderWidth, BIconBoundingBox, BIconBoundingBoxCircles, BIconBox, BIconBoxArrowDown, BIconBoxArrowDownLeft, BIconBoxArrowDownRight, BIconBoxArrowInDown, BIconBoxArrowInDownLeft, BIconBoxArrowInDownRight, BIconBoxArrowInLeft, BIconBoxArrowInRight, BIconBoxArrowInUp, BIconBoxArrowInUpLeft, BIconBoxArrowInUpRight, BIconBoxArrowLeft, BIconBoxArrowRight, BIconBoxArrowUp, BIconBoxArrowUpLeft, BIconBoxArrowUpRight, BIconBoxSeam, BIconBraces, BIconBricks, BIconBriefcase, BIconBriefcaseFill, BIconBrightnessAltHigh, BIconBrightnessAltHighFill, BIconBrightnessAltLow, BIconBrightnessAltLowFill, BIconBrightnessHigh, BIconBrightnessHighFill, BIconBrightnessLow, BIconBrightnessLowFill, BIconBroadcast, BIconBroadcastPin, BIconBrush, BIconBrushFill, BIconBucket, BIconBucketFill, BIconBug, BIconBugFill, BIconBuilding, BIconBullseye, BIconCalculator, BIconCalculatorFill, BIconCalendar, BIconCalendar2, BIconCalendar2Check, BIconCalendar2CheckFill, BIconCalendar2Date, BIconCalendar2DateFill, BIconCalendar2Day, BIconCalendar2DayFill, BIconCalendar2Event, BIconCalendar2EventFill, BIconCalendar2Fill, BIconCalendar2Minus, BIconCalendar2MinusFill, BIconCalendar2Month, BIconCalendar2MonthFill, BIconCalendar2Plus, BIconCalendar2PlusFill, BIconCalendar2Range, BIconCalendar2RangeFill, BIconCalendar2Week, BIconCalendar2WeekFill, BIconCalendar2X, BIconCalendar2XFill, BIconCalendar3, BIconCalendar3Event, BIconCalendar3EventFill, BIconCalendar3Fill, BIconCalendar3Range, BIconCalendar3RangeFill, BIconCalendar3Week, BIconCalendar3WeekFill, BIconCalendar4, BIconCalendar4Event, BIconCalendar4Range, BIconCalendar4Week, BIconCalendarCheck, BIconCalendarCheckFill, BIconCalendarDate, BIconCalendarDateFill, BIconCalendarDay, BIconCalendarDayFill, BIconCalendarEvent, BIconCalendarEventFill, BIconCalendarFill, BIconCalendarMinus, BIconCalendarMinusFill, BIconCalendarMonth, BIconCalendarMonthFill, BIconCalendarPlus, BIconCalendarPlusFill, BIconCalendarRange, BIconCalendarRangeFill, BIconCalendarWeek, BIconCalendarWeekFill, BIconCalendarX, BIconCalendarXFill, BIconCamera, BIconCamera2, BIconCameraFill, BIconCameraReels, BIconCameraReelsFill, BIconCameraVideo, BIconCameraVideoFill, BIconCameraVideoOff, BIconCameraVideoOffFill, BIconCapslock, BIconCapslockFill, BIconCardChecklist, BIconCardHeading, BIconCardImage, BIconCardList, BIconCardText, BIconCaretDown, BIconCaretDownFill, BIconCaretDownSquare, BIconCaretDownSquareFill, BIconCaretLeft, BIconCaretLeftFill, BIconCaretLeftSquare, BIconCaretLeftSquareFill, BIconCaretRight, BIconCaretRightFill, BIconCaretRightSquare, BIconCaretRightSquareFill, BIconCaretUp, BIconCaretUpFill, BIconCaretUpSquare, BIconCaretUpSquareFill, BIconCart, BIconCart2, BIconCart3, BIconCart4, BIconCartCheck, BIconCartCheckFill, BIconCartDash, BIconCartDashFill, BIconCartFill, BIconCartPlus, BIconCartPlusFill, BIconCartX, BIconCartXFill, BIconCash, BIconCashStack, BIconCast, BIconChat, BIconChatDots, BIconChatDotsFill, BIconChatFill, BIconChatLeft, BIconChatLeftDots, BIconChatLeftDotsFill, BIconChatLeftFill, BIconChatLeftQuote, BIconChatLeftQuoteFill, BIconChatLeftText, BIconChatLeftTextFill, BIconChatQuote, BIconChatQuoteFill, BIconChatRight, BIconChatRightDots, BIconChatRightDotsFill, BIconChatRightFill, BIconChatRightQuote, BIconChatRightQuoteFill, BIconChatRightText, BIconChatRightTextFill, BIconChatSquare, BIconChatSquareDots, BIconChatSquareDotsFill, BIconChatSquareFill, BIconChatSquareQuote, BIconChatSquareQuoteFill, BIconChatSquareText, BIconChatSquareTextFill, BIconChatText, BIconChatTextFill, BIconCheck, BIconCheck2, BIconCheck2All, BIconCheck2Circle, BIconCheck2Square, BIconCheckAll, BIconCheckCircle, BIconCheckCircleFill, BIconCheckSquare, BIconCheckSquareFill, BIconChevronBarContract, BIconChevronBarDown, BIconChevronBarExpand, BIconChevronBarLeft, BIconChevronBarRight, BIconChevronBarUp, BIconChevronCompactDown, BIconChevronCompactLeft, BIconChevronCompactRight, BIconChevronCompactUp, BIconChevronContract, BIconChevronDoubleDown, BIconChevronDoubleLeft, BIconChevronDoubleRight, BIconChevronDoubleUp, BIconChevronDown, BIconChevronExpand, BIconChevronLeft, BIconChevronRight, BIconChevronUp, BIconCircle, BIconCircleFill, BIconCircleHalf, BIconCircleSquare, BIconClipboard, BIconClipboardCheck, BIconClipboardData, BIconClipboardMinus, BIconClipboardPlus, BIconClipboardX, BIconClock, BIconClockFill, BIconClockHistory, BIconCloud, BIconCloudArrowDown, BIconCloudArrowDownFill, BIconCloudArrowUp, BIconCloudArrowUpFill, BIconCloudCheck, BIconCloudCheckFill, BIconCloudDownload, BIconCloudDownloadFill, BIconCloudFill, BIconCloudMinus, BIconCloudMinusFill, BIconCloudPlus, BIconCloudPlusFill, BIconCloudSlash, BIconCloudSlashFill, BIconCloudUpload, BIconCloudUploadFill, BIconCode, BIconCodeSlash, BIconCodeSquare, BIconCollection, BIconCollectionFill, BIconCollectionPlay, BIconCollectionPlayFill, BIconColumns, BIconColumnsGap, BIconCommand, BIconCompass, BIconCompassFill, BIconCone, BIconConeStriped, BIconController, BIconCpu, BIconCpuFill, BIconCreditCard, BIconCreditCard2Back, BIconCreditCard2BackFill, BIconCreditCard2Front, BIconCreditCard2FrontFill, BIconCreditCardFill, BIconCrop, BIconCup, BIconCupFill, BIconCupStraw, BIconCursor, BIconCursorFill, BIconCursorText, BIconDash, BIconDashCircle, BIconDashCircleFill, BIconDashSquare, BIconDashSquareFill, BIconDiagram2, BIconDiagram2Fill, BIconDiagram3, BIconDiagram3Fill, BIconDiamond, BIconDiamondFill, BIconDiamondHalf, BIconDice1, BIconDice1Fill, BIconDice2, BIconDice2Fill, BIconDice3, BIconDice3Fill, BIconDice4, BIconDice4Fill, BIconDice5, BIconDice5Fill, BIconDice6, BIconDice6Fill, BIconDisplay, BIconDisplayFill, BIconDistributeHorizontal, BIconDistributeVertical, BIconDoorClosed, BIconDoorClosedFill, BIconDoorOpen, BIconDoorOpenFill, BIconDot, BIconDownload, BIconDroplet, BIconDropletFill, BIconDropletHalf, BIconEarbuds, BIconEasel, BIconEaselFill, BIconEgg, BIconEggFill, BIconEggFried, BIconEject, BIconEjectFill, BIconEmojiAngry, BIconEmojiAngryFill, BIconEmojiDizzy, BIconEmojiDizzyFill, BIconEmojiExpressionless, BIconEmojiExpressionlessFill, BIconEmojiFrown, BIconEmojiFrownFill, BIconEmojiHeartEyes, BIconEmojiHeartEyesFill, BIconEmojiLaughing, BIconEmojiLaughingFill, BIconEmojiNeutral, BIconEmojiNeutralFill, BIconEmojiSmile, BIconEmojiSmileFill, BIconEmojiSmileUpsideDown, BIconEmojiSmileUpsideDownFill, BIconEmojiSunglasses, BIconEmojiSunglassesFill, BIconEmojiWink, BIconEmojiWinkFill, BIconEnvelope, BIconEnvelopeFill, BIconEnvelopeOpen, BIconEnvelopeOpenFill, BIconExclamation, BIconExclamationCircle, BIconExclamationCircleFill, BIconExclamationDiamond, BIconExclamationDiamondFill, BIconExclamationOctagon, BIconExclamationOctagonFill, BIconExclamationSquare, BIconExclamationSquareFill, BIconExclamationTriangle, BIconExclamationTriangleFill, BIconExclude, BIconEye, BIconEyeFill, BIconEyeSlash, BIconEyeSlashFill, BIconEyeglasses, BIconFile, BIconFileArrowDown, BIconFileArrowDownFill, BIconFileArrowUp, BIconFileArrowUpFill, BIconFileBarGraph, BIconFileBarGraphFill, BIconFileBinary, BIconFileBinaryFill, BIconFileBreak, BIconFileBreakFill, BIconFileCheck, BIconFileCheckFill, BIconFileCode, BIconFileCodeFill, BIconFileDiff, BIconFileDiffFill, BIconFileEarmark, BIconFileEarmarkArrowDown, BIconFileEarmarkArrowDownFill, BIconFileEarmarkArrowUp, BIconFileEarmarkArrowUpFill, BIconFileEarmarkBarGraph, BIconFileEarmarkBarGraphFill, BIconFileEarmarkBinary, BIconFileEarmarkBinaryFill, BIconFileEarmarkBreak, BIconFileEarmarkBreakFill, BIconFileEarmarkCheck, BIconFileEarmarkCheckFill, BIconFileEarmarkCode, BIconFileEarmarkCodeFill, BIconFileEarmarkDiff, BIconFileEarmarkDiffFill, BIconFileEarmarkEasel, BIconFileEarmarkEaselFill, BIconFileEarmarkExcel, BIconFileEarmarkExcelFill, BIconFileEarmarkFill, BIconFileEarmarkFont, BIconFileEarmarkFontFill, BIconFileEarmarkImage, BIconFileEarmarkImageFill, BIconFileEarmarkLock, BIconFileEarmarkLock2, BIconFileEarmarkLock2Fill, BIconFileEarmarkLockFill, BIconFileEarmarkMedical, BIconFileEarmarkMedicalFill, BIconFileEarmarkMinus, BIconFileEarmarkMinusFill, BIconFileEarmarkMusic, BIconFileEarmarkMusicFill, BIconFileEarmarkPerson, BIconFileEarmarkPersonFill, BIconFileEarmarkPlay, BIconFileEarmarkPlayFill, BIconFileEarmarkPlus, BIconFileEarmarkPlusFill, BIconFileEarmarkPost, BIconFileEarmarkPostFill, BIconFileEarmarkPpt, BIconFileEarmarkPptFill, BIconFileEarmarkRichtext, BIconFileEarmarkRichtextFill, BIconFileEarmarkRuled, BIconFileEarmarkRuledFill, BIconFileEarmarkSlides, BIconFileEarmarkSlidesFill, BIconFileEarmarkSpreadsheet, BIconFileEarmarkSpreadsheetFill, BIconFileEarmarkText, BIconFileEarmarkTextFill, BIconFileEarmarkWord, BIconFileEarmarkWordFill, BIconFileEarmarkX, BIconFileEarmarkXFill, BIconFileEarmarkZip, BIconFileEarmarkZipFill, BIconFileEasel, BIconFileEaselFill, BIconFileExcel, BIconFileExcelFill, BIconFileFill, BIconFileFont, BIconFileFontFill, BIconFileImage, BIconFileImageFill, BIconFileLock, BIconFileLock2, BIconFileLock2Fill, BIconFileLockFill, BIconFileMedical, BIconFileMedicalFill, BIconFileMinus, BIconFileMinusFill, BIconFileMusic, BIconFileMusicFill, BIconFilePerson, BIconFilePersonFill, BIconFilePlay, BIconFilePlayFill, BIconFilePlus, BIconFilePlusFill, BIconFilePost, BIconFilePostFill, BIconFilePpt, BIconFilePptFill, BIconFileRichtext, BIconFileRichtextFill, BIconFileRuled, BIconFileRuledFill, BIconFileSlides, BIconFileSlidesFill, BIconFileSpreadsheet, BIconFileSpreadsheetFill, BIconFileText, BIconFileTextFill, BIconFileWord, BIconFileWordFill, BIconFileX, BIconFileXFill, BIconFileZip, BIconFileZipFill, BIconFiles, BIconFilesAlt, BIconFilm, BIconFilter, BIconFilterCircle, BIconFilterCircleFill, BIconFilterLeft, BIconFilterRight, BIconFilterSquare, BIconFilterSquareFill, BIconFlag, BIconFlagFill, BIconFlower1, BIconFlower2, BIconFlower3, BIconFolder, BIconFolder2, BIconFolder2Open, BIconFolderCheck, BIconFolderFill, BIconFolderMinus, BIconFolderPlus, BIconFolderSymlink, BIconFolderSymlinkFill, BIconFolderX, BIconFonts, BIconForward, BIconForwardFill, BIconFront, BIconFullscreen, BIconFullscreenExit, BIconFunnel, BIconFunnelFill, BIconGear, BIconGearFill, BIconGearWide, BIconGearWideConnected, BIconGem, BIconGeo, BIconGeoAlt, BIconGeoAltFill, BIconGeoFill, BIconGift, BIconGiftFill, BIconGlobe, BIconGlobe2, BIconGraphDown, BIconGraphUp, BIconGrid, BIconGrid1x2, BIconGrid1x2Fill, BIconGrid3x2, BIconGrid3x2Gap, BIconGrid3x2GapFill, BIconGrid3x3, BIconGrid3x3Gap, BIconGrid3x3GapFill, BIconGridFill, BIconGripHorizontal, BIconGripVertical, BIconHammer, BIconHandIndex, BIconHandIndexThumb, BIconHandThumbsDown, BIconHandThumbsUp, BIconHandbag, BIconHandbagFill, BIconHash, BIconHdd, BIconHddFill, BIconHddNetwork, BIconHddNetworkFill, BIconHddRack, BIconHddRackFill, BIconHddStack, BIconHddStackFill, BIconHeadphones, BIconHeadset, BIconHeart, BIconHeartFill, BIconHeartHalf, BIconHeptagon, BIconHeptagonFill, BIconHeptagonHalf, BIconHexagon, BIconHexagonFill, BIconHexagonHalf, BIconHourglass, BIconHourglassBottom, BIconHourglassSplit, BIconHourglassTop, BIconHouse, BIconHouseDoor, BIconHouseDoorFill, BIconHouseFill, BIconHr, BIconImage, BIconImageAlt, BIconImageFill, BIconImages, BIconInbox, BIconInboxFill, BIconInboxes, BIconInboxesFill, BIconInfo, BIconInfoCircle, BIconInfoCircleFill, BIconInfoSquare, BIconInfoSquareFill, BIconInputCursor, BIconInputCursorText, BIconIntersect, BIconJournal, BIconJournalAlbum, BIconJournalArrowDown, BIconJournalArrowUp, BIconJournalBookmark, BIconJournalBookmarkFill, BIconJournalCheck, BIconJournalCode, BIconJournalMedical, BIconJournalMinus, BIconJournalPlus, BIconJournalRichtext, BIconJournalText, BIconJournalX, BIconJournals, BIconJoystick, BIconJustify, BIconJustifyLeft, BIconJustifyRight, BIconKanban, BIconKanbanFill, BIconKey, BIconKeyFill, BIconKeyboard, BIconKeyboardFill, BIconLadder, BIconLamp, BIconLampFill, BIconLaptop, BIconLaptopFill, BIconLayers, BIconLayersFill, BIconLayersHalf, BIconLayoutSidebar, BIconLayoutSidebarInset, BIconLayoutSidebarInsetReverse, BIconLayoutSidebarReverse, BIconLayoutSplit, BIconLayoutTextSidebar, BIconLayoutTextSidebarReverse, BIconLayoutTextWindow, BIconLayoutTextWindowReverse, BIconLayoutThreeColumns, BIconLayoutWtf, BIconLifePreserver, BIconLightning, BIconLightningFill, BIconLink, BIconLink45deg, BIconList, BIconListCheck, BIconListNested, BIconListOl, BIconListStars, BIconListTask, BIconListUl, BIconLock, BIconLockFill, BIconMailbox, BIconMailbox2, BIconMap, BIconMapFill, BIconMarkdown, BIconMarkdownFill, BIconMenuApp, BIconMenuAppFill, BIconMenuButton, BIconMenuButtonFill, BIconMenuButtonWide, BIconMenuButtonWideFill, BIconMenuDown, BIconMenuUp, BIconMic, BIconMicFill, BIconMicMute, BIconMicMuteFill, BIconMinecart, BIconMinecartLoaded, BIconMoon, BIconMouse, BIconMouse2, BIconMouse3, BIconMusicNote, BIconMusicNoteBeamed, BIconMusicNoteList, BIconMusicPlayer, BIconMusicPlayerFill, BIconNewspaper, BIconNodeMinus, BIconNodeMinusFill, BIconNodePlus, BIconNodePlusFill, BIconNut, BIconNutFill, BIconOctagon, BIconOctagonFill, BIconOctagonHalf, BIconOption, BIconOutlet, BIconPaperclip, BIconParagraph, BIconPatchCheck, BIconPatchCheckFll, BIconPatchExclamation, BIconPatchExclamationFll, BIconPatchMinus, BIconPatchMinusFll, BIconPatchPlus, BIconPatchPlusFll, BIconPatchQuestion, BIconPatchQuestionFll, BIconPause, BIconPauseFill, BIconPeace, BIconPeaceFill, BIconPen, BIconPenFill, BIconPencil, BIconPencilFill, BIconPencilSquare, BIconPentagon, BIconPentagonFill, BIconPentagonHalf, BIconPeople, BIconPeopleFill, BIconPercent, BIconPerson, BIconPersonBadge, BIconPersonBadgeFill, BIconPersonBoundingBox, BIconPersonCheck, BIconPersonCheckFill, BIconPersonCircle, BIconPersonDash, BIconPersonDashFill, BIconPersonFill, BIconPersonLinesFill, BIconPersonPlus, BIconPersonPlusFill, BIconPersonSquare, BIconPersonX, BIconPersonXFill, BIconPhone, BIconPhoneFill, BIconPhoneLandscape, BIconPhoneLandscapeFill, BIconPhoneVibrate, BIconPieChart, BIconPieChartFill, BIconPip, BIconPipFill, BIconPlay, BIconPlayFill, BIconPlug, BIconPlugFill, BIconPlus, BIconPlusCircle, BIconPlusCircleFill, BIconPlusSquare, BIconPlusSquareFill, BIconPower, BIconPrinter, BIconPrinterFill, BIconPuzzle, BIconPuzzleFill, BIconQuestion, BIconQuestionCircle, BIconQuestionCircleFill, BIconQuestionDiamond, BIconQuestionDiamondFill, BIconQuestionOctagon, BIconQuestionOctagonFill, BIconQuestionSquare, BIconQuestionSquareFill, BIconReceipt, BIconReceiptCutoff, BIconReception0, BIconReception1, BIconReception2, BIconReception3, BIconReception4, BIconReply, BIconReplyAll, BIconReplyAllFill, BIconReplyFill, BIconRss, BIconRssFill, BIconScissors, BIconScrewdriver, BIconSearch, BIconSegmentedNav, BIconServer, BIconShare, BIconShareFill, BIconShield, BIconShieldCheck, BIconShieldExclamation, BIconShieldFill, BIconShieldFillCheck, BIconShieldFillExclamation, BIconShieldFillMinus, BIconShieldFillPlus, BIconShieldFillX, BIconShieldLock, BIconShieldLockFill, BIconShieldMinus, BIconShieldPlus, BIconShieldShaded, BIconShieldSlash, BIconShieldSlashFill, BIconShieldX, BIconShift, BIconShiftFill, BIconShop, BIconShopWindow, BIconShuffle, BIconSignpost, BIconSignpost2, BIconSignpost2Fill, BIconSignpostFill, BIconSignpostSplit, BIconSignpostSplitFill, BIconSim, BIconSimFill, BIconSkipBackward, BIconSkipBackwardFill, BIconSkipEnd, BIconSkipEndFill, BIconSkipForward, BIconSkipForwardFill, BIconSkipStart, BIconSkipStartFill, BIconSlash, BIconSlashCircle, BIconSlashCircleFill, BIconSlashSquare, BIconSlashSquareFill, BIconSliders, BIconSmartwatch, BIconSortAlphaDown, BIconSortAlphaDownAlt, BIconSortAlphaUp, BIconSortAlphaUpAlt, BIconSortDown, BIconSortDownAlt, BIconSortNumericDown, BIconSortNumericDownAlt, BIconSortNumericUp, BIconSortNumericUpAlt, BIconSortUp, BIconSortUpAlt, BIconSoundwave, BIconSpeaker, BIconSpeakerFill, BIconSpellcheck, BIconSquare, BIconSquareFill, BIconSquareHalf, BIconStar, BIconStarFill, BIconStarHalf, BIconStickies, BIconStickiesFill, BIconSticky, BIconStickyFill, BIconStop, BIconStopFill, BIconStoplights, BIconStoplightsFill, BIconStopwatch, BIconStopwatchFill, BIconSubtract, BIconSuitClub, BIconSuitClubFill, BIconSuitDiamond, BIconSuitDiamondFill, BIconSuitHeart, BIconSuitHeartFill, BIconSuitSpade, BIconSuitSpadeFill, BIconSun, BIconSunglasses, BIconTable, BIconTablet, BIconTabletFill, BIconTabletLandscape, BIconTabletLandscapeFill, BIconTag, BIconTagFill, BIconTags, BIconTagsFill, BIconTelephone, BIconTelephoneFill, BIconTelephoneForward, BIconTelephoneForwardFill, BIconTelephoneInbound, BIconTelephoneInboundFill, BIconTelephoneMinus, BIconTelephoneMinusFill, BIconTelephoneOutbound, BIconTelephoneOutboundFill, BIconTelephonePlus, BIconTelephonePlusFill, BIconTelephoneX, BIconTelephoneXFill, BIconTerminal, BIconTerminalFill, BIconTextCenter, BIconTextIndentLeft, BIconTextIndentRight, BIconTextLeft, BIconTextParagraph, BIconTextRight, BIconTextarea, BIconTextareaResize, BIconTextareaT, BIconThermometer, BIconThermometerHalf, BIconThreeDots, BIconThreeDotsVertical, BIconToggle2Off, BIconToggle2On, BIconToggleOff, BIconToggleOn, BIconToggles, BIconToggles2, BIconTools, BIconTrash, BIconTrash2, BIconTrash2Fill, BIconTrashFill, BIconTree, BIconTreeFill, BIconTriangle, BIconTriangleFill, BIconTriangleHalf, BIconTrophy, BIconTrophyFill, BIconTruck, BIconTruckFlatbed, BIconTv, BIconTvFill, BIconType, BIconTypeBold, BIconTypeH1, BIconTypeH2, BIconTypeH3, BIconTypeItalic, BIconTypeStrikethrough, BIconTypeUnderline, BIconUiChecks, BIconUiChecksGrid, BIconUiRadios, BIconUiRadiosGrid, BIconUnion, BIconUnlock, BIconUnlockFill, BIconUpc, BIconUpcScan, BIconUpload, BIconVectorPen, BIconViewList, BIconViewStacked, BIconVoicemail, BIconVolumeDown, BIconVolumeDownFill, BIconVolumeMute, BIconVolumeMuteFill, BIconVolumeOff, BIconVolumeOffFill, BIconVolumeUp, BIconVolumeUpFill, BIconVr, BIconWallet, BIconWallet2, BIconWalletFill, BIconWatch, BIconWifi, BIconWifi1, BIconWifi2, BIconWifiOff, BIconWindow, BIconWrench, BIconX, BIconXCircle, BIconXCircleFill, BIconXDiamond, BIconXDiamondFill, BIconXOctagon, BIconXOctagonFill, BIconXSquare, BIconXSquareFill, BIconZoomIn, BIconZoomOut, BIconstack, BImg, BImgLazy, BInputGroup, BInputGroupAddon, BInputGroupAppend, BInputGroupPrepend, BInputGroupText, BJumbotron, BLink, BListGroup, BListGroupItem, BMedia, BMediaAside, BMediaBody, BModal, BNav, BNavForm, BNavItem, BNavItemDropdown, BNavText, BNavbar, BNavbarBrand, BNavbarNav, BNavbarToggle, BOverlay, BPagination, BPaginationNav, BPopover, BProgress, BProgressBar, BRow, BSidebar, BSkeleton, BSkeletonIcon, BSkeletonImg, BSkeletonTable, BSkeletonWrapper, BSpinner, BTab, BTable, BTableLite, BTableSimple, BTabs, BTbody, BTd, BTfoot, BTh, BThead, BTime, BToast, BToaster, BTooltip, BTr, BVConfigPlugin as BVConfig, BVConfigPlugin, BVModalPlugin, BVToastPlugin, BadgePlugin, BootstrapVue, BootstrapVueIcons, BreadcrumbPlugin, ButtonGroupPlugin, ButtonPlugin, ButtonToolbarPlugin, CalendarPlugin, CardPlugin, CarouselPlugin, CollapsePlugin, DropdownPlugin, EmbedPlugin, FormCheckboxPlugin, FormDatepickerPlugin, FormFilePlugin, FormGroupPlugin, FormInputPlugin, FormPlugin, FormRadioPlugin, FormRatingPlugin, FormSelectPlugin, FormSpinbuttonPlugin, FormTagsPlugin, FormTextareaPlugin, FormTimepickerPlugin, IconsPlugin, ImagePlugin, InputGroupPlugin, JumbotronPlugin, LayoutPlugin, LinkPlugin, ListGroupPlugin, MediaPlugin, ModalPlugin, NAME$2 as NAME, NavPlugin, NavbarPlugin, OverlayPlugin, PaginationNavPlugin, PaginationPlugin, PopoverPlugin, ProgressPlugin, SidebarPlugin, SkeletonPlugin, SpinnerPlugin, TableLitePlugin, TablePlugin, TableSimplePlugin, TabsPlugin, TimePlugin, ToastPlugin, TooltipPlugin, VBHover, VBHoverPlugin, VBModal, VBModalPlugin, VBPopover, VBPopoverPlugin, VBScrollspy, VBScrollspyPlugin, VBToggle, VBTogglePlugin, VBTooltip, VBTooltipPlugin, VBVisible, VBVisiblePlugin, install };
|
|
//# sourceMappingURL=bootstrap-vue.esm.js.map
|