@tekkare/auriga 0.1.8 → 0.1.10
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/dist/module.json +1 -1
- package/dist/runtime/components/allIcons.vue +1112 -0
- package/dist/runtime/components/allIcons.vue.d.ts +6 -0
- package/dist/runtime/components/argActions.vue +150 -0
- package/dist/runtime/components/argActions.vue.d.ts +43 -0
- package/dist/runtime/components/argAdvancedSearchBar.vue.d.ts +2 -2
- package/dist/runtime/components/argChart.vue +38 -4
- package/dist/runtime/components/argChartTableCard.vue +30 -0
- package/dist/runtime/components/argChartTableCard.vue.d.ts +2 -0
- package/dist/runtime/components/argCheckbox.vue +46 -31
- package/dist/runtime/components/argCheckbox.vue.d.ts +20 -3
- package/dist/runtime/components/argCircleAmount.vue +37 -0
- package/dist/runtime/components/argCircleAmount.vue.d.ts +12 -0
- package/dist/runtime/components/argDataLoader.vue +13 -3
- package/dist/runtime/components/argDataLoader.vue.d.ts +22 -1
- package/dist/runtime/components/argDropdownSelect.vue +5 -19
- package/dist/runtime/components/argEmoji.vue +34 -0
- package/dist/runtime/components/argEmoji.vue.d.ts +29 -0
- package/dist/runtime/components/argFileBtn.vue +10 -2
- package/dist/runtime/components/argFileBtn.vue.d.ts +11 -2
- package/dist/runtime/components/argFilterCard.vue +37 -9
- package/dist/runtime/components/argFilterCard.vue.d.ts +30 -1
- package/dist/runtime/components/argFilterTabs.vue +109 -0
- package/dist/runtime/components/argFilterTabs.vue.d.ts +64 -0
- package/dist/runtime/components/argFooter.vue +21 -20
- package/dist/runtime/components/argHeader.vue +22 -8
- package/dist/runtime/components/argHeader.vue.d.ts +18 -0
- package/dist/runtime/components/argInfoBar.vue +175 -0
- package/dist/runtime/components/argInfoBar.vue.d.ts +35 -0
- package/dist/runtime/components/argInfoSection.vue +265 -0
- package/dist/runtime/components/argInfoSection.vue.d.ts +55 -0
- package/dist/runtime/components/argMainLayout.vue +46 -21
- package/dist/runtime/components/argMainLayout.vue.d.ts +13 -1
- package/dist/runtime/components/argMenuItem.vue +44 -27
- package/dist/runtime/components/argMenuItem.vue.d.ts +11 -1
- package/dist/runtime/components/argMenuLink.vue +44 -20
- package/dist/runtime/components/argMenuLink.vue.d.ts +9 -0
- package/dist/runtime/components/argMultipleChoice.vue +26 -4
- package/dist/runtime/components/argMultipleSelect.vue +797 -0
- package/dist/runtime/components/argMultipleSelect.vue.d.ts +151 -0
- package/dist/runtime/components/argNavBar.vue +26 -12
- package/dist/runtime/components/argNavBar.vue.d.ts +11 -2
- package/dist/runtime/components/argRadioButtons.vue +135 -0
- package/dist/runtime/components/argRadioButtons.vue.d.ts +48 -0
- package/dist/runtime/components/argScopeCriteria.vue +91 -0
- package/dist/runtime/components/argScopeCriteria.vue.d.ts +35 -0
- package/dist/runtime/components/argScopeHeader.vue +90 -0
- package/dist/runtime/components/argScopeHeader.vue.d.ts +33 -0
- package/dist/runtime/components/argScopeLayout.vue +61 -0
- package/dist/runtime/components/argScopeLayout.vue.d.ts +14 -0
- package/dist/runtime/components/argSidebar.vue +97 -14
- package/dist/runtime/components/argSidebar.vue.d.ts +17 -2
- package/dist/runtime/components/argSimpleLabel.vue +1 -1
- package/dist/runtime/components/argStyle.vue +100 -67
- package/dist/runtime/components/argSubMenu.vue +79 -37
- package/dist/runtime/components/argSubMenu.vue.d.ts +9 -0
- package/dist/runtime/components/argTable.vue +14 -0
- package/dist/runtime/components/argTags.vue +1 -1
- package/dist/runtime/components/argTipsBox.vue +153 -0
- package/dist/runtime/components/argTipsBox.vue.d.ts +37 -0
- package/package.json +2 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
iconNames: string[];
|
|
3
|
+
searchIcon: import("vue").Ref<string>;
|
|
4
|
+
filteredIcon: import("vue").ComputedRef<string[]>;
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:class="
|
|
4
|
+
actionType === 'download' || actionType === 'see-analysis'
|
|
5
|
+
? 'download_action'
|
|
6
|
+
: actionType === 'cancel' || actionType === 'close'
|
|
7
|
+
? 'cancel_action'
|
|
8
|
+
: actionType === 'scope' || actionType === 'save-analysis'
|
|
9
|
+
? 'scope_action'
|
|
10
|
+
: ''
|
|
11
|
+
"
|
|
12
|
+
@click="sendAction()"
|
|
13
|
+
>
|
|
14
|
+
<p>{{ getActionText }}</p>
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
import {
|
|
20
|
+
computed,
|
|
21
|
+
defineComponent
|
|
22
|
+
} from "vue";
|
|
23
|
+
export default defineComponent({
|
|
24
|
+
name: "argMultipleSelect",
|
|
25
|
+
props: {
|
|
26
|
+
actionType: {
|
|
27
|
+
type: String,
|
|
28
|
+
required: true
|
|
29
|
+
},
|
|
30
|
+
actionText: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: null
|
|
33
|
+
},
|
|
34
|
+
lang: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: "en",
|
|
37
|
+
validator: (value) => {
|
|
38
|
+
return ["en", "fr"].includes(value);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
emits: [
|
|
43
|
+
"onDownload",
|
|
44
|
+
"onScope",
|
|
45
|
+
"onCancel",
|
|
46
|
+
"onClose",
|
|
47
|
+
"onSeeAnalysis",
|
|
48
|
+
"onSaveAnalysis"
|
|
49
|
+
],
|
|
50
|
+
setup(props, { emit }) {
|
|
51
|
+
const getActionText = computed(() => {
|
|
52
|
+
if (!props.actionText) {
|
|
53
|
+
let finalText = "";
|
|
54
|
+
switch (props.actionType) {
|
|
55
|
+
case "cancel":
|
|
56
|
+
finalText = props.lang === "fr" ? "Annuler" : "Cancel";
|
|
57
|
+
break;
|
|
58
|
+
case "scope":
|
|
59
|
+
finalText = props.lang === "fr" ? "Mon scope" : "My scope";
|
|
60
|
+
break;
|
|
61
|
+
case "see-analysis":
|
|
62
|
+
finalText = props.lang === "fr" ? "Voir l'analyse" : "Go to analysis";
|
|
63
|
+
break;
|
|
64
|
+
case "save-analysis":
|
|
65
|
+
finalText = props.lang === "fr" ? "Sauvergader et continuer " : "Save and continue";
|
|
66
|
+
break;
|
|
67
|
+
case "download":
|
|
68
|
+
finalText = props.lang === "fr" ? "Tout t\xE9l\xE9charger" : "Download all";
|
|
69
|
+
break;
|
|
70
|
+
case "close":
|
|
71
|
+
finalText = props.lang === "fr" ? "Fermer" : "Close";
|
|
72
|
+
}
|
|
73
|
+
return finalText;
|
|
74
|
+
} else
|
|
75
|
+
return props.actionText;
|
|
76
|
+
});
|
|
77
|
+
function sendAction() {
|
|
78
|
+
switch (props.actionType) {
|
|
79
|
+
case "cancel":
|
|
80
|
+
emit("onCancel");
|
|
81
|
+
break;
|
|
82
|
+
case "scope":
|
|
83
|
+
emit("onScope");
|
|
84
|
+
break;
|
|
85
|
+
case "download":
|
|
86
|
+
emit("onDownload");
|
|
87
|
+
break;
|
|
88
|
+
case "see-analysis":
|
|
89
|
+
emit("onSeeAnalysis");
|
|
90
|
+
break;
|
|
91
|
+
case "save-analysis":
|
|
92
|
+
emit("onSaveAnalysis");
|
|
93
|
+
break;
|
|
94
|
+
case "close":
|
|
95
|
+
emit("onClose");
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
getActionText,
|
|
100
|
+
sendAction
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
</script>
|
|
105
|
+
|
|
106
|
+
<style scoped>
|
|
107
|
+
.download_action {
|
|
108
|
+
color: var(--primary-primary, #2176ff);
|
|
109
|
+
text-align: center;
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
font-style: normal;
|
|
112
|
+
font-weight: 500;
|
|
113
|
+
line-height: normal;
|
|
114
|
+
text-decoration-line: underline;
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.cancel_action {
|
|
119
|
+
display: flex;
|
|
120
|
+
padding: 6px;
|
|
121
|
+
align-items: center;
|
|
122
|
+
gap: 6px;
|
|
123
|
+
border-radius: 4px;
|
|
124
|
+
font-size: 14px;
|
|
125
|
+
font-style: normal;
|
|
126
|
+
font-weight: 400;
|
|
127
|
+
line-height: 160%;
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.cancel_action:hover {
|
|
132
|
+
background: var(--background) !important;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.scope_action {
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
display: flex;
|
|
138
|
+
padding: var(--s, 8px) var(--m, 16px);
|
|
139
|
+
justify-content: center;
|
|
140
|
+
align-items: center;
|
|
141
|
+
gap: var(--s, 8px);
|
|
142
|
+
border-radius: 8px;
|
|
143
|
+
background: var(--primary-primary, #2176ff);
|
|
144
|
+
font-size: 14px;
|
|
145
|
+
font-style: normal;
|
|
146
|
+
font-weight: 700;
|
|
147
|
+
line-height: normal;
|
|
148
|
+
color: var(--pure-white);
|
|
149
|
+
}
|
|
150
|
+
</style>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
actionType: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
actionText: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
lang: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
validator: (value: string) => boolean;
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
getActionText: import("vue").ComputedRef<string>;
|
|
17
|
+
sendAction: () => void;
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onDownload" | "onScope" | "onCancel" | "onClose" | "onSeeAnalysis" | "onSaveAnalysis")[], "onDownload" | "onScope" | "onCancel" | "onClose" | "onSeeAnalysis" | "onSaveAnalysis", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
actionType: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
actionText: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: null;
|
|
26
|
+
};
|
|
27
|
+
lang: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (value: string) => boolean;
|
|
31
|
+
};
|
|
32
|
+
}>> & {
|
|
33
|
+
onOnDownload?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
onOnScope?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
onOnCancel?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onOnSeeAnalysis?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onOnSaveAnalysis?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
actionText: string;
|
|
41
|
+
lang: string;
|
|
42
|
+
}, {}>;
|
|
43
|
+
export default _default;
|
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
iconColor: import("vue").ComputedRef<"var(--primary)" | "var(--wild-blue-yonder)">;
|
|
59
59
|
hasShortcut: import("vue").ComputedRef<boolean>;
|
|
60
60
|
infoHeight: import("vue").ComputedRef<boolean>;
|
|
61
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
61
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClose" | "update:Value")[], "onClose" | "update:Value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
62
|
placeHolderValue: {
|
|
63
63
|
type: StringConstructor;
|
|
64
64
|
default: string;
|
|
@@ -81,8 +81,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
default: () => never[];
|
|
82
82
|
};
|
|
83
83
|
}>> & {
|
|
84
|
-
"onUpdate:Value"?: ((...args: any[]) => any) | undefined;
|
|
85
84
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
"onUpdate:Value"?: ((...args: any[]) => any) | undefined;
|
|
86
86
|
}, {
|
|
87
87
|
placeHolderValue: string;
|
|
88
88
|
customShortcuts: any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="prmt_chart">
|
|
2
|
+
<div class="prmt_chart" :class="`${type}_arg_chart`">
|
|
3
3
|
<h1 class="prmt_chart_title"><slot name="title" /></h1>
|
|
4
4
|
<div class="prmt_chart_source"><slot name="source" /></div>
|
|
5
5
|
<client-only>
|
|
@@ -386,7 +386,7 @@ export default defineComponent({
|
|
|
386
386
|
props.options["plotOptions"] = {
|
|
387
387
|
bar: {
|
|
388
388
|
horizontal: true,
|
|
389
|
-
borderRadius:
|
|
389
|
+
borderRadius: 6,
|
|
390
390
|
barHeight: "50%",
|
|
391
391
|
colors: { backgroundBarOpacity: 1 },
|
|
392
392
|
dataLabels: { position: "top", hideOverflowingLabels: true },
|
|
@@ -443,7 +443,7 @@ export default defineComponent({
|
|
|
443
443
|
props.options["plotOptions"] = {
|
|
444
444
|
bar: {
|
|
445
445
|
horizontal: true,
|
|
446
|
-
borderRadius:
|
|
446
|
+
borderRadius: 6,
|
|
447
447
|
barHeight: "50%",
|
|
448
448
|
colors: { backgroundBarOpacity: 1 },
|
|
449
449
|
dataLabels: { position: "top", hideOverflowingLabels: true },
|
|
@@ -685,7 +685,41 @@ export default defineComponent({
|
|
|
685
685
|
position: initial;
|
|
686
686
|
}
|
|
687
687
|
|
|
688
|
-
.
|
|
688
|
+
.prmt_chart.bar_arg_chart
|
|
689
|
+
> .vue-apexcharts
|
|
690
|
+
> .apexcharts-canvas
|
|
691
|
+
> svg
|
|
692
|
+
> .apexcharts-inner
|
|
693
|
+
> .apexcharts-bar-series.apexcharts-plot-series
|
|
694
|
+
.apexcharts-series
|
|
695
|
+
path,
|
|
696
|
+
.prmt_chart.bar-column_arg_chart
|
|
697
|
+
> .vue-apexcharts
|
|
698
|
+
> .apexcharts-canvas
|
|
699
|
+
> svg
|
|
700
|
+
> .apexcharts-inner
|
|
701
|
+
> .apexcharts-bar-series.apexcharts-plot-series
|
|
702
|
+
.apexcharts-series
|
|
703
|
+
path {
|
|
689
704
|
clip-path: inset(0% 0% -11% 0% round 6px) !important;
|
|
690
705
|
}
|
|
706
|
+
|
|
707
|
+
.prmt_chart.bar-horizontal-group_arg_chart
|
|
708
|
+
> .vue-apexcharts
|
|
709
|
+
> .apexcharts-canvas
|
|
710
|
+
> svg
|
|
711
|
+
> .apexcharts-inner
|
|
712
|
+
> .apexcharts-bar-series.apexcharts-plot-series
|
|
713
|
+
.apexcharts-series
|
|
714
|
+
path,
|
|
715
|
+
.prmt_chart.bar-horizontal_arg_chart
|
|
716
|
+
> .vue-apexcharts
|
|
717
|
+
> .apexcharts-canvas
|
|
718
|
+
> svg
|
|
719
|
+
> .apexcharts-inner
|
|
720
|
+
> .apexcharts-bar-series.apexcharts-plot-series
|
|
721
|
+
.apexcharts-series
|
|
722
|
+
path {
|
|
723
|
+
clip-path: inset(0% 0% 0% -11% round 6px) !important;
|
|
724
|
+
}
|
|
691
725
|
</style>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="oip_table_card">
|
|
3
|
+
<div class="table_card_header">
|
|
4
|
+
<slot name="Chart" />
|
|
5
|
+
</div>
|
|
6
|
+
<slot name="Table" />
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script>
|
|
11
|
+
import {
|
|
12
|
+
onMounted,
|
|
13
|
+
ref,
|
|
14
|
+
computed,
|
|
15
|
+
defineProps,
|
|
16
|
+
defineEmits,
|
|
17
|
+
defineComponent,
|
|
18
|
+
} from "vue";
|
|
19
|
+
|
|
20
|
+
export default defineComponent({
|
|
21
|
+
name: "argChartTableCard",
|
|
22
|
+
});
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<style scoped>
|
|
26
|
+
.table_card_header {
|
|
27
|
+
padding: 0px 24px;
|
|
28
|
+
margin-bottom: 24px;
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -1,36 +1,42 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
class="
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
:name="iconFilter"
|
|
12
|
-
:class="[
|
|
13
|
-
'flex',
|
|
14
|
-
returnValue ? 'filter_icon_check' : 'filter_icon_select',
|
|
15
|
-
disable ? 'disable' : 'filter_icon_select',
|
|
16
|
-
]"
|
|
17
|
-
size="24"
|
|
18
|
-
:color="iconColor"
|
|
19
|
-
/>
|
|
20
|
-
</div>
|
|
21
|
-
<p>{{ filterTitle }}</p>
|
|
22
|
-
<arg-tooltip
|
|
23
|
-
v-if="infoIcon"
|
|
24
|
-
:tooltip-text="tooltipText"
|
|
25
|
-
class="filter_tooltip flex"
|
|
2
|
+
<div class="oip_select_display">
|
|
3
|
+
<p class="oip_filter_label">{{ checkbox_label }}</p>
|
|
4
|
+
<div
|
|
5
|
+
class="filter_box"
|
|
6
|
+
@focus="selectOption = true"
|
|
7
|
+
@focusout="selectOption = false"
|
|
8
|
+
tabindex="0"
|
|
9
|
+
:class="selectOption ? 'open' : ''"
|
|
10
|
+
@click="selectFilter()"
|
|
26
11
|
>
|
|
27
|
-
<
|
|
28
|
-
|
|
12
|
+
<div>
|
|
13
|
+
<arg-icon
|
|
14
|
+
:name="iconFilter"
|
|
15
|
+
:class="[
|
|
16
|
+
'flex',
|
|
17
|
+
returnValue ? 'filter_icon_check' : 'filter_icon_select',
|
|
18
|
+
disable ? 'disable' : 'filter_icon_select',
|
|
19
|
+
]"
|
|
20
|
+
size="24"
|
|
21
|
+
:color="iconColor"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
<p>{{ filterTitle }}</p>
|
|
25
|
+
<arg-tooltip
|
|
26
|
+
v-if="infoIcon"
|
|
27
|
+
:tooltip-text="tooltipText"
|
|
28
|
+
:dir="tooltipDir"
|
|
29
|
+
class="filter_tooltip flex"
|
|
30
|
+
>
|
|
31
|
+
<arg-icon name="QuestionFill" color="var(--cool-grey)" size="16" />
|
|
32
|
+
</arg-tooltip>
|
|
33
|
+
</div>
|
|
29
34
|
</div>
|
|
30
35
|
</template>
|
|
31
36
|
|
|
32
37
|
<script>
|
|
33
38
|
import argIcon from "./argIcon.vue";
|
|
39
|
+
import argTooltip from "./argTooltip.vue";
|
|
34
40
|
import {
|
|
35
41
|
ref,
|
|
36
42
|
computed,
|
|
@@ -39,7 +45,7 @@ import {
|
|
|
39
45
|
} from "vue";
|
|
40
46
|
export default defineComponent({
|
|
41
47
|
name: "argCheckbox",
|
|
42
|
-
components: { argIcon },
|
|
48
|
+
components: { argIcon, argTooltip },
|
|
43
49
|
props: {
|
|
44
50
|
filterTitle: {
|
|
45
51
|
type: String,
|
|
@@ -60,9 +66,17 @@ export default defineComponent({
|
|
|
60
66
|
disable: {
|
|
61
67
|
type: Boolean,
|
|
62
68
|
default: false
|
|
69
|
+
},
|
|
70
|
+
tooltipDir: {
|
|
71
|
+
type: String,
|
|
72
|
+
default: "top"
|
|
73
|
+
},
|
|
74
|
+
checkbox_label: {
|
|
75
|
+
type: String,
|
|
76
|
+
required: true
|
|
63
77
|
}
|
|
64
78
|
},
|
|
65
|
-
emits: ["handleClick", "update:
|
|
79
|
+
emits: ["handleClick", "update:Check"],
|
|
66
80
|
setup(props, { emit }) {
|
|
67
81
|
const returnValue = ref(false);
|
|
68
82
|
const selectOption = ref(false);
|
|
@@ -97,7 +111,7 @@ export default defineComponent({
|
|
|
97
111
|
if (!props.disable) {
|
|
98
112
|
returnValue.value = !returnValue.value;
|
|
99
113
|
emit("handleClick", returnValue);
|
|
100
|
-
emit("update:
|
|
114
|
+
emit("update:Check", returnValue);
|
|
101
115
|
}
|
|
102
116
|
}
|
|
103
117
|
return {
|
|
@@ -125,6 +139,7 @@ export default defineComponent({
|
|
|
125
139
|
line-height: 16px;
|
|
126
140
|
height: 40px;
|
|
127
141
|
width: 228px;
|
|
142
|
+
cursor: pointer;
|
|
128
143
|
}
|
|
129
144
|
.filter_tooltip {
|
|
130
145
|
margin-left: auto !important;
|
|
@@ -133,10 +148,10 @@ export default defineComponent({
|
|
|
133
148
|
.filter_icon_check {
|
|
134
149
|
cursor: pointer;
|
|
135
150
|
}
|
|
136
|
-
.
|
|
151
|
+
.filter_box:hover .filter_icon_select {
|
|
137
152
|
color: var(--primary) !important;
|
|
138
153
|
}
|
|
139
|
-
.
|
|
154
|
+
.filter_box:hover .filter_icon_check {
|
|
140
155
|
color: var(--primary-hover2) !important;
|
|
141
156
|
}
|
|
142
157
|
.disable {
|
|
@@ -19,13 +19,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
+
tooltipDir: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
checkbox_label: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
22
30
|
}, {
|
|
23
|
-
iconFilter: import("vue").ComputedRef<"
|
|
31
|
+
iconFilter: import("vue").ComputedRef<"CheckSquareFill" | "MinusSquareDisable" | "Square">;
|
|
24
32
|
iconColor: import("vue").ComputedRef<"var(--wild-blue-yonder)" | "var(--independence)" | "var(--accent)">;
|
|
25
33
|
selectFilter: () => void;
|
|
26
34
|
selectOption: import("vue").Ref<boolean>;
|
|
27
35
|
returnValue: import("vue").Ref<boolean>;
|
|
28
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleClick" | "update:
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleClick" | "update:Check")[], "handleClick" | "update:Check", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
37
|
filterTitle: {
|
|
30
38
|
type: StringConstructor;
|
|
31
39
|
required: true;
|
|
@@ -46,13 +54,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
54
|
type: BooleanConstructor;
|
|
47
55
|
default: boolean;
|
|
48
56
|
};
|
|
57
|
+
tooltipDir: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
checkbox_label: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
49
65
|
}>> & {
|
|
50
66
|
onHandleClick?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
"onUpdate:
|
|
67
|
+
"onUpdate:Check"?: ((...args: any[]) => any) | undefined;
|
|
52
68
|
}, {
|
|
53
69
|
disable: boolean;
|
|
54
70
|
tooltipText: string;
|
|
55
71
|
infoIcon: boolean;
|
|
56
72
|
defaultSelect: boolean;
|
|
73
|
+
tooltipDir: string;
|
|
57
74
|
}, {}>;
|
|
58
75
|
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="filters_amount">
|
|
3
|
+
{{ amount }}
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import {
|
|
9
|
+
defineComponent
|
|
10
|
+
} from "vue";
|
|
11
|
+
export default defineComponent({
|
|
12
|
+
name: "argCircleAmount",
|
|
13
|
+
props: {
|
|
14
|
+
amount: {
|
|
15
|
+
type: [Number, String],
|
|
16
|
+
required: true
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
</script>
|
|
21
|
+
<style scoped>
|
|
22
|
+
.filters_amount {
|
|
23
|
+
display: flex;
|
|
24
|
+
padding: 2px 8px;
|
|
25
|
+
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: 8px;
|
|
30
|
+
border-radius: 16px;
|
|
31
|
+
border: 1px solid var(--base-dividers, #ececf2);
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
line-height: normal;
|
|
36
|
+
}
|
|
37
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
amount: {
|
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
amount: {
|
|
8
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div class="oip_data_loader_container">
|
|
3
3
|
<div class="oip_data_loader">
|
|
4
4
|
<div class="oip_data_loader_text_group">
|
|
5
|
-
<h1 class="oip_data_loader_title">
|
|
6
|
-
<h2 class="oip_data_loader_subtitle">
|
|
5
|
+
<h1 class="oip_data_loader_title">{{ text }}</h1>
|
|
6
|
+
<h2 class="oip_data_loader_subtitle">{{ subText }}</h2>
|
|
7
7
|
</div>
|
|
8
8
|
<div class="oip_data_loader_background_container">
|
|
9
9
|
<arg-icon
|
|
@@ -51,7 +51,17 @@ import {
|
|
|
51
51
|
import argIcon from "./argIcon.vue";
|
|
52
52
|
export default defineComponent({
|
|
53
53
|
name: "argDataLoader",
|
|
54
|
-
components: { argIcon }
|
|
54
|
+
components: { argIcon },
|
|
55
|
+
props: {
|
|
56
|
+
text: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: "Doing data science"
|
|
59
|
+
},
|
|
60
|
+
subText: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: "Thanks for waiting"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
55
65
|
});
|
|
56
66
|
</script>
|
|
57
67
|
|
|
@@ -1,2 +1,23 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
text: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
subText: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
text: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
subText: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
text: string;
|
|
21
|
+
subText: string;
|
|
22
|
+
}, {}>;
|
|
2
23
|
export default _default;
|
|
@@ -10,11 +10,13 @@
|
|
|
10
10
|
>
|
|
11
11
|
<arg-tooltip
|
|
12
12
|
class="full_width"
|
|
13
|
-
:disable="
|
|
14
|
-
|
|
13
|
+
:disable="
|
|
14
|
+
selected_item !== null ? true : !isEllipsisActive ? true : false
|
|
15
|
+
"
|
|
16
|
+
:tooltipText="selected_item !== null ? selected_item : ''"
|
|
15
17
|
>
|
|
16
18
|
<span
|
|
17
|
-
:class="selected_item ? '' : 'oip_empty_select'"
|
|
19
|
+
:class="selected_item !== null ? '' : 'oip_empty_select'"
|
|
18
20
|
:id="`label_${selected_item}`"
|
|
19
21
|
>{{ selected_item === null ? empty_msg : selected_item }}</span
|
|
20
22
|
>
|
|
@@ -152,14 +154,6 @@ export default defineComponent({
|
|
|
152
154
|
if (props.watch_default_change) {
|
|
153
155
|
selected_item.value = new_element_table[props.default_select];
|
|
154
156
|
selected_number.value = props.default_select;
|
|
155
|
-
emit(
|
|
156
|
-
"changeElement",
|
|
157
|
-
props.return_value ? selected_item.value : selected_number.value
|
|
158
|
-
);
|
|
159
|
-
emit(
|
|
160
|
-
"update:Selection",
|
|
161
|
-
props.return_value ? selected_item.value : selected_number.value
|
|
162
|
-
);
|
|
163
157
|
}
|
|
164
158
|
}
|
|
165
159
|
);
|
|
@@ -169,14 +163,6 @@ export default defineComponent({
|
|
|
169
163
|
if (!props.values_disabled.includes(new_default_select)) {
|
|
170
164
|
selected_item.value = props.element_table[new_default_select];
|
|
171
165
|
selected_number.value = new_default_select;
|
|
172
|
-
emit(
|
|
173
|
-
"changeElement",
|
|
174
|
-
props.return_value ? selected_item.value : selected_number.value
|
|
175
|
-
);
|
|
176
|
-
emit(
|
|
177
|
-
"update:Selection",
|
|
178
|
-
props.return_value ? selected_item.value : selected_number.value
|
|
179
|
-
);
|
|
180
166
|
}
|
|
181
167
|
}
|
|
182
168
|
);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<p :style="`font-size: ${emojiSize}px`" v-html="getEmojiCode"></p>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import {
|
|
7
|
+
computed,
|
|
8
|
+
defineComponent
|
|
9
|
+
} from "vue";
|
|
10
|
+
export default defineComponent({
|
|
11
|
+
name: "argEmoji",
|
|
12
|
+
props: {
|
|
13
|
+
emojiName: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: true
|
|
16
|
+
},
|
|
17
|
+
emojiSize: {
|
|
18
|
+
type: [String, Number],
|
|
19
|
+
default: "20"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
setup(props) {
|
|
23
|
+
const allEmojis = {
|
|
24
|
+
Lightbulb: "💡",
|
|
25
|
+
Pin: "📍",
|
|
26
|
+
Television: "📺"
|
|
27
|
+
};
|
|
28
|
+
const getEmojiCode = computed(() => {
|
|
29
|
+
return allEmojis[props.emojiName];
|
|
30
|
+
});
|
|
31
|
+
return { allEmojis, getEmojiCode };
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
</script>
|