ai.touchui-vue 1.32.2 → 1.33.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.
Files changed (83) hide show
  1. package/lib/affix.js +2 -2
  2. package/lib/ai.touchui-vue.common.js +986 -873
  3. package/lib/align.js +2 -2
  4. package/lib/animation.js +2 -2
  5. package/lib/article.js +2 -2
  6. package/lib/box.js +2 -2
  7. package/lib/button.js +2 -2
  8. package/lib/calendar.js +2 -2
  9. package/lib/card-item.js +4 -4
  10. package/lib/card.js +178 -178
  11. package/lib/cascader.js +2 -2
  12. package/lib/center-scroll.js +2 -2
  13. package/lib/chat.js +4 -4
  14. package/lib/checkbox.js +2 -2
  15. package/lib/checkboxes.js +2 -2
  16. package/lib/collapse.js +771 -771
  17. package/lib/color.js +2 -2
  18. package/lib/countdown.js +2 -2
  19. package/lib/date-picker.js +1466 -1466
  20. package/lib/date-range.js +2 -2
  21. package/lib/dialog.js +2 -2
  22. package/lib/dis.js +2 -2
  23. package/lib/ellipsis.js +2 -2
  24. package/lib/emote.js +2 -2
  25. package/lib/export.js +10 -10
  26. package/lib/filter.js +2 -2
  27. package/lib/fix.js +2 -2
  28. package/lib/float.js +2 -2
  29. package/lib/flow.js +4 -4
  30. package/lib/form.js +2 -2
  31. package/lib/grid.js +2 -2
  32. package/lib/guider.js +2 -2
  33. package/lib/header.js +2 -2
  34. package/lib/hide.js +2 -2
  35. package/lib/icon.js +2 -2
  36. package/lib/import.js +12 -12
  37. package/lib/index.js +1 -1
  38. package/lib/input.js +62 -10
  39. package/lib/ip.js +2 -2
  40. package/lib/line.js +2 -2
  41. package/lib/loading.js +11 -11
  42. package/lib/longtap.js +2 -2
  43. package/lib/menu-icon.js +673 -670
  44. package/lib/message.js +2 -2
  45. package/lib/msg.js +19 -19
  46. package/lib/org.js +582 -582
  47. package/lib/padding.js +2 -2
  48. package/lib/page.js +578 -578
  49. package/lib/param.js +24 -8
  50. package/lib/pic.js +4 -4
  51. package/lib/popup.js +2 -2
  52. package/lib/progress.js +2 -2
  53. package/lib/range.js +452 -18
  54. package/lib/rate.js +2 -2
  55. package/lib/reverser.js +2 -2
  56. package/lib/scroll.js +2 -2
  57. package/lib/segment.js +2 -2
  58. package/lib/select.js +2 -2
  59. package/lib/size.js +2 -2
  60. package/lib/skeleton.js +2 -2
  61. package/lib/slide.js +2 -2
  62. package/lib/space.js +2 -2
  63. package/lib/step.js +2 -2
  64. package/lib/submit.js +2 -2
  65. package/lib/switch.js +2 -2
  66. package/lib/tab.js +2 -2
  67. package/lib/table.js +10 -10
  68. package/lib/tag.js +2 -2
  69. package/lib/theme/css/theme/logistics.css +1 -0
  70. package/lib/timeline.js +2 -2
  71. package/lib/tip.js +2 -2
  72. package/lib/tooltip.js +2 -2
  73. package/lib/transfer.js +2 -2
  74. package/lib/tree.js +2 -2
  75. package/lib/upload.js +14 -14
  76. package/package.json +1 -1
  77. package/packages/input/src/input.vue +65 -7
  78. package/packages/param/src/param.vue +6 -2
  79. package/packages/range/src/range.vue +17 -14
  80. package/packages/table/src/table-head.vue +1 -1
  81. package/packages/theme/lib/css/theme/logistics.css +1 -0
  82. package/packages/theme/src/less/theme/logistics.less +160 -0
  83. package/src/index.js +1 -1
