@ammadbaig10/vue-advance-search-box
Version:
Advanced and fully customizable search box
48 lines (34 loc) • 1.34 kB
JavaScript
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.SearchBar = {}));
}(this, (function (exports) { 'use strict';
const script = {};
script.__file = "src/SearchBar.vue";
// Import vue component
// install function executed by Vue.use()
function install(Vue) {
if (install.installed) return;
install.installed = true;
Vue.component('SearchBar', script);
}
// Create module definition for Vue.use()
const plugin = {
install,
};
let GlobalVue = null;
if (typeof window !== 'undefined') {
GlobalVue = window.Vue;
} else if (typeof global !== 'undefined') {
GlobalVue = global.Vue;
}
if (GlobalVue) {
GlobalVue.use(plugin);
}
// It's possible to expose named exports when writing components that can
// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo';
// export const RollupDemoDirective = component;
exports.default = script;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=vue-advance-search-box.min.js.map