Changements dans les modules (nouvelle version Express, mysql, ..)
This commit is contained in:
22
node_modules/@eonasdan/tempus-dominus/dist/plugins/bi-one.js
generated
vendored
Normal file
22
node_modules/@eonasdan/tempus-dominus/dist/plugins/bi-one.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/*!
|
||||
* Tempus Dominus v6.7.19 (https://getdatepicker.com/)
|
||||
* Copyright 2013-2023 Jonathan Peterson
|
||||
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
|
||||
*/
|
||||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports):typeof define==='function'&&define.amd?define(['exports'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f((g.tempusDominus=g.tempusDominus||{},g.tempusDominus.plugins=g.tempusDominus.plugins||{},g.tempusDominus.plugins.bi_one={})));})(this,(function(exports){'use strict';// this obviously requires the Bootstrap Icons v1 libraries to be loaded
|
||||
const biOneIcons = {
|
||||
type: 'icons',
|
||||
time: 'bi bi-clock',
|
||||
date: 'bi bi-calendar-week',
|
||||
up: 'bi bi-arrow-up',
|
||||
down: 'bi bi-arrow-down',
|
||||
previous: 'bi bi-chevron-left',
|
||||
next: 'bi bi-chevron-right',
|
||||
today: 'bi bi-calendar-check',
|
||||
clear: 'bi bi-trash',
|
||||
close: 'bi bi-x',
|
||||
};
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
const load = (_, __, tdFactory) => {
|
||||
tdFactory.DefaultOptions.display.icons = biOneIcons;
|
||||
};exports.biOneIcons=biOneIcons;exports.load=load;Object.defineProperty(exports,'__esModule',{value:true});}));
|
||||
8
node_modules/@eonasdan/tempus-dominus/dist/plugins/customDateFormat.js
generated
vendored
Normal file
8
node_modules/@eonasdan/tempus-dominus/dist/plugins/customDateFormat.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/*!
|
||||
* Tempus Dominus v6.7.19 (https://getdatepicker.com/)
|
||||
* Copyright 2013-2023 Jonathan Peterson
|
||||
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
|
||||
*/
|
||||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=typeof globalThis!=='undefined'?globalThis:g||self,(g.tempusDominus=g.tempusDominus||{},g.tempusDominus.plugins=g.tempusDominus.plugins||{},g.tempusDominus.plugins.customDateFormat=f()));})(this,(function(){'use strict';var index = () => {
|
||||
console.warn('This plugin has been merged with the main picker and is now longer required');
|
||||
};return index;}));
|
||||
17
node_modules/@eonasdan/tempus-dominus/dist/plugins/examples/custom-paint-job.js
generated
vendored
Normal file
17
node_modules/@eonasdan/tempus-dominus/dist/plugins/examples/custom-paint-job.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/*!
|
||||
* Tempus Dominus v6.7.19 (https://getdatepicker.com/)
|
||||
* Copyright 2013-2023 Jonathan Peterson
|
||||
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
|
||||
*/
|
||||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=typeof globalThis!=='undefined'?globalThis:g||self,(g.tempusDominus=g.tempusDominus||{},g.tempusDominus.plugins=g.tempusDominus.plugins||{},g.tempusDominus.plugins.custom_paint_job=f()));})(this,(function(){'use strict';/* eslint-disable */
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
var customPaintJob = (option, tdClasses, tdFactory) => {
|
||||
// noinspection JSUnusedLocalSymbols
|
||||
tdClasses.Display.prototype.paint = (unit, date, classes, element) => {
|
||||
if (unit === tdFactory.Unit.date) {
|
||||
if (date.isSame(new tdFactory.DateTime(), unit)) {
|
||||
classes.push('special-day');
|
||||
}
|
||||
}
|
||||
};
|
||||
};return customPaintJob;}));
|
||||
30
node_modules/@eonasdan/tempus-dominus/dist/plugins/examples/sample.js
generated
vendored
Normal file
30
node_modules/@eonasdan/tempus-dominus/dist/plugins/examples/sample.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/*!
|
||||
* Tempus Dominus v6.7.19 (https://getdatepicker.com/)
|
||||
* Copyright 2013-2023 Jonathan Peterson
|
||||
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
|
||||
*/
|
||||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=typeof globalThis!=='undefined'?globalThis:g||self,(g.tempusDominus=g.tempusDominus||{},g.tempusDominus.plugins=g.tempusDominus.plugins||{},g.tempusDominus.plugins.sample=f()));})(this,(function(){'use strict';// noinspection JSUnusedGlobalSymbols
|
||||
var sample = (option, tdClasses, tdFactory) => {
|
||||
// extend the picker
|
||||
// e.g. add new tempusDominus.TempusDominus(...).someFunction()
|
||||
tdClasses.TempusDominus.prototype.someFunction = (a, logger) => {
|
||||
logger = logger || console.log;
|
||||
logger(a);
|
||||
};
|
||||
// extend tempusDominus
|
||||
// e.g. add tempusDominus.example()
|
||||
tdFactory.example = (a, logger) => {
|
||||
logger = logger || console.log;
|
||||
logger(a);
|
||||
};
|
||||
// overriding existing API
|
||||
// e.g. extend new tempusDominus.TempusDominus(...).show()
|
||||
const oldShow = tdClasses.TempusDominus.prototype.show;
|
||||
tdClasses.TempusDominus.prototype.show = function (a, logger) {
|
||||
logger = logger || console.log;
|
||||
alert('from plugin');
|
||||
logger(a);
|
||||
oldShow.bind(this)();
|
||||
// return modified result
|
||||
};
|
||||
};return sample;}));
|
||||
22
node_modules/@eonasdan/tempus-dominus/dist/plugins/fa-five.js
generated
vendored
Normal file
22
node_modules/@eonasdan/tempus-dominus/dist/plugins/fa-five.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/*!
|
||||
* Tempus Dominus v6.7.19 (https://getdatepicker.com/)
|
||||
* Copyright 2013-2023 Jonathan Peterson
|
||||
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
|
||||
*/
|
||||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports):typeof define==='function'&&define.amd?define(['exports'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f((g.tempusDominus=g.tempusDominus||{},g.tempusDominus.plugins=g.tempusDominus.plugins||{},g.tempusDominus.plugins.fa_five={})));})(this,(function(exports){'use strict';// this obviously requires the FA 6 libraries to be loaded
|
||||
const faFiveIcons = {
|
||||
type: 'icons',
|
||||
time: 'fas fa-clock',
|
||||
date: 'fas fa-calendar',
|
||||
up: 'fas fa-arrow-up',
|
||||
down: 'fas fa-arrow-down',
|
||||
previous: 'fas fa-chevron-left',
|
||||
next: 'fas fa-chevron-right',
|
||||
today: 'fas fa-calendar-check',
|
||||
clear: 'fas fa-trash',
|
||||
close: 'fas fa-times',
|
||||
};
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
const load = (_, __, tdFactory) => {
|
||||
tdFactory.DefaultOptions.display.icons = faFiveIcons;
|
||||
};exports.faFiveIcons=faFiveIcons;exports.load=load;Object.defineProperty(exports,'__esModule',{value:true});}));
|
||||
20
node_modules/@eonasdan/tempus-dominus/dist/plugins/moment-parse.js
generated
vendored
Normal file
20
node_modules/@eonasdan/tempus-dominus/dist/plugins/moment-parse.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/*!
|
||||
* Tempus Dominus v6.7.19 (https://getdatepicker.com/)
|
||||
* Copyright 2013-2023 Jonathan Peterson
|
||||
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
|
||||
*/
|
||||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=typeof globalThis!=='undefined'?globalThis:g||self,(g.tempusDominus=g.tempusDominus||{},g.tempusDominus.plugins=g.tempusDominus.plugins||{},g.tempusDominus.plugins.moment_parse=f()));})(this,(function(){'use strict';var index = (option, tdClasses, tdFactory) => {
|
||||
tdClasses.Dates.prototype.setFromInput = function (value, index) {
|
||||
const converted = moment(value, option);
|
||||
if (converted.isValid()) {
|
||||
const date = tdFactory.DateTime.convert(converted.toDate(), this.optionsStore.options.localization.locale);
|
||||
this.setValue(date, index);
|
||||
}
|
||||
else {
|
||||
console.warn('Momentjs failed to parse the input date.');
|
||||
}
|
||||
};
|
||||
tdClasses.Dates.prototype.formatInput = function (date) {
|
||||
return moment(date).format(option);
|
||||
};
|
||||
};return index;}));
|
||||
Reference in New Issue
Block a user