fastman2 2.9.0 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsheetman.js +96 -1
- package/alertman.js +79 -1
- package/annotationman.js +2912 -17
- package/baseman.js +115 -1
- package/blankpageman.js +171 -1
- package/cascadepickerman.js +322 -1
- package/confirmman.js +87 -1
- package/coreman.js +2182 -3
- package/cryptoman.js +8931 -2
- package/datetimepickerman.js +181 -1
- package/domman.js +2759 -1
- package/eventemitterman.js +112 -1
- package/fileuploadman.js +2970 -1
- package/formvalidateman.js +335 -1
- package/jsbridgeman.js +992 -1
- package/lazyloadman.js +133 -1
- package/loadingman.js +81 -1
- package/modalman.js +264 -1
- package/mutationobserverman.js +356 -1
- package/package.json +1 -1
- package/passguardman.js +1722 -1
- package/persistman.js +60 -1
- package/pickerman.js +680 -1
- package/popupman.js +61 -1
- package/postman.js +1649 -1
- package/preloadman.js +8760 -2
- package/resultpageman.js +153 -1
- package/routerman.js +1201 -1
- package/scrollman-infiniteRefresh.js +117 -1
- package/scrollman-pullDownRefresh.js +302 -1
- package/scrollman.js +2567 -2
- package/storeman.js +585 -1
- package/swiperman.js +4702 -1
- package/swiperoldman.js +3005 -1
- package/tabman.js +145 -1
- package/tipman.js +110 -1
- package/toastman.js +78 -1
- package/toolman.js +22 -1
- package/whenman.js +774 -1
- package/wsman.js +7624 -1
package/popupman.js
CHANGED
|
@@ -1 +1,61 @@
|
|
|
1
|
-
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory();
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define([], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["fastman"] = factory();
|
|
8
|
+
else
|
|
9
|
+
root["fastman"] = factory();
|
|
10
|
+
})(this, function() {
|
|
11
|
+
return webpackJsonpfastman([20],{
|
|
12
|
+
|
|
13
|
+
/***/ 223:
|
|
14
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
15
|
+
|
|
16
|
+
module.exports = __webpack_require__(89);
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
/***/ }),
|
|
20
|
+
|
|
21
|
+
/***/ 89:
|
|
22
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
23
|
+
|
|
24
|
+
"use strict";
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Object.defineProperty(exports, "__esModule", {
|
|
28
|
+
value: true
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
var _modal2 = __webpack_require__(10);
|
|
32
|
+
|
|
33
|
+
exports.default = function (modal, removeOnClose) {
|
|
34
|
+
if (typeof removeOnClose === 'undefined') removeOnClose = true;
|
|
35
|
+
if (typeof modal === 'string' && modal.indexOf('<') >= 0) {
|
|
36
|
+
var _modal = document.createElement('div');
|
|
37
|
+
_modal.innerHTML = modal.trim();
|
|
38
|
+
if (_modal.childNodes.length > 0) {
|
|
39
|
+
modal = _modal.childNodes[0];
|
|
40
|
+
if (removeOnClose) modal.classList.add('remove-on-close');
|
|
41
|
+
$(_modal2.defaults.modalContainer).append(modal);
|
|
42
|
+
} else return false; //nothing found
|
|
43
|
+
}
|
|
44
|
+
modal = $(modal);
|
|
45
|
+
if (modal.length === 0) return false;
|
|
46
|
+
modal.show();
|
|
47
|
+
modal.find(".content").scroller("refresh");
|
|
48
|
+
if (modal.find('.' + _modal2.defaults.viewClass).length > 0) {
|
|
49
|
+
$.sizeNavbars(modal.find('.' + _modal2.defaults.viewClass)[0]);
|
|
50
|
+
}
|
|
51
|
+
(0, _modal2.openModal)(modal);
|
|
52
|
+
|
|
53
|
+
return modal[0];
|
|
54
|
+
}; /**
|
|
55
|
+
* Created by linyiqing on 2017/3/27.
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
/***/ })
|
|
59
|
+
|
|
60
|
+
},[223]);
|
|
61
|
+
});
|