@tekkare/auriga 0.1.109 → 0.1.111

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.
@@ -87,6 +87,10 @@ declare const _default: import("vue").DefineComponent<{
87
87
  type: StringConstructor;
88
88
  default: null;
89
89
  };
90
+ is_sort: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
90
94
  }, {
91
95
  isDisplay: import("vue").Ref<boolean>;
92
96
  searchName: import("vue").Ref<string>;
@@ -194,6 +198,10 @@ declare const _default: import("vue").DefineComponent<{
194
198
  type: StringConstructor;
195
199
  default: null;
196
200
  };
201
+ is_sort: {
202
+ type: BooleanConstructor;
203
+ default: boolean;
204
+ };
197
205
  }>> & {
198
206
  onChangeElement?: ((...args: any[]) => any) | undefined;
199
207
  "onUpdate:Selection"?: ((...args: any[]) => any) | undefined;
@@ -212,5 +220,6 @@ declare const _default: import("vue").DefineComponent<{
212
220
  default_select: number;
213
221
  watch_default_change: boolean;
214
222
  values_disabled: unknown[];
223
+ is_sort: boolean;
215
224
  }, {}>;
216
225
  export default _default;
@@ -18,7 +18,7 @@
18
18
  ? saveScopeMsg
19
19
  : lang === "en"
20
20
  ? "Save scope"
21
- : "Sauvergarder un scope"
21
+ : "Sauvegarder un scope"
22
22
  }}
23
23
  </p>
24
24
  <p class="filters_clear" @click="clear()">
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <div class="oip_footer">
3
3
  <p>©2023 Tekkare®. All rights reserved</p>
4
- <a href="https://openinnovationprogram.com/legal-notices" target="_blank"
5
- >Terms of use</a
6
- >
4
+ <a href="https://openinnovationprogram.com/legal-notices" target="_blank">{{
5
+ lang === "fr" ? "Mentions légales" : "Terms of use"
6
+ }}</a>
7
7
  </div>
8
8
  </template>
9
9
  <script>
@@ -13,7 +13,16 @@ import {
13
13
  import argStyle from "./argStyle.vue";
14
14
  export default defineComponent({
15
15
  name: "argFooter",
16
- components: { argStyle }
16
+ components: { argStyle },
17
+ props: {
18
+ lang: {
19
+ type: String,
20
+ default: "en",
21
+ validator: (value) => {
22
+ return ["en", "fr"].includes(value);
23
+ }
24
+ }
25
+ }
17
26
  });
18
27
  </script>
19
28
  <style scoped>
@@ -1,2 +1,16 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ lang: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ validator: (value: string) => boolean;
6
+ };
7
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ lang: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ validator: (value: string) => boolean;
12
+ };
13
+ }>>, {
14
+ lang: string;
15
+ }, {}>;
2
16
  export default _default;
@@ -6,7 +6,7 @@
6
6
  <div
7
7
  v-for="(block, index) in globalBlocks"
8
8
  :key="index"
9
- class="oip_card block_card"
9
+ class="oip_card block_card action"
10
10
  :class="selectedBlock?.title === block.title ? 'block_selected' : ''"
11
11
  @click="selectBlock(block)"
12
12
  >
@@ -18,31 +18,36 @@
18
18
  </div>
19
19
  </div>
20
20
  </div>
21
- <h1 class="arg_home_blocks_title">{{ getTitle }}</h1>
22
- <arg-search-input
23
- v-model:Value="searchBlocks"
24
- :place-holder-value="getSearchPlaceholder"
25
- />
26
- <div class="oip_row v-start gap-16 wrap full_stretch">
27
- <div
28
- v-for="(block, index) in filterBlocks"
29
- :key="index"
30
- class="oip_card block_card"
31
- :class="selectedBlock?.title === block.title ? 'block_selected' : ''"
32
- @click="selectBlock(block)"
33
- >
34
- <slot v-if="customizeBlocks" name="custom" v-bind:block="block" />
35
- <div v-else class="block_content">
36
- <p class="block_title">
37
- <span v-if="block.country"
38
- ><arg-flag v-if="block.iso" :iso="block.iso" height="14" />
39
- <arg-flag
40
- v-else
41
- :slug="block.country.toLowerCase()"
42
- height="14" /></span
43
- >{{ block.title }}
44
- </p>
45
- <p class="block_descr">{{ block.description }}</p>
21
+ <div
22
+ v-if="filterBlocks !== null && filterBlocks.length > 0"
23
+ class="arg_home_all_blocks"
24
+ >
25
+ <h1 class="arg_home_blocks_title">{{ getTitle }}</h1>
26
+ <arg-search-input
27
+ v-model:Value="searchBlocks"
28
+ :place-holder-value="getSearchPlaceholder"
29
+ />
30
+ <div class="oip_row v-start gap-16 wrap full_stretch">
31
+ <div
32
+ v-for="(block, index) in filterBlocks"
33
+ :key="index"
34
+ class="oip_card block_card action"
35
+ :class="selectedBlock?.title === block.title ? 'block_selected' : ''"
36
+ @click="selectBlock(block)"
37
+ >
38
+ <slot v-if="customizeBlocks" name="custom" v-bind:block="block" />
39
+ <div v-else class="block_content">
40
+ <p class="block_title">
41
+ <span v-if="block.country"
42
+ ><arg-flag v-if="block.iso" :iso="block.iso" height="14" />
43
+ <arg-flag
44
+ v-else
45
+ :slug="block.country.toLowerCase()"
46
+ height="14" /></span
47
+ >{{ block.title }}
48
+ </p>
49
+ <p class="block_descr">{{ block.description }}</p>
50
+ </div>
46
51
  </div>
