@tekkare/auriga 0.1.47 → 0.1.49
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/argCheckbox.vue +1 -1
- package/dist/runtime/components/argMainLayout.vue +2 -2
- package/dist/runtime/components/argScopeChange.vue +2 -3
- package/dist/runtime/components/{argInfoBar.vue → argToolbar.vue} +3 -3
- package/dist/runtime/components/{argInfoBar.vue.d.ts → argToolbar.vue.d.ts} +2 -2
- package/dist/runtime/components/{argInfoSection.vue → argToolbarContent.vue} +4 -4
- package/dist/runtime/components/{argInfoSection.vue.d.ts → argToolbarContent.vue.d.ts} +3 -3
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
:class="infoOpen ? 'arg_info_open' : 'arg_info_closed'"
|
|
9
9
|
id="arg_info_section"
|
|
10
10
|
>
|
|
11
|
-
<slot name="
|
|
12
|
-
<slot name="
|
|
11
|
+
<slot name="toolbar" />
|
|
12
|
+
<slot name="toolbarContent" />
|
|
13
13
|
</div>
|
|
14
14
|
<div class="arg_main_layout_section" id="arg_main_layout_section">
|
|
15
15
|
<slot name="body" />
|
|
@@ -144,8 +144,7 @@ export default defineComponent({
|
|
|
144
144
|
z-index: 99 !important;
|
|
145
145
|
margin-top: 15px;
|
|
146
146
|
position: absolute;
|
|
147
|
-
|
|
148
|
-
max-height: 200px;
|
|
147
|
+
width: max-content;
|
|
149
148
|
border: 1.5px solid var(--dividers);
|
|
150
149
|
background: var(--demi-fond);
|
|
151
150
|
border-radius: 12px;
|
|
@@ -153,7 +152,7 @@ export default defineComponent({
|
|
|
153
152
|
padding: 16px;
|
|
154
153
|
display: flex;
|
|
155
154
|
flex-direction: column;
|
|
156
|
-
right: -
|
|
155
|
+
right: -22px;
|
|
157
156
|
}
|
|
158
157
|
|
|
159
158
|
.scope_change_display {
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import argIcon from "./argIcon.vue";
|
|
29
29
|
import argTooltip from "./argTooltip.vue";
|
|
30
30
|
export default defineComponent({
|
|
31
|
-
name: "
|
|
31
|
+
name: "argToolbar",
|
|
32
32
|
components: { argIcon, argTooltip },
|
|
33
33
|
props: {
|
|
34
34
|
infoArray: {
|
|
@@ -45,14 +45,14 @@ export default defineComponent({
|
|
|
45
45
|
required: true
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
emits: ["
|
|
48
|
+
emits: ["openToolbar"],
|
|
49
49
|
setup(props, { emit }) {
|
|
50
50
|
const activeMenu = ref("");
|
|
51
51
|
const infoOpen = ref(false);
|
|
52
52
|
function openMenu(item) {
|
|
53
53
|
infoOpen.value = true;
|
|
54
54
|
activeMenu.value = item;
|
|
55
|
-
emit("
|
|
55
|
+
emit("openToolbar", { open: infoOpen.value, menu: activeMenu.value });
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
58
|
infoOpen,
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
infoOpen: import("vue").Ref<boolean>;
|
|
15
15
|
activeMenu: import("vue").Ref<string>;
|
|
16
16
|
openMenu: (item: string) => void;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "openToolbar"[], "openToolbar", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
infoArray: {
|
|
19
19
|
type: ArrayConstructor;
|
|
20
20
|
default: () => {
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
29
|
}>> & {
|
|
30
|
-
|
|
30
|
+
onOpenToolbar?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
infoArray: unknown[];
|
|
33
33
|
}, {}>;
|
|
@@ -59,10 +59,10 @@ import {
|
|
|
59
59
|
} from "vue";
|
|
60
60
|
import argIcon from "./argIcon.vue";
|
|
61
61
|
export default defineComponent({
|
|
62
|
-
name: "
|
|
62
|
+
name: "argToolbarContent",
|
|
63
63
|
components: { argIcon },
|
|
64
64
|
props: {
|
|
65
|
-
|
|
65
|
+
toolbarOpen: {
|
|
66
66
|
type: Boolean,
|
|
67
67
|
default: true
|
|
68
68
|
},
|
|
@@ -89,7 +89,7 @@ export default defineComponent({
|
|
|
89
89
|
const trueActiveMenu = ref("");
|
|
90
90
|
const infoOpen = ref(false);
|
|
91
91
|
watch(
|
|
92
|
-
() => props.
|
|
92
|
+
() => props.toolbarOpen,
|
|
93
93
|
(new_info_open) => {
|
|
94
94
|
infoOpen.value = new_info_open;
|
|
95
95
|
}
|
|
@@ -102,7 +102,7 @@ export default defineComponent({
|
|
|
102
102
|
);
|
|
103
103
|
onMounted(() => {
|
|
104
104
|
trueActiveMenu.value = props.activeMenu;
|
|
105
|
-
infoOpen.value = props.
|
|
105
|
+
infoOpen.value = props.toolbarOpen;
|
|
106
106
|
});
|
|
107
107
|
function openMenu(item) {
|
|
108
108
|
infoOpen.value = true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
2
|
+
toolbarOpen: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
openMenu: (item: string) => void;
|
|
25
25
|
closeInfo: () => void;
|
|
26
26
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:Menu" | "update:Open")[], "update:Menu" | "update:Open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
|
|
27
|
+
toolbarOpen: {
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
"onUpdate:Menu"?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
"onUpdate:Open"?: ((...args: any[]) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
openInfo: boolean;
|
|
51
50
|
infoArray: unknown[];
|
|
52
51
|
activeMenu: string;
|
|
52
|
+
toolbarOpen: boolean;
|
|
53
53
|
}, {}>;
|
|
54
54
|
export default _default;
|