vue-slider-timer-control 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,16 +1,16 @@
1
- {
2
- "name": "vue-slider-timer-control",
3
- "version": "1.0.0",
4
- "description": "",
5
- "main": "vue-slider-timer-control.common.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "keywords": [
10
- "vue",
11
- "vue-slider-component",
12
- "自定义视频进度条"
13
- ],
14
- "author": "XinSC",
15
- "license": "ISC"
16
- }
1
+ {
2
+ "name": "vue-slider-timer-control",
3
+ "version": "1.0.2",
4
+ "description": "这是一个可自定义的播放器进度条组件",
5
+ "main": "vue-slider-timer-control.common.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [
10
+ "vue",
11
+ "vue-slider-component",
12
+ "自定义视频进度条"
13
+ ],
14
+ "author": "XinSC",
15
+ "license": "ISC"
16
+ }
@@ -28,6 +28,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".vue-slider-disabled{opacity:.5;cursor
28
28
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
29
29
 
30
30
 
31
+ /***/ }),
32
+
33
+ /***/ 225:
34
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
35
+
36
+ "use strict";
37
+ __webpack_require__.r(__webpack_exports__);
38
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
39
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
40
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
41
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
42
+ // Imports
43
+
44
+
45
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
46
+ // Module
47
+ ___CSS_LOADER_EXPORT___.push([module.id, ".time-slider-container[data-v-e98463a8]{position:relative;padding:20px;width:100%;box-sizing:border-box}", ""]);
48
+ // Exports
49
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
50
+
51
+
31
52
  /***/ }),
32
53
 
33
54
  /***/ 238:
@@ -151,24 +172,19 @@ module.exports = function (cssWithMappingToString) {
151
172
 
152
173
  /***/ }),
153
174
 
154
- /***/ 419:
155
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
156
-
157
- "use strict";
158
- __webpack_require__.r(__webpack_exports__);
159
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
160
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
161
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
162
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
163
- // Imports
164
-
175
+ /***/ 458:
176
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
165
177
 
166
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
167
- // Module
168
- ___CSS_LOADER_EXPORT___.push([module.id, ".time-slider-container[data-v-2836fa1c]{position:relative;padding:20px;width:100%;box-sizing:border-box}", ""]);
169
- // Exports
170
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
178
+ // style-loader: Adds some css to the DOM by adding a <style> tag
171
179
 
180
+ // load the styles
181
+ var content = __webpack_require__(225);
182
+ if(content.__esModule) content = content.default;
183
+ if(typeof content === 'string') content = [[module.id, content, '']];
184
+ if(content.locals) module.exports = content.locals;
185
+ // add the styles to the DOM
186
+ var add = (__webpack_require__(548)/* ["default"] */ .A)
187
+ var update = add("11ad13bc", content, true, {"sourceMap":false,"shadowMode":false});
172
188
 
173
189
  /***/ }),
174
190
 
@@ -436,22 +452,6 @@ function applyToTag (styleElement, obj) {
436
452
  }
437
453
 
438
454
 
439
- /***/ }),
440
-
441
- /***/ 592:
442
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
443
-
444
- // style-loader: Adds some css to the DOM by adding a <style> tag
445
-
446
- // load the styles
447
- var content = __webpack_require__(419);
448
- if(content.__esModule) content = content.default;
449
- if(typeof content === 'string') content = [[module.id, content, '']];
450
- if(content.locals) module.exports = content.locals;
451
- // add the styles to the DOM
452
- var add = (__webpack_require__(548)/* ["default"] */ .A)
453
- var update = add("7ee65530", content, true, {"sourceMap":false,"shadowMode":false});
454
-
455
455
  /***/ }),
456
456
 
457
457
  /***/ 601:
