@mptw/skylens-ui 1.5.6 → 1.5.7
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.vue +1 -1
- package/app/components/SLButton.vue +7 -1
- package/app/components/SLCalendarButton.vue +4 -4
- package/app/components/SLCalendarPopup.vue +3 -4
- package/app/components/SLCheckbox.vue +2 -2
- package/app/components/SLCollapsableMulitPillSelect.vue +1 -1
- package/app/components/SLContextMenu.vue +2 -2
- package/app/components/SLDateInput.vue +2 -4
- package/app/components/SLDatePicker.vue +1 -1
- package/app/components/SLDownloadButton.vue +3 -3
- package/app/components/SLEyeCheckbox.vue +1 -1
- package/app/components/SLFileInput.vue +1 -1
- package/app/components/SLGenderAgeSelect.vue +2 -2
- package/app/components/SLHourRangeInput.vue +1 -1
- package/app/components/SLIOSSwitch.vue +1 -1
- package/app/components/SLLegend.vue +1 -1
- package/app/components/SLMapChart.vue +1 -2
- package/app/components/SLModal.vue +1 -1
- package/app/components/SLMonthCalendarButton.vue +2 -2
- package/app/components/SLMultiEmailInput.vue +2 -2
- package/app/components/SLMultiSelect.vue +1 -1
- package/app/components/SLPillCheckbox.vue +1 -1
- package/app/components/SLPopupMenuButton.vue +1 -1
- package/app/components/SLProjectShareItem.vue +1 -1
- package/app/components/SLRadioButton.vue +1 -1
- package/app/components/SLRadioButtonGroup.vue +1 -1
- package/app/components/SLRadioGroup.vue +2 -2
- package/app/components/SLRegionsMapChart.vue +1 -2
- package/app/components/SLRightSider.vue +1 -1
- package/app/components/SLSelect.vue +2 -2
- package/app/components/SLSidebarNav.vue +1 -1
- package/app/components/SLSidebarNavGroupItem.vue +1 -1
- package/app/components/SLSidebarNavGroupItemSection.vue +2 -2
- package/app/components/SLSidebarNavLinkItem.vue +2 -2
- package/app/components/SLSidebarNavSectionItem.vue +1 -1
- package/app/components/SLSortByDropdown.vue +2 -2
- package/app/components/SLStayRangeInput.vue +3 -3
- package/app/components/SLTable.vue +2 -2
- package/app/components/SLTableTooltip.vue +3 -3
- package/app/components/SLTabs.vue +2 -2
- package/app/components/SLTextInput.vue +1 -1
- package/app/components/SLTextarea.vue +1 -1
- package/app/components/SLTwoLayerSingleSelect.vue +1 -1
- package/app/utils/index.ts +3 -3
- package/package.json +2 -1
package/app/app.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template lang="pug">
|
|
2
|
-
button(:type='type', :class='btnClass' :disabled="disabled")
|
|
2
|
+
button(:type='type', :class='btnClass' :disabled="disabled", @click='onClicked')
|
|
3
3
|
.btn-content
|
|
4
4
|
slot
|
|
5
5
|
SLIcon.btn-icon(v-if='icon !== ""', :icon='icon')
|
|
@@ -78,6 +78,7 @@ export default defineComponent({
|
|
|
78
78
|
default: false,
|
|
79
79
|
},
|
|
80
80
|
},
|
|
81
|
+
emits: ["click"],
|
|
81
82
|
setup(props, { emit }) {
|
|
82
83
|
const { size, color, variant, disabled, loading } = toRefs(props);
|
|
83
84
|
|
|
@@ -102,8 +103,13 @@ export default defineComponent({
|
|
|
102
103
|
return btnClass.join(" ");
|
|
103
104
|
});
|
|
104
105
|
|
|
106
|
+
function onClicked() {
|
|
107
|
+
emit("click");
|
|
108
|
+
}
|
|
109
|
+
|
|
105
110
|
return {
|
|
106
111
|
btnClass,
|
|
112
|
+
onClicked,
|
|
107
113
|
};
|
|
108
114
|
},
|
|
109
115
|
});
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
</template>
|
|
35
35
|
|
|
36
36
|
<script lang="ts">
|
|
37
|
-
import { SLCalendarPopup } from "#components";
|
|
37
|
+
import type { SLCalendarPopup } from "#components";
|
|
38
38
|
import type { PropType } from "vue";
|
|
39
39
|
import { fromEvent } from "rxjs";
|
|
40
40
|
import { differenceInCalendarDays, subDays } from "date-fns";
|
|
41
41
|
import { createPopper } from "@popperjs/core";
|
|
42
42
|
import type { Placement } from "@popperjs/core";
|
|
43
|
-
import DateRange from "
|
|
44
|
-
import type IDateRange from "
|
|
45
|
-
import { OnlineSourceType } from "
|
|
43
|
+
import DateRange from "ui/app/models/DateRange";
|
|
44
|
+
import type IDateRange from "ui/app/interface/IDateRange";
|
|
45
|
+
import { OnlineSourceType } from "ui/app/interface/IWeb";
|
|
46
46
|
|
|
47
47
|
type SLCalendarPopupType = InstanceType<typeof SLCalendarPopup>;
|
|
48
48
|
|
|
@@ -109,7 +109,6 @@ import type { PropType } from "vue";
|
|
|
109
109
|
import {
|
|
110
110
|
parse as parseDateString,
|
|
111
111
|
format as formatDate,
|
|
112
|
-
addDays,
|
|
113
112
|
subDays,
|
|
114
113
|
differenceInCalendarDays,
|
|
115
114
|
isBefore,
|
|
@@ -122,9 +121,9 @@ import {
|
|
|
122
121
|
isPreviousDateRange,
|
|
123
122
|
previousDateRange,
|
|
124
123
|
isValidDate,
|
|
125
|
-
} from "
|
|
126
|
-
import type IDateRange from "
|
|
127
|
-
import { OnlineSourceType } from "
|
|
124
|
+
} from "ui/app/utils";
|
|
125
|
+
import type IDateRange from "ui/app/interface/IDateRange";
|
|
126
|
+
import { OnlineSourceType } from "ui/app/interface/IWeb";
|
|
128
127
|
|
|
129
128
|
const DateStringRegexp = /[0-9]{4}\/[0-9]{2}\/[0-9]{2}/;
|
|
130
129
|
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
<script lang="ts">
|
|
18
18
|
import { isEqual } from "lodash-es";
|
|
19
|
-
import type IInputOption from "
|
|
20
|
-
import { getUID } from "
|
|
19
|
+
import type IInputOption from "ui/app/interface/IInputOption";
|
|
20
|
+
import { getUID } from "ui/app/utils";
|
|
21
21
|
|
|
22
22
|
export default defineComponent({
|
|
23
23
|
name: "SLCheckbox",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
<script lang="ts">
|
|
25
25
|
import type { PropType } from "vue";
|
|
26
|
-
import type IInputOption from "
|
|
26
|
+
import type IInputOption from "ui/app/interface/IInputOption";
|
|
27
27
|
|
|
28
28
|
export default defineComponent({
|
|
29
29
|
name: "SLCollapsableMultiPillSelect",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
20
|
<script lang="ts">
|
|
21
|
-
import { fromEvent, Subscription } from "rxjs";
|
|
22
|
-
import type IDateRange from "
|
|
21
|
+
import { fromEvent, type Subscription } from "rxjs";
|
|
22
|
+
import type IDateRange from "ui/app/interface/IDateRange";
|
|
23
23
|
|
|
24
24
|
const WatermarkImage = "/assets/images/commons/watermark-2.svg";
|
|
25
25
|
const keys = { 37: 1, 38: 1, 30: 1, 40: 1 };
|
|
@@ -69,9 +69,8 @@
|
|
|
69
69
|
import type { PropType } from "vue";
|
|
70
70
|
import { DatePicker } from "v-calendar";
|
|
71
71
|
import "v-calendar/style.css";
|
|
72
|
-
import type { PopoverVisibility } from "v-calendar/dist/types/src/utils/popovers";
|
|
73
72
|
import { isDate, differenceInCalendarDays } from "date-fns";
|
|
74
|
-
import type IDateRange from "
|
|
73
|
+
import type IDateRange from "ui/app/interface/IDateRange";
|
|
75
74
|
|
|
76
75
|
type DatePickerType = InstanceType<typeof DatePicker> & {
|
|
77
76
|
hidePopover: () => void;
|
|
@@ -165,7 +164,6 @@ export default defineComponent({
|
|
|
165
164
|
maxRangeDays,
|
|
166
165
|
is24hr,
|
|
167
166
|
minDate,
|
|
168
|
-
maxDate,
|
|
169
167
|
disabled,
|
|
170
168
|
mode,
|
|
171
169
|
startPlaceholder,
|
|
@@ -233,7 +231,7 @@ export default defineComponent({
|
|
|
233
231
|
return beReadonly.value
|
|
234
232
|
? false
|
|
235
233
|
: {
|
|
236
|
-
visibility: "click"
|
|
234
|
+
visibility: "click",
|
|
237
235
|
};
|
|
238
236
|
});
|
|
239
237
|
const endMinDate = computed(() => {
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
|
|
28
28
|
<script lang="ts">
|
|
29
29
|
import type { PropType } from "vue";
|
|
30
|
-
import { fromEvent, Subscription } from "rxjs";
|
|
30
|
+
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 "ui/app/utils";
|
|
35
|
+
import type IDateRange from "ui/app/interface/IDateRange";
|
|
36
36
|
|
|
37
37
|
// http://www.excelcodex.com/2012/06/worksheets-naming-conventions/
|
|
38
38
|
function safeSheetName(name: string) {
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
|
|
40
40
|
<script lang="ts">
|
|
41
41
|
import type { PropType } from "vue";
|
|
42
|
-
import { fromEvent, Subscription } from "rxjs";
|
|
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 "ui/app/utils/constants";
|
|
46
46
|
|
|
47
47
|
export default defineComponent({
|
|
48
48
|
name: "SLGenderAgeSelect",
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
import type { PropType } from "vue";
|
|
17
17
|
import axios from "axios";
|
|
18
18
|
import ECharts from "vue-echarts";
|
|
19
|
-
import { use } from "echarts/core";
|
|
20
|
-
import { registerMap } from "echarts/core";
|
|
19
|
+
import { use, registerMap } from "echarts/core";
|
|
21
20
|
import { MapChart } from "echarts/charts";
|
|
22
21
|
import {
|
|
23
22
|
GridComponent,
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
<script lang="ts">
|
|
55
55
|
import type { PropType } from "vue";
|
|
56
|
-
import { fromEvent, Subscription } from "rxjs";
|
|
56
|
+
import { fromEvent, type Subscription } from "rxjs";
|
|
57
57
|
import {
|
|
58
58
|
subMonths,
|
|
59
59
|
differenceInCalendarMonths,
|
|
@@ -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 "ui/app/utils";
|
|
65
65
|
|
|
66
66
|
export default defineComponent({
|
|
67
67
|
name: "SLMonthCalendarButton",
|
|
@@ -107,12 +107,12 @@
|
|
|
107
107
|
import type { PropType } from "vue";
|
|
108
108
|
import { createPopper } from "@popperjs/core";
|
|
109
109
|
import type { Instance as PopperInstance } from "@popperjs/core";
|
|
110
|
-
import { fromEvent, Subscription } from "rxjs";
|
|
110
|
+
import { fromEvent, type Subscription } from "rxjs";
|
|
111
111
|
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 "ui/app/interface/IOrganization";
|
|
116
116
|
|
|
117
117
|
export default defineComponent({
|
|
118
118
|
name: "SLMultiEmailInput",
|
|
@@ -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 "ui/app/interface/IInputOption";
|
|
20
20
|
|
|
21
21
|
export default defineComponent({
|
|
22
22
|
name: "SLMultiSelect",
|
|
@@ -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 "ui/app/interface/IPopupMenuButton";
|
|
29
29
|
|
|
30
30
|
export default defineComponent({
|
|
31
31
|
name: "SLPopupMenuButton",
|
|
@@ -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 "ui/app/interface/IOrganization";
|
|
28
28
|
|
|
29
29
|
export default defineComponent({
|
|
30
30
|
name: "SLProjectShareItem",
|
|
@@ -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 "ui/app/interface/IInputOption";
|
|
23
23
|
|
|
24
24
|
export default defineComponent({
|
|
25
25
|
name: "SLRadioButtonGroup",
|
|
@@ -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 "ui/app/utils";
|
|
20
|
+
import type IInputOption from "ui/app/interface/IInputOption";
|
|
21
21
|
|
|
22
22
|
export default defineComponent({
|
|
23
23
|
name: "SLRadioGroup",
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
import type { PropType } from "vue";
|
|
14
14
|
import axios from "axios";
|
|
15
15
|
import ECharts from "vue-echarts";
|
|
16
|
-
import { use } from "echarts/core";
|
|
17
|
-
import { registerMap } from "echarts/core";
|
|
16
|
+
import { use, registerMap } from "echarts/core";
|
|
18
17
|
import { MapChart } from "echarts/charts";
|
|
19
18
|
import {
|
|
20
19
|
GridComponent,
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</template>
|
|
30
30
|
|
|
31
31
|
<script lang="ts">
|
|
32
|
-
import { fromEvent, interval, Subscription } from "rxjs";
|
|
32
|
+
import { fromEvent, interval, type Subscription } from "rxjs";
|
|
33
33
|
import { debounce, startWith } from "rxjs/operators";
|
|
34
34
|
|
|
35
35
|
export default defineComponent({
|
|
@@ -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 "ui/app/utils";
|
|
51
|
+
import type IInputOption from "ui/app/interface/IInputOption";
|
|
52
52
|
|
|
53
53
|
gsap.registerPlugin(ScrollToPlugin);
|
|
54
54
|
|
|
@@ -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 {
|
|
69
|
+
import type { NavConfigType } from "ui/app/interface/NavConfigType";
|
|
70
70
|
|
|
71
71
|
export default defineComponent({
|
|
72
72
|
name: "SLSidebarNav",
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
</template>
|
|
80
80
|
|
|
81
81
|
<script lang="ts">
|
|
82
|
-
import { fromEvent, Subscription } from "rxjs";
|
|
82
|
+
import { fromEvent, type Subscription } from "rxjs";
|
|
83
83
|
import gsap from "gsap";
|
|
84
84
|
import { createPopper } from "@popperjs/core";
|
|
85
85
|
import type { Instance as PopperInstance } from "@popperjs/core";
|
|
86
86
|
import {
|
|
87
87
|
NavItemStatus,
|
|
88
88
|
type NavItemSection,
|
|
89
|
-
} from "
|
|
89
|
+
} from "ui/app/interface/NavConfigType";
|
|
90
90
|
|
|
91
91
|
export default defineComponent({
|
|
92
92
|
name: "SLSidebarNavGroupItemSection",
|
|
@@ -63,13 +63,13 @@ NuxtLink.sidebar-nav-link-item(
|
|
|
63
63
|
</template>
|
|
64
64
|
|
|
65
65
|
<script lang="ts">
|
|
66
|
-
import { NuxtLink } from "#components";
|
|
66
|
+
import type { NuxtLink } from "#components";
|
|
67
67
|
import { createPopper } from "@popperjs/core";
|
|
68
68
|
import type { Instance as PopperInstance } from "@popperjs/core";
|
|
69
69
|
import {
|
|
70
70
|
NavItemStatus,
|
|
71
71
|
type NavItemLink,
|
|
72
|
-
} from "
|
|
72
|
+
} from "ui/app/interface/NavConfigType";
|
|
73
73
|
|
|
74
74
|
type NuxtLinkType = InstanceType<typeof NuxtLink>;
|
|
75
75
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<script lang="ts">
|
|
15
|
-
import type { NavItemSection } from "
|
|
15
|
+
import type { NavItemSection } from "ui/app/interface/NavConfigType";
|
|
16
16
|
|
|
17
17
|
export default defineComponent({
|
|
18
18
|
name: "SLSidebarNavSectionItem",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
import type { PropType } from "vue";
|
|
21
21
|
import { createPopper } from "@popperjs/core";
|
|
22
22
|
import type { Instance as PopperInstance } from "@popperjs/core";
|
|
23
|
-
import { fromEvent, Subscription } from "rxjs";
|
|
24
|
-
import type IInputOption from "
|
|
23
|
+
import { fromEvent, type Subscription } from "rxjs";
|
|
24
|
+
import type IInputOption from "ui/app/interface/IInputOption";
|
|
25
25
|
|
|
26
26
|
export default defineComponent({
|
|
27
27
|
name: "SLSortByDropdown",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
|
|
54
54
|
<script lang="ts">
|
|
55
55
|
import type { PropType } from "vue";
|
|
56
|
-
import { SLSelect } from "#components";
|
|
57
|
-
import type IStayRange from "
|
|
58
|
-
import { StayRangeLevel } from "
|
|
56
|
+
import type { SLSelect } from "#components";
|
|
57
|
+
import type IStayRange from "ui/app/interface/IStayRange";
|
|
58
|
+
import type { StayRangeLevel } from "ui/app/interface/IStayRange";
|
|
59
59
|
|
|
60
60
|
type SLSelectType = InstanceType<typeof SLSelect>;
|
|
61
61
|
|
|
@@ -117,10 +117,10 @@
|
|
|
117
117
|
|
|
118
118
|
<script lang="ts">
|
|
119
119
|
import type { PropType } from "vue";
|
|
120
|
-
import { fromEvent, Subscription } from "rxjs";
|
|
120
|
+
import { fromEvent, type Subscription } from "rxjs";
|
|
121
121
|
import { createPopper } from "@popperjs/core";
|
|
122
122
|
import type { Instance as PopperInstance } from "@popperjs/core";
|
|
123
|
-
import type ITableField from "
|
|
123
|
+
import type ITableField from "ui/app/interface/ITableField";
|
|
124
124
|
|
|
125
125
|
export default defineComponent({
|
|
126
126
|
name: "SLTable",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
<script lang="ts">
|
|
23
23
|
import type { PropType } from "vue";
|
|
24
|
-
import { formatDateRange } from "
|
|
25
|
-
import type IDateRange from "
|
|
26
|
-
import type ITableField from "
|
|
24
|
+
import { formatDateRange } from "ui/app/utils";
|
|
25
|
+
import type IDateRange from "ui/app/interface/IDateRange";
|
|
26
|
+
import type ITableField from "ui/app/interface/ITableField";
|
|
27
27
|
|
|
28
28
|
export default defineComponent({
|
|
29
29
|
name: "SLTableTooltip",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script lang="ts">
|
|
40
|
-
import { fromEvent, interval, Subscription } from "rxjs";
|
|
40
|
+
import { fromEvent, interval, type Subscription } from "rxjs";
|
|
41
41
|
import { debounce, startWith } from "rxjs/operators";
|
|
42
|
-
import { SLDistributor } from "#components";
|
|
42
|
+
import type { SLDistributor } from "#components";
|
|
43
43
|
|
|
44
44
|
type SLDistributorType = InstanceType<typeof SLDistributor>;
|
|
45
45
|
|
|
@@ -30,7 +30,7 @@ import type { PropType } from "vue";
|
|
|
30
30
|
import { fromEvent } from "rxjs";
|
|
31
31
|
import { createPopper } from "@popperjs/core";
|
|
32
32
|
import type { Placement } from "@popperjs/core";
|
|
33
|
-
import { SLTwoLayerSelect } from "#components";
|
|
33
|
+
import type { SLTwoLayerSelect } from "#components";
|
|
34
34
|
|
|
35
35
|
type SLTwoLayerSelectType = InstanceType<typeof SLTwoLayerSelect>;
|
|
36
36
|
|
package/app/utils/index.ts
CHANGED
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
} from "date-fns";
|
|
18
18
|
import { sortBy, isEqual } from "lodash-es";
|
|
19
19
|
import { HanRegex } from "#imports";
|
|
20
|
-
import type IDateRange from "
|
|
21
|
-
import { ScreenSize } from "
|
|
22
|
-
import ExcelJS from "exceljs";
|
|
20
|
+
import type IDateRange from "ui/app/interface/IDateRange";
|
|
21
|
+
import { ScreenSize } from "ui/app/interface/commons";
|
|
22
|
+
import type ExcelJS from "exceljs";
|
|
23
23
|
import { useGtm } from "@gtm-support/vue-gtm";
|
|
24
24
|
import * as htmlToImage from "html-to-image";
|
|
25
25
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mptw/skylens-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.7",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "nuxi dev .playground",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"@types/lodash-es": "^4.17.12",
|
|
29
29
|
"@types/sortablejs": "^1.15.9",
|
|
30
30
|
"@vue/language-plugin-pug": "^3.3.8",
|
|
31
|
+
"axios": "^1.19.0",
|
|
31
32
|
"commonmark": "^0.31.2",
|
|
32
33
|
"date-fns": "^4.4.0",
|
|
33
34
|
"dompurify": "^3.4.12",
|