@tekkare/auriga 0.2.121 → 0.2.122
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
|
@@ -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;
|