@inriver/inri 1.4.0 → 1.6.0
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/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { useDialog } from './src/composables/useDialog'
|
|
|
9
9
|
import { useDoubleClickListener } from './src/composables/useDoubleClickListener'
|
|
10
10
|
import { useDirtyCheck } from './src/composables/useDirtyCheck'
|
|
11
11
|
import { useTruncateChips } from './src/composables/useTruncateChips'
|
|
12
|
-
|
|
12
|
+
import { initInriIcons } from './src/plugins/inriIcons'
|
|
13
13
|
export {
|
|
14
14
|
useInriStore,
|
|
15
15
|
useInterfaceLanguageStore,
|
|
@@ -22,4 +22,5 @@ export {
|
|
|
22
22
|
useDoubleClickListener,
|
|
23
23
|
useDirtyCheck,
|
|
24
24
|
useTruncateChips,
|
|
25
|
+
initInriIcons,
|
|
25
26
|
}
|
package/package.json
CHANGED
|
@@ -1,25 +1,35 @@
|
|
|
1
1
|
import '../styles/main.scss'
|
|
2
2
|
// import 'windi.css'
|
|
3
3
|
import { App } from 'vue'
|
|
4
|
-
import { Quasar } from 'quasar'
|
|
5
|
-
import quasarUserOptions from '../plugins/quasar-user-options'
|
|
4
|
+
import { Quasar, Notify, Dialog, Meta } from 'quasar'
|
|
5
|
+
import { quasarUserOptions } from '../plugins/quasar-user-options'
|
|
6
6
|
import { registerComponents } from '../plugins/library'
|
|
7
7
|
import { registerAppConfigurations } from '../plugins/globalAppConfig'
|
|
8
8
|
// import { i18n } from '../plugins/i18n'
|
|
9
9
|
import logger from '../plugins/errors/logger'
|
|
10
10
|
import { VueErrorHandler } from '../plugins/errors/vueErrorHandler'
|
|
11
11
|
import '../plugins/errors/globalErrorHandler'
|
|
12
|
-
import { initInriIcons } from '
|
|
12
|
+
import { initInriIcons } from '../plugins/inriIcons'
|
|
13
|
+
|
|
14
|
+
import iconSet from 'quasar/icon-set/mdi-v6'
|
|
15
|
+
import '@quasar/extras/mdi-v6/mdi-v6.css'
|
|
16
|
+
iconSet.field.error = 'mdi-alert-circle-outline'
|
|
13
17
|
|
|
14
18
|
export const initInriFramework = (Vue: App): void => {
|
|
15
19
|
// Register C-components
|
|
16
20
|
registerComponents(Vue)
|
|
17
|
-
initInriIcons()
|
|
18
21
|
|
|
19
22
|
// Register global application configurations
|
|
20
23
|
registerAppConfigurations(Vue)
|
|
21
24
|
|
|
22
|
-
Vue.use(Quasar,
|
|
25
|
+
Vue.use(Quasar, {
|
|
26
|
+
plugins: {
|
|
27
|
+
Notify,
|
|
28
|
+
Dialog,
|
|
29
|
+
Meta,
|
|
30
|
+
},
|
|
31
|
+
iconSet: iconSet,
|
|
32
|
+
})
|
|
23
33
|
// Vue.use(i18n)
|
|
24
34
|
Vue.use(VueErrorHandler)
|
|
25
35
|
|
|
@@ -6,14 +6,14 @@ import { Notify, Dialog, Meta } from 'quasar'
|
|
|
6
6
|
// Override specific iconSet icons
|
|
7
7
|
iconSet.field.error = 'mdi-alert-circle-outline'
|
|
8
8
|
|
|
9
|
-
export
|
|
9
|
+
export const quasarUserOptions = {
|
|
10
10
|
plugins: {
|
|
11
11
|
Notify,
|
|
12
12
|
Dialog,
|
|
13
13
|
Meta,
|
|
14
14
|
},
|
|
15
|
-
config: {
|
|
16
|
-
|
|
17
|
-
},
|
|
15
|
+
// config: {
|
|
16
|
+
// notify: { /* look at QuasarConfOptions from the API card */ },
|
|
17
|
+
// },
|
|
18
18
|
iconSet: iconSet,
|
|
19
19
|
}
|