@tekkare/auriga 0.1.27 → 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.
Files changed (33) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/allIcons.vue +4 -1
  3. package/dist/runtime/components/argActions.vue +47 -64
  4. package/dist/runtime/components/argActions.vue.d.ts +2 -16
  5. package/dist/runtime/components/argAdvancedSearchBar.vue.d.ts +2 -2
  6. package/dist/runtime/components/argBtn.vue +4 -2
  7. package/dist/runtime/components/argBtn.vue.d.ts +9 -0
  8. package/dist/runtime/components/argFileBtn.vue.d.ts +2 -2
  9. package/dist/runtime/components/argFlag.vue.d.ts +1 -1
  10. package/dist/runtime/components/argHomeAllBlocks.vue +200 -0
  11. package/dist/runtime/components/argHomeAllBlocks.vue.d.ts +89 -0
  12. package/dist/runtime/components/argHomeContent.vue +46 -0
  13. package/dist/runtime/components/argHomeContent.vue.d.ts +2 -0
  14. package/dist/runtime/components/argHomeHeader.vue +82 -0
  15. package/dist/runtime/components/argHomeHeader.vue.d.ts +33 -0
  16. package/dist/runtime/components/argHomeKpis.vue +73 -0
  17. package/dist/runtime/components/argHomeKpis.vue.d.ts +38 -0
  18. package/dist/runtime/components/argHomeLayout.vue +38 -0
  19. package/dist/runtime/components/argHomeLayout.vue.d.ts +2 -0
  20. package/dist/runtime/components/argHomeSelectedBlock.vue +94 -0
  21. package/dist/runtime/components/argHomeSelectedBlock.vue.d.ts +14 -0
  22. package/dist/runtime/components/argIcon.vue +2 -0
  23. package/dist/runtime/components/argIcon.vue.d.ts +1 -0
  24. package/dist/runtime/components/argLangSelect.vue +141 -0
  25. package/dist/runtime/components/argLangSelect.vue.d.ts +55 -0
  26. package/dist/runtime/components/argScopeHeader.vue +0 -4
  27. package/dist/runtime/components/argScopeHeader.vue.d.ts +0 -9
  28. package/dist/runtime/components/argScopeLayout.vue +2 -28
  29. package/dist/runtime/components/argScopeLayout.vue.d.ts +1 -13
  30. package/dist/runtime/components/argStyle.vue +4 -0
  31. package/dist/runtime/components/argTextBtn.vue +13 -2
  32. package/dist/runtime/components/argTextBtn.vue.d.ts +9 -0
  33. package/package.json +1 -1
@@ -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: { argIcon, argStyle, argFooter },
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;
@@ -319,6 +319,10 @@ button {
319
319
  width: calc(100% - 32px) !important;
320
320
  }
321
321
 
322
+ .oip_round_btn {
323
+ border-radius: 16px !important;
324
+ }
325
+
322
326
  .oip_primary-fill_button {
323
327
  background: var(--primary) !important;
324
328
  border: 2px solid var(--primary) !important;
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  class="arg_text_btn"
4
- :class="`${textStyle}_text_btn`"
4
+ :class="[`${textStyle}_text_btn`, disable ? 'disable_text_btn' : '']"
5
5
  @click="sendAction()"
6
6
  >
7
7
  <slot />
@@ -21,6 +21,10 @@ export default defineComponent({
21
21
  validator: (value) => {
22
22
  return ["primary", "warning"].includes(value);
23
23
  }
24
+ },
25
+ disable: {
26
+ type: Boolean,
27
+ default: false
24
28
  }
25
29
  },
26
30
  emits: ["onClick"],
@@ -43,11 +47,18 @@ export default defineComponent({
43
47
  cursor: pointer;
44
48
  }
45
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
+
46
57
  .primary_text_btn {
47
58
  color: var(--primary) !important;
48
59
  }
49
60
  .primary_text_btn:hover {
50
- color: var(--primary) !important;
61
+ color: var(--primary-hover) !important;
51
62
  }
52
63
 
53
64
  .warning_text_btn {
@@ -4,6 +4,10 @@ declare const _default: import("vue").DefineComponent<{
4
4
  default: string;
5
5
  validator: (value: string) => boolean;
6
6
  };
7
+ disable: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
7
11
  }, {
8
12
  sendAction: () => void;
9
13
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -12,9 +16,14 @@ declare const _default: import("vue").DefineComponent<{
12
16
  default: string;
13
17
  validator: (value: string) => boolean;
14
18
  };
19
+ disable: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
15
23
  }>> & {
16
24
  onOnClick?: ((...args: any[]) => any) | undefined;
17
25
  }, {
26
+ disable: boolean;
18
27
  textStyle: string;
19
28
  }, {}>;
20
29
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",