@tekkare/auriga 0.1.26 → 0.1.28
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 +4 -1
- package/dist/runtime/components/argActions.vue +47 -64
- package/dist/runtime/components/argActions.vue.d.ts +2 -16
- package/dist/runtime/components/argAdvancedSearchBar.vue.d.ts +2 -2
- package/dist/runtime/components/argBtn.vue +4 -2
- package/dist/runtime/components/argBtn.vue.d.ts +9 -0
- package/dist/runtime/components/argCheckbox.vue +1 -1
- package/dist/runtime/components/argDropdownSelect.vue +1 -1
- package/dist/runtime/components/argFileBtn.vue.d.ts +2 -2
- package/dist/runtime/components/argFlag.vue.d.ts +1 -1
- package/dist/runtime/components/argHeaderTabs.vue +2 -6
- package/dist/runtime/components/argHomeAllBlocks.vue +200 -0
- package/dist/runtime/components/argHomeAllBlocks.vue.d.ts +89 -0
- package/dist/runtime/components/argHomeContent.vue +46 -0
- package/dist/runtime/components/argHomeContent.vue.d.ts +2 -0
- package/dist/runtime/components/argHomeHeader.vue +82 -0
- package/dist/runtime/components/argHomeHeader.vue.d.ts +33 -0
- package/dist/runtime/components/argHomeKpis.vue +73 -0
- package/dist/runtime/components/argHomeKpis.vue.d.ts +38 -0
- package/dist/runtime/components/argHomeLayout.vue +38 -0
- package/dist/runtime/components/argHomeLayout.vue.d.ts +2 -0
- package/dist/runtime/components/argHomeSelectedBlock.vue +94 -0
- package/dist/runtime/components/argHomeSelectedBlock.vue.d.ts +14 -0
- package/dist/runtime/components/argIcon.vue +2 -0
- package/dist/runtime/components/argIcon.vue.d.ts +1 -0
- package/dist/runtime/components/argInfoBar.vue +11 -8
- package/dist/runtime/components/argLangSelect.vue +141 -0
- package/dist/runtime/components/argLangSelect.vue.d.ts +55 -0
- package/dist/runtime/components/argMultipleChoice.vue +1 -1
- package/dist/runtime/components/argMultipleSelect.vue +1 -1
- package/dist/runtime/components/argNoSelectedScope.vue +17 -5
- package/dist/runtime/components/argScopeHeader.vue +0 -4
- package/dist/runtime/components/argScopeHeader.vue.d.ts +0 -9
- package/dist/runtime/components/argScopeLayout.vue +2 -28
- package/dist/runtime/components/argScopeLayout.vue.d.ts +1 -13
- package/dist/runtime/components/argStyle.vue +20 -17
- package/dist/runtime/components/argTable.vue +1 -1
- package/dist/runtime/components/argTextBtn.vue +70 -0
- package/dist/runtime/components/argTextBtn.vue.d.ts +29 -0
- package/dist/runtime/components/argTooltip.vue +10 -66
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
langs: {
|
|
3
|
+
type: {
|
|
4
|
+
(arrayLength: number): Object[];
|
|
5
|
+
(...items: Object[]): Object[];
|
|
6
|
+
new (arrayLength: number): Object[];
|
|
7
|
+
new (...items: Object[]): Object[];
|
|
8
|
+
isArray(arg: any): arg is any[];
|
|
9
|
+
readonly prototype: any[];
|
|
10
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
13
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
14
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
15
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
16
|
+
};
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
default_locale: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
selectedItem: any;
|
|
25
|
+
showLangOptions: import("vue").Ref<boolean>;
|
|
26
|
+
selectLang: (item: any) => void;
|
|
27
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectLang" | "update:Lang")[], "onSelectLang" | "update:Lang", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
langs: {
|
|
29
|
+
type: {
|
|
30
|
+
(arrayLength: number): Object[];
|
|
31
|
+
(...items: Object[]): Object[];
|
|
32
|
+
new (arrayLength: number): Object[];
|
|
33
|
+
new (...items: Object[]): Object[];
|
|
34
|
+
isArray(arg: any): arg is any[];
|
|
35
|
+
readonly prototype: any[];
|
|
36
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
37
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
38
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
39
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
40
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
41
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
42
|
+
};
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
default_locale: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
}>> & {
|
|
50
|
+
onOnSelectLang?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
"onUpdate:Lang"?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
default_locale: string;
|
|
54
|
+
}, {}>;
|
|
55
|
+
export default _default;
|
|
@@ -822,7 +822,7 @@ export default defineComponent({
|
|
|
822
822
|
font-weight: 700 !important;
|
|
823
823
|
}
|
|
824
824
|
.oip_select_complex_selection_loop:hover > svg.add {
|
|
825
|
-
color: var(--
|
|
825
|
+
color: var(--) !important;
|
|
826
826
|
}
|
|
827
827
|
.oip_select_complex_selection_loop > svg.add {
|
|
828
828
|
color: var(--primary) !important;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
<arg-radio-buttons
|
|
22
22
|
dir="column"
|
|
23
|
-
:elements="scopeArray"
|
|
23
|
+
:elements="scopeArray.map((a) => a.title)"
|
|
24
24
|
:return_value="true"
|
|
25
25
|
v-model:Selection="selectedScope"
|
|
26
26
|
/>
|
|
@@ -33,13 +33,15 @@
|
|
|
33
33
|
@onClick="selectScope"
|
|
34
34
|
>{{ lang === "fr" ? "Appliquer le scope" : "Apply scope" }}</arg-btn
|
|
35
35
|
>
|
|
36
|
-
<div
|
|
36
|
+
<div
|
|
37
|
+
v-if="scopeArray.length > 0"
|
|
38
|
+
class="oip_row v-center gap-8 full-width"
|
|
39
|
+
>
|
|
37
40
|
<div class="scope_sep" />
|
|
38
41
|
<p class="scope_sep_text">or</p>
|
|
39
42
|
<div class="scope_sep" />
|
|
40
43
|
</div>
|
|
41
44
|
<arg-btn
|
|
42
|
-
v-if="scopeArray.length > 0"
|
|
43
45
|
btn-style="primary-stroke"
|
|
44
46
|
size="m"
|
|
45
47
|
full-width
|
|
@@ -84,8 +86,18 @@ export default defineComponent({
|
|
|
84
86
|
return `Vous devez s\xE9lectionner votre scope pour voir les r\xE9sultats ou donn\xE9es. Veuillez choisir une des options ci-dessous pour continuer`;
|
|
85
87
|
});
|
|
86
88
|
function selectScope() {
|
|
87
|
-
emit(
|
|
88
|
-
|
|
89
|
+
emit(
|
|
90
|
+
"onSelectScope",
|
|
91
|
+
props.scopeArray[props.scopeArray.findIndex(
|
|
92
|
+
(a) => a.title === selectedScope.value
|
|
93
|
+
)]
|
|
94
|
+
);
|
|
95
|
+
emit(
|
|
96
|
+
"update:Scope",
|
|
97
|
+
props.scopeArray[props.scopeArray.findIndex(
|
|
98
|
+
(a) => a.title === selectedScope.value
|
|
99
|
+
)]
|
|
100
|
+
);
|
|
89
101
|
}
|
|
90
102
|
function createNewScope() {
|
|
91
103
|
emit("onCreateScope");
|
|
@@ -3,10 +3,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
-
noSelection: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
6
|
lang: {
|
|
11
7
|
type: StringConstructor;
|
|
12
8
|
default: string;
|
|
@@ -20,10 +16,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
16
|
type: StringConstructor;
|
|
21
17
|
default: string;
|
|
22
18
|
};
|
|
23
|
-
noSelection: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
19
|
lang: {
|
|
28
20
|
type: StringConstructor;
|
|
29
21
|
default: string;
|
|
@@ -32,6 +24,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
24
|
}>>, {
|
|
33
25
|
lang: string;
|
|
34
26
|
scopeTitle: string;
|
|
35
|
-
noSelection: boolean;
|
|
36
27
|
}, {}>;
|
|
37
28
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<client-only><arg-style /></client-only>
|
|
2
3
|
<div class="arg_main_scope">
|
|
3
4
|
<slot name="header" />
|
|
4
5
|
<div class="arg_scope_layout_body">
|
|
@@ -9,40 +10,13 @@
|
|
|
9
10
|
</template>
|
|
10
11
|
<script>
|
|
11
12
|
import {
|
|
12
|
-
onMounted,
|
|
13
13
|
defineComponent
|
|
14
14
|
} from "vue";
|
|
15
|
-
import argIcon from "./argIcon.vue";
|
|
16
15
|
import argStyle from "./argStyle.vue";
|
|
17
16
|
import argFooter from "./argFooter.vue";
|
|
18
17
|
export default defineComponent({
|
|
19
18
|
name: "argScopeLayout",
|
|
20
|
-
components: {
|
|
21
|
-
props: {
|
|
22
|
-
sidebarOpen: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: true
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
setup() {
|
|
28
|
-
onMounted(() => {
|
|
29
|
-
adjustMarginForBody();
|
|
30
|
-
window.addEventListener("resize", adjustMarginForBody);
|
|
31
|
-
});
|
|
32
|
-
function adjustMarginForBody() {
|
|
33
|
-
const fixedHeader = document.getElementById("arg_header");
|
|
34
|
-
const bodyContent = document.getElementById("arg_main_layout_section");
|
|
35
|
-
const infoBar = document.getElementById("arg_info_section");
|
|
36
|
-
if (fixedHeader && bodyContent) {
|
|
37
|
-
const headerHeight = fixedHeader.offsetHeight;
|
|
38
|
-
bodyContent.style.marginTop = `${headerHeight}px`;
|
|
39
|
-
}
|
|
40
|
-
if (fixedHeader && infoBar) {
|
|
41
|
-
const headerHeight = fixedHeader.offsetHeight;
|
|
42
|
-
infoBar.style.top = `${headerHeight + 8}px`;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
19
|
+
components: { argStyle, argFooter }
|
|
46
20
|
});
|
|
47
21
|
</script>
|
|
48
22
|
<style>
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
sidebarOpen: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
sidebarOpen: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
}>>, {
|
|
12
|
-
sidebarOpen: boolean;
|
|
13
|
-
}, {}>;
|
|
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<{}>>, {}, {}>;
|
|
14
2
|
export default _default;
|
|
@@ -25,21 +25,20 @@ export default defineComponent({
|
|
|
25
25
|
|
|
26
26
|
/* PRIMARY */
|
|
27
27
|
--primary: #2176ff;
|
|
28
|
-
--primary-hover: #0966fb;
|
|
29
28
|
--primary-dark: #0056e0;
|
|
30
|
-
--primary-
|
|
29
|
+
--primary-hover: #0f44be;
|
|
31
30
|
--primary-light: #f4f8ff;
|
|
32
31
|
|
|
33
32
|
/* ACCENT */
|
|
34
33
|
--accent: #2176ff;
|
|
35
34
|
--accent-yellow: #ff981a;
|
|
36
|
-
--accent-hover: #
|
|
35
|
+
--accent-hover: #0f44be;
|
|
37
36
|
--accent-hover-yellow: #e7860f;
|
|
38
37
|
|
|
39
38
|
/* SYSTEM */
|
|
40
39
|
--alert: #fb4654;
|
|
41
40
|
--system-alert: #ef4444;
|
|
42
|
-
--alert-hover: #d21616;
|
|
41
|
+
--system-alert-hover: #d21616;
|
|
43
42
|
--warning: #fd9147;
|
|
44
43
|
--success: #32d175;
|
|
45
44
|
--system-success: #22c55e;
|
|
@@ -320,6 +319,10 @@ button {
|
|
|
320
319
|
width: calc(100% - 32px) !important;
|
|
321
320
|
}
|
|
322
321
|
|
|
322
|
+
.oip_round_btn {
|
|
323
|
+
border-radius: 16px !important;
|
|
324
|
+
}
|
|
325
|
+
|
|
323
326
|
.oip_primary-fill_button {
|
|
324
327
|
background: var(--primary) !important;
|
|
325
328
|
border: 2px solid var(--primary) !important;
|
|
@@ -333,8 +336,8 @@ button {
|
|
|
333
336
|
|
|
334
337
|
.oip_primary-fill_button:hover,
|
|
335
338
|
.oip_primary-fill_button:focus {
|
|
336
|
-
background: var(--primary-
|
|
337
|
-
border: 2px solid var(--primary-
|
|
339
|
+
background: var(--primary-hover) !important;
|
|
340
|
+
border: 2px solid var(--primary-hover) !important;
|
|
338
341
|
box-shadow: none !important;
|
|
339
342
|
color: var(--pure-white) !important;
|
|
340
343
|
}
|
|
@@ -502,7 +505,7 @@ button {
|
|
|
502
505
|
.oip_primary-stroke_icon_button:hover,
|
|
503
506
|
.oip_primary-stroke_icon_button:focus {
|
|
504
507
|
background: rgba(33, 118, 255, 0.05) !important;
|
|
505
|
-
color: var(--
|
|
508
|
+
color: var(--) !important;
|
|
506
509
|
}
|
|
507
510
|
.oip_primary-stroke_button .oip_button_spinner div,
|
|
508
511
|
.oip_primary-stroke_icon_button .oip_button_spinner div {
|
|
@@ -528,7 +531,7 @@ button {
|
|
|
528
531
|
.oip_warning-stroke_icon_button:focus {
|
|
529
532
|
background: rgba(239, 68, 68, 0.2) !important;
|
|
530
533
|
border: 2px solid rgba(251, 70, 84, 0.2) !important;
|
|
531
|
-
color: var(--alert-hover) !important;
|
|
534
|
+
color: var(--system-alert-hover) !important;
|
|
532
535
|
}
|
|
533
536
|
.oip_warning-stroke_button .oip_button_spinner div,
|
|
534
537
|
.oip_warning-stroke_icon_button .oip_button_spinner div {
|
|
@@ -537,15 +540,15 @@ button {
|
|
|
537
540
|
}
|
|
538
541
|
.oip_warning-stroke_button:hover .oip_button_spinner div,
|
|
539
542
|
.oip_warning-stroke_icon_button:hover .oip_button_spinner div {
|
|
540
|
-
border: 2px solid var(--alert-hover);
|
|
541
|
-
border-color: var(--alert-hover) transparent transparent transparent;
|
|
543
|
+
border: 2px solid var(--system-alert-hover);
|
|
544
|
+
border-color: var(--system-alert-hover) transparent transparent transparent;
|
|
542
545
|
}
|
|
543
546
|
.oip_warning-stroke_button:hover .oip__button_prefix_icon,
|
|
544
547
|
.oip_warning-stroke_button:focus .oip__button_prefix_icon,
|
|
545
548
|
.oip_warning-stroke_button:hover .oip__button_suffix_icon,
|
|
546
549
|
.oip_warning-stroke_button:focus .oip__button_suffix_icon {
|
|
547
|
-
stroke: var(--alert-hover) !important;
|
|
548
|
-
color: var(--alert-hover) !important;
|
|
550
|
+
stroke: var(--system-alert-hover) !important;
|
|
551
|
+
color: var(--system-alert-hover) !important;
|
|
549
552
|
}
|
|
550
553
|
.oip_warning-stroke_icon_button {
|
|
551
554
|
background: transparent !important;
|
|
@@ -557,12 +560,12 @@ button {
|
|
|
557
560
|
.oip_warning-stroke_icon_button:hover,
|
|
558
561
|
.oip_warning-stroke_icon_button:hover {
|
|
559
562
|
border: 2px solid rgba(251, 70, 84, 0.2) !important;
|
|
560
|
-
color: var(--alert-hover) !important;
|
|
563
|
+
color: var(--system-alert-hover) !important;
|
|
561
564
|
}
|
|
562
565
|
.oip_warning-stroke_icon_button:hover svg,
|
|
563
566
|
.oip_warning-stroke_icon_button:hover svg {
|
|
564
|
-
stroke: var(--alert-hover) !important;
|
|
565
|
-
color: var(--alert-hover) !important;
|
|
567
|
+
stroke: var(--system-alert-hover) !important;
|
|
568
|
+
color: var(--system-alert-hover) !important;
|
|
566
569
|
}
|
|
567
570
|
.oip_warning-fill_button {
|
|
568
571
|
background: var(--system-alert) !important;
|
|
@@ -574,8 +577,8 @@ button {
|
|
|
574
577
|
.oip_warning-fill_button:focus,
|
|
575
578
|
.oip_warning-fill_icon_button:hover,
|
|
576
579
|
.oip_warning-fill_icon_button:focus {
|
|
577
|
-
background: var(--alert-hover) !important;
|
|
578
|
-
border: 2px solid var(--alert-hover) !important;
|
|
580
|
+
background: var(--system-alert-hover) !important;
|
|
581
|
+
border: 2px solid var(--system-alert-hover) !important;
|
|
579
582
|
box-shadow: none !important;
|
|
580
583
|
}
|
|
581
584
|
.oip_warning-fill_button .oip_button_spinner div,
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="arg_text_btn"
|
|
4
|
+
:class="[`${textStyle}_text_btn`, disable ? 'disable_text_btn' : '']"
|
|
5
|
+
@click="sendAction()"
|
|
6
|
+
>
|
|
7
|
+
<slot />
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
import {
|
|
13
|
+
defineComponent
|
|
14
|
+
} from "vue";
|
|
15
|
+
export default defineComponent({
|
|
16
|
+
name: "argTextBtn",
|
|
17
|
+
props: {
|
|
18
|
+
textStyle: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "primary",
|
|
21
|
+
validator: (value) => {
|
|
22
|
+
return ["primary", "warning"].includes(value);
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
disable: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: false
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
emits: ["onClick"],
|
|
31
|
+
setup(props, { emit }) {
|
|
32
|
+
function sendAction() {
|
|
33
|
+
emit("onClick");
|
|
34
|
+
}
|
|
35
|
+
return { sendAction };
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<style scoped>
|
|
41
|
+
.arg_text_btn {
|
|
42
|
+
font-size: 14px;
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-weight: 500;
|
|
45
|
+
line-height: normal;
|
|
46
|
+
text-decoration-line: underline;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.primary_text_btn.disable_text_btn,
|
|
51
|
+
.warning_text_btn.disable_text_btn,
|
|
52
|
+
.primary_text_btn.disable_text_btn:hover,
|
|
53
|
+
.warning_text_btn.disable_text_btn:hover {
|
|
54
|
+
color: var(--wild-blue-yonder) !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.primary_text_btn {
|
|
58
|
+
color: var(--primary) !important;
|
|
59
|
+
}
|
|
60
|
+
.primary_text_btn:hover {
|
|
61
|
+
color: var(--primary-hover) !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.warning_text_btn {
|
|
65
|
+
color: var(--system-alert) !important;
|
|
66
|
+
}
|
|
67
|
+
.warning_text_btn:hover {
|
|
68
|
+
color: var(--system-alert-hover) !important;
|
|
69
|
+
}
|
|
70
|
+
</style>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
textStyle: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
validator: (value: string) => boolean;
|
|
6
|
+
};
|
|
7
|
+
disable: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
sendAction: () => void;
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
textStyle: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (value: string) => boolean;
|
|
18
|
+
};
|
|
19
|
+
disable: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
disable: boolean;
|
|
27
|
+
textStyle: string;
|
|
28
|
+
}, {}>;
|
|
29
|
+
export default _default;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
v-if="disable === false"
|
|
9
9
|
:class="`prmt_tooltip_text prmt_tooltip_text-${dir}`"
|
|
10
10
|
>
|
|
11
|
-
{{ tooltipText }}
|
|
11
|
+
<p>{{ tooltipText }}</p>
|
|
12
12
|
</div>
|
|
13
13
|
</div>
|
|
14
14
|
</template>
|
|
@@ -38,19 +38,20 @@ export default defineComponent({
|
|
|
38
38
|
|
|
39
39
|
.prmt_tooltip_text {
|
|
40
40
|
visibility: hidden;
|
|
41
|
-
|
|
41
|
+
width: fit-content;
|
|
42
|
+
max-width: 250px;
|
|
42
43
|
text-align: center;
|
|
43
44
|
background-color: var(--independence);
|
|
44
45
|
color: var(--pure-white);
|
|
45
|
-
border-radius:
|
|
46
|
+
border-radius: 4px;
|
|
46
47
|
position: absolute;
|
|
47
48
|
z-index: 2;
|
|
48
|
-
padding:
|
|
49
|
+
padding: 4px 12px;
|
|
49
50
|
margin-top: 4px;
|
|
50
51
|
font-weight: 400;
|
|
51
52
|
font-size: 14px;
|
|
52
53
|
line-height: 160%;
|
|
53
|
-
white-space:
|
|
54
|
+
white-space: nowrap;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
.prmt_tooltip .prmt_tooltip_text-top {
|
|
@@ -58,51 +59,16 @@ export default defineComponent({
|
|
|
58
59
|
left: 50%;
|
|
59
60
|
margin-left: -72px;
|
|
60
61
|
}
|
|
61
|
-
.prmt_tooltip .prmt_tooltip_text-top::after {
|
|
62
|
-
content: "";
|
|
63
|
-
position: absolute;
|
|
64
|
-
padding: 1px;
|
|
65
|
-
top: 98%;
|
|
66
|
-
left: 50%;
|
|
67
|
-
margin-left: -8px;
|
|
68
|
-
border-width: 7px;
|
|
69
|
-
border-bottom-left-radius: 4px;
|
|
70
|
-
border-style: solid;
|
|
71
|
-
border-color: var(--independence) transparent transparent transparent;
|
|
72
|
-
}
|
|
73
62
|
|
|
74
63
|
.prmt_tooltip .prmt_tooltip_text-right {
|
|
75
|
-
top: -
|
|
64
|
+
top: -8px;
|
|
76
65
|
left: 110%;
|
|
77
|
-
margin-left:
|
|
66
|
+
margin-left: 16px;
|
|
78
67
|
}
|
|
79
|
-
.prmt_tooltip .prmt_tooltip_text-right::after {
|
|
80
|
-
content: "";
|
|
81
|
-
position: absolute;
|
|
82
|
-
padding: 1px;
|
|
83
|
-
top: 60%;
|
|
84
|
-
right: 99%; /* To the left of the tooltip */
|
|
85
|
-
margin-top: -11px;
|
|
86
|
-
border-width: 7px;
|
|
87
|
-
border-style: solid;
|
|
88
|
-
border-color: transparent var(--independence) transparent transparent;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
68
|
.prmt_tooltip .prmt_tooltip_text-left {
|
|
92
|
-
top:
|
|
69
|
+
top: -8px;
|
|
93
70
|
right: 110%;
|
|
94
|
-
margin-right:
|
|
95
|
-
}
|
|
96
|
-
.prmt_tooltip .prmt_tooltip_text-left::after {
|
|
97
|
-
content: "";
|
|
98
|
-
position: absolute;
|
|
99
|
-
padding: 1px;
|
|
100
|
-
top: 55%;
|
|
101
|
-
left: 99.5%;
|
|
102
|
-
margin-top: -10px;
|
|
103
|
-
border-width: 7px;
|
|
104
|
-
border-style: solid;
|
|
105
|
-
border-color: transparent transparent transparent var(--independence);
|
|
71
|
+
margin-right: 16px;
|
|
106
72
|
}
|
|
107
73
|
|
|
108
74
|
.prmt_tooltip .prmt_tooltip_text-bottom {
|
|
@@ -116,26 +82,4 @@ export default defineComponent({
|
|
|
116
82
|
left: 50%;
|
|
117
83
|
margin-left: -130px;
|
|
118
84
|
}
|
|
119
|
-
.prmt_tooltip.last_tooltip .prmt_tooltip_text-bottom::after {
|
|
120
|
-
content: "";
|
|
121
|
-
position: absolute;
|
|
122
|
-
padding: 1px;
|
|
123
|
-
bottom: 98%;
|
|
124
|
-
left: 90% !important;
|
|
125
|
-
margin-left: -5px;
|
|
126
|
-
border-width: 7px;
|
|
127
|
-
border-style: solid;
|
|
128
|
-
border-color: transparent transparent var(--independence) transparent;
|
|
129
|
-
}
|
|
130
|
-
.prmt_tooltip .prmt_tooltip_text-bottom::after {
|
|
131
|
-
content: "";
|
|
132
|
-
position: absolute;
|
|
133
|
-
padding: 1px;
|
|
134
|
-
bottom: 95%;
|
|
135
|
-
left: 50%;
|
|
136
|
-
margin-left: -5px;
|
|
137
|
-
border-width: 7px;
|
|
138
|
-
border-style: solid;
|
|
139
|
-
border-color: transparent transparent var(--independence) transparent;
|
|
140
|
-
}
|
|
141
85
|
</style>
|