update deps
This commit is contained in:
4
node_modules/pnotify/lib/es/PNotify.js
generated
vendored
4
node_modules/pnotify/lib/es/PNotify.js
generated
vendored
@@ -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',
|
||||
|
2
node_modules/pnotify/lib/es/PNotify.js.map
generated
vendored
2
node_modules/pnotify/lib/es/PNotify.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/pnotify/lib/es/PNotifyAnimate.js
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyAnimate.js
generated
vendored
@@ -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() {
|
||||
|
2
node_modules/pnotify/lib/es/PNotifyButtons.js
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyButtons.js
generated
vendored
@@ -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 }) {
|
||||
|
2
node_modules/pnotify/lib/es/PNotifyCallbacks.js
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyCallbacks.js
generated
vendored
@@ -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;
|
||||
|
13
node_modules/pnotify/lib/es/PNotifyConfirm.js
generated
vendored
13
node_modules/pnotify/lib/es/PNotifyConfirm.js
generated
vendored
@@ -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.
|
||||
|
2
node_modules/pnotify/lib/es/PNotifyConfirm.js.map
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyConfirm.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/pnotify/lib/es/PNotifyDesktop.js
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyDesktop.js
generated
vendored
@@ -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;
|
||||
|
2
node_modules/pnotify/lib/es/PNotifyHistory.js
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyHistory.js
generated
vendored
@@ -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() {
|
||||
|
2
node_modules/pnotify/lib/es/PNotifyMobile.js
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyMobile.js
generated
vendored
@@ -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() {
|
||||
|
2
node_modules/pnotify/lib/es/PNotifyNonBlock.js
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyNonBlock.js
generated
vendored
@@ -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() {
|
||||
|
2
node_modules/pnotify/lib/es/PNotifyReference.js
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyReference.js
generated
vendored
@@ -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() {
|
||||
|
2
node_modules/pnotify/lib/es/PNotifyStyleMaterial.js
generated
vendored
2
node_modules/pnotify/lib/es/PNotifyStyleMaterial.js
generated
vendored
@@ -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) {
|
||||
|
4
node_modules/pnotify/lib/iife/PNotify.js
generated
vendored
4
node_modules/pnotify/lib/iife/PNotify.js
generated
vendored
@@ -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',
|
||||
|
2
node_modules/pnotify/lib/iife/PNotify.js.map
generated
vendored
2
node_modules/pnotify/lib/iife/PNotify.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/pnotify/lib/iife/PNotifyAnimate.js
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyAnimate.js
generated
vendored
@@ -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";
|
||||
|
||||
|
2
node_modules/pnotify/lib/iife/PNotifyButtons.js
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyButtons.js
generated
vendored
@@ -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";
|
||||
|
||||
|
2
node_modules/pnotify/lib/iife/PNotifyCallbacks.js
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyCallbacks.js
generated
vendored
@@ -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";
|
||||
|
||||
|
8
node_modules/pnotify/lib/iife/PNotifyConfirm.js
generated
vendored
8
node_modules/pnotify/lib/iife/PNotifyConfirm.js
generated
vendored
@@ -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.
|
||||
|
2
node_modules/pnotify/lib/iife/PNotifyConfirm.js.map
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyConfirm.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/pnotify/lib/iife/PNotifyDesktop.js
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyDesktop.js
generated
vendored
@@ -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";
|
||||
|
||||
|
2
node_modules/pnotify/lib/iife/PNotifyHistory.js
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyHistory.js
generated
vendored
@@ -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";
|
||||
|
||||
|
2
node_modules/pnotify/lib/iife/PNotifyMobile.js
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyMobile.js
generated
vendored
@@ -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";
|
||||
|
||||
|
2
node_modules/pnotify/lib/iife/PNotifyNonBlock.js
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyNonBlock.js
generated
vendored
@@ -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";
|
||||
|
||||
|
2
node_modules/pnotify/lib/iife/PNotifyReference.js
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyReference.js
generated
vendored
@@ -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";
|
||||
|
||||
|
2
node_modules/pnotify/lib/iife/PNotifyStyleMaterial.js
generated
vendored
2
node_modules/pnotify/lib/iife/PNotifyStyleMaterial.js
generated
vendored
@@ -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";
|
||||
|
||||
|
4
node_modules/pnotify/lib/umd/PNotify.js
generated
vendored
4
node_modules/pnotify/lib/umd/PNotify.js
generated
vendored
@@ -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',
|
||||
|
2
node_modules/pnotify/lib/umd/PNotify.js.map
generated
vendored
2
node_modules/pnotify/lib/umd/PNotify.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/pnotify/lib/umd/PNotifyAnimate.js
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyAnimate.js
generated
vendored
@@ -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) {
|
||||
|
2
node_modules/pnotify/lib/umd/PNotifyButtons.js
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyButtons.js
generated
vendored
@@ -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) {
|
||||
|
2
node_modules/pnotify/lib/umd/PNotifyCallbacks.js
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyCallbacks.js
generated
vendored
@@ -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) {
|
||||
|
8
node_modules/pnotify/lib/umd/PNotifyConfirm.js
generated
vendored
8
node_modules/pnotify/lib/umd/PNotifyConfirm.js
generated
vendored
@@ -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.
|
||||
|
2
node_modules/pnotify/lib/umd/PNotifyConfirm.js.map
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyConfirm.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/pnotify/lib/umd/PNotifyDesktop.js
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyDesktop.js
generated
vendored
@@ -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) {
|
||||
|
2
node_modules/pnotify/lib/umd/PNotifyHistory.js
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyHistory.js
generated
vendored
@@ -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) {
|
||||
|
2
node_modules/pnotify/lib/umd/PNotifyMobile.js
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyMobile.js
generated
vendored
@@ -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) {
|
||||
|
2
node_modules/pnotify/lib/umd/PNotifyNonBlock.js
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyNonBlock.js
generated
vendored
@@ -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) {
|
||||
|
2
node_modules/pnotify/lib/umd/PNotifyReference.js
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyReference.js
generated
vendored
@@ -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) {
|
||||
|
2
node_modules/pnotify/lib/umd/PNotifyStyleMaterial.js
generated
vendored
2
node_modules/pnotify/lib/umd/PNotifyStyleMaterial.js
generated
vendored
@@ -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) {
|
||||
|
Reference in New Issue
Block a user