@bildvitta/quasar-ui-asteroid 3.11.0-beta.4 → 3.11.0-beta.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bildvitta/quasar-ui-asteroid",
3
3
  "description": "Asteroid",
4
- "version": "3.11.0-beta.4",
4
+ "version": "3.11.0-beta.5",
5
5
  "author": "Bild & Vitta <systemteam@bild.com.br>",
6
6
  "license": "MIT",
7
7
  "main": "dist/asteroid.cjs.min.js",
package/src/vue-plugin.js CHANGED
@@ -72,19 +72,12 @@ import {
72
72
  } from './plugins'
73
73
 
74
74
  import packageInfo from '../package.json'
75
- import thirdPartyComponentsInitializer from './vue-plugin/third-party-components-initializer'
76
75
 
77
76
  // Directives
78
77
  import Test from './directives/Test.js'
79
78
 
80
79
  const version = packageInfo.version
81
80
 
82
- const thirdPartyComponentsInitializerFn = thirdPartyComponentsInitializer()
83
-
84
- const {
85
- QasMap
86
- } = thirdPartyComponentsInitializerFn.getComponents()
87
-
88
81
  async function install (app) {
89
82
  app.component('QasActions', QasActions)
90
83
  app.component('QasActionsMenu', QasActionsMenu)
@@ -147,8 +140,6 @@ async function install (app) {
147
140
  app.component('QasUploader', QasUploader)
148
141
  app.component('QasWelcome', QasWelcome)
149
142
 
150
- thirdPartyComponentsInitializerFn.initializeComponents(app)
151
-
152
143
  app.use(Quasar, { plugins: { Notify, Loading, QuasarDialog, Dialog } })
153
144
 
154
145
  app.config.globalProperties.$qas = {
@@ -203,7 +194,6 @@ export {
203
194
  QasLayout,
204
195
  QasListItems,
205
196
  QasListView,
206
- QasMap,
207
197
  QasNestedFields,
208
198
  QasNumericInput,
209
199
  QasOptionGroup,
@@ -1,16 +0,0 @@
1
- import thirdPartyComponentHandler from '../third-party-component-handler'
2
-
3
- export default function () {
4
- const { QasComponent, initializeComponent } = thirdPartyComponentHandler({
5
- name: 'QasChartView',
6
- importFn: () => import('../../components/chart-view/QasChartView.vue')
7
- })
8
-
9
- return {
10
- QasComponent,
11
-
12
- initializeComponent (app) {
13
- return initializeComponent({ app })
14
- }
15
- }
16
- }
@@ -1,16 +0,0 @@
1
- import thirdPartyComponentHandler from '../third-party-component-handler'
2
-
3
- export default function () {
4
- const { QasComponent, initializeComponent } = thirdPartyComponentHandler({
5
- name: 'QasMap',
6
- importFn: () => import('../../components/map/QasMap.vue')
7
- })
8
-
9
- return {
10
- QasComponent,
11
-
12
- initializeComponent (app) {
13
- return initializeComponent({ app })
14
- }
15
- }
16
- }
@@ -1,31 +0,0 @@
1
- import chartViewComponent from './components/chart-view-component'
2
- import mapComponent from './components/map-component'
3
-
4
- export default function () {
5
- const components = {
6
- QasChartView: chartViewComponent(),
7
- QasMap: mapComponent()
8
- }
9
-
10
- function getComponents () {
11
- const normalizedComponents = {}
12
-
13
- for (const key in components) {
14
- normalizedComponents[key] = components[key].QasComponent
15
- }
16
-
17
- return normalizedComponents
18
- }
19
-
20
- async function initializeComponents (app) {
21
- for (const key in components) {
22
- components[key].initializeComponent(app)
23
- }
24
- }
25
-
26
- return {
27
- initializeComponents,
28
-
29
- getComponents
30
- }
31
- }