Add yet-another-react-lightbox package and update .gitignore to exclude node_modules
This commit is contained in:
3
frontend/node_modules/flatpickr/dist/plugins/labelPlugin/labelPlugin.d.ts
generated
vendored
3
frontend/node_modules/flatpickr/dist/plugins/labelPlugin/labelPlugin.d.ts
generated
vendored
@@ -1,3 +0,0 @@
|
||||
import { Plugin } from "../../types/options";
|
||||
declare function labelPlugin(): Plugin;
|
||||
export default labelPlugin;
|
||||
31
frontend/node_modules/flatpickr/dist/plugins/labelPlugin/labelPlugin.js
generated
vendored
31
frontend/node_modules/flatpickr/dist/plugins/labelPlugin/labelPlugin.js
generated
vendored
@@ -1,31 +0,0 @@
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
||||
typeof define === 'function' && define.amd ? define(factory) :
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.labelPlugin = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
function labelPlugin() {
|
||||
return function (fp) {
|
||||
return {
|
||||
onReady: function () {
|
||||
var id = fp.input.id;
|
||||
if (!id) {
|
||||
return;
|
||||
}
|
||||
if (fp.mobileInput) {
|
||||
fp.input.removeAttribute("id");
|
||||
fp.mobileInput.id = id;
|
||||
}
|
||||
else if (fp.altInput) {
|
||||
fp.input.removeAttribute("id");
|
||||
fp.altInput.id = id;
|
||||
}
|
||||
fp.loadedPlugins.push("labelPlugin");
|
||||
},
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
return labelPlugin;
|
||||
|
||||
})));
|
||||
Reference in New Issue
Block a user