@deanwu/vue-component-library 1.3.106 → 1.3.107
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/dist/vue-component-library.common.js +28 -19
- package/dist/vue-component-library.common.js.map +1 -1
- package/dist/vue-component-library.umd.js +28 -19
- package/dist/vue-component-library.umd.js.map +1 -1
- package/dist/vue-component-library.umd.min.js +1 -1
- package/dist/vue-component-library.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -52403,8 +52403,8 @@ var picker_color_component = normalizeComponent(
|
|
|
52403
52403
|
)
|
|
52404
52404
|
|
|
52405
52405
|
/* harmony default export */ var picker_color = (picker_color_component.exports);
|
|
52406
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c663cd22-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/public/upload.vue?vue&type=template&id=
|
|
52407
|
-
var
|
|
52406
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c663cd22-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/public/upload.vue?vue&type=template&id=7b1087d8&
|
|
52407
|
+
var uploadvue_type_template_id_7b1087d8_render = function render() {
|
|
52408
52408
|
var _vm = this,
|
|
52409
52409
|
_c = _vm._self._c;
|
|
52410
52410
|
return _c('div', {
|
|
@@ -52425,9 +52425,9 @@ var uploadvue_type_template_id_2dd45825_render = function render() {
|
|
|
52425
52425
|
}
|
|
52426
52426
|
})]);
|
|
52427
52427
|
};
|
|
52428
|
-
var
|
|
52428
|
+
var uploadvue_type_template_id_7b1087d8_staticRenderFns = [];
|
|
52429
52429
|
|
|
52430
|
-
// CONCATENATED MODULE: ./src/components/public/upload.vue?vue&type=template&id=
|
|
52430
|
+
// CONCATENATED MODULE: ./src/components/public/upload.vue?vue&type=template&id=7b1087d8&
|
|
52431
52431
|
|
|
52432
52432
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/public/upload.vue?vue&type=script&lang=js&
|
|
52433
52433
|
|
|
@@ -52492,7 +52492,7 @@ var uploadvue_type_template_id_2dd45825_staticRenderFns = [];
|
|
|
52492
52492
|
if (this._opt.type) {
|
|
52493
52493
|
var typeList = this.accept.split(',');
|
|
52494
52494
|
var type = file.name.match(/\.[^\.]+$/)[0];
|
|
52495
|
-
if (!typeList.includes(type)) {
|
|
52495
|
+
if (!typeList.includes(type.toLocaleLowerCase())) {
|
|
52496
52496
|
this.$message({
|
|
52497
52497
|
message: this.$t('_t.upload.message.type', {
|
|
52498
52498
|
type: this.fileTypeTip
|
|
@@ -52570,8 +52570,8 @@ var uploadvue_type_template_id_2dd45825_staticRenderFns = [];
|
|
|
52570
52570
|
|
|
52571
52571
|
var upload_component = normalizeComponent(
|
|
52572
52572
|
public_uploadvue_type_script_lang_js_,
|
|
52573
|
-
|
|
52574
|
-
|
|
52573
|
+
uploadvue_type_template_id_7b1087d8_render,
|
|
52574
|
+
uploadvue_type_template_id_7b1087d8_staticRenderFns,
|
|
52575
52575
|
false,
|
|
52576
52576
|
null,
|
|
52577
52577
|
null,
|
|
@@ -52580,8 +52580,8 @@ var upload_component = normalizeComponent(
|
|
|
52580
52580
|
)
|
|
52581
52581
|
|
|
52582
52582
|
/* harmony default export */ var upload = (upload_component.exports);
|
|
52583
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c663cd22-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/public/clipboard.vue?vue&type=template&id=
|
|
52584
|
-
var
|
|
52583
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c663cd22-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/public/clipboard.vue?vue&type=template&id=a0b314c2&
|
|
52584
|
+
var clipboardvue_type_template_id_a0b314c2_render = function render() {
|
|
52585
52585
|
var _vm = this,
|
|
52586
52586
|
_c = _vm._self._c;
|
|
52587
52587
|
return _c('div', {
|
|
@@ -52597,9 +52597,9 @@ var clipboardvue_type_template_id_4c59f5e0_render = function render() {
|
|
|
52597
52597
|
}
|
|
52598
52598
|
})]);
|
|
52599
52599
|
};
|
|
52600
|
-
var
|
|
52600
|
+
var clipboardvue_type_template_id_a0b314c2_staticRenderFns = [];
|
|
52601
52601
|
|
|
52602
|
-
// CONCATENATED MODULE: ./src/components/public/clipboard.vue?vue&type=template&id=
|
|
52602
|
+
// CONCATENATED MODULE: ./src/components/public/clipboard.vue?vue&type=template&id=a0b314c2&
|
|
52603
52603
|
|
|
52604
52604
|
// EXTERNAL MODULE: ./src/assets/script/lib/clipboard.js
|
|
52605
52605
|
var clipboard = __webpack_require__("3278");
|
|
@@ -52617,12 +52617,12 @@ var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard);
|
|
|
52617
52617
|
mounted() {
|
|
52618
52618
|
new clipboard_default.a('#clipboard').on('success', e => {
|
|
52619
52619
|
this.$message({
|
|
52620
|
-
message: '
|
|
52620
|
+
message: this.$t('_t.copy.success')
|
|
52621
52621
|
});
|
|
52622
52622
|
}).on('error', e => {
|
|
52623
52623
|
this.$message({
|
|
52624
52624
|
type: 'fail',
|
|
52625
|
-
message: '
|
|
52625
|
+
message: this.$t('_t.copy.fail')
|
|
52626
52626
|
});
|
|
52627
52627
|
});
|
|
52628
52628
|
},
|
|
@@ -52647,8 +52647,8 @@ var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard);
|
|
|
52647
52647
|
|
|
52648
52648
|
var clipboard_component = normalizeComponent(
|
|
52649
52649
|
public_clipboardvue_type_script_lang_js_,
|
|
52650
|
-
|
|
52651
|
-
|
|
52650
|
+
clipboardvue_type_template_id_a0b314c2_render,
|
|
52651
|
+
clipboardvue_type_template_id_a0b314c2_staticRenderFns,
|
|
52652
52652
|
false,
|
|
52653
52653
|
null,
|
|
52654
52654
|
null,
|
|
@@ -55647,7 +55647,11 @@ const messages = {
|
|
|
55647
55647
|
validate: {
|
|
55648
55648
|
fail: '提交数据有误,请检查后重试'
|
|
55649
55649
|
},
|
|
55650
|
-
empty: '暂无相关信息'
|
|
55650
|
+
empty: '暂无相关信息',
|
|
55651
|
+
copy: {
|
|
55652
|
+
success: '复制成功',
|
|
55653
|
+
fail: '该浏览器不支持复制'
|
|
55654
|
+
}
|
|
55651
55655
|
}
|
|
55652
55656
|
},
|
|
55653
55657
|
'en': {
|
|
@@ -55737,7 +55741,11 @@ const messages = {
|
|
|
55737
55741
|
validate: {
|
|
55738
55742
|
fail: 'Data is in error, please check and retry'
|
|
55739
55743
|
},
|
|
55740
|
-
empty: 'The data is empty'
|
|
55744
|
+
empty: 'The data is empty',
|
|
55745
|
+
copy: {
|
|
55746
|
+
success: 'Copy success',
|
|
55747
|
+
fail: 'Copying is not supported in this browser'
|
|
55748
|
+
}
|
|
55741
55749
|
}
|
|
55742
55750
|
}
|
|
55743
55751
|
};
|
|
@@ -56101,7 +56109,7 @@ function global_install(Vue, config) {
|
|
|
56101
56109
|
}
|
|
56102
56110
|
return {
|
|
56103
56111
|
name,
|
|
56104
|
-
suffix,
|
|
56112
|
+
suffix: suffix.toLocaleLowerCase(),
|
|
56105
56113
|
media
|
|
56106
56114
|
};
|
|
56107
56115
|
};
|
|
@@ -56255,6 +56263,7 @@ const SHORTCUTS = {
|
|
|
56255
56263
|
*/
|
|
56256
56264
|
|
|
56257
56265
|
/* harmony default export */ var components_config = ({
|
|
56266
|
+
prefix: 'c',
|
|
56258
56267
|
request: {
|
|
56259
56268
|
md5Key: '',
|
|
56260
56269
|
enKey: '',
|
|
@@ -56546,7 +56555,7 @@ function components_install(Vue, config) {
|
|
|
56546
56555
|
document.documentElement.style.setProperty('--table-col-border', config.style.table.showColBorder ? '1px' : '1px 0');
|
|
56547
56556
|
document.documentElement.style.setProperty('--table-summed-background', config.style.table.summedBackground);
|
|
56548
56557
|
COMPS.forEach(comp => {
|
|
56549
|
-
Vue.component(comp.name, {
|
|
56558
|
+
Vue.component(comp.name.replace(/^c(.*)/, `${config.prefix}$1`), {
|
|
56550
56559
|
...comp,
|
|
56551
56560
|
i18n: components_i18n
|
|
56552
56561
|
});
|