@tekkare/auriga 0.1.11 → 0.1.13

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 (40) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/allFlags.vue +245 -0
  3. package/dist/runtime/components/allFlags.vue.d.ts +8 -0
  4. package/dist/runtime/components/argActions.vue +19 -5
  5. package/dist/runtime/components/argActions.vue.d.ts +9 -0
  6. package/dist/runtime/components/argChartTableCard.vue +12 -2
  7. package/dist/runtime/components/argChartTableCard.vue.d.ts +22 -1
  8. package/dist/runtime/components/argComplexSelect.vue +12 -5
  9. package/dist/runtime/components/argComplexSelect.vue.d.ts +3 -0
  10. package/dist/runtime/components/argDate.vue +12 -12
  11. package/dist/runtime/components/argDate.vue.d.ts +3 -3
  12. package/dist/runtime/components/argDropdownSelect.vue +20 -4
  13. package/dist/runtime/components/argErrors.vue +2 -1
  14. package/dist/runtime/components/argErrors.vue.d.ts +2 -0
  15. package/dist/runtime/components/argFilterCard.vue +2 -2
  16. package/dist/runtime/components/argFlag.vue +447 -217
  17. package/dist/runtime/components/argFlag.vue.d.ts +4 -4
  18. package/dist/runtime/components/argHeader.vue +1 -1
  19. package/dist/runtime/components/argHybridChart.vue +2 -2
  20. package/dist/runtime/components/argInfoBar.vue +0 -62
  21. package/dist/runtime/components/argMainLayout.vue +2 -6
  22. package/dist/runtime/components/argMultipleSelect.vue +1 -1
  23. package/dist/runtime/components/argNoSavedScope.vue +90 -0
  24. package/dist/runtime/components/argNoSavedScope.vue.d.ts +29 -0
  25. package/dist/runtime/components/argNumberInput.vue +4 -4
  26. package/dist/runtime/components/argScopeHeader.vue +11 -24
  27. package/dist/runtime/components/argScopeHeader.vue.d.ts +11 -7
  28. package/dist/runtime/components/argScopeLayout.vue +8 -5
  29. package/dist/runtime/components/argSearchInput.vue +10 -6
  30. package/dist/runtime/components/argSearchInput.vue.d.ts +4 -6
  31. package/dist/runtime/components/argSidebar.vue +4 -2
  32. package/dist/runtime/components/argSimpleInput.vue +6 -1
  33. package/dist/runtime/components/argSimpleInput.vue.d.ts +8 -0
  34. package/dist/runtime/components/argSourceContainer.vue +34 -0
  35. package/dist/runtime/components/argSourceContainer.vue.d.ts +2 -0
  36. package/dist/runtime/components/argTable.vue +42 -9
  37. package/dist/runtime/components/argTable.vue.d.ts +14 -2
  38. package/dist/runtime/components/argTipsBox.vue +1 -0
  39. package/dist/runtime/components/argTutoModal.vue +10 -6
  40. package/package.json +2 -1
