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
@@ -82075,6 +82075,7 @@ if (typeof window !== 'undefined') {
|
|
82075
82075
|
|
82076
82076
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/element-ui.common.js
|
82077
82077
|
var element_ui_common = __webpack_require__(4720);
|
82078
|
+
var element_ui_common_default = /*#__PURE__*/__webpack_require__.n(element_ui_common);
|
82078
82079
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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&
|
82079
82080
|
var render = function render() {
|
82080
82081
|
var _vm = this,
|
@@ -83475,26 +83476,33 @@ scanner_high_camera_jieyu.install = Vue => {
|
|
83475
83476
|
};
|
83476
83477
|
/* harmony default export */ var packages_scanner_high_camera_jieyu = (scanner_high_camera_jieyu);
|
83477
83478
|
;// CONCATENATED MODULE: ./packages/index.ts
|
83479
|
+
// import {
|
83480
|
+
// Button,
|
83481
|
+
// Tooltip,
|
83482
|
+
// Select,
|
83483
|
+
// Option,
|
83484
|
+
// Dialog
|
83485
|
+
// } from "element-ui";
|
83478
83486
|
|
83479
83487
|
|
83480
83488
|
|
83481
83489
|
|
83482
83490
|
|
83483
|
-
const elementComponents = {
|
83484
|
-
|
83485
|
-
|
83486
|
-
|
83487
|
-
|
83488
|
-
|
83489
|
-
}
|
83491
|
+
// const elementComponents = {
|
83492
|
+
// Button,
|
83493
|
+
// Tooltip,
|
83494
|
+
// Select,
|
83495
|
+
// Option,
|
83496
|
+
// Dialog
|
83497
|
+
// }
|
83490
83498
|
// 组件列表
|
83491
83499
|
const components = [packages_zs_empty, packages_id_card_reader_demo, packages_scanner_high_camera_jieyu];
|
83492
83500
|
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
|
83493
83501
|
const install = Vue => {
|
83494
|
-
Object.entries(elementComponents).forEach(([name, component]) => {
|
83495
|
-
|
83496
|
-
|
83497
|
-
|
83502
|
+
// Object.entries(elementComponents).forEach(([name, component]) => {
|
83503
|
+
// Vue.component(component.name, component)
|
83504
|
+
// })
|
83505
|
+
Vue.use((element_ui_common_default()));
|
83498
83506
|
// 判断是否安装
|
83499
83507
|
// if (install.installed) return
|
83500
83508
|
// 遍历注册全局组件
|