@tekkare/auriga 0.1.27 → 0.1.29

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/allIcons.vue +4 -1
  3. package/dist/runtime/components/argActions.vue +57 -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 +11 -4
  7. package/dist/runtime/components/argBtn.vue.d.ts +9 -0
  8. package/dist/runtime/components/argChart.vue +31 -3
  9. package/dist/runtime/components/argFileBtn.vue.d.ts +2 -2
  10. package/dist/runtime/components/argFlag.vue.d.ts +1 -1
  11. package/dist/runtime/components/argHomeAllBlocks.vue +201 -0
  12. package/dist/runtime/components/argHomeAllBlocks.vue.d.ts +89 -0
  13. package/dist/runtime/components/argHomeContent.vue +46 -0
  14. package/dist/runtime/components/argHomeContent.vue.d.ts +2 -0
  15. package/dist/runtime/components/argHomeHeader.vue +82 -0
  16. package/dist/runtime/components/argHomeHeader.vue.d.ts +33 -0
  17. package/dist/runtime/components/argHomeKpis.vue +73 -0
  18. package/dist/runtime/components/argHomeKpis.vue.d.ts +38 -0
  19. package/dist/runtime/components/argHomeLayout.vue +38 -0
  20. package/dist/runtime/components/argHomeLayout.vue.d.ts +2 -0
  21. package/dist/runtime/components/argHomeSelectedBlock.vue +94 -0
  22. package/dist/runtime/components/argHomeSelectedBlock.vue.d.ts +14 -0
  23. package/dist/runtime/components/argIcon.vue +2 -0
  24. package/dist/runtime/components/argIcon.vue.d.ts +1 -0
  25. package/dist/runtime/components/argLangSelect.vue +141 -0
  26. package/dist/runtime/components/argLangSelect.vue.d.ts +55 -0
  27. package/dist/runtime/components/argScopeHeader.vue +1 -5
  28. package/dist/runtime/components/argScopeHeader.vue.d.ts +0 -9
  29. package/dist/runtime/components/argScopeLayout.vue +2 -28
  30. package/dist/runtime/components/argScopeLayout.vue.d.ts +1 -13
  31. package/dist/runtime/components/argScopeManage.vue +248 -0
  32. package/dist/runtime/components/argScopeManage.vue.d.ts +32 -0
  33. package/dist/runtime/components/argScopeModal.vue +6 -4
  34. package/dist/runtime/components/argSimpleLabel.vue +8 -0
  35. package/dist/runtime/components/argSimpleLabel.vue.d.ts +1 -1
  36. package/dist/runtime/components/argStyle.vue +60 -20
  37. package/dist/runtime/components/argStyle.vue.d.ts +1 -1
  38. package/dist/runtime/components/argSubMenu.vue +3 -0
  39. package/dist/runtime/components/argTable.vue.d.ts +1 -1
  40. package/dist/runtime/components/argTextBtn.vue +13 -2
  41. package/dist/runtime/components/argTextBtn.vue.d.ts +9 -0
  42. package/dist/runtime/components/argTutoModal.vue +1 -1
  43. package/package.json +1 -1
@@ -3,10 +3,18 @@
3
3
  </template>
4
4
  <script>
5
5
  import {
6
+ onMounted,
6
7
  defineComponent
7
8
  } from "vue";
8
9
  export default defineComponent({
9
- name: "argStyle"
10
+ name: "argStyle",
11
+ setup() {
12
+ onMounted(() => {
13
+ CSS.paintWorklet.addModule(
14
+ "https://www.unpkg.com/css-houdini-squircle/squircle.min.js"
15
+ );
16
+ });
17
+ }
10
18
  });
11
19
  </script>
12
20
  <style>
