@tekkare/auriga 0.2.121 → 0.2.123

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.2.121"
7
+ "version": "0.2.123"
8
8
  }
@@ -138,6 +138,10 @@ export default defineComponent({
138
138
  posthogHost: {
139
139
  type: String,
140
140
  default: null
141
+ },
142
+ cut: {
143
+ type: Boolean,
144
+ default: false
141
145
  }
142
146
  },
143
147
  setup(props) {
@@ -354,7 +358,14 @@ export default defineComponent({
354
358
  return tab.data.slice(0, props.limit);
355
359
  }
356
360
  } else {
357
- return tab.data;
361
+ return props.cut ? tab.data.map(
362
+ (obj) => Object.fromEntries(
363
+ Object.entries(obj).map(
364
+ ([key, value]) => typeof value === "string" && value.length > 3e4 ? [key, value.substring(0, 3e4)] : [key, value]
365
+ // Keep other values as they are
366
+ )
367
+ )
368
+ ) : tab.data;
358
369
  }
359
370
  });
360
371
  globalData.unshift(data);
@@ -80,6 +80,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
80
80
  type: StringConstructor;
81
81
  default: null;
82
82
  };
83
+ cut: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
83
87
  }>, {
84
88
  launchDownload: () => Promise<void>;
85
89
  isLoading: import("vue").Ref<boolean, boolean>;
@@ -143,8 +147,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
143
147
  type: StringConstructor;
144
148
  default: null;
145
149
  };
150
+ cut: {
151
+ type: BooleanConstructor;
152
+ default: boolean;
153
+ };
146
154
  }>> & Readonly<{}>, {
147
155
  lang: string;
156
+ cut: boolean;
148
157
  style: string;
149
158
  subtitle: string;
150
159
  beforeExport: Function;
@@ -34,31 +34,33 @@
34
34
  >{{ langData?.new }}</arg-btn
35
35
  >
36
36
  </div>
37
- <div
38
- v-for="(element, index) of scopes"
39
- :key="index"
40
- class="oip_select_complex_selection_loop"
41
- @click="selectScope(element)"
42
- >
43
- <arg-icon
44
- :class="selectedScope?.id === element.id ? 'add' : ''"
45
- :color="
46
- selectedScope?.id === element.id
47
- ? 'var(--primary)'
48
- : 'var(--medium)'
49
- "
50
- size="16"
51
- :name="
52
- selectedScope?.id === element.id ? 'CircleSelectFill' : 'Circle'
53
- "
54
- />
37
+ <div class="oip_scope_list">
55
38
  <div
56
- :class="[
57
- 'oip_select_complex_selection_loop_name',
58
- selectedScope?.id === element.id ? 'add' : 'del',
59
- ]"
39
+ v-for="(element, index) of scopes"
40
+ :key="index"
41
+ class="oip_select_complex_selection_loop"
42
+ @click="selectScope(element)"
60
43
  >
61
- {{ element.title }}
44
+ <arg-icon
45
+ :class="selectedScope?.id === element.id ? 'add' : ''"
46
+ :color="
47
+ selectedScope?.id === element.id
48
+ ? 'var(--primary)'
49
+ : 'var(--medium)'
50
+ "
51
+ size="16"
52
+ :name="
53
+ selectedScope?.id === element.id ? 'CircleSelectFill' : 'Circle'
54
+ "
55
+ />
56
+ <div
57
+ :class="[
58
+ 'oip_select_complex_selection_loop_name',
59
+ selectedScope?.id === element.id ? 'add' : 'del',
60
+ ]"
61
+ >
62
+ {{ element.title }}
63
+ </div>
62
64
  </div>
63
65
  </div>
64
66
  </div>
@@ -208,5 +210,5 @@ export default defineComponent({
208
210
  </script>
209
211
 
210
212
  <style scoped>
211
- .scope_select_dropdown_block{background:var(--demi-fond);border:1.5px solid var(--light);border-radius:12px;box-shadow:var(--overlay-shadow);display:flex;flex-direction:column;margin-top:15px;padding:16px;position:absolute;right:0;width:-moz-max-content;width:max-content;z-index:99!important}.scope_change_display{position:relative}.oip_select_complex_selection_loop>svg.add{color:var(--primary)!important}.oip_select_complex_selection_loop.disabled_option:hover svg,.oip_select_complex_selection_loop>svg.disable{color:var(--darkest)!important}.oip_select_complex_selection_loop:hover>svg.add{color:var(--primary-hover)!important}.oip_select_complex_selection_loop:hover svg{color:var(--primary)!important}.oip_select_complex_selection_loop .add{font-weight:700!important}.oip_select_complex_selection_loop:hover{background:rgba(33,118,255,.05)!important;border-radius:4px!important}.oip_select_complex_selection_loop{padding:2px 4px}.oip_select_complex_selection_loop.disabled_option:hover{background:transparent!important}.oip_select_complex_selection_loop{margin:4px 0!important}svg.add{flex-shrink:0}.my-4{margin:4px 0}.full_width{width:100%}
213
+ .scope_select_dropdown_block{background:var(--demi-fond);border:1.5px solid var(--light);border-radius:12px;box-shadow:var(--overlay-shadow);display:flex;flex-direction:column;margin-top:15px;padding:16px;position:absolute;right:0;width:-moz-max-content;width:max-content;z-index:99!important}.oip_scope_list{max-height:300px;overflow-y:scroll}.oip_scope_list::-webkit-scrollbar{height:5px;width:5px}.oip_scope_list::-webkit-scrollbar-thumb{background:var(--medium);border-radius:12px!important}.oip_scope_list::-webkit-scrollbar-thumb:hover{background:var(--medium)!important}.scope_change_display{position:relative}.oip_select_complex_selection_loop>svg.add{color:var(--primary)!important}.oip_select_complex_selection_loop.disabled_option:hover svg,.oip_select_complex_selection_loop>svg.disable{color:var(--darkest)!important}.oip_select_complex_selection_loop:hover>svg.add{color:var(--primary-hover)!important}.oip_select_complex_selection_loop:hover svg{color:var(--primary)!important}.oip_select_complex_selection_loop .add{font-weight:700!important}.oip_select_complex_selection_loop:hover{background:rgba(33,118,255,.05)!important;border-radius:4px!important}.oip_select_complex_selection_loop{padding:2px 4px}.oip_select_complex_selection_loop.disabled_option:hover{background:transparent!important}.oip_select_complex_selection_loop{margin:4px 0!important}svg.add{flex-shrink:0}.my-4{margin:4px 0}.full_width{width:100%}
212
214
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.121",
3
+ "version": "0.2.123",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",