@agendize/vue-tools 1.25.4 → 1.25.5
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.
|
@@ -12,6 +12,7 @@ export declare class DatadogLogger implements LoggerInterface {
|
|
|
12
12
|
version: string;
|
|
13
13
|
debug: boolean;
|
|
14
14
|
});
|
|
15
|
+
queryMustBeLogged(event: any, context: any): boolean;
|
|
15
16
|
fine(service: string, ...data: any[]): void;
|
|
16
17
|
trace(service: LoggerServiceType, ...data: any[]): void;
|
|
17
18
|
debug(service: LoggerServiceType, ...data: any[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datadogLogger.d.ts","sourceRoot":"","sources":["../../src/utils/datadogLogger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,iBAAiB,EAA0B,MAAM,2BAA2B,CAAA;AAIrG,qBAAa,aAAc,YAAW,eAAe;IACjD,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAoB;IAClC,OAAO,CAAC,cAAc,CAAoB;gBAE9B,MAAM,EAAE;QAChB,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,OAAO,CAAA;KACjB;IA8BD,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAM3C,KAAK,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAMvD,KAAK,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAYvD,KAAK,CAAC,OAAO,EAAE,iBAAiB,EAAE,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EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAYtD,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAYtD,OAAO,CAAC,yBAAyB;CAYpC"}
|
package/dist/vue-tools.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _c = Object.defineProperty;
|
|
2
2
|
var Ec = (e, t, n) => t in e ? _c(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var rt = (e, t, n) => Ec(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { ref as ge, onMounted as Kt, onUnmounted as Ua, readonly as vc, getCurrentInstance as Di, inject as wc,
|
|
4
|
+
import { ref as ge, onMounted as Kt, onUnmounted as Ua, readonly as vc, getCurrentInstance as Di, inject as wc, computed as _t, watch as St, shallowRef as bc, defineComponent as Dt, h as Ba, createVNode as Ie, Text as Sc, Fragment as Mi, openBlock as Ne, createElementBlock as Mn, createElementVNode as qe, toDisplayString as Xe, normalizeStyle as Oc, createBlock as Fe, unref as V, withCtx as Oe, createTextVNode as It, createCommentVNode as Be, normalizeClass as Va, resolveDirective as Tc, withDirectives as Cc, isRef as co, capitalize as On, defineAsyncComponent as Nc } from "vue";
|
|
5
5
|
import { getStandardLocale as dt } from "@agendize/az-i18n";
|
|
6
6
|
import { Button as Lt, StructuredLayout as Rn, FieldTextArea as Wa, Mandatory as Et, StructuredSection as za, Accordeon as qa, StructuredFormLayout as kc, FieldNumber as fo, FieldInput as Ri, StructuredButtonLayout as gs, Banner as ho, FieldPhone as Ic, FieldCopy as Lc, StructuredList as Ac, Selectable as Dc, FormFields as Mc, FieldToggle as mo, getTextColorFromBackgroundColor as go, ErrorComponent as Rc, LoadingComponent as xc, SpecificPeriodModel as Pc } from "@agendize/design-system";
|
|
7
7
|
import { AgendizeApi as Fc, Logger as $c, ApiErrors as po, ShareLinkEntity as Ha, ShareLinkRecipientEntity as Ga, GlobalRight as qt, FormBuilderPublicEntity as Uc, FormBuilderSecuredEntity as Bc, FormResultPublicEntity as Vc, FORM_FILE_EXTENSIONS as Wc, FORM_FILE_MAX_SIZE as zc, EventStatus as ve, PublicBodyEntity as qc, SecuredBodyEntity as Hc, StorageKeys as Kn } from "@agendize/js-agendize-api";
|
|
@@ -13849,9 +13849,19 @@ class nE {
|
|
|
13849
13849
|
forwardErrorsToLogs: t.forwardErrorsToLogs,
|
|
13850
13850
|
env: t.env,
|
|
13851
13851
|
version: t.version,
|
|
13852
|
-
beforeSend: (n, r) =>
|
|
13852
|
+
beforeSend: (n, r) => this.queryMustBeLogged(n, r) ? (n.service || (n.service = "vue-tools"), n.host || (n.host = location.hostname), n.user || (n.user = this.getUserIdOrOrganisationId()), !0) : !1
|
|
13853
13853
|
}), this.logInConsole = t.debug, this.logger = Ai.logger;
|
|
13854
13854
|
}
|
|
13855
|
+
queryMustBeLogged(t, n) {
|
|
13856
|
+
if (n && "isAborted" in n && n.isAborted)
|
|
13857
|
+
return !1;
|
|
13858
|
+
const r = [
|
|
13859
|
+
/^There was an error setting cookie.*/g,
|
|
13860
|
+
/^Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing./g,
|
|
13861
|
+
/http.*o\/oauth2\/token/g
|
|
13862
|
+
];
|
|
13863
|
+
return t.message ? typeof t.message == "string" ? !r.some((s) => t.message.match(s)) : Array.isArray(t == null ? void 0 : t.message) ? !r.some((s) => t.message.some((i) => typeof i == "string" && i.match(s))) : !0 : !0;
|
|
13864
|
+
}
|
|
13855
13865
|
fine(t, ...n) {
|
|
13856
13866
|
this.logInConsole && console.trace(t, n);
|
|
13857
13867
|
}
|