@tekkare/auriga 0.1.7 → 0.1.9

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.
Files changed (43) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/argActions.vue +120 -0
  3. package/dist/runtime/components/argActions.vue.d.ts +29 -0
  4. package/dist/runtime/components/argChart.vue +38 -4
  5. package/dist/runtime/components/argChartTableCard.vue +30 -0
  6. package/dist/runtime/components/argChartTableCard.vue.d.ts +2 -0
  7. package/dist/runtime/components/argCheckbox.vue +14 -6
  8. package/dist/runtime/components/argCheckbox.vue.d.ts +11 -2
  9. package/dist/runtime/components/argComplexSelect.vue +2 -2
  10. package/dist/runtime/components/argDataLoader.vue +13 -3
  11. package/dist/runtime/components/argDataLoader.vue.d.ts +22 -1
  12. package/dist/runtime/components/argFileBtn.vue.d.ts +2 -2
  13. package/dist/runtime/components/argFilterCard.vue +37 -8
  14. package/dist/runtime/components/argFilterCard.vue.d.ts +30 -1
  15. package/dist/runtime/components/argFilterTabs.vue +109 -0
  16. package/dist/runtime/components/argFilterTabs.vue.d.ts +64 -0
  17. package/dist/runtime/components/argFooter.vue +21 -20
  18. package/dist/runtime/components/argHeader.vue +8 -2
  19. package/dist/runtime/components/argHeader.vue.d.ts +9 -0
  20. package/dist/runtime/components/argInfoBar.vue +175 -0
  21. package/dist/runtime/components/argInfoBar.vue.d.ts +35 -0
  22. package/dist/runtime/components/argInfoSection.vue +265 -0
  23. package/dist/runtime/components/argInfoSection.vue.d.ts +55 -0
  24. package/dist/runtime/components/argMainLayout.vue +46 -21
  25. package/dist/runtime/components/argMainLayout.vue.d.ts +13 -1
  26. package/dist/runtime/components/argMenuItem.vue +44 -27
  27. package/dist/runtime/components/argMenuItem.vue.d.ts +11 -1
  28. package/dist/runtime/components/argMenuLink.vue +43 -20
  29. package/dist/runtime/components/argMenuLink.vue.d.ts +9 -0
  30. package/dist/runtime/components/argMultipleChoice.vue +25 -3
  31. package/dist/runtime/components/argMultipleSelect.vue +785 -0
  32. package/dist/runtime/components/argMultipleSelect.vue.d.ts +143 -0
  33. package/dist/runtime/components/argNavBar.vue +26 -12
  34. package/dist/runtime/components/argNavBar.vue.d.ts +11 -2
  35. package/dist/runtime/components/argRadioButtons.vue +134 -0
  36. package/dist/runtime/components/argRadioButtons.vue.d.ts +48 -0
  37. package/dist/runtime/components/argSidebar.vue +89 -9
  38. package/dist/runtime/components/argSidebar.vue.d.ts +8 -2
  39. package/dist/runtime/components/argStyle.vue +18 -2
  40. package/dist/runtime/components/argSubMenu.vue +79 -37
  41. package/dist/runtime/components/argSubMenu.vue.d.ts +9 -0
  42. package/dist/runtime/components/argTable.vue +15 -1
  43. package/package.json +1 -1
@@ -1,14 +1,30 @@
1
1
  <template>
2
- <div class="arg_sub_menu">
3
- <button class="arg_sub_menu_button" @click="openMenu = !openMenu">
4
- {{label}}
5
- <arg-icon name="CaretUp" size="12" color="var(--primary)" thickness="30" v-if="openMenu"/>
6
- <arg-icon name="CaretDown" size="12" color="var(--primary)" thickness="30" v-else/>
7
- </button>
8
- <div v-show="openMenu" class="arg_sub_menu_content">
9
- <slot/>
10
- </div>
2
+ <div :class="sidebarOpen ? 'arg_sub_menu' : 'arg_sub_small'">
3
+ <button class="arg_sub_menu_button" @click="openMenu = !openMenu">
4
+ <span v-show="sidebarOpen">{{ label }}</span>
5
+ <arg-tooltip
6
+ :tooltip-text="label"
7
+ :disable="sidebarOpen"
8
+ dir="right"
9
+ :class="['tooltip_display', sidebarOpen ? '' : 'submenu_tooltip_icon']"
10
+ >
11
+ <arg-icon
12
+ name="CaretDown"
13
+ size="12"
14
+ color="var(--cool-grey)"
15
+ thickness="30"
16
+ :class="[
17
+ 'action_icon',
18
+ sidebarOpen ? '' : 'icon_sb',
19
+ openMenu ? 'active_icon' : '',
20
+ ]"
21
+ />
22
+ </arg-tooltip>
23
+ </button>
24
+ <div v-show="openMenu" class="arg_sub_menu_content">
25
+ <slot />
11
26
  </div>
27
+ </div>
12
28
  </template>