package/lib/range.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 = 359);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 362);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,14 +192,37 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 359:
195
+ /***/ 18:
196
+ /***/ (function(module, exports, __webpack_require__) {
197
+
198
+ var content = __webpack_require__(95);
199
+
200
+ if (typeof content === 'string') {
201
+ content = [[module.i, content, '']];
202
+ }
203
+
204
+ var options = {}
205
+
206
+ options.insert = "head";
207
+ options.singleton = false;
208
+
209
+ var update = __webpack_require__(8)(content, options);
210
+
211
+ if (content.locals) {
212
+ module.exports = content.locals;
213
+ }
214
+
215
+
216
+ /***/ }),
217
+
218
+ /***/ 362:
196
219
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
220
 
198
221
  "use strict";
199
222
  // ESM COMPAT FLAG
200
223
  __webpack_require__.r(__webpack_exports__);
201
224
 
202
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/range/src/range.vue?vue&type=template&id=0d411d13
225
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/range/src/range.vue?vue&type=template&id=19fdc744
203
226
  var render = function () {
204
227
  var _vm = this
205
228
  var _h = _vm.$createElement
@@ -385,7 +408,7 @@ var staticRenderFns = []
385
408
  render._withStripped = true
386
409
 
387
410
 
388
- // CONCATENATED MODULE: ./packages/range/src/range.vue?vue&type=template&id=0d411d13
411
+ // CONCATENATED MODULE: ./packages/range/src/range.vue?vue&type=template&id=19fdc744
389
412
 
390
413
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/range/src/range.vue?vue&type=script&lang=js
391
414
  //
@@ -498,7 +521,7 @@ render._withStripped = true
498
521
  },
499
522
  set: function set(newVal) {
500
523
  this.progress = newVal;
501
- this.x = this.length * this.progress / this.range;
524
+ this.x = this.length.offsetWidth * this.progress / this.range;
502
525
  }
503
526
  },
504
527
  startVal: {
@@ -507,7 +530,7 @@ render._withStripped = true
507
530
  },
508
531
  set: function set(newVal) {
509
532
  this.sProgress = newVal;
510
- this.sx = this.length * this.sProgress / this.range;
533
+ this.sx = this.length.offsetWidth * this.sProgress / this.range;
511
534
  }
512
535
  },
513
536
  refVal: {
@@ -648,7 +671,7 @@ render._withStripped = true
648
671
 
649
672
  // 这里注意range的value改变不会触发视图刷新
650
673
  this.$nextTick(function () {
651
- _this.length = _this.$el.querySelector('.to-rangeBar').offsetWidth;
674
+ _this.length = _this.$el.querySelector('.to-rangeBar');
652
675
  _this.initRangeVal();
653
676
  });
654
677
  },
@@ -677,12 +700,12 @@ render._withStripped = true
677
700
  var leftX = e.offsetX;
678
701
  this.x = e.clientX - leftX;
