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