@tekkare/auriga 0.1.108 → 0.1.110

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.
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.108"
7
+ "version": "0.1.110"
8
8
  }
@@ -317,7 +317,7 @@ export default defineComponent({
317
317
  "CircleHalfTilt",
318
318
  "CircleHalf",
319
319
  "CircleNotch",
320
- "CircelSelectFill",
320
+ "CircleSelectFill",
321
321
  "CircleWavyCheck",
322
322
  "CircleWavyQuestion",
323
323
  "CircleWavyWarning",
@@ -1065,7 +1065,6 @@ export default defineComponent({
1065
1065
  "VideoCameraSlash",
1066
1066
  "VideoCamera",
1067
1067
  "Vignette",
1068
- "Virus",
1069
1068
  "Voicemail",
1070
1069
  "Volleyball",
1071
1070
  "Wall",
@@ -1097,7 +1096,216 @@ export default defineComponent({
1097
1096
  "XSquare",
1098
1097
  "X",
1099
1098
  "YinYang",
1100
- "YoutubeLogo"
1099
+ "YoutubeLogo",
1100
+ "Sigma",
1101
+ "ChartScatter",
1102
+ "HandHeart",
1103
+ "CameraPlus",
1104
+ "WarningDiamond",
1105
+ "PottedPlant",
1106
+ "BatteryVerticalLow",
1107
+ "Virus",
1108
+ "WheelchairMotion",
1109
+ "SteeringWheel",
1110
+ "Stool",
1111
+ "Pi",
1112
+ "TextB",
1113
+ "Lockers",
1114
+ "PaypalLogo",
1115
+ "AirTrafficControl",
1116
+ "BatteryVerticalFull",
1117
+ "Toolbox",
1118
+ "BatteryVerticalHigh",
1119
+ "FolderDashed",
1120
+ "VirtualReality",
1121
+ "DropboxLogo",
1122
+ "DevToLogo",
1123
+ "BatteryVerticalEmpty",
1124
+ "Usb",
1125
+ "IntersectThree",
1126
+ "Tipi",
1127
+ "Shrimp",
1128
+ "Couch",
1129
+ "Church",
1130
+ "ShareFat",
1131
+ "Waveform",
1132
+ "FolderSimpleDashed",
1133
+ "PhonePlus",
1134
+ "CarProfile",
1135
+ "Carrot",
1136
+ "PlusSquare",
1137
+ "ImagesSquare",
1138
+ "Control",
1139
+ "PlayPause",
1140
+ "ArrowsMerge",
1141
+ "Subtitles",
1142
+ "Devices",
1143
+ "SealQuestion",
1144
+ "Pentagram",
1145
+ "TidalLogo",
1146
+ "Lighthouse",
1147
+ "Bridge",
1148
+ "GridNine",
1149
+ "Dot",
1150
+ "MicrosoftOutlookLogo",
1151
+ "ChartPolar",
1152
+ "WebcamSlash",
1153
+ "GoogleCardboardLogo",
1154
+ "PiggyBank",
1155
+ "Certificate",
1156
+ "OfficeChair",
1157
+ "ArrowsSplit",
1158
+ "DoorOpen",
1159
+ "EscalatorUp",
1160
+ "Park",
1161
+ "BatteryPlusVertical",
1162
+ "CassetteTape",
1163
+ "SubtractSquare",
1164
+ "SealWarning",
1165
+ "Steps",
1166
+ "WechatLogo",
1167
+ "FlagPennant",
1168
+ "MedalMilitary",
1169
+ "ChartLineDown",
1170
+ "SplitHorizontal",
1171
+ "UniteSquare",
1172
+ "CaretCircleUpDown",
1173
+ "StarAndCrescent",
1174
+ "Shapes",
1175
+ "Mosque",
1176
+ "FileSql",
1177
+ "Dna",
1178
+ "PencilSlash",
1179
+ "CallBell",
1180
+ "IntersectSquare",
1181
+ "GoodreadsLogo",
1182
+ "SplitVertical",
1183
+ "Paragraph",
1184
+ "Engine",
1185
+ "Plant",
1186
+ "SpeakerHifi",
1187
+ "SneakerMove",
1188
+ "ReceiptX",
1189
+ "Moped",
1190
+ "SealCheck",
1191
+ "FlowerTulip",
1192
+ "StarOfDavid",
1193
+ "Tent",
1194
+ "Trademark",
1195
+ "SquareSplitVertical",
1196
+ "FileArchive",
1197
+ "ChartDonut",
1198
+ "HandCoins",
1199
+ "BowlFood",
1200
+ "Fan",
1201
+ "FileMagnifyingGlass",
1202
+ "TextAUnderline",
1203
+ "Pants",
1204
+ "PersonSimpleThrow",
1205
+ "Tram",
1206
+ "EscalatorDown",
1207
+ "Signature",
1208
+ "Metronome",
1209
+ "CubeTransparent",
1210
+ "Subtract",
1211
+ "Garage",
1212
+ "FireExtinguisher",
1213
+ "Parallelogram",
1214
+ "CloudX",
1215
+ "Hoodie",
1216
+ "Siren",
1217
+ "Images",
1218
+ "ShootingStar",
1219
+ "PlugCharging",
1220
+ "Grains",
1221
+ "CodeBlock",
1222
+ "HighHeel",
1223
+ "ContactlessPayment",
1224
+ "Broom",
1225
+ "PersonArmsSpread",
1226
+ "HandsPraying",
1227
+ "CursorClick",
1228
+ "Scooter",
1229
+ "BeerStein",
1230
+ "Champagne",
1231
+ "CastleTurret",
1232
+ "CodaLogo",
1233
+ "MopedFront",
1234
+ "Exclude",
1235
+ "Dress",
1236
+ "FilmReel",
1237
+ "Sneaker",
1238
+ "HandSwipeRight",
1239
+ "ListMagnifyingGlass",
1240
+ "Feather",
1241
+ "TreePalm",
1242
+ "NotionLogo",
1243
+ "ExcludeSquare",
1244
+ "Goggles",
1245
+ "CheckFat",
1246
+ "Stairs",
1247
+ "Guitar",
1248
+ "Boot",
1249
+ "Unite",
1250
+ "AmazonLogo",
1251
+ "HandSwipeLeft",
1252
+ "Bone",
1253
+ "Hammer",
1254
+ "Seal",
1255
+ "GoogleDriveLogo",
1256
+ "LightningA",
1257
+ "ClockCountdown",
1258
+ "GasCan",
1259
+ "CloudWarning",
1260
+ "CompassTool",
1261
+ "Warehouse",
1262
+ "HeartHalf",
1263
+ "PencilSimpleSlash",
1264
+ "Footprints",
1265
+ "GearFine",
1266
+ "Radioactive",
1267
+ "OrangeSlice",
1268
+ "ReadCvLogo",
1269
+ "FileSvg",
1270
+ "Video",
1271
+ "CaretUpDown",
1272
+ "SuitcaseRolling",
1273
+ "ShirtFolded",
1274
+ "VinylRecord",
1275
+ "Cross",
1276
+ "Tooth",
1277
+ "Chair",
1278
+ "Motorcycle",
1279
+ "PatreonLogo",
1280
+ "GrainsSlash",
1281
+ "BatteryVerticalMedium",
1282
+ "PersonSimpleBike",
1283
+ "Notches",
1284
+ "Slideshow",
1285
+ "Elevator",
1286
+ "IceCream",
1287
+ "HandTap",
1288
+ "WebhooksLogo",
1289
+ "Circuitry",
1290
+ "CubeFocus",
1291
+ "Van",
1292
+ "ChargingStation",
1293
+ "FileDashed",
1294
+ "Gavel",
1295
+ "TextColumns",
1296
+ "Basket",
1297
+ "Synagogue",
1298
+ "Pulse",
1299
+ "RoadHorizon",
1300
+ "BookOpenText",
1301
+ "SoundcloudLogo",
1302
+ "MetaLogo",
1303
+ "BaseballCap",
1304
+ "Pepper",
1305
+ "SmileyAngry",
1306
+ "SwimmingPool",
1307
+ "SquareSplitHorizontal",
1308
+ "DotOutline"
1101
1309
  ];
1102
1310
  const filteredIcon = computed(() => {
1103
1311
  return iconNames.filter(
@@ -7,6 +7,7 @@
7
7
  :disabled="disabled"
8
8
  @click="changeDisplay()"
9
9
  :class="isDisplay ? 'open' : ''"
10
+ :sort-icon="is_sort"
10
11
  >
11
12
  <arg-tooltip
12
13
  class="full_width"
@@ -144,7 +145,8 @@ export default defineComponent({
144
145
  }
145
146
  },
146
147
  loader_text: { type: Array, default: null },
147
- empty_content_msg: { type: String, default: null }
148
+ empty_content_msg: { type: String, default: null },
149
+ is_sort: { type: Boolean, default: false }
148
150
  },
149
151
  emits: ["changeElement", "update:Selection", "changeInputValue"],
150
152
  setup(props, { emit }) {
@@ -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()">
@@ -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>
@@ -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>
@@ -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;