ai.touchui-vue 1.33.3 → 1.34.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/lib/affix.js +2 -2
- package/lib/ai.touchui-vue.common.js +904 -917
- package/lib/align.js +2 -2
- package/lib/animation.js +2 -2
- package/lib/article.js +2 -2
- package/lib/box.js +2 -2
- package/lib/button.js +2 -2
- package/lib/calendar.js +2 -2
- package/lib/card-item.js +19 -19
- package/lib/card.js +178 -178
- package/lib/cascader.js +2 -2
- package/lib/center-scroll.js +2 -2
- package/lib/chat.js +4 -4
- package/lib/checkbox.js +11 -5
- package/lib/checkboxes.js +27 -5
- package/lib/collapse.js +768 -768
- package/lib/color.js +2 -2
- package/lib/countdown.js +2 -2
- package/lib/date-picker.js +1486 -1486
- package/lib/date-range.js +2 -2
- package/lib/dialog.js +27 -23
- package/lib/dis.js +2 -2
- package/lib/ellipsis.js +2 -2
- package/lib/emote.js +2 -2
- package/lib/export.js +10 -10
- package/lib/filter.js +2 -2
- package/lib/fix.js +2 -2
- package/lib/float.js +2 -2
- package/lib/flow.js +4 -4
- package/lib/form.js +2 -2
- package/lib/grid.js +2 -2
- package/lib/guider.js +2 -2
- package/lib/header.js +2 -2
- package/lib/hide.js +2 -2
- package/lib/icon.js +2 -2
- package/lib/import.js +12 -12
- package/lib/index.js +1 -1
- package/lib/input.js +5 -5
- package/lib/ip.js +2 -2
- package/lib/line.js +2 -2
- package/lib/loading.js +11 -11
- package/lib/longtap.js +2 -2
- package/lib/menu-icon.js +670 -673
- package/lib/message.js +2 -2
- package/lib/msg.js +19 -19
- package/lib/org.js +706 -706
- package/lib/padding.js +2 -2
- package/lib/page.js +4 -438
- package/lib/param.js +2 -2
- package/lib/pic.js +4 -4
- package/lib/popup.js +2 -2
- package/lib/progress.js +2 -2
- package/lib/range.js +1074 -1074
- package/lib/rate.js +2 -2
- package/lib/reverser.js +2 -2
- package/lib/scroll.js +2 -2
- package/lib/segment.js +2 -2
- package/lib/select.js +2 -2
- package/lib/size.js +2 -2
- package/lib/skeleton.js +2 -2
- package/lib/slide.js +2 -2
- package/lib/space.js +2 -2
- package/lib/step.js +2 -2
- package/lib/submit.js +2 -2
- package/lib/switch.js +2 -2
- package/lib/tab.js +2 -2
- package/lib/table.js +2 -2
- package/lib/tag.js +2 -2
- package/lib/theme/css/theme/workbench-gz.css +1 -0
- package/lib/timeline.js +2 -2
- package/lib/tip.js +2 -2
- package/lib/tooltip.js +2 -2
- package/lib/transfer.js +2 -2
- package/lib/tree.js +2 -2
- package/lib/upload.js +14 -14
- package/package.json +1 -1
- package/packages/checkbox/src/checkbox.vue +8 -2
- package/packages/checkboxes/src/checkboxes.vue +17 -1
- package/packages/dialog/src/dialog.vue +21 -18
- package/packages/input/src/input.vue +1 -1
- package/packages/page/src/page.vue +0 -22
- package/packages/tab/.DS_Store +0 -0
- package/packages/theme/lib/css/theme/workbench-gz.css +1 -0
- package/packages/theme/src/less/theme/workbench-gz.less +159 -0
- package/src/index.js +1 -1
package/lib/padding.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 374);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 374:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/page.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 387);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -190,27 +190,6 @@ function normalizeComponent(
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
|
|
193
|
-
/***/ }),
|
|
194
|
-
|
|
195
|
-
/***/ 104:
|
|
196
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
|
-
|
|
198
|
-
"use strict";
|
|
199
|
-
/* harmony import */ var _node_modules_style_loader_dist_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_page_vue_vue_type_style_index_0_id_03d37639_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22);
|
|
200
|
-
/* harmony import */ var _node_modules_style_loader_dist_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_page_vue_vue_type_style_index_0_id_03d37639_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_page_vue_vue_type_style_index_0_id_03d37639_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
201
|
-
/* unused harmony reexport * */
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
/***/ }),
|
|
205
|
-
|
|
206
|
-
/***/ 105:
|
|
207
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
208
|
-
|
|
209
|
-
exports = module.exports = __webpack_require__(7)(false);
|
|
210
|
-
// Module
|
|
211
|
-
exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* .to-page .prev + .pager {\n\tflex: none !important;\n}\n.to-page .pager {\n\tuser-select: none;\n}\n\n.to-page .prev,\n.to-page .next {\n\tuser-select: none;\n\tcursor: not-allowed;\n}\n.to-page .pointer {\n\tcursor: pointer;\n}\n.to-page .prev.pointer:hover,\n.to-page .next.pointer:hover {\n\tbackground: #ededed;\n} */\n", ""]);
|
|
212
|
-
|
|
213
|
-
|
|
214
193
|
/***/ }),
|
|
215
194
|
|
|
216
195
|
/***/ 2:
|
|
@@ -220,37 +199,14 @@ module.exports = require("ai.touchui-vue/lib/mixins/locale");
|
|
|
220
199
|
|
|
221
200
|
/***/ }),
|
|
222
201
|
|
|
223
|
-
/***/
|
|
224
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
225
|
-
|
|
226
|
-
var content = __webpack_require__(105);
|
|
227
|
-
|
|
228
|
-
if (typeof content === 'string') {
|
|
229
|
-
content = [[module.i, content, '']];
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
var options = {}
|
|
233
|
-
|
|
234
|
-
options.insert = "head";
|
|
235
|
-
options.singleton = false;
|
|
236
|
-
|
|
237
|
-
var update = __webpack_require__(8)(content, options);
|
|
238
|
-
|
|
239
|
-
if (content.locals) {
|
|
240
|
-
module.exports = content.locals;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
/***/ }),
|
|
245
|
-
|
|
246
|
-
/***/ 390:
|
|
202
|
+
/***/ 387:
|
|
247
203
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
248
204
|
|
|
249
205
|
"use strict";
|
|
250
206
|
// ESM COMPAT FLAG
|
|
251
207
|
__webpack_require__.r(__webpack_exports__);
|
|
252
208
|
|
|
253
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/page/src/page.vue?vue&type=template&id=
|
|
209
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/page/src/page.vue?vue&type=template&id=f82798a2
|
|
254
210
|
var render = function () {
|
|
255
211
|
var _vm = this
|
|
256
212
|
var _h = _vm.$createElement
|
|
@@ -681,7 +637,7 @@ var staticRenderFns = []
|
|
|
681
637
|
render._withStripped = true
|
|
682
638
|
|
|
683
639
|
|
|
684
|
-
// CONCATENATED MODULE: ./packages/page/src/page.vue?vue&type=template&id=
|
|
640
|
+
// CONCATENATED MODULE: ./packages/page/src/page.vue?vue&type=template&id=f82798a2
|
|
685
641
|
|
|
686
642
|
// EXTERNAL MODULE: external "ai.touchui-vue/lib/mixins/locale"
|
|
687
643
|
var locale_ = __webpack_require__(2);
|
|
@@ -977,9 +933,6 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
|
977
933
|
});
|
|
978
934
|
// CONCATENATED MODULE: ./packages/page/src/page.vue?vue&type=script&lang=js
|
|
979
935
|
/* harmony default export */ var src_pagevue_type_script_lang_js = (pagevue_type_script_lang_js);
|
|
980
|
-
// EXTERNAL MODULE: ./packages/page/src/page.vue?vue&type=style&index=0&id=03d37639&prod&lang=css
|
|
981
|
-
var pagevue_type_style_index_0_id_03d37639_prod_lang_css = __webpack_require__(104);
|
|
982
|
-
|
|
983
936
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
984
937
|
var componentNormalizer = __webpack_require__(0);
|
|
985
938
|
|
|
@@ -989,7 +942,6 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
989
942
|
|
|
990
943
|
|
|
991
944
|
|
|
992
|
-
|
|
993
945
|
/* normalize component */
|
|
994
946
|
|
|
995
947
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
@@ -1014,392 +966,6 @@ page.install = function (Vue) {
|
|
|
1014
966
|
|
|
1015
967
|
/* harmony default export */ var packages_page = __webpack_exports__["default"] = (page);
|
|
1016
968
|
|
|
1017
|
-
/***/ }),
|
|
1018
|
-
|
|
1019
|
-
/***/ 7:
|
|
1020
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1021
|
-
|
|
1022
|
-
"use strict";
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
/*
|
|
1026
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
1027
|
-
Author Tobias Koppers @sokra
|
|
1028
|
-
*/
|
|
1029
|
-
// css base code, injected by the css-loader
|
|
1030
|
-
// eslint-disable-next-line func-names
|
|
1031
|
-
module.exports = function (useSourceMap) {
|
|
1032
|
-
var list = []; // return the list of modules as css string
|
|
1033
|
-
|
|
1034
|
-
list.toString = function toString() {
|
|
1035
|
-
return this.map(function (item) {
|
|
1036
|
-
var content = cssWithMappingToString(item, useSourceMap);
|
|
1037
|
-
|
|
1038
|
-
if (item[2]) {
|
|
1039
|
-
return "@media ".concat(item[2], "{").concat(content, "}");
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
return content;
|
|
1043
|
-
}).join('');
|
|
1044
|
-
}; // import a list of modules into the list
|
|
1045
|
-
// eslint-disable-next-line func-names
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
list.i = function (modules, mediaQuery) {
|
|
1049
|
-
if (typeof modules === 'string') {
|
|
1050
|
-
// eslint-disable-next-line no-param-reassign
|
|
1051
|
-
modules = [[null, modules, '']];
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
var alreadyImportedModules = {};
|
|
1055
|
-
|
|
1056
|
-
for (var i = 0; i < this.length; i++) {
|
|
1057
|
-
// eslint-disable-next-line prefer-destructuring
|
|
1058
|
-
var id = this[i][0];
|
|
1059
|
-
|
|
1060
|
-
if (id != null) {
|
|
1061
|
-
alreadyImportedModules[id] = true;
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
for (var _i = 0; _i < modules.length; _i++) {
|
|
1066
|
-
var item = modules[_i]; // skip already imported module
|
|
1067
|
-
// this implementation is not 100% perfect for weird media query combinations
|
|
1068
|
-
// when a module is imported multiple times with different media queries.
|
|
1069
|
-
// I hope this will never occur (Hey this way we have smaller bundles)
|
|
1070
|
-
|
|
1071
|
-
if (item[0] == null || !alreadyImportedModules[item[0]]) {
|
|
1072
|
-
if (mediaQuery && !item[2]) {
|
|
1073
|
-
item[2] = mediaQuery;
|
|
1074
|
-
} else if (mediaQuery) {
|
|
1075
|
-
item[2] = "(".concat(item[2], ") and (").concat(mediaQuery, ")");
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
list.push(item);
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
};
|
|
1082
|
-
|
|
1083
|
-
return list;
|
|
1084
|
-
};
|
|
1085
|
-
|
|
1086
|
-
function cssWithMappingToString(item, useSourceMap) {
|
|
1087
|
-
var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring
|
|
1088
|
-
|
|
1089
|
-
var cssMapping = item[3];
|
|
1090
|
-
|
|
1091
|
-
if (!cssMapping) {
|
|
1092
|
-
return content;
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
if (useSourceMap && typeof btoa === 'function') {
|
|
1096
|
-
var sourceMapping = toComment(cssMapping);
|
|
1097
|
-
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
1098
|
-
return "/*# sourceURL=".concat(cssMapping.sourceRoot).concat(source, " */");
|
|
1099
|
-
});
|
|
1100
|
-
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
return [content].join('\n');
|
|
1104
|
-
} // Adapted from convert-source-map (MIT)
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
function toComment(sourceMap) {
|
|
1108
|
-
// eslint-disable-next-line no-undef
|
|
1109
|
-
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
|
|
1110
|
-
var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
|
|
1111
|
-
return "/*# ".concat(data, " */");
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
/***/ }),
|
|
1115
|
-
|
|
1116
|
-
/***/ 8:
|
|
1117
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1118
|
-
|
|
1119
|
-
"use strict";
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
var stylesInDom = {};
|
|
1123
|
-
|
|
1124
|
-
var isOldIE = function isOldIE() {
|
|
1125
|
-
var memo;
|
|
1126
|
-
return function memorize() {
|
|
1127
|
-
if (typeof memo === 'undefined') {
|
|
1128
|
-
// Test for IE <= 9 as proposed by Browserhacks
|
|
1129
|
-
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
|
1130
|
-
// Tests for existence of standard globals is to allow style-loader
|
|
1131
|
-
// to operate correctly into non-standard environments
|
|
1132
|
-
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
|
1133
|
-
memo = Boolean(window && document && document.all && !window.atob);
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
return memo;
|
|
1137
|
-
};
|
|
1138
|
-
}();
|
|
1139
|
-
|
|
1140
|
-
var getTarget = function getTarget() {
|
|
1141
|
-
var memo = {};
|
|
1142
|
-
return function memorize(target) {
|
|
1143
|
-
if (typeof memo[target] === 'undefined') {
|
|
1144
|
-
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
1145
|
-
|
|
1146
|
-
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
1147
|
-
try {
|
|
1148
|
-
// This will throw an exception if access to iframe is blocked
|
|
1149
|
-
// due to cross-origin restrictions
|
|
1150
|
-
styleTarget = styleTarget.contentDocument.head;
|
|
1151
|
-
} catch (e) {
|
|
1152
|
-
// istanbul ignore next
|
|
1153
|
-
styleTarget = null;
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
memo[target] = styleTarget;
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
return memo[target];
|
|
1161
|
-
};
|
|
1162
|
-
}();
|
|
1163
|
-
|
|
1164
|
-
function listToStyles(list, options) {
|
|
1165
|
-
var styles = [];
|
|
1166
|
-
var newStyles = {};
|
|
1167
|
-
|
|
1168
|
-
for (var i = 0; i < list.length; i++) {
|
|
1169
|
-
var item = list[i];
|
|
1170
|
-
var id = options.base ? item[0] + options.base : item[0];
|
|
1171
|
-
var css = item[1];
|
|
1172
|
-
var media = item[2];
|
|
1173
|
-
var sourceMap = item[3];
|
|
1174
|
-
var part = {
|
|
1175
|
-
css: css,
|
|
1176
|
-
media: media,
|
|
1177
|
-
sourceMap: sourceMap
|
|
1178
|
-
};
|
|
1179
|
-
|
|
1180
|
-
if (!newStyles[id]) {
|
|
1181
|
-
styles.push(newStyles[id] = {
|
|
1182
|
-
id: id,
|
|
1183
|
-
parts: [part]
|
|
1184
|
-
});
|
|
1185
|
-
} else {
|
|
1186
|
-
newStyles[id].parts.push(part);
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
return styles;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
function addStylesToDom(styles, options) {
|
|
1194
|
-
for (var i = 0; i < styles.length; i++) {
|
|
1195
|
-
var item = styles[i];
|
|
1196
|
-
var domStyle = stylesInDom[item.id];
|
|
1197
|
-
var j = 0;
|
|
1198
|
-
|
|
1199
|
-
if (domStyle) {
|
|
1200
|
-
domStyle.refs++;
|
|
1201
|
-
|
|
1202
|
-
for (; j < domStyle.parts.length; j++) {
|
|
1203
|
-
domStyle.parts[j](item.parts[j]);
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
for (; j < item.parts.length; j++) {
|
|
1207
|
-
domStyle.parts.push(addStyle(item.parts[j], options));
|
|
1208
|
-
}
|
|
1209
|
-
} else {
|
|
1210
|
-
var parts = [];
|
|
1211
|
-
|
|
1212
|
-
for (; j < item.parts.length; j++) {
|
|
1213
|
-
parts.push(addStyle(item.parts[j], options));
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
stylesInDom[item.id] = {
|
|
1217
|
-
id: item.id,
|
|
1218
|
-
refs: 1,
|
|
1219
|
-
parts: parts
|
|
1220
|
-
};
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
function insertStyleElement(options) {
|
|
1226
|
-
var style = document.createElement('style');
|
|
1227
|
-
|
|
1228
|
-
if (typeof options.attributes.nonce === 'undefined') {
|
|
1229
|
-
var nonce = true ? __webpack_require__.nc : undefined;
|
|
1230
|
-
|
|
1231
|
-
if (nonce) {
|
|
1232
|
-
options.attributes.nonce = nonce;
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
Object.keys(options.attributes).forEach(function (key) {
|
|
1237
|
-
style.setAttribute(key, options.attributes[key]);
|
|
1238
|
-
});
|
|
1239
|
-
|
|
1240
|
-
if (typeof options.insert === 'function') {
|
|
1241
|
-
options.insert(style);
|
|
1242
|
-
} else {
|
|
1243
|
-
var target = getTarget(options.insert || 'head');
|
|
1244
|
-
|
|
1245
|
-
if (!target) {
|
|
1246
|
-
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
target.appendChild(style);
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
return style;
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
function removeStyleElement(style) {
|
|
1256
|
-
// istanbul ignore if
|
|
1257
|
-
if (style.parentNode === null) {
|
|
1258
|
-
return false;
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
style.parentNode.removeChild(style);
|
|
1262
|
-
}
|
|
1263
|
-
/* istanbul ignore next */
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
var replaceText = function replaceText() {
|
|
1267
|
-
var textStore = [];
|
|
1268
|
-
return function replace(index, replacement) {
|
|
1269
|
-
textStore[index] = replacement;
|
|
1270
|
-
return textStore.filter(Boolean).join('\n');
|
|
1271
|
-
};
|
|
1272
|
-
}();
|
|
1273
|
-
|
|
1274
|
-
function applyToSingletonTag(style, index, remove, obj) {
|
|
1275
|
-
var css = remove ? '' : obj.css; // For old IE
|
|
1276
|
-
|
|
1277
|
-
/* istanbul ignore if */
|
|
1278
|
-
|
|
1279
|
-
if (style.styleSheet) {
|
|
1280
|
-
style.styleSheet.cssText = replaceText(index, css);
|
|
1281
|
-
} else {
|
|
1282
|
-
var cssNode = document.createTextNode(css);
|
|
1283
|
-
var childNodes = style.childNodes;
|
|
1284
|
-
|
|
1285
|
-
if (childNodes[index]) {
|
|
1286
|
-
style.removeChild(childNodes[index]);
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
if (childNodes.length) {
|
|
1290
|
-
style.insertBefore(cssNode, childNodes[index]);
|
|
1291
|
-
} else {
|
|
1292
|
-
style.appendChild(cssNode);
|
|
1293
|
-
}
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
function applyToTag(style, options, obj) {
|
|
1298
|
-
var css = obj.css;
|
|
1299
|
-
var media = obj.media;
|
|
1300
|
-
var sourceMap = obj.sourceMap;
|
|
1301
|
-
|
|
1302
|
-
if (media) {
|
|
1303
|
-
style.setAttribute('media', media);
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
if (sourceMap && btoa) {
|
|
1307
|
-
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
1308
|
-
} // For old IE
|
|
1309
|
-
|
|
1310
|
-
/* istanbul ignore if */
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
if (style.styleSheet) {
|
|
1314
|
-
style.styleSheet.cssText = css;
|
|
1315
|
-
} else {
|
|
1316
|
-
while (style.firstChild) {
|
|
1317
|
-
style.removeChild(style.firstChild);
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
style.appendChild(document.createTextNode(css));
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
var singleton = null;
|
|
1325
|
-
var singletonCounter = 0;
|
|
1326
|
-
|
|
1327
|
-
function addStyle(obj, options) {
|
|
1328
|
-
var style;
|
|
1329
|
-
var update;
|
|
1330
|
-
var remove;
|
|
1331
|
-
|
|
1332
|
-
if (options.singleton) {
|
|
1333
|
-
var styleIndex = singletonCounter++;
|
|
1334
|
-
style = singleton || (singleton = insertStyleElement(options));
|
|
1335
|
-
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
|
1336
|
-
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
|
1337
|
-
} else {
|
|
1338
|
-
style = insertStyleElement(options);
|
|
1339
|
-
update = applyToTag.bind(null, style, options);
|
|
1340
|
-
|
|
1341
|
-
remove = function remove() {
|
|
1342
|
-
removeStyleElement(style);
|
|
1343
|
-
};
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
|
-
update(obj);
|
|
1347
|
-
return function updateStyle(newObj) {
|
|
1348
|
-
if (newObj) {
|
|
1349
|
-
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
|
|
1350
|
-
return;
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
|
-
update(obj = newObj);
|
|
1354
|
-
} else {
|
|
1355
|
-
remove();
|
|
1356
|
-
}
|
|
1357
|
-
};
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
module.exports = function (list, options) {
|
|
1361
|
-
options = options || {};
|
|
1362
|
-
options.attributes = typeof options.attributes === 'object' ? options.attributes : {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
1363
|
-
// tags it will allow on a page
|
|
1364
|
-
|
|
1365
|
-
if (!options.singleton && typeof options.singleton !== 'boolean') {
|
|
1366
|
-
options.singleton = isOldIE();
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
var styles = listToStyles(list, options);
|
|
1370
|
-
addStylesToDom(styles, options);
|
|
1371
|
-
return function update(newList) {
|
|
1372
|
-
var mayRemove = [];
|
|
1373
|
-
|
|
1374
|
-
for (var i = 0; i < styles.length; i++) {
|
|
1375
|
-
var item = styles[i];
|
|
1376
|
-
var domStyle = stylesInDom[item.id];
|
|
1377
|
-
|
|
1378
|
-
if (domStyle) {
|
|
1379
|
-
domStyle.refs--;
|
|
1380
|
-
mayRemove.push(domStyle);
|
|
1381
|
-
}
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
if (newList) {
|
|
1385
|
-
var newStyles = listToStyles(newList, options);
|
|
1386
|
-
addStylesToDom(newStyles, options);
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
for (var _i = 0; _i < mayRemove.length; _i++) {
|
|
1390
|
-
var _domStyle = mayRemove[_i];
|
|
1391
|
-
|
|
1392
|
-
if (_domStyle.refs === 0) {
|
|
1393
|
-
for (var j = 0; j < _domStyle.parts.length; j++) {
|
|
1394
|
-
_domStyle.parts[j]();
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
delete stylesInDom[_domStyle.id];
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
};
|
|
1401
|
-
};
|
|
1402
|
-
|
|
1403
969
|
/***/ })
|
|
1404
970
|
|
|
1405
971
|
/******/ });
|
package/lib/param.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 366);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 366:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/pic.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 385);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -406,7 +406,7 @@ render._withStripped = true
|
|
|
406
406
|
var dom_ = __webpack_require__(1);
|
|
407
407
|
|
|
408
408
|
// EXTERNAL MODULE: external "ai.touchui-vue/lib/utils/util"
|
|
409
|
-
var util_ = __webpack_require__(
|
|
409
|
+
var util_ = __webpack_require__(7);
|
|
410
410
|
|
|
411
411
|
// EXTERNAL MODULE: external "ai.touchui-vue/lib/mixins/locale"
|
|
412
412
|
var locale_ = __webpack_require__(2);
|
|
@@ -804,7 +804,7 @@ module.exports = require("ai.touchui-vue/lib/mixins/locale");
|
|
|
804
804
|
|
|
805
805
|
/***/ }),
|
|
806
806
|
|
|
807
|
-
/***/
|
|
807
|
+
/***/ 385:
|
|
808
808
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
809
809
|
|
|
810
810
|
"use strict";
|
|
@@ -1036,7 +1036,7 @@ pic.install = function (Vue) {
|
|
|
1036
1036
|
|
|
1037
1037
|
/***/ }),
|
|
1038
1038
|
|
|
1039
|
-
/***/
|
|
1039
|
+
/***/ 7:
|
|
1040
1040
|
/***/ (function(module, exports) {
|
|
1041
1041
|
|
|
1042
1042
|
module.exports = require("ai.touchui-vue/lib/utils/util");
|
package/lib/popup.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 337);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -199,7 +199,7 @@ module.exports = require("ai.touchui-vue/lib/mixins/transition");
|
|
|
199
199
|
|
|
200
200
|
/***/ }),
|
|
201
201
|
|
|
202
|
-
/***/
|
|
202
|
+
/***/ 337:
|
|
203
203
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
204
204
|
|
|
205
205
|
"use strict";
|
package/lib/progress.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 354);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 354:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|