@@ -88,10 +88,10 @@ declare const _default: import("vue").DefineComponent<{
88
88
  FM: string;
89
89
  FR: string;
90
90
  GA: string;
91
- 'GB-ENG': string;
92
- 'GB-NIR': string;
93
- 'GB-SCT': string;
94
- 'GB-WLS': string;
91
+ "GB-ENG": string;
92
+ "GB-NIR": string;
93
+ "GB-SCT": string;
94
+ "GB-WLS": string;
95
95
  GB: string;
96
96
  GD: string;
97
97
  GE: string;
@@ -73,7 +73,7 @@ export default defineComponent({
73
73
  padding: 24px 32px 12px;
74
74
  position: fixed;
75
75
  top: 0;
76
- z-index: 99;
76
+ z-index: 95;
77
77
  border-bottom: 1px solid var(--base-dividers, #ececf2);
78
78
  background: transparent;
79
79
  width: 100%;
@@ -79,8 +79,8 @@
79
79
  </div>
80
80
  </template>
81
81
  <script>
82
- import argBtn from "./argBtn";
83
- import argTooltip from "./argTooltip";
82
+ import argBtn from "./argBtn.vue";
83
+ import argTooltip from "./argTooltip.vue";
84
84
  import {
85
85
  onMounted,
86
86
  ref,
@@ -110,66 +110,4 @@ export default defineComponent({
110
110
  .oip_info_item:hover {
111
111
  background: rgb(237, 237, 243, 65%);
112
112
  }
113
-
114
- .oip_info_close {
115
- margin: 24px;
116
- display: flex;
117
- height: 32px;
118
- padding: 6px 12px 6px 8px;
119
- align-items: center;
120
- gap: 6px;
121
- cursor: pointer;
122
- border-radius: var(--s, 8px);
123
- background: var(--pure-white);
124
- }
125
-
126
- .oip_info_close:hover {
127
- background: var(--dividers) !important;
128
- }
129
-
130
- .oip_info_section {
131
- width: 0px;
132
- transition: width ease 0.5s;
133
- overflow-x: hidden;
134
- height: 0px;
135
- }
136
-
137
- .oip_info_section_open {
138
- display: flex;
139
- flex-direction: row;
140
- align-items: flex-start;
141
- width: 620px;
142
- height: 820px;
143
- }
144
-
145
- .oip_info_sidebar {
146
- display: flex;
147
- width: 160px;
148
- padding: var(--l, 24px) var(--None, 0px);
149
- flex-direction: column;
150
- align-items: flex-start;
151
- gap: var(--m, 16px);
152
- align-self: stretch;
153
- border-radius: var(--None, 0px);
154
-
155
- border-left: 1px solid var(--base-dividers, #ececf2);
156
- background: var(--base-demi-fond, #f9f9fa);
157
- backdrop-filter: blur(16px);
158
- }
159
-
160
- .open_container {
161
- max-width: 750px !important;
162
- height: 820px;
163
- }
164
-
165
- .oip_info_container {
166
- display: inline-flex;
167
- align-items: flex-start;
168
- position: fixed;
169
- right: 0;
170
- top: 108px;
171
- z-index: 999;
172
- max-width: 0px;
173
- transition: max-width ease 0.5px;
174
- }
175
113
  </style>
@@ -1,14 +1,12 @@
1
1
  <template>
2
2
  <div :class="sidebarOpen ? 'arg_main_with_sidebar' : 'arg_main_no_sidebar'">
3
3
  <slot name="sidebar" />
4
- <slot name="tuto" />
5
4
  <div class="arg_main_layout_body">
6
5
  <div class="arg_info" id="arg_info_section">
7
6
  <slot name="infoBar" />
8
7
  <slot name="infoSection" />
9
8
  </div>
10
9
  <div class="arg_main_layout_section" id="arg_main_layout_section">
11
- <slot name="header" />
12
10
  <slot name="body" />
13
11
  </div>
14
12
  <argFooter />
@@ -20,12 +18,10 @@ import {
20
18
  onMounted,
21
19
  defineComponent
22
20
  } from "vue";
23
- import argIcon from "./argIcon.vue";
24
- import argStyle from "./argStyle.vue";
25
21
  import argFooter from "./argFooter.vue";
26
22
  export default defineComponent({
27
23
  name: "argMainLayout",
28
- components: { argIcon, argStyle, argFooter },
24
+ components: { argFooter },
29
25
  props: {
30
26
  sidebarOpen: {
31
27
  type: Boolean,
@@ -77,6 +73,6 @@ export default defineComponent({
77
73
  .arg_info {
78
74
  position: fixed;
79
75
  right: 8px;
80
- z-index: 999;
76
+ z-index: 98;
81
77
  }
82
78
  </style>
@@ -8,7 +8,7 @@
8
8
  :disabled="disabled"
9
9
  :show_amount="show_amount"
10
10
  :amount_value="selected_items.length"
11
- @click="changeDisplay()"
11
+ @click.stop="changeDisplay()"
12
12
  :class="isDisplay ? 'open' : ''"
13
13
  >
14
14
  <p
@@ -0,0 +1,90 @@
1
+ <template>
2
+ <div>
3
+ <div class="no_scope_text">
4
+ <p>{{ noScopeText[lang] }}</p>
5
+ <ul>
6
+ <li v-for="(step, index) in saveScopeSteps" :key="index">
7
+ {{ step[lang] }}
8
+ </li>
9
+ </ul>
10
+ <p>{{ noScopeEnd[lang] }}</p>
11
+ </div>
12
+ </div>
13
+ </template>
14
+
15
+ <script>
16
+ import {
17
+ defineComponent
18
+ } from "vue";
19
+ export default defineComponent({
20
+ name: "argNoSavedScope",
21
+ props: {
22
+ lang: {
23
+ type: String,
24
+ default: "en",
25
+ validator: (value) => {
26
+ return ["en", "fr"].includes(value);
27
+ }
28
+ }
29
+ },
30
+ setup() {
31
+ const noScopeText = {
32
+ en: `You don't have Scopes saved yet. Here's how to create a new scope:`,
33
+ fr: `Vous n'avez pas encore de scope enregistr\xE9. Voici comment cr\xE9er un nouveau scope:`
34
+ };
35
+ const saveScopeSteps = [
36
+ {
37
+ en: `Switch to \u201CNew Scope Criteria\u201D`,
38
+ fr: `Choisissez l'onglet "Nouveau crit\xE8re scope"`
39
+ },
40
+ {
41
+ en: `Select all the criteria you need`,
42
+ fr: `S\xE9lectionnez les crit\xE8res dont vous avez besoin`
43
+ },
44
+ {
45
+ en: `Click on \u201CSave and continue\u201D at the top right of your screen`,
46
+ fr: `Cliquez sur "Sauvegarder et continuer" en haut \xE0 droite de votre \xE9cran`
47
+ },
48
+ {
49
+ en: `Fill the form with the information you need and click on \u201CSave scope and continue\u201D`,
50
+ fr: `Remplissez le formulaire avec vos informations et cliquez sur "Sauvegarder le scope et coninuer"`
51
+ }
52
+ ];
53
+ const noScopeEnd = {
54
+ en: `And that\u2019s it ! Your scope will be saved and you will be able to recover it next time you connect !`,
55
+ fr: `Et c'est tout ! Votre scope sera enregistr\xE9 et vous pourrez le retrouver lors de vos prochaines connexions !`
56
+ };
57
+ return {
58
+ noScopeText,
59
+ saveScopeSteps,
60
+ noScopeEnd
61
+ };
62
+ }
63
+ });
64
+ </script>
65
+
66
+ <style scoped>
67
+ .no_scope_text {
68
+ font-family: Figtree;
69
+ font-size: 14px;
70
+ font-style: normal;
71
+ font-weight: 400;
72
+ line-height: 160%;
73
+ }
74
+
75
+ ul {
76
+ padding-inline-start: 14px !important;
77
+ }
78
+
79
+ li {
80
+ list-style: none;
81
+ font-size: 14px;
82
+ }
83
+
84
+ li:before {
85
+ content: "· ";
86
+ vertical-align: middle;
87
+ font-size: 30px !important;
88
+ font-weight: 300 !important;
89
+ }
90
+ </style>
@@ -0,0 +1,29 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ lang: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ validator: (value: string) => boolean;
6
+ };
7
+ }, {
8
+ noScopeText: {
9
+ en: string;
10
+ fr: string;
11
+ };
12
+ saveScopeSteps: {
13
+ en: string;
14
+ fr: string;
15
+ }[];
16
+ noScopeEnd: {
17
+ en: string;
18
+ fr: string;
19
+ };
20
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ lang: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ validator: (value: string) => boolean;
25
+ };
26
+ }>>, {
27
+ lang: string;
28
+ }, {}>;
29
+ export default _default;
@@ -187,13 +187,13 @@ export default defineComponent({
187
187
  cursor: pointer;
188
188
  }
189
189
  .action_right {
190
- top: -1px;
191
- right: -1px;
190
+ top: -1.5px;
191
+ right: -1.5px;
192
192
  }
193
193
 
194
194
  .action_left {
195
- top: -1px;
196
- left: -1px;
195
+ top: -1.5px;
196
+ left: -1.5px;
197
197
  }
198
198
 
199
199
  .number_input_style {
@@ -5,16 +5,7 @@
5
5
  <h1 class="scope_title">{{ scopeTitle }}</h1>
6
6
  </div>
7
7
  <div class="oip_row v-center gap-16">
8
- <arg-actions
9
- :lang="lang"
10
- action-type="see-analysis"
11
- @onSeeAnalysis="seeAnalysis()"
12
- />
13
- <arg-actions
14
- :lang="lang"
15
- action-type="save-analysis"
16
- @onSaveAnalysis="saveAnalysis()"
17
- />
8
+ <slot name="actions" />
18
9
  </div>
19
10
  </div>
20
11
  </template>
@@ -33,6 +24,10 @@ export default defineComponent({
33
24
  type: String,
34
25
  default: "My scope"
35
26
  },
27
+ noSelection: {
28
+ type: Boolean,
29
+ default: true
30
+ },
36
31
  lang: {
37
32
  type: String,
38
33
  default: "en",
@@ -41,23 +36,14 @@ export default defineComponent({
41
36
  }
42
37
  }
43
38
  },
44
- emits: ["seeAnalysis", "saveAnalysis"],
45
- setup(props, { emit }) {
39
+ setup() {
46
40
  const router = useRouter();
47
41
  function goBack() {
48
42
  router.back();
49
43
  }
50
- function seeAnalysis() {
51
- emit("seeAnalysis");
52
- }
53
- function saveAnalysis() {
54
- emit("saveAnalysis");
55
- }
56
44
  return {
57
45
  router,
58
- goBack,
59
- seeAnalysis,
60
- saveAnalysis
46
+ goBack
61
47
  };
62
48
  }
63
49
  });
@@ -71,13 +57,14 @@ export default defineComponent({
71
57
  align-items: center;
72
58
  justify-content: space-between;
73
59
  gap: var(--m, 16px);
74
-
60
+ position: fixed;
61
+ top: 0;
62
+ left: 0;
75
63
  align-self: stretch;
76
64
  border-radius: var(--None, 0px);
77
-
78
65
  border-bottom: 1px solid var(--base-dividers, #ececf2);
79
66
  background: rgba(253, 253, 255, 0.8);
80
-
67
+ width: calc(100% - 48px);
81
68
  backdrop-filter: blur(12px);
82
69
  }
83
70
 
@@ -3,6 +3,10 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
+ noSelection: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
6
10
  lang: {
7
11
  type: StringConstructor;
8
12
  default: string;
@@ -11,23 +15,23 @@ declare const _default: import("vue").DefineComponent<{
11
15
  }, {
12
16
  router: import("vue-router").Router;
13
17
  goBack: () => void;
14
- seeAnalysis: () => void;
15
- saveAnalysis: () => void;
16
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("seeAnalysis" | "saveAnalysis")[], "seeAnalysis" | "saveAnalysis", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
19
  scopeTitle: {
18
20
  type: StringConstructor;
19
21
  default: string;
20
22
  };
23
+ noSelection: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
21
27
  lang: {
22
28
  type: StringConstructor;
23
29
  default: string;
24
30
  validator: (value: string) => boolean;
25
31
  };
26
- }>> & {
27
- onSeeAnalysis?: ((...args: any[]) => any) | undefined;
28
- onSaveAnalysis?: ((...args: any[]) => any) | undefined;
29
- }, {
32
+ }>>, {
30
33
  lang: string;
31
34
  scopeTitle: string;
35
+ noSelection: boolean;
32
36
  }, {}>;
33
37
  export default _default;
@@ -4,7 +4,7 @@
4
4
  <div class="arg_scope_layout_body">
5
5
  <slot name="body" />
6
6
  </div>
7
- <argFooter />
7
+ <argFooter class="full_width_footer" />
8
8
  </div>
9
9
  </template>
10
10
  <script>
@@ -16,7 +16,7 @@ import argIcon from "./argIcon.vue";
16
16
  import argStyle from "./argStyle.vue";
17
17
  import argFooter from "./argFooter.vue";
18
18
  export default defineComponent({
19
- name: "argMainLayout",
19
+ name: "argScopeLayout",
20
20
  components: { argIcon, argStyle, argFooter },
21
21
  props: {
22
22
  sidebarOpen: {
@@ -53,9 +53,12 @@ export default defineComponent({
53
53
  }
54
54
  .arg_scope_layout_body {
55
55
  min-height: calc(100vh - 77px);
56
- padding: 8px;
56
+ margin: 116px 32px 0px 32px;
57
57
  max-width: 1088px;
58
- min-width: 50%;
59
- margin-top: 32px;
58
+ width: calc(100% - 64px);
59
+ }
60
+
61
+ .full_width_footer {
62
+ width: calc(100% - 192px);
60
63
  }
61
64
  </style>
@@ -23,6 +23,7 @@
23
23
  <script>
24
24
  import argIcon from "./argIcon.vue";
25
25
  import {
26
+ onMounted,
26
27
  ref,
27
28
  watch,
28
29
  defineComponent
@@ -35,23 +36,26 @@ export default defineComponent({
35
36
  type: String,
36
37
  default: "Search here..."
37
38
  },
38
- value: {
39
+ defaultValue: {
39
40
  type: String,
40
- default: "",
41
- required: true
41
+ default: ""
42
42
  }
43
43
  },
44
44
  emits: ["update:Value", "submitSearch"],
45
45
  setup(props, { emit }) {
46
- const searchValue = ref(props.value);
46
+ const searchValue = ref("");
47
+ onMounted(() => {
48
+ searchValue.value = props.defaultValue;
49
+ });
47
50
  watch(
48
- () => props.value,
51
+ () => props.defaultValue,
49
52
  (new_value) => {
50
53
  searchValue.value = new_value;
51
54
  }
52
55
  );
53
56
  function changeInput(event) {
54
- emit("update:Value", event.target.value);
57
+ searchValue.value = event.target.value;
58
+ emit("update:Value", searchValue.value);
55
59
  }
56
60
  function submitSearch() {
57
61
  emit("submitSearch");
@@ -3,14 +3,13 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
- value: {
6
+ defaultValue: {
7
7
  type: StringConstructor;
8
8
  default: string;
9
- required: true;
10
9
  };
11
10
  }, {
12
11
  searchValue: import("vue").Ref<string>;
13
- changeInput: (event: Event) => void;
12
+ changeInput: (event: any) => void;
14
13
  submitSearch: () => void;
15
14
  clearValue: () => void;
16
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:Value" | "submitSearch")[], "update:Value" | "submitSearch", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -18,16 +17,15 @@ declare const _default: import("vue").DefineComponent<{
18
17
  type: StringConstructor;
19
18
  default: string;
20
19
  };
21
- value: {
20
+ defaultValue: {
22
21
  type: StringConstructor;
23
22
  default: string;
24
- required: true;
25
23
  };
26
24
  }>> & {
27
25
  "onUpdate:Value"?: ((...args: any[]) => any) | undefined;
28
26
  onSubmitSearch?: ((...args: any[]) => any) | undefined;
29
27
  }, {
30
- value: string;
31
28
  placeHolderValue: string;
29
+ defaultValue: string;
32
30
  }, {}>;
33
31
  export default _default;
@@ -62,9 +62,11 @@ import {
62
62
  defineComponent
63
63
  } from "vue";
64
64
  import argIcon from "./argIcon.vue";
65
+ import argTooltip from "./argTooltip.vue";
66
+ import argFlag from "./argFlag.vue";
65
67
  export default defineComponent({
66
68
  name: "argSidebar",
67
- components: { argIcon },
69
+ components: { argIcon, argTooltip, argFlag },
68
70
  props: {
69
71
  name: { type: String, required: true },
70
72
  appIso: {
@@ -119,7 +121,7 @@ export default defineComponent({
119
121
  background: var(--background);
120
122
  height: 100vh;
121
123
  position: fixed;
122
- z-index: 100;
124
+ z-index: 98;
123
125
  transition: all ease 0.3s;
124
126
  left: 0;
125
127
  top: 0;
@@ -1,5 +1,6 @@
1
1
  <template>
2
- <div>
2
+ <div class="oip_filter_display">
3
+ <p class="oip_filter_label">{{ inputLabel }}</p>
3
4
  <input
4
5
  class="oip_simple_input"
5
6
  :placeholder="placeholderValue"
@@ -32,6 +33,10 @@ export default defineComponent({
32
33
  defaultValue: {
33
34
  type: [String, Number],
34
35
  default: ""
36
+ },
37
+ inputLabel: {
38
+ type: String,
39
+ required: true
35
40
  }
36
41
  },
37
42
  emits: ["update:Value", "changeValue", "submitInput"],
@@ -11,6 +11,10 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: (StringConstructor | NumberConstructor)[];
12
12
  default: string;
13
13
  };
14
+ inputLabel: {
15
+ type: StringConstructor;
16
+ required: true;
17
+ };
14
18
  }, {
15
19
  inputValue: import("vue").Ref<string | number>;
16
20
  changeInput: (event: any) => void;
@@ -28,6 +32,10 @@ declare const _default: import("vue").DefineComponent<{
28
32
  type: (StringConstructor | NumberConstructor)[];
29
33
  default: string;
30
34
  };
35
+ inputLabel: {
36
+ type: StringConstructor;
37
+ required: true;
38
+ };
31
39
  }>> & {
32
40
  "onUpdate:Value"?: ((...args: any[]) => any) | undefined;
33
41
  onChangeValue?: ((...args: any[]) => any) | undefined;
@@ -0,0 +1,34 @@
1
+ <template>
2
+ <div class="arg_source_container">
3
+ <slot />
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import {
9
+ defineComponent
10
+ } from "vue";
11
+ export default defineComponent({
12
+ name: "argSourceContainer"
13
+ });
14
+ </script>
15
+
16
+ <style scoped>
17
+ .arg_source_container {
18
+ padding: 4px 0;
19
+ display: flex;
20
+ align-items: center;
21
+ gap: 8px;
22
+ font-style: normal;
23
+ font-weight: 400;
24
+ font-size: 12px;
25
+ line-height: 14px;
26
+ color: var(--primary);
27
+ white-space: nowrap;
28
+ text-overflow: ellipsis;
29
+ overflow: hidden;
30
+ display: flex;
31
+ align-items: center;
32
+ height: 14px;
33
+ }
34
+ </style>
@@ -0,0 +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<{}>>, {}, {}>;
2
+ export default _default;