679
702
  if (this.start) {
680
- var startLeft = this.startProgress / this.range * this.length;
681
- var endLeft = this.rangeProgress / this.range * this.length;
703
+ var startLeft = this.startProgress / this.range * this.length.offsetWidth;
704
+ var endLeft = this.rangeProgress / this.range * this.length.offsetWidth;
682
705
  var startLeftAbs = Math.abs(startLeft - leftX);
683
706
  var endLeftAbs = Math.abs(endLeft - leftX);
684
707
  if (startLeftAbs >= endLeftAbs) {
685
- this.progress = leftX / this.length * this.range;
708
+ this.progress = leftX / this.length.offsetWidth * this.range;
686
709
  this.progress = this.step ? this.step * Math.round(this.progress / this.step) : this.progress;
687
710
  if (this.progress <= 0) {
688
711
  this.progress = 0;
@@ -697,7 +720,7 @@ render._withStripped = true
697
720
  }
698
721
  this.rangeProgress = progress;
699
722
  } else {
700
- this.sProgress = leftX / this.length * this.range;
723
+ this.sProgress = leftX / this.length.offsetWidth * this.range;
701
724
  this.sProgress = this.step ? this.step * Math.round(this.sProgress / this.step) : this.sProgress;
702
725
  if (this.sProgress <= 0) {
703
726
  this.sProgress = 0;
@@ -713,7 +736,7 @@ render._withStripped = true
713
736
  this.startProgress = _progress;
714
737
  }
715
738
  } else {
716
- this.progress = leftX / this.length * this.range;
739
+ this.progress = leftX / this.length.offsetWidth * this.range;
717
740
  this.progress = this.step ? this.step * Math.round(this.progress / this.step) : this.progress;
718
741
  if (this.progress <= 0) {
719
742
  this.progress = 0;
@@ -746,7 +769,7 @@ render._withStripped = true
746
769
  if (this.isStart) {
747
770
  this.moveX = e.touches[0].clientX;
748
771
  if (this.isStartMove === 'end') {
749
- this.progress = (this.x + this.moveX - this.endStartX) / this.length * this.range;
772
+ this.progress = (this.x + this.moveX - this.endStartX) / this.length.offsetWidth * this.range;
750
773
  if (this.progress <= 0) {
751
774
  this.progress = 0;
752
775
  } else if (this.progress >= this.range) {
@@ -760,7 +783,7 @@ render._withStripped = true
760
783
  }
761
784
  this.rangeProgress = progress;
762
785
  } else if (this.isStartMove === 'start') {
763
- this.sProgress = (this.sx + this.moveX - this.startX) / this.length * this.range;
786
+ this.sProgress = (this.sx + this.moveX - this.startX) / this.length.offsetWidth * this.range;
764
787
  if (this.sProgress <= 0) {
765
788
  this.sProgress = 0;
766
789
  } else if (this.sProgress >= this.range) {
@@ -784,14 +807,14 @@ render._withStripped = true
784
807
  if (this.progress <= 0) {
785
808
  this.x = 0;
786
809
  } else if (this.progress >= this.range) {
787
- this.x = this.length;
810
+ this.x = this.length.offsetWidth;
788
811
  }
789
812
  } else if (this.isStartMove === 'start') {
790
813
  this.sx += this.moveX - this.endStartX;
791
814
  if (this.sProgress <= 0) {
792
815
  this.sx = 0;
793
816
  } else if (this.sProgress >= this.range) {
794
- this.sx = this.length;
817
+ this.sx = this.length.offsetWidth;
795
818
  }
796
819
  }
797
820
  this.isStart = false;
@@ -901,7 +924,7 @@ render._withStripped = true
901
924
  }
902
925
  var currentX = event.clientX;
903
926
  if (this.isStartMove === 'end') {
904
- var diff = (currentX - this.startMoveX) / this.length * this.range;
927
+ var diff = (currentX - this.startMoveX) / this.length.offsetWidth * this.range;
905
928
  this.progress = this.startPosition + diff;
906
929
  if (this.progress <= 0) {
907
930
  this.progress = 0;
@@ -919,7 +942,7 @@ render._withStripped = true
919
942
  }
920
943
  this.rangeProgress = progress;
921
944
  } else if (this.isStartMove === 'start') {
922
- var _diff = (currentX - this.sStartMoveX) / this.length * this.range;
945
+ var _diff = (currentX - this.sStartMoveX) / this.length.offsetWidth * this.range;
923
946
  this.sProgress = this.sStartPosition + _diff;
924
947
  if (this.sProgress <= 0) {
925
948
  this.sProgress = 0;
@@ -1007,6 +1030,9 @@ render._withStripped = true
1007
1030
  });
1008
1031
  // CONCATENATED MODULE: ./packages/range/src/range.vue?vue&type=script&lang=js
1009
1032
  /* harmony default export */ var src_rangevue_type_script_lang_js = (rangevue_type_script_lang_js);
1033
+ // EXTERNAL MODULE: ./packages/range/src/range.vue?vue&type=style&index=0&id=19fdc744&prod&lang=css
1034
+ var rangevue_type_style_index_0_id_19fdc744_prod_lang_css = __webpack_require__(94);
1035
+
1010
1036
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1011
1037
  var componentNormalizer = __webpack_require__(0);
1012
1038
 
@@ -1016,6 +1042,7 @@ var componentNormalizer = __webpack_require__(0);
1016
1042
 
1017
1043
 
1018
1044
 
1045
+
1019
1046
  /* normalize component */
1020
1047
 
1021
1048
  var component = Object(componentNormalizer["a" /* default */])(
@@ -1040,6 +1067,413 @@ range.install = function (Vue) {
1040
1067
 
1041
1068
  /* harmony default export */ var packages_range = __webpack_exports__["default"] = (range);
1042
1069
 
1070
+ /***/ }),
1071
+
1072
+ /***/ 7:
1073
+ /***/ (function(module, exports, __webpack_require__) {
1074
+
1075
+ "use strict";
1076
+
1077
+
1078
+ /*
1079
+ MIT License http://www.opensource.org/licenses/mit-license.php
1080
+ Author Tobias Koppers @sokra
1081
+ */
1082
+ // css base code, injected by the css-loader
1083
+ // eslint-disable-next-line func-names
1084
+ module.exports = function (useSourceMap) {
1085
+ var list = []; // return the list of modules as css string
1086
+
1087
+ list.toString = function toString() {
1088
+ return this.map(function (item) {
1089
+ var content = cssWithMappingToString(item, useSourceMap);
1090
+
1091
+ if (item[2]) {
1092
+ return "@media ".concat(item[2], "{").concat(content, "}");
1093
+ }
1094
+
1095
+ return content;
1096
+ }).join('');
1097
+ }; // import a list of modules into the list
1098
+ // eslint-disable-next-line func-names
1099
+
1100
+
1101
+ list.i = function (modules, mediaQuery) {
1102
+ if (typeof modules === 'string') {
1103
+ // eslint-disable-next-line no-param-reassign
1104
+ modules = [[null, modules, '']];
1105
+ }
1106
+
1107
+ var alreadyImportedModules = {};
1108
+
1109
+ for (var i = 0; i < this.length; i++) {
1110
+ // eslint-disable-next-line prefer-destructuring
1111
+ var id = this[i][0];
1112
+
1113
+ if (id != null) {
1114
+ alreadyImportedModules[id] = true;
1115
+ }
1116
+ }
1117
+
1118
+ for (var _i = 0; _i < modules.length; _i++) {
1119
+ var item = modules[_i]; // skip already imported module
1120
+ // this implementation is not 100% perfect for weird media query combinations
1121
+ // when a module is imported multiple times with different media queries.
1122
+ // I hope this will never occur (Hey this way we have smaller bundles)
1123
+
1124
+ if (item[0] == null || !alreadyImportedModules[item[0]]) {
1125
+ if (mediaQuery && !item[2]) {
1126
+ item[2] = mediaQuery;
1127
+ } else if (mediaQuery) {
1128
+ item[2] = "(".concat(item[2], ") and (").concat(mediaQuery, ")");
1129
+ }
1130
+
1131
+ list.push(item);
1132
+ }
1133
+ }
1134
+ };
1135
+
1136
+ return list;
1137
+ };
1138
+
1139
+ function cssWithMappingToString(item, useSourceMap) {
1140
+ var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring
1141
+
1142
+ var cssMapping = item[3];
1143
+
1144
+ if (!cssMapping) {
1145
+ return content;
1146
+ }
1147
+
1148
+ if (useSourceMap && typeof btoa === 'function') {
1149
+ var sourceMapping = toComment(cssMapping);
1150
+ var sourceURLs = cssMapping.sources.map(function (source) {
1151
+ return "/*# sourceURL=".concat(cssMapping.sourceRoot).concat(source, " */");
1152
+ });
1153
+ return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
1154
+ }
1155
+
1156
+ return [content].join('\n');
1157
+ } // Adapted from convert-source-map (MIT)
1158
+
1159
+
1160
+ function toComment(sourceMap) {
1161
+ // eslint-disable-next-line no-undef
1162
+ var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
1163
+ var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
1164
+ return "/*# ".concat(data, " */");
1165
+ }
1166
+
1167
+ /***/ }),
1168
+
1169
+ /***/ 8:
1170
+ /***/ (function(module, exports, __webpack_require__) {
1171
+
1172
+ "use strict";
1173
+
1174
+
1175
+ var stylesInDom = {};
1176
+
1177
+ var isOldIE = function isOldIE() {
1178
+ var memo;
1179
+ return function memorize() {
1180
+ if (typeof memo === 'undefined') {
1181
+ // Test for IE <= 9 as proposed by Browserhacks
1182
+ // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
1183
+ // Tests for existence of standard globals is to allow style-loader
1184
+ // to operate correctly into non-standard environments
1185
+ // @see https://github.com/webpack-contrib/style-loader/issues/177
1186
+ memo = Boolean(window && document && document.all && !window.atob);
1187
+ }
1188
+
1189
+ return memo;
1190
+ };
1191
+ }();
1192
+
1193
+ var getTarget = function getTarget() {
1194
+ var memo = {};
1195
+ return function memorize(target) {
1196
+ if (typeof memo[target] === 'undefined') {
1197
+ var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
1198
+
1199
+ if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
1200
+ try {
1201
+ // This will throw an exception if access to iframe is blocked
1202
+ // due to cross-origin restrictions
1203
+ styleTarget = styleTarget.contentDocument.head;
1204
+ } catch (e) {
1205
+ // istanbul ignore next
1206
+ styleTarget = null;
1207
+ }
1208
+ }
1209
+
1210
+ memo[target] = styleTarget;
1211
+ }
1212
+
1213
+ return memo[target];
1214
+ };
1215
+ }();
1216
+
1217
+ function listToStyles(list, options) {
1218
+ var styles = [];
1219
+ var newStyles = {};
1220
+
1221
+ for (var i = 0; i < list.length; i++) {
1222
+ var item = list[i];
1223
+ var id = options.base ? item[0] + options.base : item[0];
1224
+ var css = item[1];
1225
+ var media = item[2];
1226
+ var sourceMap = item[3];
1227
+ var part = {
1228
+ css: css,
1229
+ media: media,
1230
+ sourceMap: sourceMap
1231
+ };
1232
+
1233
+ if (!newStyles[id]) {
1234
+ styles.push(newStyles[id] = {
1235
+ id: id,
1236
+ parts: [part]
1237
+ });
1238
+ } else {
1239
+ newStyles[id].parts.push(part);
1240
+ }
1241
+ }
1242
+
1243
+ return styles;
1244
+ }
1245
+
1246
+ function addStylesToDom(styles, options) {
1247
+ for (var i = 0; i < styles.length; i++) {
1248
+ var item = styles[i];
1249
+ var domStyle = stylesInDom[item.id];
1250
+ var j = 0;
1251
+
1252
+ if (domStyle) {
1253
+ domStyle.refs++;
1254
+
1255
+ for (; j < domStyle.parts.length; j++) {
1256
+ domStyle.parts[j](item.parts[j]);
1257
+ }
1258
+
1259
+ for (; j < item.parts.length; j++) {
1260
+ domStyle.parts.push(addStyle(item.parts[j], options));
1261
+ }
1262
+ } else {
1263
+ var parts = [];
1264
+
1265
+ for (; j < item.parts.length; j++) {
1266
+ parts.push(addStyle(item.parts[j], options));
1267
+ }
1268
+
1269
+ stylesInDom[item.id] = {
1270
+ id: item.id,
1271
+ refs: 1,
1272
+ parts: parts
1273
+ };
1274
+ }
1275
+ }
1276
+ }
1277
+
1278
+ function insertStyleElement(options) {
1279
+ var style = document.createElement('style');
1280
+
1281
+ if (typeof options.attributes.nonce === 'undefined') {
1282
+ var nonce = true ? __webpack_require__.nc : undefined;
1283
+
1284
+ if (nonce) {
1285
+ options.attributes.nonce = nonce;
1286
+ }
1287
+ }
1288
+
1289
+ Object.keys(options.attributes).forEach(function (key) {
1290
+ style.setAttribute(key, options.attributes[key]);
1291
+ });
1292
+
1293
+ if (typeof options.insert === 'function') {
1294
+ options.insert(style);
1295
+ } else {
1296
+ var target = getTarget(options.insert || 'head');
1297
+
1298
+ if (!target) {
1299
+ throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
1300
+ }
1301
+
1302
+ target.appendChild(style);
1303
+ }
1304
+
1305
+ return style;
1306
+ }
1307
+
1308
+ function removeStyleElement(style) {
1309
+ // istanbul ignore if
1310
+ if (style.parentNode === null) {
1311
+ return false;
1312
+ }
1313
+
1314
+ style.parentNode.removeChild(style);
1315
+ }
1316
+ /* istanbul ignore next */
1317
+
1318
+
1319
+ var replaceText = function replaceText() {
1320
+ var textStore = [];
1321
+ return function replace(index, replacement) {
1322
+ textStore[index] = replacement;
1323
+ return textStore.filter(Boolean).join('\n');
1324
+ };
1325
+ }();
1326
+
1327
+ function applyToSingletonTag(style, index, remove, obj) {
1328
+ var css = remove ? '' : obj.css; // For old IE
1329
+
1330
+ /* istanbul ignore if */
1331
+
1332
+ if (style.styleSheet) {
1333
+ style.styleSheet.cssText = replaceText(index, css);
1334
+ } else {
1335
+ var cssNode = document.createTextNode(css);
1336
+ var childNodes = style.childNodes;
1337
+
1338
+ if (childNodes[index]) {
1339
+ style.removeChild(childNodes[index]);
1340
+ }
1341
+
1342
+ if (childNodes.length) {
1343
+ style.insertBefore(cssNode, childNodes[index]);
1344
+ } else {
1345
+ style.appendChild(cssNode);
1346
+ }
1347
+ }
1348
+ }
1349
+
1350
+ function applyToTag(style, options, obj) {
1351
+ var css = obj.css;
1352
+ var media = obj.media;
1353
+ var sourceMap = obj.sourceMap;
1354
+
1355
+ if (media) {
1356
+ style.setAttribute('media', media);
1357
+ }
1358
+
1359
+ if (sourceMap && btoa) {
1360
+ css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
1361
+ } // For old IE
1362
+
1363
+ /* istanbul ignore if */
1364
+
1365
+
1366
+ if (style.styleSheet) {
1367
+ style.styleSheet.cssText = css;
1368
+ } else {
1369
+ while (style.firstChild) {
1370
+ style.removeChild(style.firstChild);
1371
+ }
1372
+
1373
+ style.appendChild(document.createTextNode(css));
1374
+ }
1375
+ }
1376
+
1377
+ var singleton = null;
1378
+ var singletonCounter = 0;
1379
+
1380
+ function addStyle(obj, options) {
1381
+ var style;
1382
+ var update;
1383
+ var remove;
1384
+
1385
+ if (options.singleton) {
1386
+ var styleIndex = singletonCounter++;
1387
+ style = singleton || (singleton = insertStyleElement(options));
1388
+ update = applyToSingletonTag.bind(null, style, styleIndex, false);
1389
+ remove = applyToSingletonTag.bind(null, style, styleIndex, true);
1390
+ } else {
1391
+ style = insertStyleElement(options);
1392
+ update = applyToTag.bind(null, style, options);
1393
+
1394
+ remove = function remove() {
1395
+ removeStyleElement(style);
1396
+ };
1397
+ }
1398
+
1399
+ update(obj);
1400
+ return function updateStyle(newObj) {
1401
+ if (newObj) {
1402
+ if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
1403
+ return;
1404
+ }
1405
+
1406
+ update(obj = newObj);
1407
+ } else {
1408
+ remove();
1409
+ }
1410
+ };
1411
+ }
1412
+
1413
+ module.exports = function (list, options) {
1414
+ options = options || {};
1415
+ options.attributes = typeof options.attributes === 'object' ? options.attributes : {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
1416
+ // tags it will allow on a page
1417
+
1418
+ if (!options.singleton && typeof options.singleton !== 'boolean') {
1419
+ options.singleton = isOldIE();
1420
+ }
1421
+
1422
+ var styles = listToStyles(list, options);
1423
+ addStylesToDom(styles, options);
1424
+ return function update(newList) {
1425
+ var mayRemove = [];
1426
+
1427
+ for (var i = 0; i < styles.length; i++) {
1428
+ var item = styles[i];
1429
+ var domStyle = stylesInDom[item.id];
1430
+
1431
+ if (domStyle) {
1432
+ domStyle.refs--;
1433
+ mayRemove.push(domStyle);
1434
+ }
1435
+ }
1436
+
1437
+ if (newList) {
1438
+ var newStyles = listToStyles(newList, options);
1439
+ addStylesToDom(newStyles, options);
1440
+ }
1441
+
1442
+ for (var _i = 0; _i < mayRemove.length; _i++) {
1443
+ var _domStyle = mayRemove[_i];
1444
+
1445
+ if (_domStyle.refs === 0) {
1446
+ for (var j = 0; j < _domStyle.parts.length; j++) {
1447
+ _domStyle.parts[j]();
1448
+ }
1449
+
1450
+ delete stylesInDom[_domStyle.id];
1451
+ }
1452
+ }
1453
+ };
1454
+ };
1455
+
1456
+ /***/ }),
1457
+
1458
+ /***/ 94:
1459
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1460
+
1461
+ "use strict";
1462
+ /* 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_range_vue_vue_type_style_index_0_id_19fdc744_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18);
1463
+ /* 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_range_vue_vue_type_style_index_0_id_19fdc744_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_range_vue_vue_type_style_index_0_id_19fdc744_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
1464
+ /* unused harmony reexport * */
1465
+
1466
+
1467
+ /***/ }),
1468
+
1469
+ /***/ 95:
1470
+ /***/ (function(module, exports, __webpack_require__) {
1471
+
1472
+ exports = module.exports = __webpack_require__(7)(false);
1473
+ // Module
1474
+ exports.push([module.i, "\n//.to-rangeProgress{ transition: width 0.01s ease;\n}\n", ""]);
1475
+
1476
+
1043
1477
  /***/ })
1044
1478
 
1045
1479
  /******/ });
package/lib/rate.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 = 365);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 368);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 365:
195
+ /***/ 368:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/reverser.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 = 364);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 367);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 364:
195
+ /***/ 367:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/scroll.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 = 338);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 341);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -199,7 +199,7 @@ module.exports = require("ai.touchui-vue/lib/mixins/locale");
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 338:
202
+ /***/ 341:
203
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
204
 
205
205
  "use strict";
package/lib/segment.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 = 367);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 370);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -213,7 +213,7 @@ module.exports = require("ai.touchui-vue/lib/locale");
213
213
 
214
214
  /***/ }),
215
215
 
216
- /***/ 367:
216
+ /***/ 370:
217
217
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
218
218
 
219
219
  "use strict";
package/lib/select.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 = 355);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 358);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -245,7 +245,7 @@ module.exports = require("ai.touchui-vue/lib/locale");
245
245
 
246
246
  /***/ }),
247
247
 
248
- /***/ 355:
248
+ /***/ 358:
249
249
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
250
250
 
251
251
  "use strict";