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

@@ -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.