@@ -68,7 +76,10 @@ export default defineComponent({
68
76
  --overlay-shadow: 0px 0px 40px rgba(94, 92, 154, 0.12);
69
77
  --button-small-shadow: 3px 5px 20px rgba(94, 92, 154, 0.1);
70
78
  --button-big-shadow: 3px 5px 10px rgba(62, 63, 94, 0.2);
71
- --primary-button-shadow: 4px 7px 12px rgba(33, 118, 255, 0.2);
79
+ --primary-button-shadow: 4px 7px 12px 0px rgba(33, 118, 255, 0.2);
80
+ --secondary-button-shadow: 4px 7px 12px 0px rgba(62, 63, 94, 0.2);
81
+ --warning-button-shadow: 4px 7px 12px 0px rgba(239, 68, 68, 0.2);
82
+ --success-button-shadow: 4px 7px 12px 0px rgba(34, 197, 94, 0.2);
72
83
  --accent-button-shadow: 4px 7px 12px rgba(255, 152, 26, 0.2);
73
84
 
74
85
  /*company colors*/
@@ -107,7 +118,7 @@ button {
107
118
  }
108
119
  .oip_container {
109
120
  margin: 0 auto;
110
- padding: 0px 64px 0px 8px;
121
+ padding: 0px 64px 0px 32px;
111
122
  max-width: 1080px;
112
123
  }
113
124
 
@@ -305,6 +316,32 @@ button {
305
316
  font-size: 14px !important;
306
317
  line-height: 16px !important;
307
318
  width: fit-content;
319
+ mask-image: paint(squircle);
320
+ --squircle-radius: 8px;
321
+ --squircle-smooth: 1;
322
+ }
323
+
324
+ .oip_primary-fill_shadow {
325
+ box-shadow: var(--primary-button-shadow) !important;
326
+ border-radius: 8px;
327
+ }
328
+ .oip_secondary-fill_shadow {
329
+ box-shadow: var(--secondary-button-shadow) !important;
330
+ border-radius: 8px;
331
+ }
332
+ .oip_warning-fill_shadow {
333
+ box-shadow: var(--warning-button-shadow) !important;
334
+ border-radius: 8px;
335
+ }
336
+ .oip_success-fill_shadow {
337
+ box-shadow: var(--success-button-shadow) !important;
338
+ border-radius: 8px;
339
+ }
340
+ .oip_primary-fill_shadow:hover,
341
+ .oip_secondary-fill_shadow:hover,
342
+ .oip_warning-fill_shadow:hover,
343
+ .oip_success-fill_shadow:hover {
344
+ box-shadow: none !important;
308
345
  }
309
346
 
310
347
  .oip_btn_s {
@@ -316,13 +353,16 @@ button {
316
353
  }
317
354
 
318
355
  .oip_full_btn {
319
- width: calc(100% - 32px) !important;
356
+ width: calc(100% - 36px) !important;
357
+ }
358
+
359
+ .oip_round_btn {
360
+ border-radius: 16px !important;
320
361
  }
321
362
 
322
363
  .oip_primary-fill_button {
323
364
  background: var(--primary) !important;
324
365
  border: 2px solid var(--primary) !important;
325
- box-shadow: var(--primary-button-shadow) !important;
326
366
  color: var(--pure-white) !important;
327
367
  }
328
368
  .oip_primary-fill_button .oip_button_spinner div {
@@ -450,11 +490,13 @@ button {
450
490
  }
451
491
 
452
492
  .oip_secondary-stroke_button:hover,
453
- .oip_secondary-stroke_button:focus {
493
+ .oip_secondary-stroke_button:focus,
494
+ .oip_secondary-stroke_icon_button:hover,
495
+ .oip_secondary-stroke_icon_button:focus {
454
496
  background: rgba(62, 63, 94, 0.05) !important;
455
497
  border: 2px solid rgba(62, 63, 94, 0.2) !important;
456
498
  box-shadow: none !important;
457
- color: var(--independence) !important;
499
+ color: #21223d !important;
458
500
  }
459
501
 
460
502
  .oip_secondary-stroke_button:hover .oip__button_prefix_icon,
@@ -477,16 +519,12 @@ button {
477
519
  padding: 0px 6px !important;
478
520
  }
479
521
 
480
- .oip_secondary-stroke_icon_button:hover,
481
- .oip_secondary-stroke_icon_button:focus {
482
- border: 2px solid rgba(33, 118, 255, 0.2) !important;
483
- }
484
522
  .oip_secondary-stroke_icon_button:hover svg,
485
523
  .oip_secondary-stroke_icon_buttonn:focus svg,
486
524
  .oip_secondary-stroke_icon_button:hover svg,
487
525
  .oip_secondary-stroke_icon_button:focus svg {
488
- stroke: var(--primary) !important;
489
- color: var(--primary) !important;
526
+ stroke: #21223d !important;
527
+ color: #21223d !important;
490
528
  }
491
529
 
492
530
  .oip_primary-stroke_button {
@@ -501,7 +539,7 @@ button {
501
539
  .oip_primary-stroke_icon_button:hover,
502
540
  .oip_primary-stroke_icon_button:focus {
503
541
  background: rgba(33, 118, 255, 0.05) !important;
504
- color: var(--) !important;
542
+ color: var(--primary-hover) !important;
505
543
  }
506
544
  .oip_primary-stroke_button .oip_button_spinner div,
507
545
  .oip_primary-stroke_icon_button .oip_button_spinner div {
@@ -525,7 +563,7 @@ button {
525
563
  .oip_warning-stroke_button:focus,
526
564
  .oip_warning-stroke_icon_button:hover,
527
565
  .oip_warning-stroke_icon_button:focus {
528
- background: rgba(239, 68, 68, 0.2) !important;
566
+ background: rgba(239, 68, 68, 0.05) !important;
529
567
  border: 2px solid rgba(251, 70, 84, 0.2) !important;
530
568
  color: var(--system-alert-hover) !important;
531
569
  }
@@ -600,8 +638,8 @@ button {
600
638
  .oip_success-fill_button:focus,
601
639
  .oip_success-fill_icon_button:hover,
602
640
  .oip_success-fill_icon_button:focus {
603
- background: #2eb830 !important;
604
- border: 2px solid #2eb830 !important;
641
+ background: #069a3d !important;
642
+ border: 2px solid #069a3d !important;
605
643
  box-shadow: none !important;
606
644
  }
607
645
  .oip_success-fill_button .oip_button_spinner div,
@@ -707,9 +745,11 @@ button {
707
745
  width: fit-content;
708
746
  font-family: "Figtree", sans-serif;
709
747
  display: inline-flex;
710
- padding: 4px 8px;
711
748
  align-items: center;
712
749
  gap: 8px;
750
+ mask-image: paint(squircle);
751
+ --squircle-radius: 4px;
752
+ --squircle-smooth: 1;
713
753
  }
714
754
  .oip_tag > svg {
715
755
  cursor: pointer;
@@ -971,7 +1011,7 @@ button {
971
1011
  gap: 10px;
972
1012
  flex-wrap: wrap;
973
1013
  }
974
- .arg_sub_menu .arg_sub_menu .arg_sub_menu_button {
1014
+ /*.arg_sub_menu .arg_sub_menu .arg_sub_menu_button {
975
1015
  padding-left: 24px !important;
976
1016
  }
977
1017
  .arg_sub_menu .arg_sub_menu .auriga_menu_item {
@@ -979,7 +1019,7 @@ button {
979
1019
  }
980
1020
  .arg_sub_menu .auriga_menu_item {
981
1021
  padding-left: 24px !important;
982
- }
1022
+ }*/
983
1023
 
984
1024
  .arg_tuto_content {
985
1025
  display: flex;
@@ -1,2 +1,2 @@
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<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -87,6 +87,9 @@ export default defineComponent({
87
87
  }
88
88
  .arg_sub_menu_content {
89
89
  width: 100%;
90
+ display: flex;
91
+ flex-direction: column;
92
+ gap: 8px;
90
93
  }
91
94
 
92
95
  .icon_sb,
@@ -168,7 +168,7 @@ declare const _default: import("vue").DefineComponent<{
168
168
  showToggle: import("vue").Ref<boolean>;
169
169
  showLine: import("vue").Ref<any>;
170
170
  openLine: (index: number) => void;
171
- getTooltipDir: (index: number) => "bottom" | "left";
171
+ getTooltipDir: (index: number) => "left" | "bottom";
172
172
  getColumnTypes: () => void;
173
173
  isNA: (val: string) => boolean;
174
174
  sortDatas: (index: number) => void;
@@ -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;
@@ -4,7 +4,7 @@
4
4
  >
5
5
  <div v-show="openTuto" class="arg_tuto_modal">
6
6
  <div class="arg_tuto_header">
7
- <arg-actions action-type="close" customize @onClose="closeTuto">
7
+ <arg-actions action-type="close" customize @onAction="closeTuto">
8
8
  <template #custom>
9
9
  <div class="oip_row v-center gap-6">
10
10
  <arg-icon name="X" size="20" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",