@factoringplus/pl-components-pack-v3 0.1.6 → 0.1.7
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/entry.js +35 -33
- package/package.json +1 -1
package/entry.js
CHANGED
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
|
|
1
|
+
export { default as PlCurrency } from './src/components/pl-currency/src/pl-currency.vue';
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
export function install(Vue) {
|
|
5
|
-
if (install.installed) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
install.installed = true;
|
|
9
|
-
Vue.component('PlCurrency', PlCurrency);
|
|
10
|
-
}
|
|
3
|
+
// import PlCurrency from './src/components/pl-currency/src/pl-currency.vue';
|
|
11
4
|
|
|
12
|
-
//
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
//
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
//
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
5
|
+
// // Объявление функции установки, выполняемой Vue.use()
|
|
6
|
+
// export function install(Vue) {
|
|
7
|
+
// if (install.installed) {
|
|
8
|
+
// return;
|
|
9
|
+
// }
|
|
10
|
+
// install.installed = true;
|
|
11
|
+
// Vue.component('PlCurrency', PlCurrency);
|
|
12
|
+
// }
|
|
13
|
+
//
|
|
14
|
+
// // Создание значения модуля для Vue.use()
|
|
15
|
+
// const plugin = {
|
|
16
|
+
// install,
|
|
17
|
+
// };
|
|
18
|
+
//
|
|
19
|
+
// // Автоматическая установка, когда vue найден (например в браузере с помощью тега <script>)
|
|
20
|
+
// let GlobalVue = null;
|
|
21
|
+
// if (typeof window !== 'undefined') {
|
|
22
|
+
// GlobalVue = window.Vue;
|
|
23
|
+
// } else if (typeof global !== 'undefined') {
|
|
24
|
+
// GlobalVue = global.Vue;
|
|
25
|
+
// }
|
|
26
|
+
// if (GlobalVue) {
|
|
27
|
+
// GlobalVue.use(plugin);
|
|
28
|
+
// }
|
|
29
|
+
//
|
|
30
|
+
// PlCurrency.install = install;
|
|
31
|
+
//
|
|
32
|
+
// // Экспорт компонента, для использования в качестве модуля (npm/webpack/etc.)
|
|
33
|
+
// export default {
|
|
34
|
+
// version: '0.1.6',
|
|
35
|
+
// install,
|
|
36
|
+
// PlCurrency,
|
|
37
|
+
// };
|