update deps

This commit is contained in:
s2
2019-12-20 20:02:44 +01:00
parent 14c1b72301
commit b7fa481dcb
833 changed files with 68364 additions and 18390 deletions

View File

@@ -1,4 +1,4 @@
/* src/PNotify.html generated by Svelte v2.15.3 */
/* src/PNotify.html generated by Svelte v2.16.1 */
let PNotify;
@@ -750,7 +750,7 @@ function setup(Component) {
// Add static properties to the PNotify object.
PNotify = Component;
PNotify.VERSION = '4.0.0-beta.1';
PNotify.VERSION = '4.0.0';
PNotify.defaultStack = {
dir1: 'down',

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
/* src/PNotifyAnimate.html generated by Svelte v2.15.3 */
/* src/PNotifyAnimate.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
function data() {

View File

@@ -1,4 +1,4 @@
/* src/PNotifyButtons.html generated by Svelte v2.15.3 */
/* src/PNotifyButtons.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
function _showSticker({ sticker, _notice }) {

View File

@@ -1,4 +1,4 @@
/* src/PNotifyCallbacks.html generated by Svelte v2.15.3 */
/* src/PNotifyCallbacks.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
let _open = PNotify.prototype.open;

View File

@@ -1,4 +1,4 @@
/* src/PNotifyConfirm.html generated by Svelte v2.15.3 */
/* src/PNotifyConfirm.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
function data() {
@@ -14,13 +14,18 @@ var methods = {
},
afterOpen () {
if (this.get().prompt) {
if (this.get().prompt && this.get().focus !== false) {
if (this.get().promptMultiLine) {
this.refs.promptMulti.focus();
} else {
this.refs.promptSingle.focus();
}
} else if (this.get().confirm && this.get()._options.stack.modal) {
} else if (this.get().confirm &&
(
this.get().focus === true ||
(this.get().focus === null && this.get()._options.stack.modal)
)
) {
const buttons = this.get().buttons;
if (buttons.length) {
let i = buttons.length - 1;
@@ -72,6 +77,8 @@ function setup(Component) {
promptValue: '',
// Whether the prompt should accept multiple lines of text.
promptMultiLine: false,
// For confirmation boxes, true means the first button or the button with promptTrigger will be focused, and null means focus will change only for modal notices. For prompts, true or null means focus the prompt. When false, focus will not change.
focus: null,
// Where to align the buttons. (flex-start, center, flex-end, space-around, space-between)
align: 'flex-end',
// The buttons to display, and their callbacks.

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
/* src/PNotifyDesktop.html generated by Svelte v2.15.3 */
/* src/PNotifyDesktop.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
let permission;

View File

@@ -1,4 +1,4 @@
/* src/PNotifyHistory.html generated by Svelte v2.15.3 */
/* src/PNotifyHistory.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
function data() {

View File

@@ -1,4 +1,4 @@
/* src/PNotifyMobile.html generated by Svelte v2.15.3 */
/* src/PNotifyMobile.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
function data() {

View File

@@ -1,4 +1,4 @@
/* src/PNotifyNonBlock.html generated by Svelte v2.15.3 */
/* src/PNotifyNonBlock.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
function data() {

View File

@@ -1,4 +1,4 @@
/* src/PNotifyReference.html generated by Svelte v2.15.3 */
/* src/PNotifyReference.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
function data() {

View File

@@ -1,4 +1,4 @@
/* src/PNotifyStyleMaterial.html generated by Svelte v2.15.3 */
/* src/PNotifyStyleMaterial.html generated by Svelte v2.16.1 */
import PNotify from "./PNotify.js";
function setup(Component) {

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotify.html generated by Svelte v2.15.3 */
/* src/PNotify.html generated by Svelte v2.16.1 */
var PNotify = function () {
"use strict";
@@ -823,7 +823,7 @@ var PNotify = function () {
// Add static properties to the PNotify object.
PNotify = Component;
PNotify.VERSION = '4.0.0-beta.1';
PNotify.VERSION = '4.0.0';
PNotify.defaultStack = {
dir1: 'down',

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
/* src/PNotifyAnimate.html generated by Svelte v2.15.3 */
/* src/PNotifyAnimate.html generated by Svelte v2.16.1 */
var PNotifyAnimate = function (PNotify) {
"use strict";

View File

@@ -2,7 +2,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
/* src/PNotifyButtons.html generated by Svelte v2.15.3 */
/* src/PNotifyButtons.html generated by Svelte v2.16.1 */
var PNotifyButtons = function (PNotify) {
"use strict";

View File

@@ -1,6 +1,6 @@
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyCallbacks.html generated by Svelte v2.15.3 */
/* src/PNotifyCallbacks.html generated by Svelte v2.16.1 */
var PNotifyCallbacks = function (PNotify) {
"use strict";

View File

@@ -2,7 +2,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
/* src/PNotifyConfirm.html generated by Svelte v2.15.3 */
/* src/PNotifyConfirm.html generated by Svelte v2.16.1 */
var PNotifyConfirm = function (PNotify) {
"use strict";
@@ -20,13 +20,13 @@ var PNotifyConfirm = function (PNotify) {
this.set(options);
},
afterOpen: function afterOpen() {
if (this.get().prompt) {
if (this.get().prompt && this.get().focus !== false) {
if (this.get().promptMultiLine) {
this.refs.promptMulti.focus();
} else {
this.refs.promptSingle.focus();
}
} else if (this.get().confirm && this.get()._options.stack.modal) {
} else if (this.get().confirm && (this.get().focus === true || this.get().focus === null && this.get()._options.stack.modal)) {
var buttons = this.get().buttons;
if (buttons.length) {
var i = buttons.length - 1;
@@ -79,6 +79,8 @@ var PNotifyConfirm = function (PNotify) {
promptValue: '',
// Whether the prompt should accept multiple lines of text.
promptMultiLine: false,
// For confirmation boxes, true means the first button or the button with promptTrigger will be focused, and null means focus will change only for modal notices. For prompts, true or null means focus the prompt. When false, focus will not change.
focus: null,
// Where to align the buttons. (flex-start, center, flex-end, space-around, space-between)
align: 'flex-end',
// The buttons to display, and their callbacks.

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
/* src/PNotifyDesktop.html generated by Svelte v2.15.3 */
/* src/PNotifyDesktop.html generated by Svelte v2.16.1 */
var PNotifyDesktop = function (PNotify) {
"use strict";

View File

@@ -2,7 +2,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
/* src/PNotifyHistory.html generated by Svelte v2.15.3 */
/* src/PNotifyHistory.html generated by Svelte v2.16.1 */
var PNotifyHistory = function (PNotify) {
"use strict";

View File

@@ -2,7 +2,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
/* src/PNotifyMobile.html generated by Svelte v2.15.3 */
/* src/PNotifyMobile.html generated by Svelte v2.16.1 */
var PNotifyMobile = function (PNotify) {
"use strict";

View File

@@ -2,7 +2,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
/* src/PNotifyNonBlock.html generated by Svelte v2.15.3 */
/* src/PNotifyNonBlock.html generated by Svelte v2.16.1 */
var PNotifyNonBlock = function (PNotify) {
"use strict";

View File

@@ -2,7 +2,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
/* src/PNotifyReference.html generated by Svelte v2.15.3 */
/* src/PNotifyReference.html generated by Svelte v2.16.1 */
var PNotifyReference = function (PNotify) {
"use strict";

View File

@@ -2,7 +2,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
/* src/PNotifyStyleMaterial.html generated by Svelte v2.15.3 */
/* src/PNotifyStyleMaterial.html generated by Svelte v2.16.1 */
var PNotifyStyleMaterial = function (PNotify) {
"use strict";

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotify.html generated by Svelte v2.15.3 */
/* src/PNotify.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define('PNotify', factory) : global.PNotify = factory();
})(this, function () {
@@ -825,7 +825,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
// Add static properties to the PNotify object.
PNotify = Component;
PNotify.VERSION = '4.0.0-beta.1';
PNotify.VERSION = '4.0.0';
PNotify.defaultStack = {
dir1: 'down',

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyAnimate.html generated by Svelte v2.15.3 */
/* src/PNotifyAnimate.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyAnimate', ["./PNotify"], factory) : global.PNotifyAnimate = factory(PNotify);
})(this, function (PNotify) {

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyButtons.html generated by Svelte v2.15.3 */
/* src/PNotifyButtons.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyButtons', ["./PNotify"], factory) : global.PNotifyButtons = factory(PNotify);
})(this, function (PNotify) {

View File

@@ -1,6 +1,6 @@
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyCallbacks.html generated by Svelte v2.15.3 */
/* src/PNotifyCallbacks.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyCallbacks', ["./PNotify"], factory) : global.PNotifyCallbacks = factory(PNotify);
})(this, function (PNotify) {

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyConfirm.html generated by Svelte v2.15.3 */
/* src/PNotifyConfirm.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyConfirm', ["./PNotify"], factory) : global.PNotifyConfirm = factory(PNotify);
})(this, function (PNotify) {
@@ -22,13 +22,13 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
this.set(options);
},
afterOpen: function afterOpen() {
if (this.get().prompt) {
if (this.get().prompt && this.get().focus !== false) {
if (this.get().promptMultiLine) {
this.refs.promptMulti.focus();
} else {
this.refs.promptSingle.focus();
}
} else if (this.get().confirm && this.get()._options.stack.modal) {
} else if (this.get().confirm && (this.get().focus === true || this.get().focus === null && this.get()._options.stack.modal)) {
var buttons = this.get().buttons;
if (buttons.length) {
var i = buttons.length - 1;
@@ -81,6 +81,8 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
promptValue: '',
// Whether the prompt should accept multiple lines of text.
promptMultiLine: false,
// For confirmation boxes, true means the first button or the button with promptTrigger will be focused, and null means focus will change only for modal notices. For prompts, true or null means focus the prompt. When false, focus will not change.
focus: null,
// Where to align the buttons. (flex-start, center, flex-end, space-around, space-between)
align: 'flex-end',
// The buttons to display, and their callbacks.

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyDesktop.html generated by Svelte v2.15.3 */
/* src/PNotifyDesktop.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyDesktop', ["./PNotify"], factory) : global.PNotifyDesktop = factory(PNotify);
})(this, function (PNotify) {

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyHistory.html generated by Svelte v2.15.3 */
/* src/PNotifyHistory.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyHistory', ["./PNotify"], factory) : global.PNotifyHistory = factory(PNotify);
})(this, function (PNotify) {

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyMobile.html generated by Svelte v2.15.3 */
/* src/PNotifyMobile.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyMobile', ["./PNotify"], factory) : global.PNotifyMobile = factory(PNotify);
})(this, function (PNotify) {

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyNonBlock.html generated by Svelte v2.15.3 */
/* src/PNotifyNonBlock.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyNonBlock', ["./PNotify"], factory) : global.PNotifyNonBlock = factory(PNotify);
})(this, function (PNotify) {

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyReference.html generated by Svelte v2.15.3 */
/* src/PNotifyReference.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyReference', ["./PNotify"], factory) : global.PNotifyReference = factory(PNotify);
})(this, function (PNotify) {

View File

@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* src/PNotifyStyleMaterial.html generated by Svelte v2.15.3 */
/* src/PNotifyStyleMaterial.html generated by Svelte v2.16.1 */
(function (global, factory) {
(typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined" ? module.exports = factory(require('./PNotify')) : typeof define === "function" && define.amd ? define('PNotifyStyleMaterial', ["./PNotify"], factory) : global.PNotifyStyleMaterial = factory(PNotify);
})(this, function (PNotify) {