@@ -569,8 +569,8 @@ if (typeof window !== 'undefined') {
569
569
  // Indicate to webpack that this file can be concatenated
570
570
  /* harmony default export */ var setPublicPath = (null);
571
571
 
572
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/VueSliderTimerControl/index.vue?vue&type=template&id=2836fa1c&scoped=true
573
- var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"sliderWrapper",staticClass:"time-slider-container"},[(_vm.showCurrentTime)?_c('div',{staticClass:"time-label",style:(_vm.timeLabelStyle)},[_vm._v(" "+_vm._s(_vm.formattedTime)+" ")]):_vm._e(),_c('vue-slider',{ref:"slider",attrs:{"min":_vm.min,"max":_vm.max,"step":_vm.step,"tooltip":_vm.tooltip,"tooltip-formatter":_vm.tooltipFormatter || _vm.formatTooltip,"rail-style":_vm.railStyle,"process-style":_vm.processStyle,"dot-style":_vm.dotStyle},on:{"change":_vm.handleSeek},model:{value:(_vm.currentSecond),callback:function ($$v) {_vm.currentSecond=$$v},expression:"currentSecond"}}),(_vm.showHoverTooltip && _vm.hoverVisible)?_c('div',{style:([_vm.hoverTooltipStyle, { left: _vm.hoverX + 'px' }])},[_vm._v(" "+_vm._s((_vm.tooltipFormatter || _vm.formatTooltip)(_vm.hoverSecond))+" ")]):_vm._e(),(_vm.showTickLabels)?_c('div',{staticClass:"tick-labels",style:(_vm.tickLabelsStyle)},_vm._l((_vm.tickLabels),function(label){return _c('span',{key:label},[_vm._v(_vm._s(label))])}),0):_vm._e()],1)
572
+ ;// ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/VueSliderTimerControl/index.vue?vue&type=template&id=e98463a8&scoped=true
573
+ var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"sliderWrapper",staticClass:"time-slider-container"},[(_vm.showCurrentTime)?_c('div',{staticClass:"time-label",style:(_vm.timeLabelStyle)},[_vm._v(" "+_vm._s(_vm.formattedTime)+" ")]):_vm._e(),_c('vue-slider',{ref:"slider",attrs:{"min":_vm.min,"max":_vm.max,"step":_vm.step,"tooltip":_vm.tooltip,"tooltip-formatter":_vm.tooltipFormatter || _vm.formatTooltip,"rail-style":_vm.railStyle,"process-style":_vm.processStyle,"dot-style":_vm.dotStyle},on:{"drag-start":_vm.onDragStart,"drag-end":_vm.onDragEnd,"change":_vm.handleSeek},model:{value:(_vm.currentSecond),callback:function ($$v) {_vm.currentSecond=$$v},expression:"currentSecond"}}),(_vm.showHoverTooltip && _vm.hoverVisible)?_c('div',{style:([_vm.hoverTooltipStyle, { left: _vm.hoverX + 'px' }])},[_vm._v(" "+_vm._s((_vm.tooltipFormatter || _vm.formatTooltip)(_vm.hoverSecond))+" ")]):_vm._e(),(_vm.showTickLabels)?_c('div',{staticClass:"tick-labels",style:(_vm.tickLabelsStyle)},_vm._l((_vm.tickLabels),function(label){return _c('span',{key:label},[_vm._v(_vm._s(label))])}),0):_vm._e()],1)
574
574
  }
575
575
  var staticRenderFns = []
576
576
 
@@ -580,162 +580,182 @@ var vue_slider_component_umd_min = __webpack_require__(378);
580
580
  var vue_slider_component_umd_min_default = /*#__PURE__*/__webpack_require__.n(vue_slider_component_umd_min);
581
581
  // EXTERNAL MODULE: ./node_modules/vue-slider-component/theme/default.css
582
582
  var theme_default = __webpack_require__(238);