47
52
  </div>
48
53
  </div>
@@ -75,7 +80,7 @@ export default defineComponent({
75
80
  },
76
81
  appBlocks: {
77
82
  type: Array,
78
- required: true
83
+ default: () => []
79
84
  },
80
85
  globalBlocks: {
81
86
  type: Array,
@@ -83,7 +88,7 @@ export default defineComponent({
83
88
  },
84
89
  hasGlobal: {
85
90
  type: Boolean,
86
- default: false
91
+ default: true
87
92
  },
88
93
  customizeBlocks: {
89
94
  type: Boolean,
@@ -151,5 +156,5 @@ export default defineComponent({
151
156
  </script>
152
157
 
153
158
  <style scoped>
154
- .arg_home_all_blocks{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:24px}.block_card{border:1.5px solid transparent;cursor:pointer;flex:0 0 calc(50% - 59px);margin:0!important;padding:24px!important}.block_card:hover{border-color:rgba(33,118,255,.2)!important}.block_card:not(.block_selected):hover .block_title{color:var(--primary)!important}.block_descr{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-style:normal;font-weight:400;line-height:160%;overflow:hidden}.block_content{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.block_title{align-items:flex-end;display:flex;flex-direction:row;font-size:16px;font-style:normal;font-weight:700;gap:8px;line-height:normal}.block_selected{background:var(--primary)!important;color:var(--white)!important}.full_stretch{align-self:stretch}
159
+ .arg_home_all_blocks{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:24px}.block_card{cursor:pointer;flex:0 0 calc(50% - 59px);margin:0!important;padding:24px!important}.block_card:not(.block_selected):hover .block_title{color:var(--primary)!important}.block_descr{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-style:normal;font-weight:400;line-height:160%;overflow:hidden}.block_content{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.block_title{align-items:flex-end;display:flex;flex-direction:row;font-size:16px;font-style:normal;font-weight:700;gap:8px;line-height:normal}.block_selected{background:var(--primary)!important;border:1px solid var(--primary)!important;box-shadow:var(--large-shadow)!important;color:var(--white)!important}.full_stretch{align-self:stretch}
155
160
  </style>
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  };
14
14
  appBlocks: {
15
15
  type: ArrayConstructor;
16
- required: true;
16
+ default: () => never[];
17
17
  };
18
18
  globalBlocks: {
19
19
  type: ArrayConstructor;
@@ -55,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
55
55
  };
56
56
  appBlocks: {
57
57
  type: ArrayConstructor;
58
- required: true;
58
+ default: () => never[];
59
59
  };
60
60
  globalBlocks: {
61
61
  type: ArrayConstructor;
@@ -82,6 +82,7 @@ declare const _default: import("vue").DefineComponent<{
82
82
  title: string;
83
83
  globalTitle: string;
84
84
  searchPlaceholder: string;
85
+ appBlocks: unknown[];
85
86
  globalBlocks: unknown[];
86
87
  hasGlobal: boolean;
87
88
  customizeBlocks: boolean;
@@ -12,7 +12,7 @@
12
12
  <arg-menu-link
13
13
  :sidebar-open="true"
14
14
  to="https://openinnovationprogram.com/"
15
- label="Back to OIP"
15
+ :label="lang === 'en' ? 'Back to OIP' : 'Retour OIP'"
16
16
  icon="ArrowSquareOut"
17
17
  />
18
18
  </div>
@@ -1,12 +1,20 @@
1
1
  <template>
2
2
  <div class="oip_card kpi_card">
3
- <div v-for="(kpi, index) in kpis" :key="index" class="kpi_item">
4
- <div class="kpi_icon">
5
- <arg-icon :name="kpi.icon" color="var(--dark)" size="32" />
6
- </div>
7
- <div class="kpi_text">
8
- <p class="kpi_value">{{ kpi.value }}</p>
9
- <p class="kpi_legend">{{ kpi.legend }}</p>
3
+ <slot />
4
+ <div class="oip_row v-center gap-16 kpis">
5
+ <div v-for="(kpi, index) in kpis" :key="index" class="kpi_item">
6
+ <div class="kpi_icon">
7
+ <arg-icon
8
+ :name="kpi.icon"
9
+ color="var(--dark)"
10
+ size="32"
11
+ thickness="18"
12
+ />
13
+ </div>
14
+ <div class="kpi_text">
15
+ <p class="kpi_value">{{ kpi.value }}</p>
16
+ <p class="kpi_legend">{{ kpi.legend }}</p>
17
+ </div>
10
18
  </div>
11
19
  </div>
12
20
  </div>
@@ -23,11 +31,15 @@ export default defineComponent({
23
31
  kpis: {
24
32
  type: Array,
25
33
  required: true
34
+ },
35
+ haveText: {
36
+ type: Boolean,
37
+ default: false
26
38
  }
27
39
  }
28
40
  });
29
41
  </script>
30
42
 
31
43
  <style scoped>
32
- .kpi_card{align-self:stretch;gap:16px;justify-content:space-between;padding:16px!important}.kpi_card,.kpi_item{align-items:center;display:flex}.kpi_item{flex:1 0 0;gap:var(--m,16px)}.kpi_icon{align-items:center;background:var(--lightest);border-radius:8px;display:flex;justify-content:center;padding:8px}.kpi_text{align-items:flex-start;display:flex;flex-direction:column;gap:4px}.kpi_value{font-size:22px;font-weight:900}.kpi_legend,.kpi_value{font-style:normal;line-height:normal}.kpi_legend{color:var(--dark);font-size:12px;font-weight:400}
44
+ .kpi_card{display:flex;flex-direction:column;gap:16px;padding:16px!important}.kpi_card,.kpis{align-self:stretch}.kpis{flex-grow:1}.kpi_item{flex:1 0 0;gap:var(--m,16px)}.kpi_icon,.kpi_item{align-items:center;display:flex}.kpi_icon{background:var(--lightest);border-radius:8px;justify-content:center;padding:8px}.kpi_text{align-items:flex-start;display:flex;flex-direction:column;gap:4px}.kpi_value{font-size:22px;font-weight:700}.kpi_legend,.kpi_value{font-style:normal;line-height:normal}.kpi_legend{color:var(--dark);font-size:12px;font-weight:400}
33
45
  </style>
@@ -16,6 +16,10 @@ declare const _default: import("vue").DefineComponent<{
16
16
  };
17
17
  required: true;
18
18
  };
19
+ haveText: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
19
23
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
24
  kpis: {
21
25
  type: {
@@ -34,5 +38,11 @@ declare const _default: import("vue").DefineComponent<{
34
38
  };
35
39
  required: true;
36
40
  };
37
- }>>, {}, {}>;
41
+ haveText: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ }>>, {
46
+ haveText: boolean;
47
+ }, {}>;
38
48
  export default _default;
@@ -5,7 +5,7 @@
5
5
  <div class="arg_home_layout_body">
6
6
  <slot name="body" />
7
7
  </div>
8
- <argFooter class="full_width_footer" />
8
+ <argFooter :lang="lang" class="full_width_footer" />
9
9
  </div>
10
10
  </template>
11
11
  <script>
@@ -16,7 +16,16 @@ import argStyle from "./argStyle.vue";
16
16
  import argFooter from "./argFooter.vue";
17
17
  export default defineComponent({
18
18
  name: "argHomeLayout",
19
- components: { argStyle, argFooter }
19
+ components: { argStyle, argFooter },
20
+ props: {
21
+ lang: {
22
+ type: String,
23
+ default: "en",
24
+ validator: (value) => {
25
+ return ["en", "fr"].includes(value);
26
+ }
27
+ }
28
+ }
20
29
  });
21
30
  </script>
22
31
  <style>
@@ -1,2 +1,16 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ lang: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ validator: (value: string) => boolean;
6
+ };
7
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ lang: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ validator: (value: string) => boolean;
12
+ };
13
+ }>>, {
14
+ lang: string;
15
+ }, {}>;
2
16
  export default _default;
@@ -6,13 +6,13 @@
6
6
  </div>
7
7
  <div class="theme_select_message">
8
8
  <p class="theme_title">
9
- {{ lang === "en" ? "Select a theme" : "Choissiez un thème" }}
9
+ {{ lang === "en" ? "Select a theme" : "Choisissez un thème" }}
10
10
  </p>
11
11
  <p class="theme_descr">
12
12
  {{
13
13
  lang === "en"
14
14
  ? "Select a theme to display the analyses available within it."
15
- : "Choissiez un thème pour afficher les analyses disponibles"
15
+ : "Choisissez un thème pour afficher les analyses disponibles."
16
16
  }}
17
17
  </p>
18
18
  </div>