13
29
  <script>
14
30
  import {
@@ -23,7 +39,8 @@ export default defineComponent({
23
39
  props: {
24
40
  label: { type: String, required: true },
25
41
  icon: { type: String },
26
- defaultCollapseState: { type: Boolean, default: true }
42
+ defaultCollapseState: { type: Boolean, default: true },
43
+ sidebarOpen: { type: Boolean, default: true }
27
44
  },
28
45
  setup(props) {
29
46
  let openMenu = ref(props.defaultCollapseState);
@@ -34,34 +51,59 @@ export default defineComponent({
34
51
  });
35
52
  </script>
36
53
  <style>
37
- .arg_sub_menu{
38
- display: flex;
39
- flex-direction: column;
40
- align-items: flex-start;
41
- gap: 8px;
42
- align-self: stretch;
43
- width: 100%;
44
- cursor: pointer;
54
+ .arg_sub_small {
55
+ display: flex;
56
+ flex-direction: column;
57
+ align-items: flex-start;
58
+ gap: var(--s, 8px);
59
+ }
60
+ .arg_sub_menu {
61
+ display: flex;
62
+ flex-direction: column;
63
+ align-items: flex-start;
64
+ gap: 8px;
65
+ align-self: stretch;
66
+ width: 100%;
67
+ cursor: pointer;
45
68
  }
46
69
 
47
- .arg_sub_menu_button{
48
- width: 100%;
49
- outline: none;
50
- border: 0px solid transparent;
51
- background-color: transparent;
52
- padding: 0;
53
- display: flex;
54
- padding: 3px 8px 6px 8px;
55
- align-items: center;
56
- gap: 10px;
57
- align-self: stretch;
58
- font-size: 14px;
59
- font-style: normal;
60
- font-weight: 700;
61
- line-height: normal;
62
- cursor: pointer;
70
+ .arg_sub_menu_button {
71
+ width: 100%;
72
+ outline: none;
73
+ border: 0px solid transparent;
74
+ background-color: transparent;
75
+ padding: 0;
76
+ display: flex;
77
+ padding: 3px 8px 6px 8px;
78
+ align-items: center;
79
+ justify-content: space-between;
80
+ gap: 10px;
81
+ align-self: stretch;
82
+ font-size: 14px;
83
+ font-style: normal;
84
+ font-weight: 700;
85
+ line-height: normal;
86
+ cursor: pointer;
87
+ }
88
+ .arg_sub_menu_content {
89
+ width: 100%;
63
90
  }
64
- .arg_sub_menu_content{
65
- width: 100%;
91
+
92
+ .icon_sb,
93
+ .submenu_tooltip_icon {
94
+ flex: 1 1 100%;
95
+ }
96
+
97
+ .tooltip_display {
98
+ display: flex !important;
99
+ }
100
+
101
+ .action_icon {
102
+ transition: all ease 0.3s;
103
+ }
104
+
105
+ .active_icon {
106
+ transform: rotate(180deg);
107
+ color: var(--primary) !important;
66
108
  }
67
- </style>
109
+ </style>
@@ -10,6 +10,10 @@ declare const _default: import("vue").DefineComponent<{
10
10
  type: BooleanConstructor;
11
11
  default: boolean;
12
12
  };
13
+ sidebarOpen: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
13
17
  }, {
14
18
  openMenu: import("vue").Ref<boolean>;
15
19
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -24,7 +28,12 @@ declare const _default: import("vue").DefineComponent<{
24
28
  type: BooleanConstructor;
25
29
  default: boolean;
26
30
  };
31
+ sidebarOpen: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
27
35
  }>>, {
36
+ sidebarOpen: boolean;
28
37
  defaultCollapseState: boolean;
29
38
  }, {}>;
30
39
  export default _default;
@@ -180,7 +180,7 @@
180
180
  <div class="show_full_table">
181
181
  <arg-btn
182
182
  v-if="
183
- (saveTable.length > savePageSize || this.showFull) &&
183
+ (saveTable.length > savePageSize || showFull) &&
184
184
  finalTable.length > 0 &&
185
185
  showToggle
186
186
  "
@@ -909,4 +909,18 @@ th:last-child div.show .rcd-searchInput {
909
909
  .hidden {
910
910
  display: none !important;
911
911
  }
912
+ .scroll_table .rcd_scrollTable::-webkit-scrollbar {
913
+ width: 5px !important;
914
+ }
915
+
916
+ .scroll_table .rcd_scrollTable::-webkit-scrollbar-thumb,
917
+ .modal_content::-webkit-scrollbar-thumb {
918
+ background: var(--lavendar-grey);
919
+ border-radius: 15px;
920
+ }
921
+
922
+ .scroll_table .rcd_scrollTable::-webkit-scrollbar-thumb:hover,
923
+ .modal_content::-webkit-scrollbar-thumb:hover {
924
+ background: var(--wild-blue-yonder) !important ;
925
+ }
912
926
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",