unify-external-plugin-platform 0.0.2-27 → 0.0.2-28
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/external-plugin.common.js +19 -11
- package/dist/external-plugin.common.js.map +1 -1
- package/dist/external-plugin.umd.js +19 -11
- package/dist/external-plugin.umd.js.map +1 -1
- package/dist/external-plugin.umd.min.js +2 -2
- package/dist/external-plugin.umd.min.js.map +1 -1
- package/package.json +2 -2
@@ -82085,6 +82085,7 @@ if (typeof window !== 'undefined') {
|
|
82085
82085
|
|
82086
82086
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/element-ui.common.js
|
82087
82087
|
var element_ui_common = __webpack_require__(4720);
|
82088
|
+
var element_ui_common_default = /*#__PURE__*/__webpack_require__.n(element_ui_common);
|
82088
82089
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/zs-empty/src/zs-empty.vue?vue&type=template&id=52cf5f01&scoped=true&
|
82089
82090
|
var render = function render() {
|
82090
82091
|
var _vm = this,
|
@@ -83485,26 +83486,33 @@ scanner_high_camera_jieyu.install = Vue => {
|
|
83485
83486
|
};
|
83486
83487
|
/* harmony default export */ var packages_scanner_high_camera_jieyu = (scanner_high_camera_jieyu);
|
83487
83488
|
;// CONCATENATED MODULE: ./packages/index.ts
|
83489
|
+
// import {
|
83490
|
+
// Button,
|
83491
|
+
// Tooltip,
|
83492
|
+
// Select,
|
83493
|
+
// Option,
|
83494
|
+
// Dialog
|
83495
|
+
// } from "element-ui";
|
83488
83496
|
|
83489
83497
|
|
83490
83498
|
|
83491
83499
|
|
83492
83500
|
|
83493
|
-
const elementComponents = {
|
83494
|
-
|
83495
|
-
|
83496
|
-
|
83497
|
-
|
83498
|
-
|
83499
|
-
}
|
83501
|
+
// const elementComponents = {
|
83502
|
+
// Button,
|
83503
|
+
// Tooltip,
|
83504
|
+
// Select,
|
83505
|
+
// Option,
|
83506
|
+
// Dialog
|
83507
|
+
// }
|
83500
83508
|
// 组件列表
|
83501
83509
|
const components = [packages_zs_empty, packages_id_card_reader_demo, packages_scanner_high_camera_jieyu];
|
83502
83510
|
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
|
83503
83511
|
const install = Vue => {
|
83504
|
-
Object.entries(elementComponents).forEach(([name, component]) => {
|
83505
|
-
|
83506
|
-
|
83507
|
-
|
83512
|
+
// Object.entries(elementComponents).forEach(([name, component]) => {
|
83513
|
+
// Vue.component(component.name, component)
|
83514
|
+
// })
|
83515
|
+
Vue.use((element_ui_common_default()));
|
83508
83516
|
// 判断是否安装
|
83509
83517
|
// if (install.installed) return
|
83510
83518
|
// 遍历注册全局组件
|