583
- ;// ./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/VueSliderTimerControl/index.vue?vue&type=script&lang=js
584
-
585
-
586
-
587
-
588
- /* harmony default export */ var VueSliderTimerControlvue_type_script_lang_js = ({
589
- name: "VueSliderTimerControl",
590
- components: { VueSlider: (vue_slider_component_umd_min_default()) },
591
- props: {
592
- min: { type: Number, default: 0 },
593
- max: { type: Number, default: 86400 },
594
- step: { type: Number, default: 1 },
595
- currentTime: { type: Number, default: 0 },
596
-
597
- // 是否显示当前时间
598
- showCurrentTime: { type: Boolean, default: false },
599
-
600
- // 当前时间样式
601
- timeLabelStyle: {
602
- type: Object,
603
- default: () => ({
604
- textAlign: "center",
605
- fontSize: "18px",
606
- fontWeight: "500",
607
- marginBottom: "10px",
608
- }),
609
- },
610
-
611
- // hover 提示是否显示
612
- showHoverTooltip: { type: Boolean, default: true },
613
- hoverTooltipStyle: {
614
- type: Object,
615
- default: () => ({
616
- position: "absolute",
617
- top: "58px",
618
- transform: "translateY(-70%)",
619
- backgroundColor: "rgba(0, 0, 0, 0.75)",
620
- color: "#fff",
621
- padding: "2px 6px",
622
- borderRadius: "4px",
623
- fontSize: "12px",
624
- pointerEvents: "none",
625
- whiteSpace: "nowrap",
626
- zIndex: 10,
627
- }),
628
- },
629
-
630
- // 是否显示刻度
631
- showTickLabels: { type: Boolean, default: false },
632
- tickLabels: {
633
- type: Array,
634
- default: () => ["00:00", "12:00", "24:00"],
635
- },
636
- tickLabelsStyle: {
637
- type: Object,
638
- default: () => ({
639
- display: "flex",
640
- justifyContent: "space-between",
641
- fontSize: "14px",
642
- color: "#666",
643
- marginTop: "6px",
644
- padding: "0 2px",
645
- }),
646
- },
647
-
648
- // 滑块样式配置
649
- railStyle: {
650
- type: Object,
651
- default: () => ({ backgroundColor: "#d3d3d3" }),
652
- },
653
- processStyle: {
654
- type: Object,
655
- default: () => ({ backgroundColor: "#409EFF" }),
656
- },
657
- dotStyle: {
658
- type: Object,
659
- default: () => ({ backgroundColor: "#409EFF", border: "none" }),
660
- },
661
-
662
- tooltip: { type: [Boolean, String], default: "always" },
663
- tooltipFormatter: { type: Function, default: null },
664
- },
665
- data() {
666
- return {
667
- rawSecond: 0,
668
- hoverVisible: false,
669
- hoverSecond: 0,
670
- hoverX: 0,
671
- };
672
- },
673
- computed: {
674
- currentSecond: {
675
- get() {
676
- return this.rawSecond;
677
- },
678
- set(val) {
679
- this.rawSecond = val;
680
- this.$emit("seek", val);
681
- },
682
- },
683
- formattedTime() {
684
- return (this.tooltipFormatter || this.formatTooltip)(this.currentSecond);
685
- },
686
- },
687
- watch: {
688
- currentTime(val) {
689
- if (val !== this.rawSecond) {
690
- this.rawSecond = val;
691
- }
692
- },
693
- },
694
- mounted() {
695
- this.$nextTick(() => {
696
- const rail = this.$refs.slider?.$el?.querySelector(".vue-slider-rail");
697
- if (rail && this.showHoverTooltip) {
698
- rail.addEventListener("mousemove", this.handleHover);
699
- rail.addEventListener("mouseleave", this.hideHoverTime);
700
- }
701
- });
702
- },
703
- methods: {
704
- formatTooltip(val) {
705
- const h = String(Math.floor(val / 3600)).padStart(2, "0");
706
- const m = String(Math.floor((val % 3600) / 60)).padStart(2, "0");
707
- const s = String(val % 60).padStart(2, "0");
708
- return `${h}:${m}:${s}`;
709
- },
710
- handleHover(e) {
711
- const rail = this.$refs.slider?.$el?.querySelector(".vue-slider-rail");
712
- if (!rail) return;
713
-
714
- const rect = rail.getBoundingClientRect();
715
- const offsetX = e.clientX - rect.left;
716
- const ratio = Math.min(Math.max(offsetX / rect.width, 0), 1);
717
- const second = Math.round((this.max - this.min) * ratio + this.min);
718
-
719
- this.hoverVisible = true;
720
- this.hoverX = offsetX;
721
- this.hoverSecond = second;
722
- },
723
- hideHoverTime() {
724
- this.hoverVisible = false;
725
- },
726
- handleSeek(val) {
727
- this.$emit("seek", val);
728
- },
729
- },
730
- });
583
+ ;// ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/VueSliderTimerControl/index.vue?vue&type=script&lang=js
584
+
585
+
586
+
587
+
588
+ /* harmony default export */ var VueSliderTimerControlvue_type_script_lang_js = ({
589
+ name: "VueVideoTimerControl",
590
+ components: { VueSlider: (vue_slider_component_umd_min_default()) },
591
+ props: {
592
+ min: { type: Number, default: 0 },
593
+ max: { type: Number, default: 86400 },
594
+ step: { type: Number, default: 1 },
595
+ currentTime: { type: Number, default: 0 },
596
+ // 是否显示当前时间
597
+ showCurrentTime: { type: Boolean, default: false },
598
+ // 当前时间样式
599
+ timeLabelStyle: {
600
+ type: Object,
601
+ default: () => ({
602
+ textAlign: "center",
603
+ fontSize: "18px",
604
+ fontWeight: "500",
605
+ marginBottom: "10px",
606
+ }),
607
+ },
608
+ // hover 提示是否显示
609
+ showHoverTooltip: { type: Boolean, default: true },
610
+ hoverTooltipStyle: {
611
+ type: Object,
612
+ default: () => ({
613
+ position: "absolute",
614
+ top: "58px",
615
+ transform: "translateY(-70%)",
616
+ backgroundColor: "rgba(0, 0, 0, 0.75)",
617
+ color: "#fff",
618
+ padding: "2px 6px",
619
+ borderRadius: "4px",
620
+ fontSize: "12px",
621
+ pointerEvents: "none",
622
+ whiteSpace: "nowrap",
623
+ zIndex: 10,
624
+ }),
625
+ },
626
+
627
+ // 是否显示刻度
628
+ showTickLabels: { type: Boolean, default: false },
629
+ tickLabels: {
630
+ type: Array,
631
+ default: () => ["00:00", "12:00", "24:00"],
632
+ },
633
+ tickLabelsStyle: {
634
+ type: Object,
635
+ default: () => ({
636
+ display: "flex",
637
+ justifyContent: "space-between",
638
+ fontSize: "14px",
639
+ color: "#666",
640
+ marginTop: "6px",
641
+ padding: "0 2px",
642
+ }),
643
+ },
644
+ // 滑块样式配置
645
+ railStyle: {
646
+ type: Object,
647
+ default: () => ({ backgroundColor: "#d3d3d3" }),
648
+ },
649
+ processStyle: {
650
+ type: Object,
651
+ default: () => ({ backgroundColor: "#409EFF" }),
652
+ },
653
+ dotStyle: {
654
+ type: Object,
655
+ default: () => ({ backgroundColor: "#409EFF", border: "none" }),
656
+ },
657
+
658
+ tooltip: { type: [Boolean, String], default: "always" },
659
+ tooltipFormatter: { type: Function, default: null },
660
+ },
661
+ data() {
662
+ return {
663
+ rawSecond: 0,
664
+ hoverVisible: false,
665
+ hoverSecond: 0,
666
+ hoverX: 0,
667
+ isDragging: false, // 拖动标志
668
+ };
669
+ },
670
+ computed: {
671
+ currentSecond: {
672
+ get() {
673
+ return this.rawSecond;
674
+ },
675
+ set(val) {
676
+ this.rawSecond = val;
677
+ // this.$emit("seek", val);
678
+ },
679
+ },
680
+ formattedTime() {
681
+ return (this.tooltipFormatter || this.formatTooltip)(this.currentSecond);
682
+ },
683
+ },
684
+ watch: {
685
+ currentTime(val) {
686
+ if (!this.isDragging && val !== this.rawSecond) {
687
+ this.rawSecond = val;
688
+ }
689
+ },
690
+ },
691
+ mounted() {
692
+ this.$nextTick(() => {
693
+ const slider = this.$refs.slider;
694
+ const sliderEl = slider && slider.$el;
695
+ const rail = sliderEl && sliderEl.querySelector(".vue-slider-rail");
696
+ if (rail && this.showHoverTooltip) {
697
+ rail.addEventListener("mousemove", this.handleHover);
698
+ rail.addEventListener("mouseleave", this.hideHoverTime);
699
+ }
700
+ });
701
+ },
702
+ methods: {
703
+ formatTooltip(val) {
704
+ const h = String(Math.floor(val / 3600)).padStart(2, "0");
705
+ const m = String(Math.floor((val % 3600) / 60)).padStart(2, "0");
706
+ const s = String(val % 60).padStart(2, "0");
707
+ return `${h}:${m}:${s}`;
708
+ },
709
+ handleHover(e) {
710
+ const slider = this.$refs.slider;
711
+ const sliderEl = slider && slider.$el;
712
+ const rail = sliderEl && sliderEl.querySelector(".vue-slider-rail");
713
+ if (!rail) return;
714
+ const rect = rail.getBoundingClientRect();
715
+ const offsetX = e.clientX - rect.left;
716
+ const ratio = Math.min(Math.max(offsetX / rect.width, 0), 1);
717
+ const second = Math.round((this.max - this.min) * ratio + this.min);
718
+
719
+ this.hoverVisible = true;
720
+ this.hoverX = offsetX;
721
+ this.hoverSecond = second;
722
+ },
723
+ hideHoverTime() {
724
+ this.hoverVisible = false;
725
+ },
726
+ onDragStart() {
727
+ this.isDragging = true;
728
+ this.$emit("dragging-change", true); // 通知父组件开始拖动
729
+ },
730
+ onDragEnd() {
731
+ this.isDragging = false;
732
+ this.$emit("dragging-change", false); // 通知父组件结束拖动
733
+ this.$emit("seek", this.rawSecond); // 拖动结束时手动触发
734
+ },
735
+ handleSeek(val, index) {
736
+ if (!this.isDragging) {
737
+ this.rawSecond = val;
738
+ this.$emit("seek", val); // 点击轨道时触发
739
+ }
740
+ // 拖动中不触发
741
+ },
742
+ // onDragging(val, index) {
743
+ // console.log(val, index, "dragging");
744
+ // },
745
+ // // 只要轨道落点变了就出发用于该组件的change监听(点击的时候可用但是拖动触发太频繁需要节流)
746
+ // handleSeek(val) {
747
+ // this.$emit("seek", val);
748
+ // },
749
+ },
750
+ });
731
751
 
