diff --git a/dist/js/vex.combined.min.js b/dist/js/vex.combined.min.js index 56a707b..a40cda1 100644 --- a/dist/js/vex.combined.min.js +++ b/dist/js/vex.combined.min.js @@ -1,2 +1,2 @@ -/*! vex.combined.js: vex 3.1.1, vex-dialog 1.0.7 */ +/*! vex.combined.js: vex 4.0.1, vex-dialog 1.0.7 */ !function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.vex=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};a[g][0].call(k.exports,function(b){var c=a[g][1][b];return e(c?c:b)},k,k.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g
a',f=!e.getElementsByTagName("link").length,e=void 0);var g={legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"],_default:f?[1,"X
","
"]:[0,"",""]};g.td=g.th=[3,"","
"],g.option=g.optgroup=[1,'"],g.thead=g.tbody=g.colgroup=g.caption=g.tfoot=[1,"","
"],g.polyline=g.ellipse=g.polygon=g.circle=g.text=g.line=g.path=g.rect=g.g=[1,'',""]},{}],3:[function(a,b,c){"use strict";function d(a,b){if(void 0===a||null===a)throw new TypeError("Cannot convert first argument to object");for(var c=Object(a),d=1;d
a',f=!e.getElementsByTagName("link").length,e=void 0);var g={legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"],_default:f?[1,"X
","
"]:[0,"",""]};g.td=g.th=[3,"","
"],g.option=g.optgroup=[1,'"],g.thead=g.tbody=g.colgroup=g.caption=g.tfoot=[1,"","
"],g.polyline=g.ellipse=g.polygon=g.circle=g.text=g.line=g.path=g.rect=g.g=[1,'',""]},{}],2:[function(a,b,c){function d(a,b){"object"!=typeof b?b={hash:!!b}:void 0===b.hash&&(b.hash=!0);for(var c=b.hash?{}:"",d=b.serializer||(b.hash?g:h),e=a&&a.elements?a.elements:[],f=Object.create(null),k=0;k'+a._escapeHtml(b.label||c.label)+"",input:''};b=Object.assign(c,d,b);var e=b.callback;return b.callback=function(a){if("object"==typeof a){var b=Object.keys(a);a=b.length?a[b[0]]:""}e(a)},this.open(b)}};return b.buttons={YES:{text:"OK",type:"submit",className:"vex-dialog-button-primary",click:function(){this.value=!0}},NO:{text:"Cancel",type:"button",className:"vex-dialog-button-secondary",click:function(){this.value=!1,this.close()}}},b.defaultOptions={callback:function(){},afterOpen:function(){},message:"",input:"",buttons:[b.buttons.YES,b.buttons.NO],showCloseButton:!1,onSubmit:function(a){return a.preventDefault(),this.options.input&&(this.value=e(this.form,{hash:!0})),this.close()},focusFirstInput:!0},b.defaultAlertOptions={buttons:[b.buttons.YES]},b.defaultPromptOptions={label:"Prompt:",placeholder:"",value:""},b.defaultConfirmOptions={},b};b.exports=h},{domify:1,"form-serialize":2}]},{},[3])(3)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{domify:2,"form-serialize":4}],6:[function(a,b,c){var d=a("./vex");d.registerPlugin(a("vex-dialog")),b.exports=d},{"./vex":7,"vex-dialog":5}],7:[function(a,b,c){a("classlist-polyfill"),a("es6-object-assign").polyfill();var d=a("domify"),e=function(a){if("undefined"!=typeof a){var b=document.createElement("div");return b.appendChild(document.createTextNode(a)),b.innerHTML}return""},f=function(a,b){if("string"==typeof b&&0!==b.length)for(var c=b.split(" "),d=0;d
a',f=!e.getElementsByTagName("link").length,e=void 0);var g={legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"],_default:f?[1,"X
","
"]:[0,"",""]};g.td=g.th=[3,"","
"],g.option=g.optgroup=[1,'"],g.thead=g.tbody=g.colgroup=g.caption=g.tfoot=[1,"","
"],g.polyline=g.ellipse=g.polygon=g.circle=g.text=g.line=g.path=g.rect=g.g=[1,'',""]},{}],3:[function(a,b,c){"use strict";function d(a,b){if(void 0===a||null===a)throw new TypeError("Cannot convert first argument to object");for(var c=Object(a),d=1;d",