@mptw/skylens-ui 1.5.11 → 1.5.13
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/app/app.config.ts +2 -11
- package/app/app.vue +25 -2
- package/app/assets/css/icons.css +10 -8
- package/app/assets/css/layout.css +1 -1
- package/app/assets/css/main.css +159 -155
- package/app/components/SLAlertModal.vue +1 -1
- package/app/components/SLBreadcrumbs.vue +1 -1
- package/app/components/SLButton.vue +1 -1
- package/app/components/SLCalendarButton.vue +4 -4
- package/app/components/SLCalendarPopup.vue +4 -4
- package/app/components/SLCard.vue +1 -1
- package/app/components/SLChart.vue +1 -1
- package/app/components/SLCheckbox.vue +3 -3
- package/app/components/SLCircleButton.vue +1 -1
- package/app/components/SLCollapsableBlock.vue +1 -1
- package/app/components/SLCollapsableMulitPillSelect.vue +2 -2
- package/app/components/SLConfirmModal.vue +1 -1
- package/app/components/SLContextMenu.vue +3 -3
- package/app/components/SLDateInput.vue +2 -2
- package/app/components/SLDatePicker.vue +2 -2
- package/app/components/SLDownloadButton.vue +3 -3
- package/app/components/SLDropdown.vue +1 -1
- package/app/components/SLDropdownItem.vue +1 -1
- package/app/components/SLElementWithTitle.vue +1 -1
- package/app/components/SLEyeCheckbox.vue +2 -2
- package/app/components/SLFileInput.vue +2 -2
- package/app/components/SLGenderAgeSelect.vue +2 -2
- package/app/components/SLHourRangeInput.vue +2 -2
- package/app/components/SLIOSSwitch.vue +2 -2
- package/app/components/SLIconButton.vue +1 -1
- package/app/components/SLInfoTip.vue +1 -1
- package/app/components/SLInsightSitePage.vue +1 -1
- package/app/components/SLLegend.vue +2 -2
- package/app/components/SLLinearProgressBar.vue +1 -1
- package/app/components/SLLink.vue +1 -1
- package/app/components/SLLoading.vue +1 -1
- package/app/components/SLMapChart.vue +1 -1
- package/app/components/SLModal.vue +1 -1
- package/app/components/SLMonthCalendarButton.vue +2 -2
- package/app/components/SLMonthPicker.vue +1 -1
- package/app/components/SLMultiEmailInput.vue +2 -2
- package/app/components/SLMultiSelect.vue +2 -2
- package/app/components/SLNoData.vue +2 -2
- package/app/components/SLNotification.vue +1 -1
- package/app/components/SLPageModal.vue +1 -1
- package/app/components/SLPagination.vue +1 -1
- package/app/components/SLPillCheckbox.vue +2 -2
- package/app/components/SLPillLabel.vue +1 -1
- package/app/components/SLPopupMenuButton.vue +2 -2
- package/app/components/SLProfileButton.vue +1 -1
- package/app/components/SLProjectShareItem.vue +2 -2
- package/app/components/SLRadioButton.vue +2 -2
- package/app/components/SLRadioButtonGroup.vue +2 -2
- package/app/components/SLRadioGroup.vue +3 -3
- package/app/components/SLRangeInput.vue +1 -1
- package/app/components/SLRightSider.vue +1 -1
- package/app/components/SLSearchInput.vue +1 -1
- package/app/components/SLSelect.vue +3 -3
- package/app/components/SLSelectAllToggle.vue +1 -1
- package/app/components/SLSidebarNav.vue +7 -7
- package/app/components/SLSidebarNavGroupItem.vue +2 -2
- package/app/components/SLSidebarNavGroupItemSection.vue +2 -2
- package/app/components/SLSidebarNavLinkItem.vue +5 -2
- package/app/components/SLSidebarNavSectionItem.vue +2 -2
- package/app/components/SLSitePage.vue +1 -1
- package/app/components/SLSkyInsightSitePage.vue +1 -1
- package/app/components/SLSortByDropdown.vue +2 -2
- package/app/components/SLSpinIcon.vue +1 -1
- package/app/components/SLStayRangeInput.vue +3 -3
- package/app/components/SLTable.vue +3 -3
- package/app/components/SLTableTooltip.vue +4 -4
- package/app/components/SLTabs.vue +1 -1
- package/app/components/SLTextInput.vue +2 -2
- package/app/components/SLTextarea.vue +2 -2
- package/app/components/SLToast.vue +1 -1
- package/app/components/SLToggleButton.vue +1 -1
- package/app/components/SLTwoLayerMultiSelect.vue +1 -1
- package/app/components/SLTwoLayerSelect.vue +1 -1
- package/app/components/SLTwoLayerSingleSelect.vue +1 -1
- package/app/components/SLWarnModal.vue +1 -1
- package/app/models/DateRange.ts +1 -1
- package/app/utils/index.ts +3 -3
- package/nuxt.config.ts +8 -7
- package/package.json +9 -8
|
@@ -31,8 +31,8 @@ import { fromEvent, type Subscription } from "rxjs";
|
|
|
31
31
|
import { createPopper } from "@popperjs/core";
|
|
32
32
|
import type { Instance as PopperInstance, Placement } from "@popperjs/core";
|
|
33
33
|
import ExcelJS from "exceljs";
|
|
34
|
-
import { downloadURL, downloadBlob, gaev, ga4ev } from "~
|
|
35
|
-
import type IDateRange from "~
|
|
34
|
+
import { downloadURL, downloadBlob, gaev, ga4ev } from "~uiApp/utils";
|
|
35
|
+
import type IDateRange from "~uiApp/interface/IDateRange";
|
|
36
36
|
import WatermarkImage from "~public/assets/images/commons/watermark-2.svg";
|
|
37
37
|
|
|
38
38
|
// http://www.excelcodex.com/2012/06/worksheets-naming-conventions/
|
|
@@ -274,7 +274,7 @@ export default defineComponent({
|
|
|
274
274
|
</script>
|
|
275
275
|
|
|
276
276
|
<style>
|
|
277
|
-
@reference '~
|
|
277
|
+
@reference '~uiApp/assets/css/main.css';
|
|
278
278
|
|
|
279
279
|
.download-button {
|
|
280
280
|
@apply inline-block;
|
|
@@ -23,7 +23,7 @@ export default defineComponent({
|
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
25
|
<style>
|
|
26
|
-
@reference '~
|
|
26
|
+
@reference '~uiApp/assets/css/main.css';
|
|
27
27
|
|
|
28
28
|
.dropdown-item {
|
|
29
29
|
@apply block p-2 bg-white text-sm text-primary whitespace-nowrap hover:text-primary hover:bg-primary-50 focus:text-primary focus:bg-primary-50 active:text-primary active:bg-primary-50;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
<script lang="ts">
|
|
20
20
|
import { isEqual } from "lodash-es";
|
|
21
|
-
import { getUID } from "~
|
|
21
|
+
import { getUID } from "~uiApp/utils";
|
|
22
22
|
|
|
23
23
|
export default defineComponent({
|
|
24
24
|
name: "SLEyeCheckbox",
|
|
@@ -119,7 +119,7 @@ export default defineComponent({
|
|
|
119
119
|
</script>
|
|
120
120
|
|
|
121
121
|
<style>
|
|
122
|
-
@reference '~
|
|
122
|
+
@reference '~uiApp/assets/css/main.css';
|
|
123
123
|
|
|
124
124
|
.eye-checkbox {
|
|
125
125
|
@apply inline-block relative text-base align-top overflow-hidden;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script lang="ts">
|
|
16
|
-
import { getUID } from "~
|
|
16
|
+
import { getUID } from "~uiApp/utils";
|
|
17
17
|
|
|
18
18
|
export default defineComponent({
|
|
19
19
|
name: "SLFileInput",
|
|
@@ -79,7 +79,7 @@ export default defineComponent({
|
|
|
79
79
|
</script>
|
|
80
80
|
|
|
81
81
|
<style>
|
|
82
|
-
@reference '~
|
|
82
|
+
@reference '~uiApp/assets/css/main.css';
|
|
83
83
|
|
|
84
84
|
.custom-file-input {
|
|
85
85
|
@apply inline-flex items-center space-x-3.5;
|
|
@@ -42,7 +42,7 @@ import type { PropType } from "vue";
|
|
|
42
42
|
import { fromEvent, type Subscription } from "rxjs";
|
|
43
43
|
import { createPopper } from "@popperjs/core";
|
|
44
44
|
import type { Instance as PopperInstance } from "@popperjs/core";
|
|
45
|
-
import { AGE_RANGE_NAME } from "~
|
|
45
|
+
import { AGE_RANGE_NAME } from "~uiApp/utils/constants";
|
|
46
46
|
|
|
47
47
|
export default defineComponent({
|
|
48
48
|
name: "SLGenderAgeSelect",
|
|
@@ -235,7 +235,7 @@ export default defineComponent({
|
|
|
235
235
|
</script>
|
|
236
236
|
|
|
237
237
|
<style>
|
|
238
|
-
@reference '~
|
|
238
|
+
@reference '~uiApp/assets/css/main.css';
|
|
239
239
|
|
|
240
240
|
.gender-age-select {
|
|
241
241
|
@apply relative inline-flex;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
<script lang="ts">
|
|
35
35
|
import type { PropType } from "vue";
|
|
36
|
-
import type IHourRange from "~
|
|
36
|
+
import type IHourRange from "~uiApp/interface/IHourRange";
|
|
37
37
|
|
|
38
38
|
export default defineComponent({
|
|
39
39
|
name: "SLHourRangeInput",
|
|
@@ -167,7 +167,7 @@ export default defineComponent({
|
|
|
167
167
|
</script>
|
|
168
168
|
|
|
169
169
|
<style>
|
|
170
|
-
@reference '~
|
|
170
|
+
@reference '~uiApp/assets/css/main.css';
|
|
171
171
|
|
|
172
172
|
.hour-range-input.inline {
|
|
173
173
|
@apply flex;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</template>
|
|
17
17
|
|
|
18
18
|
<script lang="ts">
|
|
19
|
-
import { getUID } from "~
|
|
19
|
+
import { getUID } from "~uiApp/utils";
|
|
20
20
|
|
|
21
21
|
export default defineComponent({
|
|
22
22
|
name: "SLIOSSwitch",
|
|
@@ -170,7 +170,7 @@ export default defineComponent({
|
|
|
170
170
|
</script>
|
|
171
171
|
|
|
172
172
|
<style>
|
|
173
|
-
@reference '~
|
|
173
|
+
@reference '~uiApp/assets/css/main.css';
|
|
174
174
|
|
|
175
175
|
.ios-switch {
|
|
176
176
|
@apply inline-block relative overflow-hidden;
|
|
@@ -100,7 +100,7 @@ export default defineComponent({
|
|
|
100
100
|
</script>
|
|
101
101
|
|
|
102
102
|
<style scoped>
|
|
103
|
-
@reference '~
|
|
103
|
+
@reference '~uiApp/assets/css/main.css';
|
|
104
104
|
|
|
105
105
|
.icon-btn {
|
|
106
106
|
@apply inline-flex flex-nowrap justify-start items-center p-[0.59375rem] border rounded-full text-base text-white overflow-hidden transition-[width] duration-300;
|
|
@@ -181,7 +181,7 @@ export default defineComponent({
|
|
|
181
181
|
</script>
|
|
182
182
|
|
|
183
183
|
<style>
|
|
184
|
-
@reference '~
|
|
184
|
+
@reference '~uiApp/assets/css/main.css';
|
|
185
185
|
|
|
186
186
|
.info-tip {
|
|
187
187
|
@apply inline-flex ml-2 text-base leading-4.5 text-primary hover:text-primary-600 cursor-default;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
<script lang="ts">
|
|
26
26
|
import type { PropType } from "vue";
|
|
27
|
-
import type ILegendItem from "~
|
|
27
|
+
import type ILegendItem from "~uiApp/interface/ILegendItem";
|
|
28
28
|
|
|
29
29
|
export default defineComponent({
|
|
30
30
|
name: "SLLegend",
|
|
@@ -59,7 +59,7 @@ export default defineComponent({
|
|
|
59
59
|
</script>
|
|
60
60
|
|
|
61
61
|
<style>
|
|
62
|
-
@reference '~
|
|
62
|
+
@reference '~uiApp/assets/css/main.css';
|
|
63
63
|
|
|
64
64
|
.chart-legend {
|
|
65
65
|
@apply text-center;
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
} from "date-fns";
|
|
62
62
|
import { createPopper } from "@popperjs/core";
|
|
63
63
|
import type { Instance as PopperInstance } from "@popperjs/core";
|
|
64
|
-
import { gaev, ga4ev } from "~
|
|
64
|
+
import { gaev, ga4ev } from "~uiApp/utils";
|
|
65
65
|
|
|
66
66
|
export default defineComponent({
|
|
67
67
|
name: "SLMonthCalendarButton",
|
|
@@ -331,7 +331,7 @@ export default defineComponent({
|
|
|
331
331
|
</script>
|
|
332
332
|
|
|
333
333
|
<style lang="css" scoped>
|
|
334
|
-
@reference '~
|
|
334
|
+
@reference '~uiApp/assets/css/main.css';
|
|
335
335
|
|
|
336
336
|
.month-calendar-button {
|
|
337
337
|
@apply inline-flex;
|
|
@@ -112,7 +112,7 @@ import Swiper from "swiper";
|
|
|
112
112
|
import { FreeMode, Scrollbar, Mousewheel } from "swiper/modules";
|
|
113
113
|
import "swiper/css";
|
|
114
114
|
import "swiper/css/scrollbar";
|
|
115
|
-
import { OrgUserRole } from "~
|
|
115
|
+
import { OrgUserRole } from "~uiApp/interface/IOrganization";
|
|
116
116
|
|
|
117
117
|
export default defineComponent({
|
|
118
118
|
name: "SLMultiEmailInput",
|
|
@@ -606,7 +606,7 @@ export default defineComponent({
|
|
|
606
606
|
</script>
|
|
607
607
|
|
|
608
608
|
<style scoped>
|
|
609
|
-
@reference '~
|
|
609
|
+
@reference '~uiApp/assets/css/main.css';
|
|
610
610
|
|
|
611
611
|
.multi-email-input {
|
|
612
612
|
@apply flex flex-col;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<script lang="ts">
|
|
17
17
|
import type { PropType } from "vue";
|
|
18
18
|
import { isEqual } from "lodash-es";
|
|
19
|
-
import type IInputOption from "~
|
|
19
|
+
import type IInputOption from "~uiApp/interface/IInputOption";
|
|
20
20
|
|
|
21
21
|
export default defineComponent({
|
|
22
22
|
name: "SLMultiSelect",
|
|
@@ -86,7 +86,7 @@ export default defineComponent({
|
|
|
86
86
|
</script>
|
|
87
87
|
|
|
88
88
|
<style>
|
|
89
|
-
@reference '~
|
|
89
|
+
@reference '~uiApp/assets/css/main.css';
|
|
90
90
|
|
|
91
91
|
.custom-multi-select {
|
|
92
92
|
@apply px-3 py-1 border border-primary-500 rounded;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template lang="pug">
|
|
2
2
|
.no-data(:class='{ "no-data--sm": size === "sm" }')
|
|
3
|
-
img(src="
|
|
3
|
+
img(src="@@uiAppImage/commons/empty-box.png")
|
|
4
4
|
.no-data-title {{ title }}
|
|
5
5
|
.no-data-reason(v-if='reason') 可能的原因:{{ reason }}
|
|
6
6
|
</template>
|
|
@@ -28,7 +28,7 @@ export default defineComponent({
|
|
|
28
28
|
</script>
|
|
29
29
|
|
|
30
30
|
<style scoped>
|
|
31
|
-
@reference '~
|
|
31
|
+
@reference '~uiApp/assets/css/main.css';
|
|
32
32
|
|
|
33
33
|
.no-data {
|
|
34
34
|
@apply flex flex-col items-center w-full py-8 px-4 space-y-3 bg-white rounded-lg;
|
|
@@ -143,7 +143,7 @@ export default defineComponent({
|
|
|
143
143
|
</script>
|
|
144
144
|
|
|
145
145
|
<style lang="css">
|
|
146
|
-
@reference '~
|
|
146
|
+
@reference '~uiApp/assets/css/main.css';
|
|
147
147
|
|
|
148
148
|
.notification {
|
|
149
149
|
@apply z-100 fixed top-0 left-0 w-full h-full pointer-events-none;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<script lang="ts">
|
|
17
17
|
import type { PropType } from "vue";
|
|
18
18
|
import { isEqual } from "lodash-es";
|
|
19
|
-
import { getUID } from "~
|
|
19
|
+
import { getUID } from "~uiApp/utils";
|
|
20
20
|
|
|
21
21
|
export default defineComponent({
|
|
22
22
|
name: "SLPillCheckbox",
|
|
@@ -140,7 +140,7 @@ export default defineComponent({
|
|
|
140
140
|
</script>
|
|
141
141
|
|
|
142
142
|
<style>
|
|
143
|
-
@reference '~
|
|
143
|
+
@reference '~uiApp/assets/css/main.css';
|
|
144
144
|
|
|
145
145
|
.pill-checkbox {
|
|
146
146
|
@apply inline-block relative;
|
|
@@ -25,7 +25,7 @@ import type { PropType } from "vue";
|
|
|
25
25
|
import { fromEvent } from "rxjs";
|
|
26
26
|
import { createPopper } from "@popperjs/core";
|
|
27
27
|
import type { Options as PopperOptions } from "@popperjs/core";
|
|
28
|
-
import type IPopupMenuButton from "~
|
|
28
|
+
import type IPopupMenuButton from "~uiApp/interface/IPopupMenuButton";
|
|
29
29
|
|
|
30
30
|
export default defineComponent({
|
|
31
31
|
name: "SLPopupMenuButton",
|
|
@@ -134,7 +134,7 @@ export default defineComponent({
|
|
|
134
134
|
</script>
|
|
135
135
|
|
|
136
136
|
<style>
|
|
137
|
-
@reference '~
|
|
137
|
+
@reference '~uiApp/assets/css/main.css';
|
|
138
138
|
|
|
139
139
|
.popup-menu-button {
|
|
140
140
|
@apply inline-block relative;
|
|
@@ -175,7 +175,7 @@ export default defineComponent({
|
|
|
175
175
|
</script>
|
|
176
176
|
|
|
177
177
|
<style>
|
|
178
|
-
@reference '~
|
|
178
|
+
@reference '~uiApp/assets/css/main.css';
|
|
179
179
|
|
|
180
180
|
.profile-button .toggle-button {
|
|
181
181
|
@apply inline-flex items-center justify-center w-7 h-7 p-0 rounded-full bg-primary-400 text-lg text-white font-bold hover:bg-primary-600 active:bg-primary;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
<script lang="ts">
|
|
26
26
|
import type { PropType } from "vue";
|
|
27
|
-
import { OrgUserRole } from "~
|
|
27
|
+
import { OrgUserRole } from "~uiApp/interface/IOrganization";
|
|
28
28
|
|
|
29
29
|
export default defineComponent({
|
|
30
30
|
name: "SLProjectShareItem",
|
|
@@ -71,7 +71,7 @@ export default defineComponent({
|
|
|
71
71
|
</script>
|
|
72
72
|
|
|
73
73
|
<style scoped>
|
|
74
|
-
@reference '~
|
|
74
|
+
@reference '~uiApp/assets/css/main.css';
|
|
75
75
|
|
|
76
76
|
.project-share-item {
|
|
77
77
|
@apply flex items-center justify-between space-x-4;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
<script lang="ts">
|
|
20
20
|
import { isEqual } from "lodash-es";
|
|
21
|
-
import { getUID } from "~
|
|
21
|
+
import { getUID } from "~uiApp/utils";
|
|
22
22
|
|
|
23
23
|
export default defineComponent({
|
|
24
24
|
name: "SLRadioButton",
|
|
@@ -68,7 +68,7 @@ export default defineComponent({
|
|
|
68
68
|
</script>
|
|
69
69
|
|
|
70
70
|
<style>
|
|
71
|
-
@reference '~
|
|
71
|
+
@reference '~uiApp/assets/css/main.css';
|
|
72
72
|
|
|
73
73
|
.radio-button {
|
|
74
74
|
@apply inline-block relative text-base overflow-hidden;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
<script lang="ts">
|
|
21
21
|
import type { PropType } from "vue";
|
|
22
|
-
import type IInputOption from "~
|
|
22
|
+
import type IInputOption from "~uiApp/interface/IInputOption";
|
|
23
23
|
|
|
24
24
|
export default defineComponent({
|
|
25
25
|
name: "SLRadioButtonGroup",
|
|
@@ -83,7 +83,7 @@ export default defineComponent({
|
|
|
83
83
|
</script>
|
|
84
84
|
|
|
85
85
|
<style>
|
|
86
|
-
@reference '~
|
|
86
|
+
@reference '~uiApp/assets/css/main.css';
|
|
87
87
|
|
|
88
88
|
.radio-button-group .is-invalid .invalid-feedback {
|
|
89
89
|
@apply block;
|
|
@@ -16,8 +16,8 @@ SLElementWithTitle(:title='disabled ? disabledHint : ""')
|
|
|
16
16
|
|
|
17
17
|
<script lang="ts">
|
|
18
18
|
import type { PropType } from "vue";
|
|
19
|
-
import { getUID } from "~
|
|
20
|
-
import type IInputOption from "~
|
|
19
|
+
import { getUID } from "~uiApp/utils";
|
|
20
|
+
import type IInputOption from "~uiApp/interface/IInputOption";
|
|
21
21
|
|
|
22
22
|
export default defineComponent({
|
|
23
23
|
name: "SLRadioGroup",
|
|
@@ -105,7 +105,7 @@ export default defineComponent({
|
|
|
105
105
|
</script>
|
|
106
106
|
|
|
107
107
|
<style>
|
|
108
|
-
@reference '~
|
|
108
|
+
@reference '~uiApp/assets/css/main.css';
|
|
109
109
|
|
|
110
110
|
.radio-group {
|
|
111
111
|
@apply inline-flex p-0.5 bg-primary-100 border border-primary-200 rounded;
|
|
@@ -47,8 +47,8 @@ import { createPopper } from "@popperjs/core";
|
|
|
47
47
|
import type { Placement } from "@popperjs/core";
|
|
48
48
|
import { gsap } from "gsap";
|
|
49
49
|
import { ScrollToPlugin } from "gsap/ScrollToPlugin";
|
|
50
|
-
import { getUID } from "~
|
|
51
|
-
import type IInputOption from "~
|
|
50
|
+
import { getUID } from "~uiApp/utils";
|
|
51
|
+
import type IInputOption from "~uiApp/interface/IInputOption";
|
|
52
52
|
|
|
53
53
|
gsap.registerPlugin(ScrollToPlugin);
|
|
54
54
|
|
|
@@ -455,7 +455,7 @@ export default defineComponent({
|
|
|
455
455
|
</script>
|
|
456
456
|
|
|
457
457
|
<style scoped>
|
|
458
|
-
@reference '~
|
|
458
|
+
@reference '~uiApp/assets/css/main.css';
|
|
459
459
|
|
|
460
460
|
.custom-select {
|
|
461
461
|
@apply relative;
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
.sidebar-wrapper
|
|
6
6
|
.sidebar-logo
|
|
7
7
|
a.logo(href="javascript:;" @click="onClickedLogo")
|
|
8
|
-
img.color-big(src="
|
|
9
|
-
img.white-big(src="
|
|
10
|
-
img.color-small(src='
|
|
11
|
-
img.white-small(src='
|
|
8
|
+
img.color-big(src="@@uiAppImage/commons/app-logo-big.svg", @load='onLogoLoaded')
|
|
9
|
+
img.white-big(src="@@uiAppImage/commons/app-logo-big-white.svg", @load='onLogoLoaded')
|
|
10
|
+
img.color-small(src='@@uiAppImage/commons/app-logo-small.svg', @load='onLogoLoaded')
|
|
11
|
+
img.white-small(src='@@uiAppImage/commons/app-logo-small-white.svg', @load='onLogoLoaded')
|
|
12
12
|
nav.site-nav
|
|
13
13
|
.nav-wrapper.custom-scrollbar-y
|
|
14
14
|
template(v-for='item in config')
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
import type { PropType } from "vue";
|
|
67
67
|
import { createPopper } from "@popperjs/core";
|
|
68
68
|
import type { Instance as PopperInstance } from "@popperjs/core";
|
|
69
|
-
import type { NavConfigType } from "~
|
|
69
|
+
import type { NavConfigType } from "~uiApp/interface/NavConfigType";
|
|
70
70
|
|
|
71
71
|
export default defineComponent({
|
|
72
72
|
name: "SLSidebarNav",
|
|
@@ -247,7 +247,7 @@ export default defineComponent({
|
|
|
247
247
|
</script>
|
|
248
248
|
|
|
249
249
|
<style>
|
|
250
|
-
@reference '~
|
|
250
|
+
@reference '~uiApp/assets/css/main.css';
|
|
251
251
|
|
|
252
252
|
.sidebar {
|
|
253
253
|
@apply relative h-full;
|
|
@@ -472,7 +472,7 @@ export default defineComponent({
|
|
|
472
472
|
.sidebar-nav-intro-arrow,
|
|
473
473
|
.sidebar-nav-intro-arrow::before {
|
|
474
474
|
@apply absolute w-[17px] h-[20px] bg-contain;
|
|
475
|
-
background: url("~
|
|
475
|
+
background: url("~uiApp/assets/images/commons/nav-intro-arrow.svg") top left
|
|
476
476
|
no-repeat;
|
|
477
477
|
}
|
|
478
478
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
13
|
<script lang="ts">
|
|
14
|
-
import type { NavItemGroup } from "~
|
|
14
|
+
import type { NavItemGroup } from "~uiApp/interface/NavConfigType";
|
|
15
15
|
|
|
16
16
|
export default defineComponent({
|
|
17
17
|
name: "SLSidebarNavGroupItem",
|
|
@@ -37,7 +37,7 @@ export default defineComponent({
|
|
|
37
37
|
</script>
|
|
38
38
|
|
|
39
39
|
<style>
|
|
40
|
-
@reference '~
|
|
40
|
+
@reference '~uiApp/assets/css/main.css';
|
|
41
41
|
|
|
42
42
|
.sidebar.dark .sidebar-nav-group-item {
|
|
43
43
|
@apply bg-primary-900;
|
|
@@ -86,7 +86,7 @@ import type { Instance as PopperInstance } from "@popperjs/core";
|
|
|
86
86
|
import {
|
|
87
87
|
NavItemStatus,
|
|
88
88
|
type NavItemSection,
|
|
89
|
-
} from "~
|
|
89
|
+
} from "~uiApp/interface/NavConfigType";
|
|
90
90
|
|
|
91
91
|
export default defineComponent({
|
|
92
92
|
name: "SLSidebarNavGroupItemSection",
|
|
@@ -381,7 +381,7 @@ export default defineComponent({
|
|
|
381
381
|
</script>
|
|
382
382
|
|
|
383
383
|
<style>
|
|
384
|
-
@reference '~
|
|
384
|
+
@reference '~uiApp/assets/css/main.css';
|
|
385
385
|
|
|
386
386
|
.sidebar.closure .sidebar-nav-group-item-section {
|
|
387
387
|
@apply items-center;
|