@inriver/inri 1.14.0 → 1.15.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/.changeset/README.md +8 -0
- package/.changeset/config.json +11 -0
- package/.eslintrc.js +5 -5
- package/azure/pipelines/single-build-release.yml +6 -0
- package/azure/pipelines/templates/deployFramework.yml +50 -0
- package/componentProperties.d.ts +8 -8
- package/configs/base-eslint-config.js +36 -36
- package/configs/base-tailwind-config.js +149 -149
- package/i18n.ts +11 -11
- package/index.ts +29 -29
- package/package.json +7 -2
- package/src/components/CAutoBreadcrumbs.vue +72 -72
- package/src/components/CBtn.vue +98 -98
- package/src/components/CColorPicker.vue +55 -55
- package/src/components/CContextMenu.vue +29 -29
- package/src/components/CDatePicker.vue +51 -51
- package/src/components/CDeleteTileBtn.vue +52 -52
- package/src/components/CDialog.vue +253 -253
- package/src/components/CDialogCloseBtn.vue +9 -9
- package/src/components/CDirtyCheck.vue +68 -68
- package/src/components/CDrawer.vue +44 -44
- package/src/components/CDrawerButton.vue +91 -91
- package/src/components/CExpansionItem.vue +57 -57
- package/src/components/CExpansionItemWithCheckbox.vue +41 -41
- package/src/components/CFileDropzone.vue +114 -114
- package/src/components/CGrid.vue +101 -101
- package/src/components/CHeader.vue +10 -10
- package/src/components/CHeaderLinks.vue +61 -61
- package/src/components/CHeaderMenuLink.vue +51 -51
- package/src/components/CHeaderSearch.vue +142 -142
- package/src/components/CIconBtn.vue +70 -70
- package/src/components/CMenuItem.vue +66 -66
- package/src/components/CPageContainer.vue +11 -11
- package/src/components/CPageError.vue +24 -24
- package/src/components/CPageSpinner.vue +18 -18
- package/src/components/CSearch.vue +45 -45
- package/src/components/CSection.vue +29 -29
- package/src/components/CSectionTitle.vue +8 -8
- package/src/components/CSelect.vue +208 -208
- package/src/components/CSlideEffect.vue +62 -62
- package/src/components/CSpinner.vue +107 -107
- package/src/components/CTableActions.vue +16 -16
- package/src/components/CTileBtn.vue +178 -178
- package/src/components/CTimePicker.vue +42 -42
- package/src/components/CToggleGridView.vue +26 -26
- package/src/components/CToggleSidebarBtn.vue +19 -19
- package/src/components/CTooltip.vue +44 -44
- package/src/components/CTreeNode.vue +39 -39
- package/src/components/cards/CBannerCard.vue +103 -103
- package/src/components/cards/CSmallCard.vue +149 -149
- package/src/components/internal-components/ConfirmDialog.vue +78 -78
- package/src/composables/useDialog.ts +46 -46
- package/src/composables/useDirtyCheck.ts +25 -25
- package/src/composables/useDoubleClickListener.ts +28 -28
- package/src/composables/useSelectable.ts +62 -62
- package/src/composables/useTruncateChips.ts +46 -46
- package/src/i18n/de/index.ts +17 -17
- package/src/i18n/en/index.ts +84 -84
- package/src/i18n/es/index.ts +7 -7
- package/src/i18n/fr/index.ts +7 -7
- package/src/init/initInriFramework.ts +37 -37
- package/src/init/useInriApp.ts +55 -55
- package/src/layouts/CLayoutBlank.vue +7 -7
- package/src/layouts/CLayoutWithBackButton.vue +50 -50
- package/src/layouts/CLayoutWithSidebars.vue +46 -46
- package/src/layouts/layout-fragments/CPageAutoBreadcrumbs.vue +6 -6
- package/src/layouts/layout-fragments/CPageBackButton.vue +18 -18
- package/src/layouts/layout-fragments/CPageBlank.vue +20 -20
- package/src/layouts/layout-fragments/CPageFlexCol.vue +5 -5
- package/src/layouts/layout-fragments/CPageLeftSidebar.vue +5 -5
- package/src/layouts/layout-fragments/CPageMainContent.vue +5 -5
- package/src/layouts/layout-fragments/CPageOuterWrapper.vue +5 -5
- package/src/layouts/layout-fragments/CPageRightSidebar.vue +5 -5
- package/src/layouts/layout-fragments/CPageTitle.vue +34 -34
- package/src/plugins/dialog.ts +45 -45
- package/src/plugins/errors/ErrorFactories.ts +59 -59
- package/src/plugins/errors/Errors.ts +156 -156
- package/src/plugins/errors/Exception.ts +6 -6
- package/src/plugins/errors/globalErrorHandler.ts +21 -21
- package/src/plugins/errors/handleError.ts +34 -34
- package/src/plugins/errors/logger.ts +16 -16
- package/src/plugins/errors/vueErrorHandler.ts +26 -26
- package/src/plugins/globalAppConfig.ts +25 -25
- package/src/plugins/i18n.ts +46 -46
- package/src/plugins/inriIcons.ts +58 -58
- package/src/plugins/inriverQuasarComponentConfigurations.ts +67 -67
- package/src/plugins/library.ts +119 -119
- package/src/plugins/notify.ts +153 -153
- package/src/plugins/quasar-user-options.ts +19 -19
- package/src/plugins/validationRules.ts +292 -292
- package/src/shims-vue.d.ts +6 -6
- package/src/stores/inriStore.ts +54 -54
- package/src/stores/interfaceLanguageStore.ts +27 -27
- package/src/styles/_css-variables.scss +101 -101
- package/src/styles/_reset.scss +67 -67
- package/src/styles/_transitions.scss +9 -9
- package/src/styles/_utils.scss +15 -15
- package/src/styles/components/_breadcrumbs.scss +3 -3
- package/src/styles/components/_checkboxes.scss +17 -17
- package/src/styles/components/_chips.scss +17 -17
- package/src/styles/components/_forms.scss +203 -203
- package/src/styles/components/_menu.scss +12 -12
- package/src/styles/components/_notifications.scss +24 -24
- package/src/styles/components/_q-editor.scss +14 -14
- package/src/styles/components/_radio-buttons.scss +17 -17
- package/src/styles/components/_tables.scss +92 -92
- package/src/styles/components/_tooltips.scss +5 -5
- package/src/styles/components/_tree.scss +86 -86
- package/src/styles/components/_truncated-chips.scss +39 -39
- package/src/styles/main.scss +45 -45
- package/src/styles/quasar.variables.scss +50 -50
- package/src/styles/tailwind/index.css +2 -2
- package/src/typings.d.ts +70 -70
- package/src/utils/colorUtils.ts +73 -73
- package/src/utils/errorUtils.ts +37 -37
- package/src/utils/fileUtils.ts +57 -57
- package/src/utils/helpers.ts +6 -6
- package/src/utils/routeUtils.ts +23 -23
- package/tsconfig.json +34 -34
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Changesets
|
|
2
|
+
|
|
3
|
+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
|
|
4
|
+
with multi-package repos, or single-package repos to help you version and publish your code. You can
|
|
5
|
+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
|
|
6
|
+
|
|
7
|
+
We have a quick list of common questions to get you started engaging with this project in
|
|
8
|
+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
|
|
3
|
+
"changelog": ["@changesets/changelog-github", {"repo": "inriver/inri-monorepo"}],
|
|
4
|
+
"commit": false,
|
|
5
|
+
"fixed": [],
|
|
6
|
+
"linked": [],
|
|
7
|
+
"access": "restricted",
|
|
8
|
+
"baseBranch": "main",
|
|
9
|
+
"updateInternalDependencies": "patch",
|
|
10
|
+
"ignore": []
|
|
11
|
+
}
|
package/.eslintrc.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const baseConfig = require('./configs/base-eslint-config.js')
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
...baseConfig,
|
|
5
|
-
}
|
|
1
|
+
const baseConfig = require('./configs/base-eslint-config.js')
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
...baseConfig,
|
|
5
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
stages:
|
|
2
|
+
- stage: Deploy
|
|
3
|
+
variables:
|
|
4
|
+
- group: inri-access-token
|
|
5
|
+
jobs:
|
|
6
|
+
- job: Deploy
|
|
7
|
+
displayName: Deploy inri framework
|
|
8
|
+
|
|
9
|
+
steps:
|
|
10
|
+
- task: Cache@2
|
|
11
|
+
inputs:
|
|
12
|
+
key: 'pnpm | "$(Agent.OS)" | pnpm-lock.yaml'
|
|
13
|
+
path: $(Pipeline.Workspace)/.pnpm-store
|
|
14
|
+
displayName: Cache pnpm
|
|
15
|
+
|
|
16
|
+
- script: |
|
|
17
|
+
echo $(NPM_TOKEN)
|
|
18
|
+
displayName: test token
|
|
19
|
+
|
|
20
|
+
- script: |
|
|
21
|
+
corepack enable
|
|
22
|
+
corepack prepare pnpm@latest-8 --activate
|
|
23
|
+
displayName: 'Setup pnpm'
|
|
24
|
+
|
|
25
|
+
- script: pnpm config set store-dir $(Pipeline.Workspace)/.pnpm-store
|
|
26
|
+
displayName: 'setup pnpm config'
|
|
27
|
+
|
|
28
|
+
- task: NodeTool@0
|
|
29
|
+
inputs:
|
|
30
|
+
versionSpec: 16.x
|
|
31
|
+
displayName: Install Node.js
|
|
32
|
+
|
|
33
|
+
- script: |
|
|
34
|
+
npm install -g pnpm
|
|
35
|
+
pnpm install --frozen-lockfile
|
|
36
|
+
env:
|
|
37
|
+
NPM_TOKEN: $(NPM_TOKEN)
|
|
38
|
+
displayName: pnpm install
|
|
39
|
+
|
|
40
|
+
- bash: |
|
|
41
|
+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
|
|
42
|
+
env:
|
|
43
|
+
NPM_TOKEN: $(NPM_TOKEN)
|
|
44
|
+
displayName: Init .npmrc file
|
|
45
|
+
|
|
46
|
+
- script: |
|
|
47
|
+
pnpm publish:ci --no-git-checks
|
|
48
|
+
env:
|
|
49
|
+
NPM_TOKEN: $(NPM_TOKEN)
|
|
50
|
+
displayName: Publish inri framework
|
package/componentProperties.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentCustomProperties as inriComponentCustomProperties } from './src/typings'
|
|
2
|
-
|
|
3
|
-
declare module '@vue/runtime-core' {
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
5
|
-
export interface ComponentCustomProperties extends inriComponentCustomProperties {}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export {}
|
|
1
|
+
import { ComponentCustomProperties as inriComponentCustomProperties } from './src/typings'
|
|
2
|
+
|
|
3
|
+
declare module '@vue/runtime-core' {
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
5
|
+
export interface ComponentCustomProperties extends inriComponentCustomProperties {}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export {}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
node: true,
|
|
5
|
-
},
|
|
6
|
-
extends: [
|
|
7
|
-
'plugin:vue/vue3-recommended',
|
|
8
|
-
'@vue/standard',
|
|
9
|
-
'@vue/typescript/recommended',
|
|
10
|
-
],
|
|
11
|
-
parserOptions: {
|
|
12
|
-
ecmaVersion: 2020,
|
|
13
|
-
},
|
|
14
|
-
globals: {
|
|
15
|
-
defineProps: 'readonly',
|
|
16
|
-
defineEmits: 'readonly',
|
|
17
|
-
defineExpose: 'readonly',
|
|
18
|
-
withDefaults: 'readonly',
|
|
19
|
-
},
|
|
20
|
-
rules: {
|
|
21
|
-
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
22
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
23
|
-
'comma-dangle': ['error', 'always-multiline'],
|
|
24
|
-
curly: ['error', 'all'],
|
|
25
|
-
'brace-style': ['error', '1tbs'],
|
|
26
|
-
'object-property-newline': ['error', { allowAllPropertiesOnSameLine: false }],
|
|
27
|
-
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
28
|
-
'@typescript-eslint/ban-types': 'off',
|
|
29
|
-
'@typescript-eslint/no-explicit-any': 'off',
|
|
30
|
-
'vue/object-curly-spacing': ['error', 'always'],
|
|
31
|
-
'@typescript-eslint/ban-ts-comment': 'off',
|
|
32
|
-
'@typescript-eslint/no-var-requires': 'off',
|
|
33
|
-
'@typescript-eslint/no-namespace': 'off',
|
|
34
|
-
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
35
|
-
},
|
|
36
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
node: true,
|
|
5
|
+
},
|
|
6
|
+
extends: [
|
|
7
|
+
'plugin:vue/vue3-recommended',
|
|
8
|
+
'@vue/standard',
|
|
9
|
+
'@vue/typescript/recommended',
|
|
10
|
+
],
|
|
11
|
+
parserOptions: {
|
|
12
|
+
ecmaVersion: 2020,
|
|
13
|
+
},
|
|
14
|
+
globals: {
|
|
15
|
+
defineProps: 'readonly',
|
|
16
|
+
defineEmits: 'readonly',
|
|
17
|
+
defineExpose: 'readonly',
|
|
18
|
+
withDefaults: 'readonly',
|
|
19
|
+
},
|
|
20
|
+
rules: {
|
|
21
|
+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
22
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
23
|
+
'comma-dangle': ['error', 'always-multiline'],
|
|
24
|
+
curly: ['error', 'all'],
|
|
25
|
+
'brace-style': ['error', '1tbs'],
|
|
26
|
+
'object-property-newline': ['error', { allowAllPropertiesOnSameLine: false }],
|
|
27
|
+
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
28
|
+
'@typescript-eslint/ban-types': 'off',
|
|
29
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
30
|
+
'vue/object-curly-spacing': ['error', 'always'],
|
|
31
|
+
'@typescript-eslint/ban-ts-comment': 'off',
|
|
32
|
+
'@typescript-eslint/no-var-requires': 'off',
|
|
33
|
+
'@typescript-eslint/no-namespace': 'off',
|
|
34
|
+
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
35
|
+
},
|
|
36
|
+
}
|
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
preflight: false,
|
|
3
|
-
darkMode: false,
|
|
4
|
-
theme: {
|
|
5
|
-
extend: {
|
|
6
|
-
zIndex: {
|
|
7
|
-
'-1': '-1',
|
|
8
|
-
},
|
|
9
|
-
},
|
|
10
|
-
colors: {
|
|
11
|
-
current: 'currentColor',
|
|
12
|
-
|
|
13
|
-
grey: 'var(--color-grey)',
|
|
14
|
-
'grey-light': 'var(--color-grey-light)',
|
|
15
|
-
'grey-lighter': 'var(--color-grey-lighter)',
|
|
16
|
-
'grey-dark': 'var(--color-grey-dark)',
|
|
17
|
-
'grey-darker': 'var(--color-grey-darker)',
|
|
18
|
-
'grey-darkest': 'var(--color-grey-darkest)',
|
|
19
|
-
|
|
20
|
-
blue: 'var(--color-blue)',
|
|
21
|
-
'blue-light': 'var(--color-blue-light)',
|
|
22
|
-
purple: 'var(--color-purple)',
|
|
23
|
-
'purple-light': 'var(--color-purple-light)',
|
|
24
|
-
red: 'var(--color-red)',
|
|
25
|
-
'red-light': 'var(--color-red-light)',
|
|
26
|
-
orange: 'var(--color-orange)',
|
|
27
|
-
'orange-light': 'var(--color-orange-light)',
|
|
28
|
-
yellow: 'var(--color-yellow)',
|
|
29
|
-
'yellow-light': 'var(--color-yellow-light)',
|
|
30
|
-
green: 'var(--color-green)',
|
|
31
|
-
'green-light': 'var(--color-green-light)',
|
|
32
|
-
'green-light-30': 'var(--color-green-light-30)',
|
|
33
|
-
|
|
34
|
-
primary: 'var(--q-primary)',
|
|
35
|
-
'on-primary': 'var(--on-primary-color)',
|
|
36
|
-
'on-primary-alt': 'var(--on-primary-alt-color)',
|
|
37
|
-
'primary-effect': 'var(--primary-effect-color)',
|
|
38
|
-
|
|
39
|
-
secondary: 'var(--q-secondary)',
|
|
40
|
-
'on-secondary': 'var(--on-secondary-color)',
|
|
41
|
-
'on-secondary-alt': 'var(--on-secondary-alt-color)',
|
|
42
|
-
'secondary-effect': 'var(--secondary-effect-color)',
|
|
43
|
-
|
|
44
|
-
accent: 'var(--q-accent)',
|
|
45
|
-
'on-accent': 'var(--on-accent-color)',
|
|
46
|
-
'on-accent-alt': 'var(--on-accent-alt-color)',
|
|
47
|
-
'accent-effect': 'var(--accent-effect-color)',
|
|
48
|
-
|
|
49
|
-
surface: 'var(--surface-color)',
|
|
50
|
-
'on-surface': 'var(--on-surface-color)',
|
|
51
|
-
'surface-effect': 'var(--surface-effect-color)',
|
|
52
|
-
'surface-border': 'var(--surface-border-color)',
|
|
53
|
-
|
|
54
|
-
// Color aliases
|
|
55
|
-
'border-default': 'var(--color-border)',
|
|
56
|
-
},
|
|
57
|
-
// Make sure that these match the Quasar breakpoints
|
|
58
|
-
screens: {
|
|
59
|
-
sm: '600px',
|
|
60
|
-
md: '1024px',
|
|
61
|
-
lg: '1440px',
|
|
62
|
-
xl: '1920px',
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
variants: {
|
|
66
|
-
extend: {},
|
|
67
|
-
},
|
|
68
|
-
plugins: [],
|
|
69
|
-
|
|
70
|
-
// These are colors that can be used by Quasar, but are generated at runtime. These must always be included.
|
|
71
|
-
// For example color="blue-light" will generate "bg-blue-light" so it has to be included in this list.
|
|
72
|
-
safelist: [
|
|
73
|
-
'bg-grey-light',
|
|
74
|
-
'bg-grey-lighter',
|
|
75
|
-
'bg-grey-dark',
|
|
76
|
-
'bg-grey-darker',
|
|
77
|
-
'bg-grey-darkest',
|
|
78
|
-
|
|
79
|
-
'text-grey-light',
|
|
80
|
-
'text-grey-lighter',
|
|
81
|
-
'text-grey-dark',
|
|
82
|
-
'text-grey-darker',
|
|
83
|
-
'text-grey-darkest',
|
|
84
|
-
|
|
85
|
-
'bg-blue-light',
|
|
86
|
-
'bg-purple-light',
|
|
87
|
-
'bg-red-light',
|
|
88
|
-
'bg-orange-light',
|
|
89
|
-
'bg-yellow-light',
|
|
90
|
-
'bg-green-light',
|
|
91
|
-
'bg-green-light-30',
|
|
92
|
-
|
|
93
|
-
'text-blue-light',
|
|
94
|
-
'text-purple-light',
|
|
95
|
-
'text-red-light',
|
|
96
|
-
'text-orange-light',
|
|
97
|
-
'text-yellow-light',
|
|
98
|
-
'text-green-light',
|
|
99
|
-
|
|
100
|
-
'bg-on-primary',
|
|
101
|
-
'bg-on-primary-alt',
|
|
102
|
-
'bg-primary-effect',
|
|
103
|
-
'bg-on-secondary',
|
|
104
|
-
'bg-on-secondary-alt',
|
|
105
|
-
'bg-secondary-effect',
|
|
106
|
-
'bg-on-accent',
|
|
107
|
-
'bg-on-accent-alt',
|
|
108
|
-
'bg-accent-effect',
|
|
109
|
-
'bg-on-surface',
|
|
110
|
-
'bg-surface-effect',
|
|
111
|
-
|
|
112
|
-
'text-on-primary',
|
|
113
|
-
'text-on-primary-alt',
|
|
114
|
-
'text-primary-effect',
|
|
115
|
-
'text-on-secondary',
|
|
116
|
-
'text-on-secondary-alt',
|
|
117
|
-
'text-secondary-effect',
|
|
118
|
-
'text-on-accent',
|
|
119
|
-
'text-on-accent-alt',
|
|
120
|
-
'text-accent-effect',
|
|
121
|
-
'text-on-surface',
|
|
122
|
-
'text-surface-effect',
|
|
123
|
-
],
|
|
124
|
-
|
|
125
|
-
// These are already included in Quasar so we don't have to create them again
|
|
126
|
-
blocklist: [
|
|
127
|
-
'bg-primary',
|
|
128
|
-
'bg-secondary',
|
|
129
|
-
'bg-accent',
|
|
130
|
-
'bg-grey',
|
|
131
|
-
'bg-blue',
|
|
132
|
-
'bg-purple',
|
|
133
|
-
'bg-red',
|
|
134
|
-
'bg-orange',
|
|
135
|
-
'bg-yellow',
|
|
136
|
-
'bg-green',
|
|
137
|
-
|
|
138
|
-
'text-primary',
|
|
139
|
-
'text-secondary',
|
|
140
|
-
'text-accent',
|
|
141
|
-
'text-grey',
|
|
142
|
-
'text-blue',
|
|
143
|
-
'text-purple',
|
|
144
|
-
'text-red',
|
|
145
|
-
'text-orange',
|
|
146
|
-
'text-yellow',
|
|
147
|
-
'text-green',
|
|
148
|
-
],
|
|
149
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
preflight: false,
|
|
3
|
+
darkMode: false,
|
|
4
|
+
theme: {
|
|
5
|
+
extend: {
|
|
6
|
+
zIndex: {
|
|
7
|
+
'-1': '-1',
|
|
8
|
+
},
|
|
9
|
+
},
|
|
10
|
+
colors: {
|
|
11
|
+
current: 'currentColor',
|
|
12
|
+
|
|
13
|
+
grey: 'var(--color-grey)',
|
|
14
|
+
'grey-light': 'var(--color-grey-light)',
|
|
15
|
+
'grey-lighter': 'var(--color-grey-lighter)',
|
|
16
|
+
'grey-dark': 'var(--color-grey-dark)',
|
|
17
|
+
'grey-darker': 'var(--color-grey-darker)',
|
|
18
|
+
'grey-darkest': 'var(--color-grey-darkest)',
|
|
19
|
+
|
|
20
|
+
blue: 'var(--color-blue)',
|
|
21
|
+
'blue-light': 'var(--color-blue-light)',
|
|
22
|
+
purple: 'var(--color-purple)',
|
|
23
|
+
'purple-light': 'var(--color-purple-light)',
|
|
24
|
+
red: 'var(--color-red)',
|
|
25
|
+
'red-light': 'var(--color-red-light)',
|
|
26
|
+
orange: 'var(--color-orange)',
|
|
27
|
+
'orange-light': 'var(--color-orange-light)',
|
|
28
|
+
yellow: 'var(--color-yellow)',
|
|
29
|
+
'yellow-light': 'var(--color-yellow-light)',
|
|
30
|
+
green: 'var(--color-green)',
|
|
31
|
+
'green-light': 'var(--color-green-light)',
|
|
32
|
+
'green-light-30': 'var(--color-green-light-30)',
|
|
33
|
+
|
|
34
|
+
primary: 'var(--q-primary)',
|
|
35
|
+
'on-primary': 'var(--on-primary-color)',
|
|
36
|
+
'on-primary-alt': 'var(--on-primary-alt-color)',
|
|
37
|
+
'primary-effect': 'var(--primary-effect-color)',
|
|
38
|
+
|
|
39
|
+
secondary: 'var(--q-secondary)',
|
|
40
|
+
'on-secondary': 'var(--on-secondary-color)',
|
|
41
|
+
'on-secondary-alt': 'var(--on-secondary-alt-color)',
|
|
42
|
+
'secondary-effect': 'var(--secondary-effect-color)',
|
|
43
|
+
|
|
44
|
+
accent: 'var(--q-accent)',
|
|
45
|
+
'on-accent': 'var(--on-accent-color)',
|
|
46
|
+
'on-accent-alt': 'var(--on-accent-alt-color)',
|
|
47
|
+
'accent-effect': 'var(--accent-effect-color)',
|
|
48
|
+
|
|
49
|
+
surface: 'var(--surface-color)',
|
|
50
|
+
'on-surface': 'var(--on-surface-color)',
|
|
51
|
+
'surface-effect': 'var(--surface-effect-color)',
|
|
52
|
+
'surface-border': 'var(--surface-border-color)',
|
|
53
|
+
|
|
54
|
+
// Color aliases
|
|
55
|
+
'border-default': 'var(--color-border)',
|
|
56
|
+
},
|
|
57
|
+
// Make sure that these match the Quasar breakpoints
|
|
58
|
+
screens: {
|
|
59
|
+
sm: '600px',
|
|
60
|
+
md: '1024px',
|
|
61
|
+
lg: '1440px',
|
|
62
|
+
xl: '1920px',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
variants: {
|
|
66
|
+
extend: {},
|
|
67
|
+
},
|
|
68
|
+
plugins: [],
|
|
69
|
+
|
|
70
|
+
// These are colors that can be used by Quasar, but are generated at runtime. These must always be included.
|
|
71
|
+
// For example color="blue-light" will generate "bg-blue-light" so it has to be included in this list.
|
|
72
|
+
safelist: [
|
|
73
|
+
'bg-grey-light',
|
|
74
|
+
'bg-grey-lighter',
|
|
75
|
+
'bg-grey-dark',
|
|
76
|
+
'bg-grey-darker',
|
|
77
|
+
'bg-grey-darkest',
|
|
78
|
+
|
|
79
|
+
'text-grey-light',
|
|
80
|
+
'text-grey-lighter',
|
|
81
|
+
'text-grey-dark',
|
|
82
|
+
'text-grey-darker',
|
|
83
|
+
'text-grey-darkest',
|
|
84
|
+
|
|
85
|
+
'bg-blue-light',
|
|
86
|
+
'bg-purple-light',
|
|
87
|
+
'bg-red-light',
|
|
88
|
+
'bg-orange-light',
|
|
89
|
+
'bg-yellow-light',
|
|
90
|
+
'bg-green-light',
|
|
91
|
+
'bg-green-light-30',
|
|
92
|
+
|
|
93
|
+
'text-blue-light',
|
|
94
|
+
'text-purple-light',
|
|
95
|
+
'text-red-light',
|
|
96
|
+
'text-orange-light',
|
|
97
|
+
'text-yellow-light',
|
|
98
|
+
'text-green-light',
|
|
99
|
+
|
|
100
|
+
'bg-on-primary',
|
|
101
|
+
'bg-on-primary-alt',
|
|
102
|
+
'bg-primary-effect',
|
|
103
|
+
'bg-on-secondary',
|
|
104
|
+
'bg-on-secondary-alt',
|
|
105
|
+
'bg-secondary-effect',
|
|
106
|
+
'bg-on-accent',
|
|
107
|
+
'bg-on-accent-alt',
|
|
108
|
+
'bg-accent-effect',
|
|
109
|
+
'bg-on-surface',
|
|
110
|
+
'bg-surface-effect',
|
|
111
|
+
|
|
112
|
+
'text-on-primary',
|
|
113
|
+
'text-on-primary-alt',
|
|
114
|
+
'text-primary-effect',
|
|
115
|
+
'text-on-secondary',
|
|
116
|
+
'text-on-secondary-alt',
|
|
117
|
+
'text-secondary-effect',
|
|
118
|
+
'text-on-accent',
|
|
119
|
+
'text-on-accent-alt',
|
|
120
|
+
'text-accent-effect',
|
|
121
|
+
'text-on-surface',
|
|
122
|
+
'text-surface-effect',
|
|
123
|
+
],
|
|
124
|
+
|
|
125
|
+
// These are already included in Quasar so we don't have to create them again
|
|
126
|
+
blocklist: [
|
|
127
|
+
'bg-primary',
|
|
128
|
+
'bg-secondary',
|
|
129
|
+
'bg-accent',
|
|
130
|
+
'bg-grey',
|
|
131
|
+
'bg-blue',
|
|
132
|
+
'bg-purple',
|
|
133
|
+
'bg-red',
|
|
134
|
+
'bg-orange',
|
|
135
|
+
'bg-yellow',
|
|
136
|
+
'bg-green',
|
|
137
|
+
|
|
138
|
+
'text-primary',
|
|
139
|
+
'text-secondary',
|
|
140
|
+
'text-accent',
|
|
141
|
+
'text-grey',
|
|
142
|
+
'text-blue',
|
|
143
|
+
'text-purple',
|
|
144
|
+
'text-red',
|
|
145
|
+
'text-orange',
|
|
146
|
+
'text-yellow',
|
|
147
|
+
'text-green',
|
|
148
|
+
],
|
|
149
|
+
}
|
package/i18n.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import en from './src/i18n/en'
|
|
2
|
-
import de from './src/i18n/de'
|
|
3
|
-
import fr from './src/i18n/fr'
|
|
4
|
-
import es from './src/i18n/es'
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
en,
|
|
8
|
-
de,
|
|
9
|
-
fr,
|
|
10
|
-
es,
|
|
11
|
-
}
|
|
1
|
+
import en from './src/i18n/en'
|
|
2
|
+
import de from './src/i18n/de'
|
|
3
|
+
import fr from './src/i18n/fr'
|
|
4
|
+
import es from './src/i18n/es'
|
|
5
|
+
|
|
6
|
+
export {
|
|
7
|
+
en,
|
|
8
|
+
de,
|
|
9
|
+
fr,
|
|
10
|
+
es,
|
|
11
|
+
}
|
package/index.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { useInriStore } from './src/stores/inriStore'
|
|
2
|
-
import { useInterfaceLanguageStore } from './src/stores/interfaceLanguageStore'
|
|
3
|
-
import useInriApp from './src/init/useInriApp'
|
|
4
|
-
import { initInriFramework } from './src/init/initInriFramework'
|
|
5
|
-
import dialog from './src/plugins/dialog'
|
|
6
|
-
import notify from './src/plugins/notify'
|
|
7
|
-
import useSelectable from './src/composables/useSelectable'
|
|
8
|
-
import { useDialog } from './src/composables/useDialog'
|
|
9
|
-
import { useDoubleClickListener } from './src/composables/useDoubleClickListener'
|
|
10
|
-
import { useDirtyCheck } from './src/composables/useDirtyCheck'
|
|
11
|
-
import { useTruncateChips } from './src/composables/useTruncateChips'
|
|
12
|
-
import { initInriIcons } from './src/plugins/inriIcons'
|
|
13
|
-
import baseTailwindConfig from './configs/base-tailwind-config'
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
useInriStore,
|
|
17
|
-
useInterfaceLanguageStore,
|
|
18
|
-
useInriApp,
|
|
19
|
-
initInriFramework,
|
|
20
|
-
dialog,
|
|
21
|
-
notify,
|
|
22
|
-
useSelectable,
|
|
23
|
-
useDialog,
|
|
24
|
-
useDoubleClickListener,
|
|
25
|
-
useDirtyCheck,
|
|
26
|
-
useTruncateChips,
|
|
27
|
-
initInriIcons,
|
|
28
|
-
baseTailwindConfig,
|
|
29
|
-
}
|
|
1
|
+
import { useInriStore } from './src/stores/inriStore'
|
|
2
|
+
import { useInterfaceLanguageStore } from './src/stores/interfaceLanguageStore'
|
|
3
|
+
import useInriApp from './src/init/useInriApp'
|
|
4
|
+
import { initInriFramework } from './src/init/initInriFramework'
|
|
5
|
+
import dialog from './src/plugins/dialog'
|
|
6
|
+
import notify from './src/plugins/notify'
|
|
7
|
+
import useSelectable from './src/composables/useSelectable'
|
|
8
|
+
import { useDialog } from './src/composables/useDialog'
|
|
9
|
+
import { useDoubleClickListener } from './src/composables/useDoubleClickListener'
|
|
10
|
+
import { useDirtyCheck } from './src/composables/useDirtyCheck'
|
|
11
|
+
import { useTruncateChips } from './src/composables/useTruncateChips'
|
|
12
|
+
import { initInriIcons } from './src/plugins/inriIcons'
|
|
13
|
+
import baseTailwindConfig from './configs/base-tailwind-config'
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
useInriStore,
|
|
17
|
+
useInterfaceLanguageStore,
|
|
18
|
+
useInriApp,
|
|
19
|
+
initInriFramework,
|
|
20
|
+
dialog,
|
|
21
|
+
notify,
|
|
22
|
+
useSelectable,
|
|
23
|
+
useDialog,
|
|
24
|
+
useDoubleClickListener,
|
|
25
|
+
useDirtyCheck,
|
|
26
|
+
useTruncateChips,
|
|
27
|
+
initInriIcons,
|
|
28
|
+
baseTailwindConfig,
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inriver/inri",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"quasar": "2.12.1",
|
|
6
6
|
"vue": "^3.3.4",
|
|
@@ -45,7 +45,12 @@
|
|
|
45
45
|
"git add"
|
|
46
46
|
]
|
|
47
47
|
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@changesets/cli": "^2.26.2"
|
|
50
|
+
},
|
|
48
51
|
"scripts": {
|
|
49
|
-
"lint": "vue-cli-service lint"
|
|
52
|
+
"lint": "vue-cli-service lint",
|
|
53
|
+
"changeset": "changeset",
|
|
54
|
+
"release": "changeset publish"
|
|
50
55
|
}
|
|
51
56
|
}
|