@tekkare/auriga 0.1.0 → 0.1.3
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/argAdvancedSearchBar.vue +318 -321
- package/dist/runtime/components/argAdvancedSearchBar.vue.d.ts +89 -3
- package/dist/runtime/components/argBtn.vue +48 -39
- package/dist/runtime/components/argBtn.vue.d.ts +72 -3
- package/dist/runtime/components/argComplexSelect.vue +255 -256
- package/dist/runtime/components/argComplexSelect.vue.d.ts +175 -3
- package/dist/runtime/components/argDataLoader.vue +8 -3
- package/dist/runtime/components/argDataLoader.vue.d.ts +1 -3
- package/dist/runtime/components/argDropdownSelect.vue +145 -138
- package/dist/runtime/components/argDropdownSelect.vue.d.ts +139 -3
- package/dist/runtime/components/argFileBtn.vue +58 -56
- package/dist/runtime/components/argFileBtn.vue.d.ts +60 -3
- package/dist/runtime/components/argHeaderTabs.vue +94 -101
- package/dist/runtime/components/argHeaderTabs.vue.d.ts +30 -3
- package/dist/runtime/components/argIcon.vue +2136 -3117
- package/dist/runtime/components/argIcon.vue.d.ts +1110 -2
- package/dist/runtime/components/argMultipleChoice.vue +84 -78
- package/dist/runtime/components/argMultipleChoice.vue.d.ts +49 -3
- package/dist/runtime/components/argNoData.vue +28 -25
- package/dist/runtime/components/argNoData.vue.d.ts +26 -3
- package/dist/runtime/components/argSearchInput.vue +38 -37
- package/dist/runtime/components/argSearchInput.vue.d.ts +30 -3
- package/dist/runtime/components/argSimpleLabel.vue +13 -11
- package/dist/runtime/components/argSimpleLabel.vue.d.ts +13 -3
- package/dist/runtime/components/argStyle.vue +8 -3
- package/dist/runtime/components/argStyle.vue.d.ts +1 -3
- package/dist/runtime/components/argTable.vue +384 -395
- package/dist/runtime/components/argTable.vue.d.ts +337 -3
- package/dist/runtime/components/argTags.vue +20 -10
- package/dist/runtime/components/argTags.vue.d.ts +26 -3
- package/dist/runtime/components/argTekkareLoader.vue +5 -2
- package/dist/runtime/components/argTekkareLoader.vue.d.ts +1 -3
- package/dist/runtime/components/argTooltip.vue +11 -11
- package/dist/runtime/components/argTooltip.vue.d.ts +39 -3
- package/package.json +5 -2
|
@@ -1,4 +1,90 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
placeHolderValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
customShortcuts: {
|
|
7
|
+
type: {
|
|
8
|
+
(arrayLength: number): any[];
|
|
9
|
+
(...items: any[]): any[];
|
|
10
|
+
new (arrayLength: number): any[];
|
|
11
|
+
new (...items: any[]): any[];
|
|
12
|
+
isArray(arg: any): arg is any[];
|
|
13
|
+
readonly prototype: any[];
|
|
14
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
15
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
16
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
17
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
18
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
19
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
20
|
+
};
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
close: () => void;
|
|
25
|
+
changeDisplay: () => void;
|
|
26
|
+
handleDelete: () => void;
|
|
27
|
+
removeTag: (tagIndex: any) => void;
|
|
28
|
+
selectSearch: (item: any) => void;
|
|
29
|
+
emptySearch: () => void;
|
|
30
|
+
getKeyword: (keyword: string) => string | undefined;
|
|
31
|
+
handleDuplicate: (tag: any) => void;
|
|
32
|
+
addTag: () => void;
|
|
33
|
+
resetSearch: () => void;
|
|
34
|
+
selectTag: (index: number, direction: number) => void;
|
|
35
|
+
addToSearch: (search: string, textValue: string) => void;
|
|
36
|
+
shortcutColor: (shortcut: string) => "var(--independence)" | "var(--pure-white)";
|
|
37
|
+
shortcutSelect: (dir: string) => void;
|
|
38
|
+
typing: import("vue").Ref<boolean>;
|
|
39
|
+
shortcuts: import("vue").Ref<{
|
|
40
|
+
keyword: string;
|
|
41
|
+
value: string;
|
|
42
|
+
symbol: string;
|
|
43
|
+
}[]>;
|
|
44
|
+
hoverShortcut: import("vue").Ref<string>;
|
|
45
|
+
selectedShortcut: import("vue").Ref<string>;
|
|
46
|
+
searchedWords: import("vue").Ref<never[]>;
|
|
47
|
+
closeIndex: import("vue").Ref<any>;
|
|
48
|
+
value: import("vue").Ref<string>;
|
|
49
|
+
selectedTag: import("vue").Ref<any>;
|
|
50
|
+
duplicate: import("vue").Ref<string>;
|
|
51
|
+
searchBar: import("vue").Ref<any>;
|
|
52
|
+
tagsSection: import("vue").Ref<any>;
|
|
53
|
+
shortcutIndex: import("vue").Ref<number>;
|
|
54
|
+
removeSelected: import("vue").Ref<boolean>;
|
|
55
|
+
hoverTag: import("vue").Ref<any>;
|
|
56
|
+
showInfo: import("vue").Ref<any>;
|
|
57
|
+
regexSearch: RegExp;
|
|
58
|
+
iconColor: import("vue").ComputedRef<"var(--primary)" | "var(--wild-blue-yonder)">;
|
|
59
|
+
hasShortcut: import("vue").ComputedRef<boolean>;
|
|
60
|
+
infoHeight: import("vue").ComputedRef<boolean>;
|
|
61
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:Value" | "onClose")[], "update:Value" | "onClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
placeHolderValue: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
customShortcuts: {
|
|
67
|
+
type: {
|
|
68
|
+
(arrayLength: number): any[];
|
|
69
|
+
(...items: any[]): any[];
|
|
70
|
+
new (arrayLength: number): any[];
|
|
71
|
+
new (...items: any[]): any[];
|
|
72
|
+
isArray(arg: any): arg is any[];
|
|
73
|
+
readonly prototype: any[];
|
|
74
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
75
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
76
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
77
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
78
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
79
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
80
|
+
};
|
|
81
|
+
default: () => never[];
|
|
82
|
+
};
|
|
83
|
+
}>> & {
|
|
84
|
+
"onUpdate:Value"?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
placeHolderValue: string;
|
|
88
|
+
customShortcuts: any[];
|
|
89
|
+
}, {}>;
|
|
4
90
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<client-only><arg-style /></client-only>
|
|
2
3
|
<div>
|
|
3
4
|
<div
|
|
4
5
|
v-if="onlyIcon === false"
|
|
@@ -6,6 +7,7 @@
|
|
|
6
7
|
`oip_${btnStyle}_button oip_btn ` +
|
|
7
8
|
[becomeSmall === true ? 'prmt_button_big' : '']
|
|
8
9
|
"
|
|
10
|
+
@click="send()"
|
|
9
11
|
>
|
|
10
12
|
<span :class="{ oip_button_is_loading: loading }" class="oip_button_flex">
|
|
11
13
|
<span v-if="prefixIcon">
|
|
@@ -25,7 +27,6 @@
|
|
|
25
27
|
</div>
|
|
26
28
|
</span>
|
|
27
29
|
</div>
|
|
28
|
-
|
|
29
30
|
<div
|
|
30
31
|
v-if="becomeSmall === true || onlyIcon === true"
|
|
31
32
|
:class="
|
|
@@ -50,47 +51,55 @@
|
|
|
50
51
|
</div>
|
|
51
52
|
</div>
|
|
52
53
|
</template>
|
|
54
|
+
|
|
53
55
|
<script>
|
|
54
|
-
export default {
|
|
55
|
-
name: "argBtn"
|
|
56
|
-
};
|
|
57
|
-
</script>
|
|
58
|
-
<script setup lang="ts">
|
|
59
56
|
import argIcon from "./argIcon.vue";
|
|
60
|
-
import
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
57
|
+
import argStyle from "./argStyle.vue";
|
|
58
|
+
import {
|
|
59
|
+
ref,
|
|
60
|
+
computed,
|
|
61
|
+
defineComponent
|
|
62
|
+
} from "vue";
|
|
63
|
+
export default defineComponent({
|
|
64
|
+
name: "argBtn",
|
|
65
|
+
components: { argIcon, argStyle },
|
|
66
|
+
props: {
|
|
67
|
+
btnStyle: { type: String, default: "primary" },
|
|
68
|
+
becomeSmall: { type: Boolean, default: true },
|
|
69
|
+
icon: { type: String, default: "Spinner" },
|
|
70
|
+
onlyIcon: { type: Boolean, default: false },
|
|
71
|
+
prefixIcon: { type: String, default: null },
|
|
72
|
+
suffixIcon: { type: String, default: null },
|
|
73
|
+
loading: { type: Boolean, default: false }
|
|
74
|
+
},
|
|
75
|
+
emits: ["onClick"],
|
|
76
|
+
setup(props, { emit }) {
|
|
77
|
+
const getIconColor = computed(() => {
|
|
78
|
+
const finalColor = ref("");
|
|
79
|
+
if (["primary", "tertiary", "terciary", "dark", "green", "red"].includes(
|
|
80
|
+
props.btnStyle
|
|
81
|
+
)) {
|
|
82
|
+
finalColor.value = "var(--pure-white)";
|
|
83
|
+
} else if (props.btnStyle === "secondary") {
|
|
84
|
+
finalColor.value = "var(--wild-blue-yonder)";
|
|
85
|
+
} else if (props.btnStyle === "outlined") {
|
|
86
|
+
finalColor.value = "var(--primary)";
|
|
87
|
+
} else if (props.btnStyle === "skeleton") {
|
|
88
|
+
finalColor.value = "var(--independence)";
|
|
89
|
+
} else if (props.btnStyle === "disable") {
|
|
90
|
+
finalColor.value = "var(--cool-grey)";
|
|
91
|
+
} else if (props.btnStyle === "success") {
|
|
92
|
+
finalColor.value = "var(--system-success)";
|
|
93
|
+
} else if (props.btnStyle === "warning") {
|
|
94
|
+
finalColor.value = "var(--system-alert)";
|
|
95
|
+
}
|
|
96
|
+
return finalColor.value;
|
|
97
|
+
});
|
|
98
|
+
function send() {
|
|
99
|
+
emit("onClick");
|
|
100
|
+
}
|
|
101
|
+
return { getIconColor, send };
|
|
92
102
|
}
|
|
93
|
-
return finalColor.value;
|
|
94
103
|
});
|
|
95
104
|
</script>
|
|
96
105
|
|
|
@@ -1,4 +1,73 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
btnStyle: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
becomeSmall: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
icon: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
onlyIcon: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
prefixIcon: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
suffixIcon: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
26
|
+
loading: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
getIconColor: import("vue").ComputedRef<string>;
|
|
32
|
+
send: () => void;
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
btnStyle: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
becomeSmall: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
icon: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
onlyIcon: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
prefixIcon: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: null;
|
|
53
|
+
};
|
|
54
|
+
suffixIcon: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: null;
|
|
57
|
+
};
|
|
58
|
+
loading: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
}>> & {
|
|
63
|
+
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
btnStyle: string;
|
|
66
|
+
becomeSmall: boolean;
|
|
67
|
+
icon: string;
|
|
68
|
+
onlyIcon: boolean;
|
|
69
|
+
prefixIcon: string;
|
|
70
|
+
suffixIcon: string;
|
|
71
|
+
loading: boolean;
|
|
72
|
+
}, {}>;
|
|
4
73
|
export default _default;
|