@dataloop-ai/components 0.17.129 → 0.17.130
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/package.json +1 -1
- package/src/components/basic/DlAccordion/components/AccordionHeader.vue +2 -1
- package/src/components/basic/DlAvatar/DlAvatar.vue +1 -1
- package/src/components/basic/DlButton/DlButton.vue +2 -1
- package/src/components/basic/DlChip/DlChip.vue +2 -1
- package/src/components/basic/DlKpi/components/KpiInfo.vue +2 -1
- package/src/components/basic/DlPanelContainer/DlPanelContainer.vue +2 -1
- package/src/components/basic/DlPopup/components/PopupHeader.vue +8 -4
- package/src/components/basic/DlProgressChart/DlProgressChart.vue +2 -1
- package/src/components/basic/index.ts +0 -1
- package/src/components/compound/DlCharts/charts/DlConfusionMatrix/DlConfusionMatrix.vue +1 -1
- package/src/components/compound/DlCharts/charts/DlDoughnutChart/components/DlDoughnutChartLegend.vue +1 -1
- package/src/components/compound/DlCharts/components/DlChartLabels.vue +2 -1
- package/src/components/compound/DlDialogBox/components/DlDialogBoxHeader.vue +7 -4
- package/src/components/compound/DlInput/DlInput.vue +2 -2
- package/src/components/compound/DlOptionGroup/DlOptionGroup.vue +2 -1
- package/src/components/compound/DlSearches/DlSmartSearch/components/DlSmartSearchInput.vue +1 -1
- package/src/components/compound/DlSearches/DlSmartSearch/components/FiltersQuery.vue +3 -1
- package/src/components/compound/DlSelect/DlSelect.vue +2 -1
- package/src/components/compound/DlSlider/DlSlider.vue +2 -1
- package/src/components/compound/DlTable/components/DlTd.vue +1 -1
- package/src/components/compound/DlTable/components/DlTh.vue +2 -1
- package/src/components/compound/DlTabs/components/DlTab.vue +2 -1
- package/src/components/{basic → essential}/DlEllipsis/DlEllipsis.vue +2 -2
- package/src/components/essential/DlTextArea/DlTextArea.vue +3 -1
- package/src/components/essential/DlTextHolder/DlTextHolder.vue +4 -1
- package/src/components/essential/index.ts +1 -1
- package/src/components/shared/index.ts +1 -0
- package/src/demos/DlCheckboxDemo.vue +2 -2
- /package/src/components/{basic → essential}/DlEllipsis/index.ts +0 -0
- /package/src/components/{essential → shared}/DlTooltip/DlTooltip.vue +0 -0
- /package/src/components/{essential → shared}/DlTooltip/index.ts +0 -0
package/package.json
CHANGED
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script lang="ts">
|
|
46
|
-
import {
|
|
46
|
+
import { DlTooltip } from '../../../shared'
|
|
47
|
+
import { DlIcon } from '../../../essential'
|
|
47
48
|
import { defineComponent, ref } from 'vue-demi'
|
|
48
49
|
import { getColor } from '../../../../utils'
|
|
49
50
|
import { useSizeObserver } from '../../../../hooks/use-size-observer'
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
|
|
51
51
|
<script lang="ts">
|
|
52
52
|
import { defineComponent, ref } from 'vue-demi'
|
|
53
|
-
import {
|
|
53
|
+
import { DlTooltip } from '../../shared'
|
|
54
|
+
import { DlIcon } from '../../essential'
|
|
54
55
|
import { useSizeObserver } from '../../../hooks/use-size-observer'
|
|
55
56
|
import {
|
|
56
57
|
setTextColor,
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
|
|
19
19
|
<script lang="ts">
|
|
20
20
|
import { defineComponent, ref, computed } from 'vue-demi'
|
|
21
|
-
import {
|
|
21
|
+
import { DlIcon } from '../../../essential'
|
|
22
|
+
import { DlTooltip } from '../../../shared'
|
|
22
23
|
|
|
23
24
|
export default defineComponent({
|
|
24
25
|
name: 'KpiInfo',
|
|
@@ -111,7 +111,8 @@
|
|
|
111
111
|
<script lang="ts">
|
|
112
112
|
import { v4 } from 'uuid'
|
|
113
113
|
import { defineComponent } from 'vue-demi'
|
|
114
|
-
import { DlIcon
|
|
114
|
+
import { DlIcon } from '../../essential'
|
|
115
|
+
import { DlTooltip } from '../../shared'
|
|
115
116
|
|
|
116
117
|
export default defineComponent({
|
|
117
118
|
name: 'DlPanelContainer',
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
class="header-content"
|
|
13
13
|
>
|
|
14
14
|
<span class="title">
|
|
15
|
-
|
|
15
|
+
<dl-ellipsis :text="title" />
|
|
16
16
|
<span class="info-icon">
|
|
17
17
|
<dl-icon
|
|
18
18
|
v-if="hasAdditionalInfo"
|
|
@@ -41,19 +41,23 @@
|
|
|
41
41
|
size="12px"
|
|
42
42
|
/>
|
|
43
43
|
</span>
|
|
44
|
-
<span class="subtitle">
|
|
44
|
+
<span class="subtitle">
|
|
45
|
+
<dl-ellipsis :text="subtitle" />
|
|
46
|
+
</span>
|
|
45
47
|
</div>
|
|
46
48
|
</div>
|
|
47
49
|
</template>
|
|
48
50
|
|
|
49
51
|
<script lang="ts">
|
|
50
52
|
import { defineComponent } from 'vue-demi'
|
|
51
|
-
import {
|
|
53
|
+
import { DlIcon, DlEllipsis } from '../../../essential'
|
|
54
|
+
import { DlTooltip } from '../../../shared'
|
|
52
55
|
|
|
53
56
|
export default defineComponent({
|
|
54
57
|
components: {
|
|
55
58
|
DlIcon,
|
|
56
|
-
DlTooltip
|
|
59
|
+
DlTooltip,
|
|
60
|
+
DlEllipsis
|
|
57
61
|
},
|
|
58
62
|
props: {
|
|
59
63
|
title: { type: String, default: '' },
|
|
@@ -78,7 +78,8 @@ import { v4 } from 'uuid'
|
|
|
78
78
|
import { defineComponent, isVue2 } from 'vue-demi'
|
|
79
79
|
import { getColor } from '../../../utils'
|
|
80
80
|
import { isEllipsisActive } from '../../../utils/is-ellipsis-active'
|
|
81
|
-
import {
|
|
81
|
+
import { DlLink } from '../../essential'
|
|
82
|
+
import { DlTooltip } from '../../shared'
|
|
82
83
|
|
|
83
84
|
type ProgressChartOption = {
|
|
84
85
|
name: string
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
<script lang="ts">
|
|
171
171
|
import { defineComponent, PropType, ref } from 'vue-demi'
|
|
172
172
|
import DlBrush from '../../components/DlBrush.vue'
|
|
173
|
-
import DlTooltip from '../../../../
|
|
173
|
+
import { DlTooltip } from '../../../../shared'
|
|
174
174
|
import {
|
|
175
175
|
DlConfusionMatrixCell,
|
|
176
176
|
DlConfusionMatrixLabel,
|
package/src/components/compound/DlCharts/charts/DlDoughnutChart/components/DlDoughnutChartLegend.vue
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
<script lang="ts">
|
|
44
44
|
import { defineComponent, PropType } from 'vue-demi'
|
|
45
|
-
import DlEllipsis from '../../../../../
|
|
45
|
+
import { DlEllipsis } from '../../../../../essential'
|
|
46
46
|
import { TDoughnutChartData } from '../types/TDoughnutChartData'
|
|
47
47
|
|
|
48
48
|
enum EBadgeText {
|
|
@@ -82,7 +82,8 @@
|
|
|
82
82
|
import { v4 } from 'uuid'
|
|
83
83
|
import { defineComponent, PropType, isVue2 } from 'vue-demi'
|
|
84
84
|
import { isEllipsisActive } from '../../../../utils/is-ellipsis-active'
|
|
85
|
-
import {
|
|
85
|
+
import { DlTypography } from '../../../essential'
|
|
86
|
+
import { DlTooltip } from '../../../shared'
|
|
86
87
|
|
|
87
88
|
type ObserverRefs = {
|
|
88
89
|
ref: 'resizeObserverTitle' | 'resizeObserverSubtitle'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="root-container">
|
|
3
|
-
<div>
|
|
3
|
+
<div style="width: 95%; height: 100%">
|
|
4
4
|
<dl-button
|
|
5
5
|
v-if="hasBackButton"
|
|
6
6
|
dense
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
class="title"
|
|
17
17
|
>
|
|
18
18
|
<slot name="title">
|
|
19
|
-
|
|
19
|
+
<dl-ellipsis :text="title" />
|
|
20
20
|
</slot>
|
|
21
21
|
</h2>
|
|
22
22
|
<p
|
|
@@ -24,12 +24,13 @@
|
|
|
24
24
|
class="subtitle"
|
|
25
25
|
>
|
|
26
26
|
<slot name="subtitle">
|
|
27
|
-
|
|
27
|
+
<dl-ellipsis :text="subtitle" />
|
|
28
28
|
</slot>
|
|
29
29
|
</p>
|
|
30
30
|
</div>
|
|
31
31
|
<dl-button
|
|
32
32
|
v-if="closeButton"
|
|
33
|
+
style="height: 100%; display: flex; align-items: start"
|
|
33
34
|
class="close-button"
|
|
34
35
|
icon="icon-dl-close"
|
|
35
36
|
size="s"
|
|
@@ -43,11 +44,13 @@
|
|
|
43
44
|
<script lang="ts">
|
|
44
45
|
import { computed, defineComponent } from 'vue-demi'
|
|
45
46
|
import { DlButton } from '../../../basic'
|
|
47
|
+
import { DlEllipsis } from '../../../essential'
|
|
46
48
|
|
|
47
49
|
export default defineComponent({
|
|
48
50
|
name: 'DlDialogBoxHeader',
|
|
49
51
|
components: {
|
|
50
|
-
DlButton
|
|
52
|
+
DlButton,
|
|
53
|
+
DlEllipsis
|
|
51
54
|
},
|
|
52
55
|
props: {
|
|
53
56
|
title: { type: String, default: '' },
|
|
@@ -210,9 +210,9 @@
|
|
|
210
210
|
<script lang="ts">
|
|
211
211
|
import { debounce } from 'lodash'
|
|
212
212
|
import { computed, defineComponent, PropType, ref } from 'vue-demi'
|
|
213
|
-
import { DlInfoErrorMessage } from '../../shared'
|
|
213
|
+
import { DlInfoErrorMessage, DlTooltip } from '../../shared'
|
|
214
214
|
import { DlListItem } from '../../basic'
|
|
215
|
-
import { DlMenu, DlIcon, DlList
|
|
215
|
+
import { DlMenu, DlIcon, DlList } from '../../essential'
|
|
216
216
|
import { DlButton } from '../../basic'
|
|
217
217
|
import { InputSizes, TInputSizes } from '../../../utils/input-sizes'
|
|
218
218
|
import { v4 } from 'uuid'
|
|
@@ -60,7 +60,8 @@ import {
|
|
|
60
60
|
} from './types'
|
|
61
61
|
import { loggerFactory } from '../../../utils'
|
|
62
62
|
import { v4 } from 'uuid'
|
|
63
|
-
import { DlIcon
|
|
63
|
+
import { DlIcon } from '../../essential'
|
|
64
|
+
import { DlTooltip } from '../../shared'
|
|
64
65
|
|
|
65
66
|
export default defineComponent({
|
|
66
67
|
name: 'DlOptionGroup',
|
|
@@ -136,7 +136,7 @@ import { isEllipsisActive } from '../../../../../utils/is-ellipsis-active'
|
|
|
136
136
|
import { useSizeObserver } from '../../../../../hooks/use-size-observer'
|
|
137
137
|
import { SearchStatus, SyntaxColorSchema } from '../types'
|
|
138
138
|
import { debounce } from 'lodash'
|
|
139
|
-
import { DlTooltip } from '../../../../
|
|
139
|
+
import { DlTooltip } from '../../../../shared'
|
|
140
140
|
import DlSuggestionsDropdown from './DlSuggestionsDropdown.vue'
|
|
141
141
|
import { DateInterval } from '../../../DlDateTime/types'
|
|
142
142
|
import {
|
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
|
|
35
35
|
<script lang="ts">
|
|
36
36
|
import { defineComponent } from 'vue-demi'
|
|
37
|
-
import { DlIcon
|
|
37
|
+
import { DlIcon } from '../../../../essential'
|
|
38
|
+
import { DlTooltip } from '../../../../shared'
|
|
39
|
+
|
|
38
40
|
export default defineComponent({
|
|
39
41
|
components: {
|
|
40
42
|
DlIcon,
|
|
@@ -321,7 +321,8 @@
|
|
|
321
321
|
<script lang="ts">
|
|
322
322
|
import { InputSizes, TInputSizes } from '../../../utils/input-sizes'
|
|
323
323
|
import { DlListItem } from '../../basic'
|
|
324
|
-
import { DlTooltip
|
|
324
|
+
import { DlTooltip } from '../../shared'
|
|
325
|
+
import { DlList, DlIcon, DlMenu } from '../../essential'
|
|
325
326
|
import {
|
|
326
327
|
DlInfoErrorMessage,
|
|
327
328
|
DlItemSection,
|
|
@@ -98,7 +98,8 @@
|
|
|
98
98
|
import { defineComponent } from 'vue-demi'
|
|
99
99
|
import { DlSliderBase, DlSliderInput } from './components/'
|
|
100
100
|
import { DlButton } from '../../basic'
|
|
101
|
-
import { DlIcon
|
|
101
|
+
import { DlIcon } from '../../essential'
|
|
102
|
+
import { DlTooltip } from '../../shared'
|
|
102
103
|
import { getColor, between } from '../../../utils'
|
|
103
104
|
import { v4 } from 'uuid'
|
|
104
105
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<script lang="ts">
|
|
19
19
|
import { defineComponent, getCurrentInstance, computed, ref } from 'vue-demi'
|
|
20
20
|
import { getColor } from '../../../../utils'
|
|
21
|
-
import { DlTooltip } from '../../../
|
|
21
|
+
import { DlTooltip } from '../../../shared'
|
|
22
22
|
import { useSizeObserver } from '../../../../hooks/use-size-observer'
|
|
23
23
|
|
|
24
24
|
export default defineComponent({
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
<script lang="ts">
|
|
30
30
|
import { defineComponent, getCurrentInstance, computed, ref } from 'vue-demi'
|
|
31
31
|
import { useSizeObserver } from '../../../../hooks/use-size-observer'
|
|
32
|
-
import { DlIcon
|
|
32
|
+
import { DlIcon } from '../../../essential'
|
|
33
|
+
import { DlTooltip } from '../../../shared'
|
|
33
34
|
|
|
34
35
|
export default defineComponent({
|
|
35
36
|
name: 'DlTh',
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
</div>
|
|
28
28
|
</template>
|
|
29
29
|
<script lang="ts">
|
|
30
|
-
import { DlTooltip
|
|
30
|
+
import { DlTooltip } from '../../../shared'
|
|
31
|
+
import { DlIcon } from '../../../essential'
|
|
31
32
|
import { defineComponent } from 'vue-demi'
|
|
32
33
|
import { stopAndPrevent } from '../../../../utils'
|
|
33
34
|
import { v4 } from 'uuid'
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
<script lang="ts">
|
|
32
32
|
import { defineComponent, ref, computed, toRef } from 'vue-demi'
|
|
33
|
-
import DlTooltip from '../../
|
|
33
|
+
import { DlTooltip } from '../../shared'
|
|
34
34
|
import { useSizeObserver } from '../../../hooks/use-size-observer'
|
|
35
35
|
|
|
36
36
|
export default defineComponent({
|
|
@@ -59,7 +59,7 @@ export default defineComponent({
|
|
|
59
59
|
splitPosition: {
|
|
60
60
|
type: Number,
|
|
61
61
|
default: 0.5,
|
|
62
|
-
validator: (value) => value >= 0 && value <= 1
|
|
62
|
+
validator: (value: number) => value >= 0 && value <= 1
|
|
63
63
|
},
|
|
64
64
|
/**
|
|
65
65
|
* Tooltip to be displayed when the text is truncated
|
|
@@ -112,7 +112,9 @@ import { v4 } from 'uuid'
|
|
|
112
112
|
import { DlInfoErrorMessage } from '../../shared'
|
|
113
113
|
import { defineComponent, computed, ref } from 'vue-demi'
|
|
114
114
|
import { useSizeObserver } from '../../../hooks/use-size-observer'
|
|
115
|
-
|
|
115
|
+
//todo: this can cause issues
|
|
116
|
+
import { DlIcon } from '../'
|
|
117
|
+
import { DlTooltip } from '../../shared'
|
|
116
118
|
import DlButton from '../../basic/DlButton/DlButton.vue'
|
|
117
119
|
|
|
118
120
|
export default defineComponent({
|
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
|
|
16
16
|
<script lang="ts">
|
|
17
17
|
import { v4 } from 'uuid'
|
|
18
|
-
|
|
18
|
+
// todo: this causes an issue
|
|
19
|
+
import { DlEllipsis } from '../../'
|
|
20
|
+
|
|
19
21
|
import { defineComponent } from 'vue-demi'
|
|
20
22
|
|
|
21
23
|
export default defineComponent({
|
|
@@ -88,3 +90,4 @@ export default defineComponent({
|
|
|
88
90
|
white-space: nowrap;
|
|
89
91
|
}
|
|
90
92
|
</style>
|
|
93
|
+
../DlEllipsis
|
|
@@ -7,9 +7,9 @@ export * from './DlProgressBar'
|
|
|
7
7
|
export * from './DlRadio'
|
|
8
8
|
export * from './DlSkeleton'
|
|
9
9
|
export * from './DlSwitch'
|
|
10
|
+
export * from './DlEllipsis'
|
|
10
11
|
export * from './DlTextHolder'
|
|
11
12
|
export * from './DlThemeProvider'
|
|
12
|
-
export * from './DlTooltip'
|
|
13
13
|
export * from './DlTrend'
|
|
14
14
|
export * from './DlTypography'
|
|
15
15
|
export * from './DlPanel'
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
|
|
36
36
|
<script lang="ts">
|
|
37
37
|
import { defineComponent, ref } from 'vue-demi'
|
|
38
|
-
import { DlCheckbox } from '../components'
|
|
39
|
-
|
|
38
|
+
import { DlCheckbox, DlTooltip } from '../components'
|
|
39
|
+
|
|
40
40
|
export default defineComponent({
|
|
41
41
|
name: 'DlCheckboxDemo',
|
|
42
42
|
components: {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|