@vcmap/ui 6.0.0-rc.3 → 6.0.0-rc.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/build/buildHelpers.js +60 -11
- package/build/bundle.js +1 -1
- package/build/info/publish.js +25 -31
- package/build/lintTypes.js +5 -0
- package/config/base.config.json +2 -1
- package/config/dev.config.json +7 -1
- package/config/www.config.json +25 -22
- package/dist/assets/@mdi/font/css/{materialdesignicons.min-7a4f6be0.css → materialdesignicons.min-680621ca.css} +1 -1
- package/dist/assets/{cesium-cb4dbfba.js → cesium-126f111a.js} +272 -385
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-72f21835.js → core-1c8b8674.js} +1417 -1453
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol-2d33bc8b.js → ol-27f9b3f3.js} +233 -329
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-7214428e.css +1 -0
- package/dist/assets/{ui-2ab43a16.js → ui-7214428e.js} +9573 -9438
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue-c78a5f76.js +6083 -0
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-760ced3b.css → vuetify-88a2fabe.css} +2 -2
- package/dist/assets/{vuetify-760ced3b.js → vuetify-88a2fabe.js} +7672 -7877
- package/dist/assets/vuetify.js +1 -1
- package/index.d.ts +6 -8
- package/index.js +7 -5
- package/package.json +16 -16
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +2 -3
- package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +18 -11
- package/plugins/@vcmap-show-case/search-example/src/index.js +1 -0
- package/plugins/@vcmap-show-case/search-example/src/searchImpl.js +35 -5
- package/plugins/@vcmap-show-case/toolbox-example/src/index.js +2 -1
- package/plugins/package.json +3 -23
- package/public/assets/@mdi/font/css/materialdesignicons.min.css +1 -1
- package/src/actions/StyleSelector.vue +1 -1
- package/src/actions/actionHelper.js +13 -2
- package/src/actions/listActions.d.ts +4 -4
- package/src/actions/listActions.js +2 -2
- package/src/application/VcsApp.vue +96 -31
- package/src/application/VcsApp.vue.d.ts +297 -4
- package/src/application/VcsContainer.vue +26 -9
- package/src/application/VcsContainer.vue.d.ts +237 -0
- package/src/application/VcsMainMap.vue +7 -7
- package/src/application/VcsMainMap.vue.d.ts +2 -2
- package/src/application/VcsNavbar.vue +5 -1
- package/src/application/VcsSplashScreen.vue +24 -26
- package/src/application/VcsTextPageFooter.vue +2 -1
- package/src/components/buttons/VcsActionButtonList.vue +59 -3
- package/src/components/buttons/VcsActionButtonList.vue.d.ts +28 -0
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +15 -13
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +3 -4
- package/src/components/form-inputs-controls/VcsCoordinate.vue +4 -3
- package/src/components/form-inputs-controls/VcsSelect.vue +1 -4
- package/src/components/form-inputs-controls/VcsSlider.vue +0 -1
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +2 -4
- package/src/components/form-inputs-controls/VcsTextArea.vue +1 -4
- package/src/components/form-inputs-controls/VcsTextField.vue +14 -0
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +9 -0
- package/src/components/form-inputs-controls/VcsWizardStep.vue +2 -5
- package/src/components/form-inputs-controls/vcsTextField.scss +1 -4
- package/src/components/form-output/VcsFormattedNumber.vue +6 -4
- package/src/components/form-output/VcsMarkdown.vue +15 -12
- package/src/components/form-output/VcsMarkdown.vue.d.ts +1 -0
- package/src/components/form-output/markdownHelper.d.ts +30 -0
- package/src/components/form-output/markdownHelper.js +398 -0
- package/src/components/import/VcsFileDrop.vue +8 -5
- package/src/components/import/VcsImportComponent.vue +4 -3
- package/src/components/import/VcsImportComponent.vue.d.ts +1 -2
- package/src/components/lists/VcsActionList.vue +4 -0
- package/src/components/lists/VcsList.vue +22 -37
- package/src/components/lists/VcsList.vue.d.ts +14 -55
- package/src/components/lists/{VcsListItem.vue → VcsListItemComponent.vue} +17 -1
- package/src/components/lists/VcsListItemComponent.vue.d.ts +69 -0
- package/src/components/lists/VcsTreeview.vue +43 -16
- package/src/components/lists/VcsTreeview.vue.d.ts +14 -3
- package/src/components/lists/VcsTreeviewLeaf.vue +15 -6
- package/src/components/lists/VcsTreeviewSearchbar.vue +2 -2
- package/src/components/notification/VcsHelp.vue +1 -1
- package/src/components/notification/VcsHelp.vue.d.ts +3 -2
- package/src/components/section/VcsExpansionPanel.vue +2 -2
- package/src/components/section/VcsFormSection.vue +10 -4
- package/src/components/section/VcsFormSection.vue.d.ts +1 -2
- package/src/components/style/VcsTextMenu.vue +1 -1
- package/src/components/style/VcsVectorStyleComponent.vue +1 -1
- package/src/components/tables/VcsDataTable.vue +28 -22
- package/src/components/tables/VcsTable.vue +45 -62
- package/src/components/tables/VcsTable.vue.d.ts +30 -17
- package/src/components/tables/VcsTableCell.vue +72 -0
- package/src/components/tables/VcsTableCell.vue.d.ts +13 -0
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +6 -5
- package/src/components/vector-properties/VcsFeatureTransforms.vue +5 -0
- package/src/components/viewpoint/VcsViewpointComponent.vue +2 -2
- package/src/components/viewpoint/VcsViewpointEditor.vue +2 -2
- package/src/contentTree/LayerTree.vue +9 -27
- package/src/contentTree/LayerTree.vue.d.ts +1 -1
- package/src/contentTree/contentTreeCollection.d.ts +1 -0
- package/src/contentTree/contentTreeCollection.js +45 -11
- package/src/featureInfo/BalloonComponent.vue +14 -15
- package/src/featureInfo/MarkdownBalloonComponent.vue +4 -2
- package/src/featureInfo/MarkdownBalloonComponent.vue.d.ts +2 -2
- package/src/featureInfo/abstractFeatureInfoView.d.ts +6 -0
- package/src/featureInfo/abstractFeatureInfoView.js +15 -7
- package/src/featureInfo/featureInfo.d.ts +5 -5
- package/src/featureInfo/featureInfo.js +51 -31
- package/src/featureInfo/iframeFeatureInfoView.d.ts +8 -2
- package/src/featureInfo/iframeFeatureInfoView.js +15 -5
- package/src/featureInfo/markdownBalloonFeatureInfoView.d.ts +1 -1
- package/src/featureInfo/markdownBalloonFeatureInfoView.js +5 -5
- package/src/featureInfo/markdownFeatureInfoView.d.ts +1 -1
- package/src/featureInfo/markdownFeatureInfoView.js +9 -11
- package/src/featureInfo/tableFeatureInfoView.js +13 -4
- package/src/manager/collectionManager/CollectionComponentList.vue +1 -1
- package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +2 -2
- package/src/manager/collectionManager/collectionComponentClass.d.ts +1 -1
- package/src/manager/collectionManager/collectionComponentClass.js +2 -2
- package/src/manager/collectionManager/editorCollectionComponentClass.js +2 -1
- package/src/manager/panel/PanelComponent.vue +2 -9
- package/src/manager/panel/PanelManagerComponent.vue +7 -3
- package/src/manager/panel/panelHelper.js +3 -3
- package/src/manager/panel/panelManager.d.ts +9 -1
- package/src/manager/panel/panelManager.js +15 -3
- package/src/manager/toolbox/GroupToolboxComponent.vue +8 -4
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/SelectToolboxComponent.vue +7 -4
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/ToolboxManager.vue +9 -6
- package/src/manager/toolbox/ToolboxManager.vue.d.ts +1 -0
- package/src/manager/window/WindowComponent.vue +12 -8
- package/src/manager/window/WindowComponentHeader.vue +29 -8
- package/src/manager/window/WindowComponentHeader.vue.d.ts +2 -0
- package/src/manager/window/WindowManager.vue +2 -2
- package/src/navigation/MapNavigation.vue +20 -0
- package/src/navigation/locatorHelper.js +1 -1
- package/src/navigation/overviewMap.js +1 -1
- package/src/notifier/NotifierComponent.vue +18 -15
- package/src/search/ResultItem.vue +18 -6
- package/src/search/ResultsComponent.vue +31 -20
- package/src/search/ResultsComponent.vue.d.ts +2 -1
- package/src/search/SearchComponent.vue +8 -14
- package/src/search/SearchComponent.vue.d.ts +1 -0
- package/src/siteConfig.js +8 -8
- package/src/styles/_typography.scss +0 -2
- package/src/styles/main.scss +0 -4
- package/src/uiConfig.d.ts +300 -5
- package/src/uiConfig.js +28 -16
- package/src/vcsUiApp.d.ts +7 -7
- package/src/vcsUiApp.js +10 -9
- package/src/vuePlugins/vuetify.js +3 -0
- package/dist/assets/ui-2ab43a16.css +0 -1
- package/dist/assets/vue-03b265aa.js +0 -6096
- package/src/application/markdownHelper.d.ts +0 -12
- package/src/application/markdownHelper.js +0 -70
- package/src/components/lists/VcsListItem.vue.d.ts +0 -27
- package/src/components/notification/VcsTooltip.vue +0 -156
- package/src/components/notification/VcsTooltip.vue.d.ts +0 -27
- package/src/featureInfo/MarkdownComponent.vue +0 -16
- package/src/featureInfo/MarkdownComponent.vue.d.ts +0 -7
- package/src/styles/_theming.scss +0 -73
- package/src/styles/settings.scss +0 -6
- package/src/styles/shades.scss +0 -4
- package/src/styles/variables.scss +0 -140
- package/src/styles/vcsFont.scss +0 -2
- package/src/styles/vcsGrid.scss +0 -3
@@ -1,12 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @param {string} content
|
3
|
-
* @returns {string}
|
4
|
-
*/
|
5
|
-
export function parseAndSanitizeMarkdown(content: string): string;
|
6
|
-
/**
|
7
|
-
* Replaces template strings by provided attributes, e.g. {{myAttribute}}
|
8
|
-
* @param {string|string[]} template
|
9
|
-
* @param {Record<string, unknown>} attributes
|
10
|
-
* @returns {string}
|
11
|
-
*/
|
12
|
-
export function replaceAttributes(template: string | string[], attributes: Record<string, unknown>): string;
|
@@ -1,70 +0,0 @@
|
|
1
|
-
import { marked } from 'marked';
|
2
|
-
import DOMPurify from 'dompurify';
|
3
|
-
|
4
|
-
/**
|
5
|
-
* @param {string} content
|
6
|
-
* @returns {string}
|
7
|
-
*/
|
8
|
-
export function parseAndSanitizeMarkdown(content) {
|
9
|
-
const html = marked.parse(content, { breaks: true });
|
10
|
-
|
11
|
-
// Then sanitize the HTML using DOMPurify
|
12
|
-
return DOMPurify.sanitize(html, { ADD_ATTR: ['target'] });
|
13
|
-
}
|
14
|
-
|
15
|
-
/**
|
16
|
-
* @param {Record<string, unknown>} parent
|
17
|
-
* @param {(string|number)[]} keys
|
18
|
-
* @returns {undefined|T}
|
19
|
-
* @template {*} T
|
20
|
-
*/
|
21
|
-
function findRecursive(parent, keys) {
|
22
|
-
if (keys.length === 1) {
|
23
|
-
return parent[keys[0]];
|
24
|
-
} else {
|
25
|
-
const nextKey = keys.shift();
|
26
|
-
const nextParent = parent[nextKey];
|
27
|
-
if (nextParent) {
|
28
|
-
return findRecursive(nextParent, keys);
|
29
|
-
}
|
30
|
-
}
|
31
|
-
return undefined;
|
32
|
-
}
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Replaces template strings by provided attributes, e.g. {{myAttribute}}
|
36
|
-
* @param {string|string[]} template
|
37
|
-
* @param {Record<string, unknown>} attributes
|
38
|
-
* @returns {string}
|
39
|
-
*/
|
40
|
-
export function replaceAttributes(template, attributes) {
|
41
|
-
const templateString = Array.isArray(template)
|
42
|
-
? template.join('\n')
|
43
|
-
: template;
|
44
|
-
return templateString.replace(/\{\{([^}]+)}}/g, (p, value) => {
|
45
|
-
const keys = value.trim().split('.');
|
46
|
-
|
47
|
-
for (let i = 0; i < keys.length; i++) {
|
48
|
-
let key = keys[i];
|
49
|
-
if (typeof key === 'string') {
|
50
|
-
const indices = [];
|
51
|
-
let arrayIndex = /\[["']?([^\]]+)["']?]$/.exec(key);
|
52
|
-
while (arrayIndex != null) {
|
53
|
-
let bracketKey = arrayIndex[1];
|
54
|
-
if (/^\d+$/.test(bracketKey)) {
|
55
|
-
bracketKey = Number(bracketKey);
|
56
|
-
}
|
57
|
-
indices.push(bracketKey);
|
58
|
-
key = key.substring(0, arrayIndex.index);
|
59
|
-
arrayIndex = /\[["']?([^\]]+)["']?]$/.exec(key);
|
60
|
-
}
|
61
|
-
|
62
|
-
if (indices.length > 0) {
|
63
|
-
keys.splice(i, 1, key, ...indices);
|
64
|
-
}
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
return findRecursive(attributes, keys) ?? '';
|
69
|
-
});
|
70
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
|
2
|
-
$props: {
|
3
|
-
readonly [x: string]: any;
|
4
|
-
};
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
6
|
-
title?(_: {
|
7
|
-
item: any;
|
8
|
-
dragging: any;
|
9
|
-
tooltip: string;
|
10
|
-
}): any;
|
11
|
-
subtitle?(_: {
|
12
|
-
item: any;
|
13
|
-
}): any;
|
14
|
-
default?(_: {
|
15
|
-
item: any;
|
16
|
-
dragging: any;
|
17
|
-
tooltip: string;
|
18
|
-
isActive: boolean;
|
19
|
-
isSelected: boolean;
|
20
|
-
isIndeterminate: boolean;
|
21
|
-
select: (value: boolean) => void;
|
22
|
-
}): any;
|
23
|
-
}>;
|
24
|
-
export default _default;
|
25
|
-
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
26
|
-
$slots: S;
|
27
|
-
});
|
@@ -1,156 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<v-tooltip
|
3
|
-
:disabled="!tooltip"
|
4
|
-
:content-class="`tooltip ${arrowClass}`"
|
5
|
-
transition="expand-x-transition"
|
6
|
-
v-bind="{ ...$props, ...$attrs }"
|
7
|
-
>
|
8
|
-
<template #activator="{ props }">
|
9
|
-
<slot name="activator" v-bind="props" />
|
10
|
-
</template>
|
11
|
-
<span v-if="tooltip">{{ $st(tooltip) }}</span>
|
12
|
-
</v-tooltip>
|
13
|
-
</template>
|
14
|
-
<style lang="scss" scoped>
|
15
|
-
//.v-tooltip__content.tooltip {
|
16
|
-
// border: 1px solid black;
|
17
|
-
// border-radius: 0;
|
18
|
-
// background-color: #222222;
|
19
|
-
//
|
20
|
-
//&.arrow-top {
|
21
|
-
// transform: translateY(-6px);
|
22
|
-
//
|
23
|
-
//&::after, &::before {
|
24
|
-
// bottom: 100%;
|
25
|
-
// left: 50%;
|
26
|
-
// border: solid transparent;
|
27
|
-
// content: "";
|
28
|
-
// height: 0;
|
29
|
-
// width: 0;
|
30
|
-
// position: absolute;
|
31
|
-
// pointer-events: none;
|
32
|
-
// }
|
33
|
-
//
|
34
|
-
//&::before {
|
35
|
-
// border-color: rgba(194, 225, 245, 0);
|
36
|
-
// border-bottom-color: black;
|
37
|
-
// border-width: 5px;
|
38
|
-
// margin-left: -5px;
|
39
|
-
// }
|
40
|
-
//}
|
41
|
-
//
|
42
|
-
//&.arrow-bottom {
|
43
|
-
// transform: translateY(6px);
|
44
|
-
//
|
45
|
-
//&::after, &::before {
|
46
|
-
// top: 100%;
|
47
|
-
// left: 50%;
|
48
|
-
// border: solid transparent;
|
49
|
-
// content: "";
|
50
|
-
// height: 0;
|
51
|
-
// width: 0;
|
52
|
-
// position: absolute;
|
53
|
-
// pointer-events: none;
|
54
|
-
// }
|
55
|
-
//
|
56
|
-
//&::before {
|
57
|
-
// border-color: rgba(194, 225, 245, 0);
|
58
|
-
// border-top-color: black;
|
59
|
-
// border-width: 5px;
|
60
|
-
// margin-left: -5px;
|
61
|
-
// }
|
62
|
-
//}
|
63
|
-
//
|
64
|
-
//&.arrow-right {
|
65
|
-
//&::after, &::before {
|
66
|
-
// top: 50%;
|
67
|
-
// right: -11px;
|
68
|
-
// transform: translateY(-50%);
|
69
|
-
// border: solid transparent;
|
70
|
-
// content: "";
|
71
|
-
// height: 0;
|
72
|
-
// width: 0;
|
73
|
-
// position: absolute;
|
74
|
-
// pointer-events: none;
|
75
|
-
// }
|
76
|
-
//
|
77
|
-
//&::before {
|
78
|
-
// border-color: rgba(255, 0, 0, 0);
|
79
|
-
// border-left-color: black;
|
80
|
-
// border-width: 5px;
|
81
|
-
// margin-left: -5px;
|
82
|
-
// }
|
83
|
-
//}
|
84
|
-
//
|
85
|
-
//&.arrow-left {
|
86
|
-
//
|
87
|
-
//&::after, &::before {
|
88
|
-
// top: 50%;
|
89
|
-
// left: -11px;
|
90
|
-
// transform: translateY(-50%);
|
91
|
-
// border: solid transparent;
|
92
|
-
// content: "";
|
93
|
-
// height: 0;
|
94
|
-
// width: 0;
|
95
|
-
// position: absolute;
|
96
|
-
// pointer-events: none;
|
97
|
-
// }
|
98
|
-
//
|
99
|
-
//&::before {
|
100
|
-
// border-color: rgba(194, 225, 245, 0);
|
101
|
-
// border-right-color: black;
|
102
|
-
// border-width: 5px;
|
103
|
-
// }
|
104
|
-
//}
|
105
|
-
//}
|
106
|
-
</style>
|
107
|
-
<script>
|
108
|
-
import { VTooltip } from 'vuetify/components';
|
109
|
-
|
110
|
-
/**
|
111
|
-
* @enum {string} TooltipPositions
|
112
|
-
* @property {string} bottom
|
113
|
-
* @property {string} left
|
114
|
-
* @property {string} top
|
115
|
-
* @property {string} right
|
116
|
-
* @readonly
|
117
|
-
* @module VcsTooltip
|
118
|
-
*/
|
119
|
-
const TooltipPositions = {
|
120
|
-
bottom: 'arrow-top',
|
121
|
-
top: 'arrow-bottom',
|
122
|
-
left: 'arrow-right',
|
123
|
-
right: 'arrow-left',
|
124
|
-
};
|
125
|
-
|
126
|
-
/**
|
127
|
-
* @description tooltip extending {@link https://vuetifyjs.com/en/api/v-tooltip/|vuetify v-tooltip}.
|
128
|
-
* @vue-prop {string} tooltip - Text content of a tooltip which appears on hover with default delay. This should be an i18n key.
|
129
|
-
* @vue-prop {string} [tooltipPosition='bottom'] - Position of the tooltip (allowed values: 'bottom'|'left'|'top'|'right').
|
130
|
-
* @vue-computed {string} arrowClass - direction of tooltip arrow
|
131
|
-
*/
|
132
|
-
export default {
|
133
|
-
name: 'VcsTooltip',
|
134
|
-
components: {
|
135
|
-
VTooltip,
|
136
|
-
},
|
137
|
-
props: {
|
138
|
-
tooltip: {
|
139
|
-
type: String,
|
140
|
-
default: undefined,
|
141
|
-
},
|
142
|
-
tooltipPosition: {
|
143
|
-
type: String,
|
144
|
-
default: 'bottom',
|
145
|
-
validator(value) {
|
146
|
-
return Object.keys(TooltipPositions).includes(value);
|
147
|
-
},
|
148
|
-
},
|
149
|
-
},
|
150
|
-
computed: {
|
151
|
-
arrowClass() {
|
152
|
-
return TooltipPositions[this.tooltipPosition];
|
153
|
-
},
|
154
|
-
},
|
155
|
-
};
|
156
|
-
</script>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
2
|
-
tooltip: {
|
3
|
-
type: StringConstructor;
|
4
|
-
default: undefined;
|
5
|
-
};
|
6
|
-
tooltipPosition: {
|
7
|
-
type: StringConstructor;
|
8
|
-
default: string;
|
9
|
-
validator(value: unknown): boolean;
|
10
|
-
};
|
11
|
-
}, any, any, {
|
12
|
-
arrowClass(): any;
|
13
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
14
|
-
tooltip: {
|
15
|
-
type: StringConstructor;
|
16
|
-
default: undefined;
|
17
|
-
};
|
18
|
-
tooltipPosition: {
|
19
|
-
type: StringConstructor;
|
20
|
-
default: string;
|
21
|
-
validator(value: unknown): boolean;
|
22
|
-
};
|
23
|
-
}>>, {
|
24
|
-
tooltip: string;
|
25
|
-
tooltipPosition: string;
|
26
|
-
}, {}>;
|
27
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
2
|
-
html: string;
|
3
|
-
$props: {
|
4
|
-
readonly html?: string | undefined;
|
5
|
-
};
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
7
|
-
export default _default;
|
package/src/styles/_theming.scss
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
.v-application .base {
|
2
|
-
background-color: var(--v-base-base) !important;
|
3
|
-
border-color: var(--v-base-base) !important;
|
4
|
-
}
|
5
|
-
.v-application .base.lighten-1 {
|
6
|
-
background-color: var(--v-base-lighten1) !important;
|
7
|
-
border-color: var(--v-base-lighten1) !important;
|
8
|
-
}
|
9
|
-
.v-application .base.lighten-2 {
|
10
|
-
background-color: var(--v-base-lighten2) !important;
|
11
|
-
border-color: var(--v-base-lighten2) !important;
|
12
|
-
}
|
13
|
-
.v-application .base.lighten-3 {
|
14
|
-
background-color: var(--v-base-lighten3) !important;
|
15
|
-
border-color: var(--v-base-lighten3) !important;
|
16
|
-
}
|
17
|
-
.v-application .base.lighten-4 {
|
18
|
-
background-color: var(--v-base-lighten4) !important;
|
19
|
-
border-color: var(--v-base-lighten4) !important;
|
20
|
-
}
|
21
|
-
.v-application .base.darken-1 {
|
22
|
-
background-color: var(--v-base-darken1) !important;
|
23
|
-
border-color: var(--v-base-darken1) !important;
|
24
|
-
}
|
25
|
-
.v-application .base.darken-2 {
|
26
|
-
background-color: var(--v-base-darken2) !important;
|
27
|
-
border-color: var(--v-base-darken2) !important;
|
28
|
-
}
|
29
|
-
.v-application .base.darken-3 {
|
30
|
-
background-color: var(--v-base-darken3) !important;
|
31
|
-
border-color: var(--v-base-darken3) !important;
|
32
|
-
}
|
33
|
-
.v-application .base.darken-4 {
|
34
|
-
background-color: var(--v-base-darken4) !important;
|
35
|
-
border-color: var(--v-base-darken4) !important;
|
36
|
-
}
|
37
|
-
|
38
|
-
.v-application .base--text {
|
39
|
-
color: var(--v-base-base) !important;
|
40
|
-
caret-color: var(--v-base-base) !important;
|
41
|
-
}
|
42
|
-
.v-application .base--text.text--lighten-1 {
|
43
|
-
color: var(--v-base-lighten1) !important;
|
44
|
-
caret-color: var(--v-base-lighten1) !important;
|
45
|
-
}
|
46
|
-
.v-application .base--text.text--lighten-2 {
|
47
|
-
color: var(--v-base-lighten2) !important;
|
48
|
-
caret-color: var(--v-base-lighten2) !important;
|
49
|
-
}
|
50
|
-
.v-application .base--text.text--lighten-3 {
|
51
|
-
color: var(--v-base-lighten3) !important;
|
52
|
-
caret-color: var(--v-base-lighten3) !important;
|
53
|
-
}
|
54
|
-
.v-application .base--text.text--lighten-4 {
|
55
|
-
color: var(--v-base-lighten4) !important;
|
56
|
-
caret-color: var(--v-base-lighten4) !important;
|
57
|
-
}
|
58
|
-
.v-application .base--text.text--darken-1 {
|
59
|
-
color: var(--v-base-darken1) !important;
|
60
|
-
caret-color: var(--v-base-darken1) !important;
|
61
|
-
}
|
62
|
-
.v-application .base--text.text--darken-2 {
|
63
|
-
color: var(--v-base-darken2) !important;
|
64
|
-
caret-color: var(--v-base-darken2) !important;
|
65
|
-
}
|
66
|
-
.v-application .base--text.text--darken-3 {
|
67
|
-
color: var(--v-base-darken3) !important;
|
68
|
-
caret-color: var(--v-base-darken3) !important;
|
69
|
-
}
|
70
|
-
.v-application .base--text.text--darken-4 {
|
71
|
-
color: var(--v-base-darken4) !important;
|
72
|
-
caret-color: var(--v-base-darken4) !important;
|
73
|
-
}
|
package/src/styles/settings.scss
DELETED
package/src/styles/shades.scss
DELETED
@@ -1,140 +0,0 @@
|
|
1
|
-
@import 'shades.scss';
|
2
|
-
@import 'vcsFont.scss';
|
3
|
-
|
4
|
-
/** Global **/
|
5
|
-
$font-size: $vcs-font-size;
|
6
|
-
$font-size-root: $vcs-font-size;
|
7
|
-
|
8
|
-
$material-dark: (
|
9
|
-
'background': map-get($shades, 'black'),
|
10
|
-
'cards': map-get($shades, 'black'),
|
11
|
-
'text-fields': (
|
12
|
-
'outlined': var(--v-base-base),
|
13
|
-
'outlined-hover': var(--v-base-base),
|
14
|
-
),
|
15
|
-
'input-bottom-line': var(--v-base-base),
|
16
|
-
'dividers': var(--v-base-lighten2),
|
17
|
-
//'toolbar': rgba(map-get($shades, 'black'), 0.8),
|
18
|
-
'table':
|
19
|
-
(
|
20
|
-
'hover': var(--v-base-lighten4),
|
21
|
-
),
|
22
|
-
);
|
23
|
-
$material-light: (
|
24
|
-
'text-fields': (
|
25
|
-
'outlined': var(--v-base-base),
|
26
|
-
'outlined-hover': var(--v-base-base),
|
27
|
-
),
|
28
|
-
'input-bottom-line': var(--v-base-base),
|
29
|
-
'text': (
|
30
|
-
'primary': map-get($shades, 'black'),
|
31
|
-
'disabled': rgba(map-get($shades, 'black'), 0.3),
|
32
|
-
),
|
33
|
-
'buttons': (
|
34
|
-
'disabled': rgba(map-get($shades, 'black'), 0.5),
|
35
|
-
),
|
36
|
-
'dividers': var(--v-base-lighten2),
|
37
|
-
//'toolbar': rgba(map-get($shades, 'white'), 0.8),
|
38
|
-
'table':
|
39
|
-
(
|
40
|
-
'hover': var(--v-base-lighten4),
|
41
|
-
),
|
42
|
-
);
|
43
|
-
|
44
|
-
// input font and icon
|
45
|
-
$input-font-size: $font-size;
|
46
|
-
$input-icon-height: 16px; // 24px !default;
|
47
|
-
$input-icon-width: 16px; // 24px !default;
|
48
|
-
$input-icon-min-width: 16px; // 24px !default;
|
49
|
-
$input-icon-font-size: 16px;
|
50
|
-
|
51
|
-
/** VcsTextfield **/
|
52
|
-
|
53
|
-
// height, size and padding
|
54
|
-
$text-field-padding: 2px 0 1px; //8px 0 8px !default;
|
55
|
-
$text-field-filled-full-width-outlined-slot-min-height: 32px; // 56px !default;
|
56
|
-
$text-field-filled-full-width-outlined-single-line-slot-min-height: 24px; //40px !default;
|
57
|
-
$text-field-solo-control-min-height: 30px; //48px !default;
|
58
|
-
$text-field-solo-dense-control-min-height: 22px; //38px !default;
|
59
|
-
$text-field-outlined-fieldset-border: 1px solid currentColor; // 2px solid currentColor !default;
|
60
|
-
|
61
|
-
// dense non outlined
|
62
|
-
$text-field-dense-padding: 2px 0 1px; //4px 0 2px !default;
|
63
|
-
|
64
|
-
// clear icon non dense
|
65
|
-
$text-field-enclosed-prepend-append-margin-top: 9px;
|
66
|
-
|
67
|
-
// tooltip icon in append slot
|
68
|
-
$text-field-outlined-append-prepend-outer-margin-top: 4px; // 18px !default;
|
69
|
-
$text-field-append-prepend-margin: 0; // 4px !default;
|
70
|
-
$text-field-outlined-prepend-append-margin-top: 4px; // 8px !default;
|
71
|
-
|
72
|
-
// label position for outlined Label dense and non-dense
|
73
|
-
$text-field-outlined-label-position-x: 6px;
|
74
|
-
$text-field-outlined-label-position-y: -14px;
|
75
|
-
$text-field-outlined-dense-label-position-x: 2px;
|
76
|
-
$text-field-outlined-dense-label-position-y: -10px;
|
77
|
-
$label-font-size: $font-size; // 1rem !default;
|
78
|
-
$text-field-label-top: 2px; // 6px !default;
|
79
|
-
$text-field-label-active-transform: translateY(-14px) scale(0.75); //translateY(-18px) scale(.75) !default;
|
80
|
-
|
81
|
-
/** VcsTextarea **/
|
82
|
-
$textarea-box-enclosed-single-outlined-margin-top: 0; // 10px !default;
|
83
|
-
$textarea-dense-box-enclosed-single-outlined-margin-top: 0; // 6px !default;
|
84
|
-
|
85
|
-
/** VcsCheckbox **/
|
86
|
-
$icon-size: 20px; // 24px !default;
|
87
|
-
$icon-size-dense: 16px; // 20px !default;
|
88
|
-
|
89
|
-
/** VcsSelect **/
|
90
|
-
$select-dense-selections-margin: 4px 4px 3px 0; // 5px 4px 3px 0 !default;
|
91
|
-
|
92
|
-
// list box
|
93
|
-
$list-padding: 0 0; // 8px 0 !default;
|
94
|
-
$list-item-title-font-size: $font-size; // map-deep-get($headings, 'subtitle-1', 'size') !default;
|
95
|
-
$list-item-dense-title-font-size: $font-size; // 0.8125rem !default;
|
96
|
-
$list-item-dense-title-line-height: 24px; // 1rem !default;
|
97
|
-
$list-item-title-subtitle-line-height: 24px; // 1.2 !default;
|
98
|
-
$list-dense-subheader-height: 32px; // 40px !default;
|
99
|
-
$list-item-min-height: 32px; // 48px !default;
|
100
|
-
$list-dense-min-height: 24px; // 40px !default;
|
101
|
-
$list-item-content-padding: 4px 0; // 12px 0 !default;
|
102
|
-
$list-dense-content-padding: 0 0; // 8px 0 !default;
|
103
|
-
$list-item-action-icon-margin: 0; //32px !default;
|
104
|
-
$list-item-action-margin: 0 0; // 12px 0 !default;
|
105
|
-
$list-item-icon-margin: auto 0; // 16px 0 !default;
|
106
|
-
$list-item-content-children-margin-bottom: 0; // 2px !default;
|
107
|
-
|
108
|
-
/** Treeview **/
|
109
|
-
$treeview-node-level-width: 16px;
|
110
|
-
$treeview-node-margin: 4px;
|
111
|
-
$treeview-node-height: 32px; // 48px !default;
|
112
|
-
|
113
|
-
/** Expansion Panel **/
|
114
|
-
$expansion-panel-header-min-height: 32px; // 48px !default;
|
115
|
-
$expansion-panel-active-header-min-height: 32px; // 64px !default;
|
116
|
-
$expansion-panel-header-padding: 6px 0; // 16px 24px !default;
|
117
|
-
$expansion-panel-content-padding: 0 0 4px; // 0 24px 16px !default;
|
118
|
-
|
119
|
-
/** Footer **/
|
120
|
-
$footer-padding: 0 8px; // 6px 16px !default;
|
121
|
-
|
122
|
-
/** Wizard **/
|
123
|
-
$stepper-vertical-padding-bottom: 16px; // 36px !default;
|
124
|
-
$stepper-vertical-step-padding: 12px 8px;
|
125
|
-
$stepper-vertical-content-ltr-margin: -14px 0 -14px 13px; // -8px -36px -16px 36px !default;
|
126
|
-
$stepper-vertical-content-ltr-padding: 16px 8px 16px 16px; // 16px 23px 16px 60px !default;
|
127
|
-
$stepper-vertical-step-step-margin: 8px;
|
128
|
-
$stepper-step-step-min-width: 12px;
|
129
|
-
$stepper-step-step-width: 12px;
|
130
|
-
$stepper-step-step-height: 12px;
|
131
|
-
|
132
|
-
/** Snackbar **/
|
133
|
-
$snackbar-bottom: 36px;
|
134
|
-
$snackbar-background-color: rgba(0, 0, 0, 0.8);
|
135
|
-
$snackbar-content-padding: 8px;
|
136
|
-
$snackbar-action-margin: 8px;
|
137
|
-
$snackbar-wrapper-min-height: 36px;
|
138
|
-
|
139
|
-
/** Datatable **/
|
140
|
-
$data-table-regular-row-font-size: $font-size;
|
package/src/styles/vcsFont.scss
DELETED
package/src/styles/vcsGrid.scss
DELETED