touch-vue-pc 1.0.2 → 1.0.4
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/README.md +0 -5
- package/lib/touch-vue-pc.common.js +9 -47
- package/lib/touch-vue-pc.common.js.map +1 -1
- package/lib/touch-vue-pc.umd.js +9 -47
- package/lib/touch-vue-pc.umd.js.map +1 -1
- package/lib/touch-vue-pc.umd.min.js +1 -1
- package/lib/touch-vue-pc.umd.min.js.map +1 -1
- package/package-lock.json +72 -909
- package/package.json +12 -27
- package/src/App.vue +19 -15
- package/src/components/HelloWorld.vue +3 -2
- package/src/main.js +15 -8
- package/src/router/index.js +35 -0
- package/src/store/index.js +17 -0
- package/src/views/AboutView.vue +5 -0
- package/src/views/HomeView.vue +18 -0
- package/vue.config.js +1 -2
- package/packages/index.js +0 -23
package/lib/touch-vue-pc.umd.js
CHANGED
@@ -25514,19 +25514,17 @@ __webpack_require__.d(__webpack_exports__, {
|
|
25514
25514
|
// This file is imported into lib/wc client bundles.
|
25515
25515
|
|
25516
25516
|
if (typeof window !== 'undefined') {
|
25517
|
-
var currentScript = window.document.currentScript
|
25517
|
+
var currentScript = window.document.currentScript;
|
25518
25518
|
if (false) { var getCurrentScript; }
|
25519
|
-
|
25520
|
-
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
25519
|
+
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);
|
25521
25520
|
if (src) {
|
25522
|
-
__webpack_require__.p = src[1] // eslint-disable-line
|
25521
|
+
__webpack_require__.p = src[1]; // eslint-disable-line
|
25523
25522
|
}
|
25524
25523
|
}
|
25525
25524
|
|
25526
25525
|
// Indicate to webpack that this file can be concatenated
|
25527
25526
|
/* harmony default export */ var setPublicPath = (null);
|
25528
|
-
|
25529
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./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!./packages/table/src/table.vue?vue&type=template&id=a274e73e&
|
25527
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./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!./packages/table/src/table.vue?vue&type=template&id=2f31f90c&
|
25530
25528
|
var render = function render() {
|
25531
25529
|
var _vm = this,
|
25532
25530
|
_c = _vm._self._c;
|
@@ -25541,14 +25539,7 @@ var render = function render() {
|
|
25541
25539
|
ref: "input",
|
25542
25540
|
attrs: {
|
25543
25541
|
"placeholder": _vm.placeholder,
|
25544
|
-
"dataType": _vm.dataType
|
25545
|
-
"inputPattern": _vm.inputPattern
|
25546
|
-
},
|
25547
|
-
nativeOn: {
|
25548
|
-
"keydown": function ($event) {
|
25549
|
-
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
25550
|
-
return _vm.handleInputEnter.apply(null, arguments);
|
25551
|
-
}
|
25542
|
+
"dataType": _vm.dataType
|
25552
25543
|
},
|
25553
25544
|
model: {
|
25554
25545
|
value: _vm.currentValue,
|
@@ -25565,21 +25556,19 @@ var staticRenderFns = [];
|
|
25565
25556
|
var element_ui_common = __webpack_require__(8949);
|
25566
25557
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/table/src/table.vue?vue&type=script&lang=js&
|
25567
25558
|
|
25568
|
-
const EMAIL_ERROR = '邮箱验证失败';
|
25569
25559
|
/* harmony default export */ var tablevue_type_script_lang_js_ = ({
|
25570
25560
|
name: "TcTable",
|
25571
25561
|
data() {
|
25572
25562
|
return {
|
25563
|
+
editorErrorMessage: null,
|
25573
25564
|
showInput: true,
|
25574
|
-
|
25565
|
+
currentValue: ''
|
25575
25566
|
};
|
25576
25567
|
},
|
25577
25568
|
props: {
|
25578
25569
|
...element_ui_common.Input.props,
|
25579
25570
|
//继承elementUI原有的props
|
25580
25571
|
...element_ui_common.Button.props,
|
25581
|
-
...element_ui_common.Select.props,
|
25582
|
-
...element_ui_common.Option.props,
|
25583
25572
|
value: {
|
25584
25573
|
type: [Number, String],
|
25585
25574
|
default: ''
|
@@ -25589,36 +25578,10 @@ const EMAIL_ERROR = '邮箱验证失败';
|
|
25589
25578
|
default: '请输入内容'
|
25590
25579
|
}
|
25591
25580
|
},
|
25592
|
-
|
25593
|
-
currentValue: {
|
25594
|
-
get: function () {
|
25595
|
-
return this.value;
|
25596
|
-
},
|
25597
|
-
set: function (newValue) {
|
25598
|
-
this.$emit("input", newValue); // 通过 input 事件更新 model
|
25599
|
-
}
|
25600
|
-
}
|
25601
|
-
},
|
25602
|
-
|
25603
|
-
methods: {
|
25604
|
-
evtChange(newValue, lr) {
|
25605
|
-
this.$emit('change', newValue, lr); // 事件传值
|
25606
|
-
},
|
25607
|
-
|
25608
|
-
handleInputEnter() {}
|
25609
|
-
},
|
25581
|
+
methods: {},
|
25610
25582
|
mounted() {
|
25611
|
-
this
|
25612
|
-
this.inputType = this.$refs.input.type;
|
25613
|
-
});
|
25583
|
+
this.currentValue = this.value;
|
25614
25584
|
console.log('mounted');
|
25615
|
-
},
|
25616
|
-
updata() {},
|
25617
|
-
watch: {
|
25618
|
-
currentValue: {
|
25619
|
-
immediate: true,
|
25620
|
-
handler(val) {}
|
25621
|
-
}
|
25622
25585
|
}
|
25623
25586
|
});
|
25624
25587
|
;// CONCATENATED MODULE: ./packages/table/src/table.vue?vue&type=script&lang=js&
|
@@ -25768,7 +25731,6 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
25768
25731
|
|
25769
25732
|
/* harmony default export */ var entry_lib = (packages_0);
|
25770
25733
|
|
25771
|
-
|
25772
25734
|
}();
|
25773
25735
|
/******/ return __webpack_exports__;
|
25774
25736
|
/******/ })()
|