732
752
  ;// ./src/components/VueSliderTimerControl/index.vue?vue&type=script&lang=js
733
753
  /* harmony default export */ var components_VueSliderTimerControlvue_type_script_lang_js = (VueSliderTimerControlvue_type_script_lang_js);
734
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/VueSliderTimerControl/index.vue?vue&type=style&index=0&id=2836fa1c&prod&scoped=true&lang=css
735
- var VueSliderTimerControlvue_type_style_index_0_id_2836fa1c_prod_scoped_true_lang_css = __webpack_require__(592);
736
- ;// ./src/components/VueSliderTimerControl/index.vue?vue&type=style&index=0&id=2836fa1c&prod&scoped=true&lang=css
754
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/VueSliderTimerControl/index.vue?vue&type=style&index=0&id=e98463a8&prod&scoped=true&lang=css
755
+ var VueSliderTimerControlvue_type_style_index_0_id_e98463a8_prod_scoped_true_lang_css = __webpack_require__(458);
756
+ ;// ./src/components/VueSliderTimerControl/index.vue?vue&type=style&index=0&id=e98463a8&prod&scoped=true&lang=css
737
757
 
738
- ;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
758
+ ;// ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
739
759
  /* globals __VUE_SSR_CONTEXT__ */
740
760
 
741
761
  // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
@@ -848,7 +868,7 @@ var component = normalizeComponent(
848
868
  staticRenderFns,
849
869
  false,
850
870
  null,
851
- "2836fa1c",
871
+ "e98463a8",
852
872
  null
853
873
 
854
874
  )
@@ -858,6 +878,7 @@ var component = normalizeComponent(
858
878
  // 这个文件是插件的入口文件,它的作用是将插件注册到Vue中,这样就可以在Vue的任何组件中使用插件了。
859
879
 
860
880
  //import vue文件的name from 路径
881
+ // 导入组件,SDK通过webpack.ProvidePlugin提供为全局变量
861
882
 
862
883
 
863
884
  const components = [VueSliderTimerControl];