Skip to content

EspoCRM – Open Source CRM Application

TypeScript support (#3649)

Yurii Kuznietsovf8c8ee627505
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
index ebbc52ff2b..136791ccec 100644
--- a/.idea/codeStyles/Project.xml
+++ b/.idea/codeStyles/Project.xml
@@ -10,6 +10,11 @@
<option name="SPACE_BEFORE_SHORT_CLOSURE_LEFT_PARENTHESIS" value="true" />
<option name="FORCE_EMPTY_METHODS_IN_ONE_LINE" value="true" />
</PHPCodeStyleSettings>
+ <TypeScriptCodeStyleSettings version="0">
+ <option name="USE_DOUBLE_QUOTES" value="false" />
+ <option name="FORCE_QUOTE_STYlE" value="true" />
+ <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
+ </TypeScriptCodeStyleSettings>
<codeStyleSettings language="JSON">
<indentOptions>
<option name="INDENT_SIZE" value="4" />
diff --git a/client/src/ajax.js b/client/src/ajax.ts
similarity index 64%
rename from client/src/ajax.js
rename to client/src/ajax.ts
index 378d8763eb..665e0a9de4 100644
--- a/client/src/ajax.js
+++ b/client/src/ajax.ts
@@ -30,40 +30,29 @@
import $ from 'jquery';
import Utils from 'utils';
+import {AjaxPromise} from 'util/ajax';
-let isConfigured = false;
-/** @type {number} */
-let defaultTimeout;
-/** @type {string} */
-let apiUrl;
-/** @type {Espo.Ajax~Handler} */
-let beforeSend;
-/** @type {Espo.Ajax~Handler} */
-let onSuccess;
-/** @type {Espo.Ajax~Handler} */
-let onError;
-/** @type {Espo.Ajax~Handler} */
-let onTimeout;
-/** @type {function()} */
-let onOffline;
+let isConfigured: boolean = false;
+let defaultTimeout: number;
+let apiUrl: string;
+let beforeSend: Handler;
+let onSuccess: Handler;
+let onError: Handler;
+let onTimeout: Handler;
+let onOffline: () => void;
-/**
- * @callback Espo.Ajax~Handler
- * @param {XMLHttpRequest} [xhr]
- * @param {Object.<string, *>} [options]
- */
+type Handler = (xhr?: XMLHttpRequest, options?: Record<string, any>) => void;
/**
* Options.
- *
- * @typedef {Object} Espo.Ajax~Options
- *
- * @property {Number} [timeout] A timeout.
- * @property {Object.<string, string>} [headers] A request headers.
- * @property {'json'|'text'} [dataType] A data type.
- * @property {string} [contentType] A content type.
- * @property {boolean} [resolveWithXhr] To resolve with `XMLHttpRequest`.
*/
+interface Options {
+ timeout?: number,
+ headers?: Record<string, string>,
+ dataType?: 'json' | 'text',
+ contentType?: string,
+ resolveWithXhr?: boolean,
+}
const baseUrl = Utils.obtainBaseUrl();
@@ -76,18 +65,23 @@ const Ajax = Espo.Ajax = {
/**
* Request.
*
- * @param {string} url An URL.
- * @param {'GET'|'POST'|'PUT'|'DELETE'|'PATCH'|'OPTIONS'} method An HTTP method.
+ * @param url An URL.
+ * @param method An HTTP method.
* @param {*} [data] Data.
- * @param {Espo.Ajax~Options & Object.<string, *>} [options] Options.
+ * @param [options] Options.
* @returns {AjaxPromise<any>}
*/
- request: function (url, method, data, options) {
- options = options || {};
+ request: function (
+ url: string,
+ method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS',
+ data: any = undefined,
+ options: Options & Record<string, any> = {}
+ ): AjaxPromise {
const timeout = 'timeout' in options ? options.timeout : defaultTimeout;
const contentType = options.contentType || 'application/json';
- let body;
+
+ let body: any;
if (options.data && !data) {
data = options.data;
@@ -132,14 +126,18 @@ const Ajax = Espo.Ajax = {
beforeSend(xhr, options);
}
- const promiseWrapper = {};
+ const promiseWrapper: {
+ promise?: AjaxPromise,
+ xhr?: Xhr,
+ } = {};
- const promise = new AjaxPromise((resolve, reject) => {
- const onErrorGeneral = (isTimeout) => {
+ const promise = new AjaxPromise<any>((resolve, reject) => {
+ const onErrorGeneral = (isTimeout: boolean = false) => {
if (options.error) {
options.error(xhr, options);
}
+ // @ts-ignore
reject(xhr, options);
if (isTimeout) {
@@ -171,13 +169,12 @@ const Ajax = Espo.Ajax = {
return;
}
- let response = xhr.responseText;
+ let response: string | Xhr = xhr.responseText;
if ((options.dataType || 'json') === 'json') {
try {
response = JSON.parse(xhr.responseText);
- }
- catch (e) {
+ } catch (e) {
console.error('Could not parse API response.');
onErrorGeneral();
@@ -218,11 +215,15 @@ const Ajax = Espo.Ajax = {
* POST request.
*
* @param {string} url An URL.
- * @param {*} [data] Data.
- * @param {Espo.Ajax~Options & Object.<string, *>} [options] Options.
- * @returns {Promise<any> & AjaxPromise}
+ * @param [data] Data.
+ * @param [options] Options.
*/
- postRequest: function (url, data, options) {
+ postRequest: function (
+ url: string,
+ data: any = undefined,
+ options: Options & Record<string, any> = undefined,
+ ): Promise<any> & AjaxPromise {
+
if (data) {
data = JSON.stringify(data);
}
@@ -233,12 +234,16 @@ const Ajax = Espo.Ajax = {
/**
* PATCH request.
*
- * @param {string} url An URL.
- * @param {*} [data] Data.
- * @param {Espo.Ajax~Options & Object.<string, *>} [options] Options.
- * @returns {Promise<any> & AjaxPromise}
+ * @param url An URL.
+ * @param [data] Data.
+ * @param [options] Options.
*/
- patchRequest: function (url, data, options) {
+ patchRequest: function (
+ url: string,
+ data: any = undefined,
+ options: Options & Record<string, any>,
+ ): Promise<any> & AjaxPromise {
+
if (data) {
data = JSON.stringify(data);
}
@@ -249,12 +254,16 @@ const Ajax = Espo.Ajax = {
/**
* PUT request.
*
- * @param {string} url An URL.
- * @param {*} [data] Data.
- * @param {Espo.Ajax~Options & Object.<string, *>} [options] Options.
- * @returns {Promise<any> & AjaxPromise}
+ * @param url An URL.
+ * @param [data] Data.
+ * @param [options] Options.
*/
- putRequest: function (url, data, options) {
+ putRequest: function (
+ url: string,
+ data: any = undefined,
+ options: Options & Record<string, any> = undefined,
+ ): Promise<any> & AjaxPromise {
+
if (data) {
data = JSON.stringify(data);
}
@@ -265,12 +274,16 @@ const Ajax = Espo.Ajax = {
/**
* DELETE request.
*
- * @param {string} url An URL.
- * @param {*} [data] Data.
- * @param {Espo.Ajax~Options & Object.<string, *>} [options] Options.
- * @returns {Promise<any> & AjaxPromise}
+ * @param url An URL.
+ * @param [data] Data.
+ * @param [options] Options.
*/
- deleteRequest: function (url, data, options) {
+ deleteRequest: function (
+ url: string,
+ data: any,
+ options: Options & Record<string, any>,
+ ): Promise<any> & AjaxPromise {
+
if (data) {
data = JSON.stringify(data);
}
@@ -281,28 +294,35 @@ const Ajax = Espo.Ajax = {
/**
* GET request.
*
- * @param {string} url An URL.
- * @param {*} [data] Data.
- * @param {Espo.Ajax~Options & Object.<string, *>} [options] Options.
- * @returns {Promise<any> & AjaxPromise}
+ * @param url An URL.
+ * @param [data] Data.
+ * @param [options] Options.
*/
- getRequest: function (url, data, options) {
+ getRequest: function (
+ url: string,
+ data: any = undefined,
+ options: Options & Record<string, any> = undefined,
+ ): Promise<any> & AjaxPromise {
+
return /** @type {Promise<any> & AjaxPromise} */ Ajax.request(url, 'GET', data, options);
},
/**
* @internal
- * @param {{
- * apiUrl: string,
- * timeout: number,
- * beforeSend: Espo.Ajax~Handler,
- * onSuccess: Espo.Ajax~Handler,
- * onError: Espo.Ajax~Handler,
- * onTimeout: Espo.Ajax~Handler,
- * onOffline?: function(),
- * }} options Options.
+ * @param options Options.
*/
- configure: function (options) {
+ configure: function (
+ options: {
+ apiUrl: string,
+ timeout: number,
+ beforeSend: Handler,
+ onSuccess: Handler,
+ onError: Handler,
+ onTimeout: Handler,
+ onOffline?: () => void,
+ }
+ ) {
+
if (isConfigured) {
throw new Error("Ajax is already configured.");
}
@@ -319,56 +339,6 @@ const Ajax = Espo.Ajax = {
},
};
-/**
- * @memberOf module:ajax
- */
-class AjaxPromise extends Promise {
-
- /**
- * @type {XMLHttpRequest|null}
- * @internal
- */
- xhr = null
-
- isAborted = false
-
- /**
- * Abort the request.
- */
- abort() {
- this.isAborted = true;
-
- if (this.xhr) {
- this.xhr.abort();
- }
- }
-
- /**
- * Get a ready state.
- *
- * @return {Number}
- */
- getReadyState() {
- if (!this.xhr) {
- return 0;
- }
-
- return this.xhr.readyState || 0;
- }
-
- /**
- * Get a status code
- *
- * @return {Number}
- */
- getStatus() {
- if (!this.xhr) {
- return 0;
- }
-
- return this.xhr.status;
- }
-}
/**
* @name module:ajax.Xhr
diff --git a/client/src/collection.js b/client/src/collection.ts
similarity index 64%
rename from client/src/collection.js
rename to client/src/collection.ts
index e512bfa24a..91f83678c6 100644
--- a/client/src/collection.js
+++ b/client/src/collection.ts
@@ -32,6 +32,7 @@ import Model from 'model';
import {Events, View as BullView} from 'bullbone';
import _ from 'underscore';
import {onSync} from 'util/event';
+import {AjaxPromise} from 'util/ajax';
/**
* On sync with backend.
@@ -68,118 +69,150 @@ import {onSync} from 'util/event';
*/
/**
- * @typedef {Object} module:collection~Data
- * @property {string|null} [primaryFilter]
- * @property {string[]} [boolFilterList]
- * @property {string} [textFilter]
- * @property {string} [select]
- * @property {string} [q]
+ * A where item. Sent to the backend.
*/
+export interface WhereItem {
+ type: string;
+ attribute?: string;
+ value?: WhereItem[] | string | number | boolean | string[] | null;
+ dateTime?: boolean;
+ timeZone?: string;
+}
/**
- * A collection.
- *
- * @mixes Bull.Events
- * @copyright Credits to Backbone.js.
+ * Search data.
*/
-class Collection {
+export interface Data {
+ primaryFilter?: string | null,
+ boolFilterList?: string[],
+ textFilter?: string,
+ select?: string,
+ q?: string,
+}
+
+export default class Collection<TModel extends Model = Model> {
/**
* An entity type.
- *
- * @type {string|null}
*/
- entityType = null
+ entityType: string | null = null
/**
* A total number of records.
- *
- * @type {number}
*/
- total = 0
+ total: number = 0
/**
* A current offset (for pagination).
- *
- * @type {number}
*/
- offset = 0
+ offset: number = 0
/**
* A max size (for pagination).
- *
- * @type {number}
*/
- maxSize = 20
+ maxSize: number = 20
+
+ /**
+ * A number of records.
+ */
+ length: number
/**
* An order.
- *
- * @type {boolean|'asc'|'desc'|null}
*/
- order = null
+ order: boolean | 'asc' | 'desc' | null = null
/**
* An order-by field.
- *
- * @type {string|null}
*/
- orderBy = null
+ orderBy: string | null = null
+
+ /**
+ * A default order.
+ */
+ defaultOrder: boolean | 'asc' | 'desc' | null = null
+
+ /**
+ * A default order-by field.
+ */
+ defaultOrderBy: string | null = null
/**
* A where clause.
- *
- * @type {module:search-manager~whereItem[]|null}
*/
- where = null
+ where: WhereItem[] | null = null
/**
* @deprecated
- * @type {module:search-manager~whereItem[]|null}
*/
- whereAdditional = null
+ whereAdditional: WhereItem[] | null = null
/**
* A length correction.
- *
- * @type {number}
*/
- lengthCorrection = 0
+ lengthCorrection: number = 0
/**
* A max max-size.
- *
- * @type {number}
*/
- maxMaxSize = 0
+ maxMaxSize: number = 0
/**
* A where function.
- *
- * @type {function(): module:search-manager~whereItem[]}
*/
- whereFunction
+ whereFunction: () => WhereItem[] | null = null
/**
* A last sync request promise.
- *
- * @type {module:ajax.AjaxPromise|null}
*/
- lastSyncPromise = null
+ lastSyncPromise: AjaxPromise | null = null
/**
* A parent model. To be used for own purposes. E.g. to have access to a parent from related models.
- *
- * @type {import('model').default}
*/
- parentModel
+ parentModel: Model | undefined
+
+ /**
+ * A root URL.
+ */
+ urlRoot: string | null
+
+ /**
+ * A URL.
+ */
+ url: string | null
+
+ /**
+ * Model definitions.
+ */
+ protected defs: import('model').Defs | null
+
+ /**
+ * A model type.
+ */
+ protected model: typeof Model
+
+ /**
+ * Search data.
+ */
+ data: Data & Record<string, any>
+
+ /**
+ * Models. Do not write, do not mutate.
+ */
+ models: TModel[];
+
+ private _byId: Record<string, TModel>
+
+
+ private readonly _onModelEventBind: () => void;
/**
* @param {Model[]|Record<string, *>[]|null} [models] Models.
* @param {{
* entityType?: string,
* model?: Model.prototype,
- * defs?: module:model~defs,
+ * defs?: import('model').Defs,
* order?: 'asc'|'desc'|boolean|null,
* orderBy?: string|null,
* urlRoot?: string,
@@ -187,7 +220,19 @@ class Collection {
* maxSize?: number,
* }} [options] Options.
*/
- constructor(models, options) {
+ constructor(
+ models: TModel[] | Record<string, any>[] | null,
+ options: {
+ model?: typeof Model,
+ defs: import('model').Defs,
+ maxSize?: number,
+ entityType?: string,
+ urlRoot?: string,
+ url?: string,
+ orderBy: string | null,
+ order: 'asc' | 'desc' | boolean,
+ }
+ ) {
options = {...options};
if (options.model) {
@@ -202,23 +247,11 @@ class Collection {
if (options.entityType) {
this.entityType = options.entityType;
- /** @deprecated */
+ // @ts-ignore
this.name = this.entityType;
}
- /**
- * A root URL.
- *
- * @public
- * @type {string|null}
- */
- this.urlRoot = options.urlRoot || this.urlRoot || this.entityType;
-
- /**
- * An URL.
- *
- * @type {string|null}
- */
+ this.urlRoot = options.urlRoot || this.urlRoot || this.entityType || null;
this.url = options.url || this.url || this.urlRoot;
this.orderBy = options.orderBy || this.orderBy;
@@ -227,59 +260,59 @@ class Collection {
this.defaultOrder = this.order;
this.defaultOrderBy = this.orderBy;
- /** @type {module:model~defs} */
- this.defs = options.defs || {};
-
- /**
- * @type {module:collection~Data | Record<string, *>}
- */
+ this.defs = options.defs ?? {};
this.data = {};
- /**
- * @private
- * @type {Model#}
- */
this.model = options.model || Model;
if (models) {
this.reset(models, {silent: true, ...options});
}
+
+ this._onModelEventBind = this._onModelEvent.bind(this);
}
+ // noinspection JSValidateJSDoc
/**
* Add models or a model.
*
- * @param {Model[]|Model|Record[]|Record} models Models ar a model.
- * @param {{
- * merge?: boolean,
- * at?: number,
- * silent?: boolean,
- * }} [options] Options. `at` – position; `merge` – merge existing models, otherwise, they are ignored.
- * @return {this}
+ * @param models Models ar a model.
+ * @param [options] Options. `at` – position; `merge` – merge existing models, otherwise, they are ignored.
* @fires Collection#update
*/
- add(models, options) {
+ add(
+ models: TModel[] | TModel | Record<string, any>[] | Record<string, any>,
+ options?: {
+ merge?: boolean,
+ at?: number,
+ silent?: boolean,
+ },
+ ): this {
+
this.set(models, {merge: false, ...options, ...addOptions});
return this;
}
+ // noinspection JSValidateJSDoc
/**
* Remove models or a model.
*
- * @param {Model[]|Model|string} models Models, a model or a model ID.
- * @param {{
- * silent?: boolean,
- * } & Object.<string, *>} [options] Options.
- * @return {this}
+ * @param models Models, a model or a model ID.
+ * @param [options] Options.
* @fires Collection#update
*/
- remove(models, options) {
- options = {...options};
+ remove(
+ models: (TModel | string)[] | TModel | string,
+ options?: {
+ silent?: boolean,
+ [s: string]: any,
+ },
+ ): this {
- const singular = !_.isArray(models);
+ options = {...options};
- models = singular ? [models] : models.slice();
+ models = Array.isArray(models) ? models.slice() : [models];
const removed = this._removeModels(models, options);
@@ -298,7 +331,7 @@ class Collection {
/**
* @protected
- * @param {Model[]|Model|Record[]} models Models ar a model.
+ * @param {Model[]|Model|Record[]} models Models or a model.
* @param {{
* silent?: boolean,
* at?: number,
@@ -310,7 +343,20 @@ class Collection {
* } & Object.<string, *>} [options]
* @return {Model[]}
*/
- set(models, options) {
+ protected set(
+ models: TModel[] | TModel | Record<string, any>[] | Record<string, any>,
+ options: {
+ silent?: boolean;
+ at?: number;
+ prepare?: boolean;
+ add?: boolean;
+ merge?: boolean;
+ remove?: boolean;
+ index?: number,
+ [s: string]: any,
+ },
+ ): TModel[] {
+
if (models == null) {
return [];
}
@@ -321,8 +367,7 @@ class Collection {
models = this.prepareAttributes(models, options) || [];
}
- const singular = !_.isArray(models);
- models = singular ? [models] : models.slice();
+ models = Array.isArray(models) ? models.slice() : [models];
let at = options.at;
@@ -348,9 +393,9 @@ class Collection {
const merge = options.merge;
const remove = options.remove;
- let model, i;
+ let model: TModel | Record<string, any>;
- for (i = 0; i < models.length; i++) {
+ for (let i = 0; i < models.length; i++) {
model = models[i];
const existing = this._get(model);
@@ -358,14 +403,13 @@ class Collection {
if (existing) {
if (merge && model !== existing) {
let attributes = this._isModel(model) ?
- model.attributes :
- model;
+ model.attributes : model;
if (options.prepare) {
attributes = existing.prepareAttributes(attributes, options);
}
- existing.set(attributes, options);
+ existing.setMultiple(attributes, options);
toMerge.push(existing);
}
@@ -375,14 +419,13 @@ class Collection {
}
models[i] = existing;
- }
- else if (add) {
+ } else if (add) {
model = models[i] = this._prepareModel(model);
- if (model) {
+ if (model && model instanceof Model) {
toAdd.push(model);
- this._addReference(model, options);
+ this._addReference(model);
modelMap[model.cid] = true;
set.push(model);
@@ -392,7 +435,7 @@ class Collection {
// Remove stale models.
if (remove) {
- for (i = 0; i < this.length; i++) {
+ for (let i = 0; i < this.length; i++) {
model = this.models[i];
if (!modelMap[model.cid]) {
@@ -419,15 +462,14 @@ class Collection {
splice(this.models, set, 0);
this.length = this.models.length;
- }
- else if (toAdd.length) {
+ } else if (toAdd.length) {
splice(this.models, toAdd, at == null ? this.length : at);
this.length = this.models.length;
}
if (!options.silent) {
- for (i = 0; i < toAdd.length; i++) {
+ for (let i = 0; i < toAdd.length; i++) {
if (at != null) {
options.index = at + i;
}
@@ -452,26 +494,32 @@ class Collection {
}
}
- return models;
+ return (models) as TModel[];
}
+ // noinspection JSValidateJSDoc
/**
* Reset.
*
- * @param {Model[]|null} [models] Models to replace the collection with.
- * @param {{
- * silent?: boolean,
- * } & Object.<string, *>} [options]
+ * @param [models] Models to replace the collection with.
+ * @param [options]
* @return {this}
* @fires Collection#reset
*/
- reset(models, options) {
+ reset(
+ models?: TModel[] | Record<string, any>,
+ options?: {
+ silent?: boolean,
+ [s: string]: any,
+ },
+ ): this {
+
this.lengthCorrection = 0;
options = options ? _.clone(options) : {};
for (let i = 0; i < this.models.length; i++) {
- this._removeReference(this.models[i], options);
+ this._removeReference(this.models[i]);
}
options.previousModels = this.models;
@@ -492,13 +540,16 @@ class Collection {
/**
* Add a model at the end.
*
- * @param {Model} model A model.
- * @param {{
- * silent?: boolean,
- * }} [options] Options
+ * @param model A model.
+ * @param [options] Options
* @return {this}
*/
- push(model, options) {
+ push(
+ model: TModel,
+ options?: {
+ silent?: boolean,
+ },
+ ): this {
this.add(model, {at: this.length, ...options});
return this;
@@ -507,12 +558,14 @@ class Collection {
/**
* Remove and return the last model.
*
- * @param {{
- * silent?: boolean,
- * }} [options] Options
- * @return {Model|null}
+ * @param [options] Options
*/
- pop(options) {
+ pop(
+ options?: {
+ silent?: boolean,
+ },
+ ): TModel | null {
+
const model = this.at(this.length - 1);
if (!model) {
@@ -533,7 +586,13 @@ class Collection {
* }} [options] Options
* @return {this}
*/
- unshift(model, options) {
+ unshift(
+ model: TModel,
+ options?: {
+ silent?: boolean,
+ },
+ ): this {
+
this.add(model, {at: 0, ...options});
return this;
@@ -542,12 +601,15 @@ class Collection {
/**
* Remove and return the first model.
*
- * @param {{
- * silent?: boolean,
- * }} [options] Options
+ * @param [options] Options
* @return {Model|null}
*/
- shift(options) {
+ shift(
+ options?: {
+ silent?: boolean,
+ },
+ ): TModel | null {
+
const model = this.at(0);
if (!model) {
@@ -563,10 +625,9 @@ class Collection {
* Get a model by an ID.
*
* @todo Usage to _get.
- * @param {string} id An ID.
- * @return {Model|undefined}
+ * @param id An ID.
*/
- get(id) {
+ get(id: string): TModel | undefined {
return this._get(id);
}
@@ -574,20 +635,18 @@ class Collection {
* Whether a model in the collection.
*
* @todo Usage to _has.
- * @param {string} id An ID.
- * @return {boolean}
+ * @param id An ID.
*/
- has(id) {
+ has(id: string): boolean {
return this._has(id);
}
/**
* Get a model by index.
*
- * @param {number} index An index. Can be negative, then counted from the end.
- * @return {Model|undefined}
+ * @param index An index. Can be negative, then counted from the end.
*/
- at(index) {
+ at(index: number): TModel | undefined {
if (index < 0) {
index += this.length;
}
@@ -599,85 +658,59 @@ class Collection {
* Iterates through a collection.
*
* @param {function(Model)} callback A function.
- * @param {Object} [context] A context.
*/
- forEach(callback, context) {
- return this.models.forEach(callback, context);
+ forEach(callback: (model: TModel) => void): this {
+ this.models.forEach(callback, arguments[1]);
+
+ return this;
}
/**
* Get an index of a model. Returns -1 if not found.
*
- * @param {Model} model A model
- * @return {number}
+ * @param model A model
*/
- indexOf(model) {
+ indexOf(model: TModel): number {
return this.models.indexOf(model);
}
- /**
- * @private
- * @param {string|Object.<string, *>|Model} obj
- * @return {boolean}
- */
- _has(obj) {
+ private _has(obj: string | Record<string, any> | TModel): boolean {
return !!this._get(obj)
}
- /**
- * @private
- * @param {string|Object.<string, *>|Model} obj
- * @return {Model|undefined}
- */
- _get(obj) {
+ private _get(obj: string | Record<string, any> | TModel): TModel | undefined {
if (obj == null) {
return void 0;
}
- return this._byId[obj] ||
- this._byId[this.modelId(obj.attributes || obj)] ||
- obj.cid && this._byId[obj.cid];
+ // @ts-ignore
+ return this._byId[obj] || this._byId[this.modelId(obj.attributes || obj)] || obj.cid && this._byId[obj.cid];
}
- /**
- * @protected
- * @param {Object.<string, *>} attributes
- * @return {*}
- */
- modelId(attributes) {
+ private modelId(attributes: Record<string, any>): any {
return attributes['id'];
}
- /** @private */
- _reset() {
- /**
- * A number of records.
- */
+ private _reset(): void {
this.length = 0;
-
- /**
- * Models.
- *
- * @type {Model[]}
- */
this.models = [];
-
- /** @private */
- this._byId = {};
+ this._byId = {};
}
/**
- * @param {string} orderBy An order field.
- * @param {bool|null|'desc'|'asc'} [order] True for desc.
- * @returns {Promise}
+ * @param orderBy An order field.
+ * @param [order] True for desc.
*/
- sort(orderBy, order) {
+ sort(
+ orderBy: string | null,
+ order: 'asc' | 'desc' | boolean | null,
+ ): AjaxPromise {
+
this.orderBy = orderBy;
if (order === true) {
order = 'desc';
- }
- else if (order === false) {
+ } else if (order === false) {
order = 'asc';
}
@@ -688,55 +721,43 @@ class Collection {
/**
* Has previous page.
- *
- * @return {boolean}
*/
- hasPreviousPage() {
+ hasPreviousPage(): boolean {
return this.offset > 0;
}
/**
* Has next page.
- *
- * @return {boolean}
*/
- hasNextPage() {
+ hasNextPage(): boolean {
return this.total - this.offset > this.length || this.total === -1;
}
/**
* Next page.
- *
- * @returns {Promise}
*/
- nextPage() {
+ nextPage(): AjaxPromise {
return this.setOffset(this.offset + this.length);
}
/**
* Previous page.
- *
- * @returns {Promise}
*/
- previousPage() {
+ previousPage(): AjaxPromise {
return this.setOffset(Math.max(0, this.offset - this.maxSize));
}
/**
* First page.
- *
- * @returns {Promise}
*/
- firstPage() {
+ firstPage(): AjaxPromise {
return this.setOffset(0);
}
/**
* Last page.
- *
- * @returns {Promise}
*/
- lastPage() {
+ lastPage(): AjaxPromise {
let offset = this.total - this.total % this.maxSize;
if (offset === this.total) {
@@ -749,10 +770,9 @@ class Collection {
/**
* Set an offset.
*
- * @param {number} offset Offset.
- * @returns {Promise}
+ * @param offset Offset.
*/
- setOffset(offset) {
+ setOffset(offset: number): AjaxPromise {
if (offset < 0) {
throw new RangeError('offset can not be less than 0');
}
@@ -773,33 +793,35 @@ class Collection {
/**
* Has more.
- *
- * @return {boolean}
*/
- hasMore() {
+ hasMore(): boolean {
return this.total > (this.length + this.offset + this.lengthCorrection) || this.total === -1;
}
/**
* Prepare attributes.
*
- * @protected
- * @param {Object.<string, *>|Record[]} response A response from the backend.
- * @param {Object.<string, *>} options Options.
- * @returns {Object.<string, *>[]}
+ * @param response A response from the backend.
+ * @param options Options.
*/
- prepareAttributes(response, options) {
- this.total = response.total;
+ protected prepareAttributes(
+ response: Record<string, any>[] | Record<string, any>,
+ options: Record<string, any>,
+ ): Record<string, any>[] {
- // noinspection JSUnusedGlobalSymbols
- /**
- * @deprecated As of v8.4. Use 'sync' event to obtain any additional data from a response.
- */
- this.dataAdditional = response.additionalData || null;
+ if (Array.isArray(response)) {
+ return response;
+ }
+
+ // noinspection BadExpressionStatementJS
+ options;
- return response.list;
+ this.total = response.total;
+
+ return response.list ?? [];
}
+ // noinspection JSValidateJSDoc
/**
* Fetch from the backend.
*
@@ -814,7 +836,18 @@ class Collection {
* @returns {Promise}
* @fires Collection#sync Unless `{silent: true}`.
*/
- fetch(options) {
+ fetch(
+ options?: {
+ remove?: boolean;
+ more?: boolean;
+ offset?: number;
+ maxSize?: number;
+ orderBy?: string | null;
+ order?: 'asc' | 'desc';
+ [s: string]: any,
+ },
+ ): AjaxPromise {
+
options = {...options};
options.data = {...options.data, ...this.data};
@@ -851,7 +884,7 @@ class Collection {
const success = options.success;
- options.success = response => {
+ options.success = (response: TModel[]) => {
options.reset ?
this.reset(response, options) :
this.set(response, options);
@@ -865,7 +898,7 @@ class Collection {
const error = options.error;
- options.error = response => {
+ options.error = (response: any) => {
if (error) {
error.call(options.context, this, response, options);
}
@@ -873,6 +906,7 @@ class Collection {
this.trigger('error', this, response, options);
};
+ // @ts-ignore
this.lastSyncPromise = Model.prototype.sync.call(this, 'read', this, options);
return this.lastSyncPromise;
@@ -883,7 +917,7 @@ class Collection {
*
* @return {boolean}
*/
- isBeingFetched() {
+ isBeingFetched(): boolean {
return this.lastSyncPromise && this.lastSyncPromise.getReadyState() < 4;
}
@@ -898,10 +932,8 @@ class Collection {
/**
* Get a where clause.
- *
- * @returns {module:search-manager~whereItem[]}
*/
- getWhere() {
+ getWhere(): WhereItem[] {
let where = (this.where ?? []).concat(this.whereAdditional || []);
if (this.whereFunction) {
@@ -916,14 +948,15 @@ class Collection {
*
* @returns {string}
*/
- getEntityType() {
+ getEntityType(): string {
+ // @ts-ignore
return this.entityType || this.name;
}
/**
* Reset the order to default.
*/
- resetOrderToDefault() {
+ resetOrderToDefault(): void {
this.orderBy = this.defaultOrderBy;
this.order = this.defaultOrder;
}
@@ -931,11 +964,16 @@ class Collection {
/**
* Set an order.
*
- * @param {string|null} orderBy
- * @param {boolean|'asc'|'desc'|null} [order]
- * @param {boolean} [setDefault]
+ * @param orderBy
+ * @param [order]
+ * @param [setDefault]
*/
- setOrder(orderBy, order, setDefault) {
+ setOrder(
+ orderBy: string | null,
+ order: boolean | 'asc' | 'desc' | null,
+ setDefault?: boolean,
+ ): void {
+
this.orderBy = orderBy;
this.order = order;
@@ -949,15 +987,15 @@ class Collection {
* Clone.
*
* @param {{withModels?: boolean}} [options]
- * @return {Collection}
*/
- clone(options = {}) {
+ clone(options: { withModels?: boolean } = {}): Collection<TModel> {
let models = this.models;
if (options.withModels) {
models = this.models.map(m => m.clone());
}
+ // @ts-ignore
const collection = new this.constructor(models, {
model: this.model,
entityType: this.entityType,
@@ -966,6 +1004,7 @@ class Collection {
order: this.order,
});
+ // @ts-ignore
collection.name = this.name;
collection.urlRoot = this.urlRoot;
collection.url = this.url;
@@ -973,6 +1012,8 @@ class Collection {
collection.defaultOrderBy = this.defaultOrderBy;
collection.data = Espo.Utils.cloneDeep(this.data);
collection.where = Espo.Utils.cloneDeep(this.where);
+ // noinspection JSDeprecatedSymbols
+ // @ts-ignore
collection.whereAdditional = Espo.Utils.cloneDeep(this.whereAdditional);
collection.total = this.total;
collection.offset = this.offset;
@@ -989,18 +1030,15 @@ class Collection {
*
* @return {Model}
*/
- prepareModel() {
+ prepareModel(): TModel {
return this._prepareModel({});
}
// noinspection JSUnusedGlobalSymbols
/**
* Compose a URL for syncing. Called from Model.sync.
- *
- * @protected
- * @return {string}
*/
- composeSyncUrl() {
+ protected composeSyncUrl(): string {
return this.url;
}
@@ -1020,7 +1058,17 @@ class Collection {
* @return {{stop: function()}}
* @since 10.0.0
*/
- onSync(params) {
+ onSync(
+ params: {
+ owner: import('view').default | import('model').default | import('collection').default;
+ once?: boolean;
+ callback: (arg0: {
+ action: 'fetch' | 'save' | 'destroy' | null;
+ response: any;
+ }) => void;
+ }
+ ): { stop: () => any} {
+
return onSync({
owner: params.owner,
once: params.once,
@@ -1029,13 +1077,11 @@ class Collection {
});
}
- /** @private */
- _isModel(object) {
+ private _isModel(object: any): object is Model {
return object instanceof Model;
}
- /** @private */
- _removeModels(models, options) {
+ private _removeModels(models: any, options: Record<string, any>): any[] {
const removed = [];
for (let i = 0; i < models.length; i++) {
@@ -1065,14 +1111,13 @@ class Collection {
removed.push(model);
- this._removeReference(model, options);
+ this._removeReference(model);
}
return removed;
}
- /** @private */
- _addReference(model) {
+ private _addReference(model: TModel) {
this._byId[model.cid] = model;
const id = this.modelId(model.attributes);
@@ -1081,11 +1126,10 @@ class Collection {
this._byId[id] = model;
}
- model.on('all', this._onModelEvent, this);
+ model.on('all', this._onModelEventBind);
}
- /** @private */
- _removeReference(model) {
+ private _removeReference(model: TModel) {
delete this._byId[model.cid];
const id = this.modelId(model.attributes);
@@ -1098,11 +1142,16 @@ class Collection {
delete model.collection;
}
- model.off('all', this._onModelEvent, this);
+ model.off('all', this._onModelEventBind);
}
- /** @private */
- _onModelEvent(event, model, collection, options) {
+ private _onModelEvent(
+ event: string,
+ model: TModel,
+ collection: Collection,
+ options?: Record<string, any>,
+ ): void {
+
// @todo Revise. Never triggerred? Remove?
if (event === 'sync' && collection !== this) {
return;
@@ -1141,29 +1190,115 @@ class Collection {
}
// noinspection JSDeprecatedSymbols
- /** @private*/
- _prepareModel(attributes) {
+ private _prepareModel(attributes: any): TModel {
if (this._isModel(attributes)) {
if (!attributes.collection) {
attributes.collection = this;
}
- return attributes;
+ return attributes as TModel;
}
const ModelClass = this.model;
- // noinspection JSValidateTypes
+ // @ts-ignore
return new ModelClass(attributes, {
collection: this,
+ // @ts-ignore
entityType: this.entityType || this.name,
defs: this.defs,
});
}
-}
-Object.assign(Collection.prototype, Events);
+ /**
+ * Subscribe to an event.
+ *
+ * @param {string} name An event.
+ * @param {function(...any)} callback A callback.
+ */
+ on(name: string, callback: (...args: unknown[]) => any): this {
+ Events.on.call(this, name, callback, arguments[2]);
+
+ return this;
+ }
+ /**
+ * Subscribe to an event. Fired once.
+ *
+ * @param {string} name An event.
+ * @param {function(...any)} callback A callback.
+ */
+ once(name: string, callback: (...args: unknown[]) => void): this {
+ Events.once.call(this, name, callback, arguments[2]);
+
+ return this;
+ }
+
+ /**
+ * Unsubscribe from an event or all events.
+ *
+ * @param {string} [name] From a specific event.
+ * @param {function()} [callback] From a specific callback.
+ */
+ off(name?: string, callback?: (...args: unknown[]) => void): this {
+ Events.off.call(this, name, callback);
+
+ return this;
+ }
+
+ /**
+ * Subscribe to an event of other object.
+ *
+ * @param {Object} other What to listen.
+ * @param {string} name An event.
+ * @param callback A callback.
+ */
+ listenTo(other: object, name: string, callback: (...args: unknown[]) => void): this {
+ Events.listenTo.call(this, other, name, callback);
+
+ return this;
+ }
+
+ /**
+ * Subscribe to an event of other object. Fired once. Will be automatically unsubscribed on view removal.
+ *
+ * @param {Object} other What to listen.
+ * @param {string} name An event.
+ * @param {function()} callback A callback.
+ */
+ listenToOnce(other: object, name: string, callback: (...args: unknown[]) => void): this {
+ Events.listenToOnce.call(this, other, name, callback);
+
+ return this;
+ }
+
+ /**
+ * Stop listening to other object. No arguments will remove all listeners.
+ *
+ * @param {Object} [other] To remove listeners to a specific object.
+ * @param {string} [name] To remove listeners to a specific event.
+ * @param {function()} [callback] To remove listeners to a specific callback.
+ */
+ stopListening(other?: object, name?: string, callback?: (...args: unknown[]) => any): this {
+ Events.stopListening.call(this, other, name, callback);
+
+ return this;
+ }
+
+ /**
+ * Trigger an event.
+ *
+ * @param {string} name An event.
+ * @param {...*} parameters Arguments.
+ */
+ trigger(name: string, ...parameters: any[]): this {
+ Events.trigger.call(this, name, ...parameters);
+
+ return this;
+ }
+}
+
+// @ts-ignore
Collection.extend = BullView.extend;
const setOptions = {
@@ -1177,24 +1312,21 @@ const addOptions = {
remove: false,
};
-const splice = (array, insert, at) => {
+const splice = (array: any[], insert: string | any[], at: number): void => {
at = Math.min(Math.max(at, 0), array.length);
const tail = Array(array.length - at);
const length = insert.length;
- let i;
- for (i = 0; i < tail.length; i++) {
+ for (let i = 0; i < tail.length; i++) {
tail[i] = array[i + at];
}
- for (i = 0; i < length; i++) {
+ for (let i = 0; i < length; i++) {
array[i + at] = insert[i];
}
- for (i = 0; i < tail.length; i++) {
+ for (let i = 0; i < tail.length; i++) {
array[i + length + at] = tail[i];
}
};
-
-export default Collection;
diff --git a/client/src/collections/note.js b/client/src/collections/note.js
index 572fafad13..7d8ce027e2 100644
--- a/client/src/collections/note.js
+++ b/client/src/collections/note.js
@@ -53,8 +53,11 @@ class NoteCollection extends Collection {
*/
reactionsCheckMaxSize = 0;
- /** @inheritDoc */
prepareAttributes(response, params) {
+ if (Array.isArray(response)) {
+ throw new Error("Bad response.");
+ }
+
const total = this.total;
const list = super.prepareAttributes(response, params);
diff --git a/client/src/collections/tree.js b/client/src/collections/tree.js
index 1dfce3a1cd..e2bef6d9c6 100644
--- a/client/src/collections/tree.js
+++ b/client/src/collections/tree.js
@@ -68,6 +68,10 @@ class TreeCollection extends Collection {
}
prepareAttributes(response, options) {
+ if (Array.isArray(response)) {
+ throw new Error("Bad response.");
+ }
+
const list = super.prepareAttributes(response, options);
const seed = this.clone();
diff --git a/client/src/model.js b/client/src/model.ts
similarity index 67%
rename from client/src/model.js
rename to client/src/model.ts
index 0e416dd102..5a94ca4f3a 100644
--- a/client/src/model.js
+++ b/client/src/model.ts
@@ -32,6 +32,7 @@ import {Events, View as BullView} from 'bullbone';
import _ from 'underscore';
import DefaultValueProvider from 'helpers/model/default-value-provider';
import {onModelChange, onSync} from 'util/event';
+import {AjaxPromise} from 'util/ajax';
/**
* When attributes have changed.
@@ -50,119 +51,127 @@ import {onModelChange, onSync} from 'util/event';
* @param {Record.<string, *> & {action?: 'fetch'|'save'|'destroy'}} o Options.
*/
+/**
+ * @property link A link.
+ * @property model A model.
+ */
+interface SetRelateItem {
+ link: string,
+ model: Model,
+}
+
/**
* Definitions.
- *
- * @typedef module:model~defs
- * @type {Object}
- * @property {Object.<string, module:model~fieldDefs & Record>} [fields] Fields.
- * @property {Object.<string, Object.<string, *>>} [links] Links.
*/
+export interface Defs {
+ fields?: Record<string, FieldDefs & Record<string, any>>
+ links?: Record<string, Record<string, any>>
+}
/**
* Field definitions.
- *
- * @typedef module:model~fieldDefs
- * @type {Object}
- * @property {string} type A type.
*/
+interface FieldDefs {
+ type: string,
+}
-/** @typedef {import('bullbone')} Bull */
+type Collection = import('collection').default;
+type User = import('models/user').default;
/**
* A model.
- *
- * @mixes Bull.Events
*/
-class Model {
+export default class Model<T extends Record<string, unknown> = Record<string, any>> {
/**
* A root URL. An ID will be appended. Used for syncing with backend.
- *
- * @type {string|null}
*/
- urlRoot = null
+ urlRoot: string | null = null
/**
* A URL. If not empty, then will be used for syncing instead of `urlRoot`.
- *
- * @type {string|null}
*/
- url = null
+ url: string | null = null
/**
* A name.
- *
- * @type {string|null}
*/
- name = null
+ name: string | null = null
/**
* An entity type.
- *
- * @type {string|null}
*/
- entityType = null
+ entityType: string | null = null
/**
* A last request promise.
- *
- * @type {module:ajax.AjaxPromise|null}
*/
- lastSyncPromise = null
+ lastSyncPromise: AjaxPromise | null = null
- /** @private */
- _pending
- /** @private */
- _changing
+ private _pending: any
+ private _changing: boolean
/**
- * @param {Object.<string, *>|Model} [attributes]
- * @param {{
- * collection?: module:collection,
- * entityType?: string,
- * urlRoot?: string,
- * url?: string,
- * defs?: module:model~defs,
- * user?: module:models/user,
- * }} [options]
+ * An ID attribute.
+ */
+ private readonly idAttribute: string
+
+ /**
+ * A record ID.
+ */
+ public id: string | null
+
+ /**
+ * An instance ID.
+ */
+ public readonly cid: string
+
+ /**
+ * Attribute values.
+ */
+ public attributes: Partial<T>
+
+ /**
+ * A parent collection the model belongs to.
+ */
+ public collection: Collection | undefined
+
+ private changed: Partial<T>
+ private _previousAttributes: null | Partial<T>
+
+ /**
+ * Definitions.
+ * @internal
*/
- constructor(attributes, options) {
+ protected defs: Defs
+
+ constructor(
+ attributes?: Partial<T> | Model<T>,
+ options?: {
+ collection?: Collection;
+ entityType?: string;
+ urlRoot?: string;
+ url?: string;
+ defs?: Defs;
+ user?: User;
+ },
+ ) {
options = options || {};
- /**
- * An ID attribute.
- * @type {string}
- */
this.idAttribute = 'id';
-
- /**
- * A record ID.
- * @type {string|null}
- */
this.id = null;
-
- /**
- * An instance ID.
- * @type {string}
- */
this.cid = _.uniqueId('c');
- /**
- * Attribute values.
- * @type {Object.<string, *>}
- */
this.attributes = {};
if (options.collection) {
this.collection = options.collection;
}
- this.set(attributes || {});
+ attributes = (attributes ?? {}) as Partial<T>;
+
+ this.setMultiple(attributes);
- /**
- * Definitions.
- */
this.defs = options.defs || {};
if (!this.defs.fields) {
@@ -178,20 +187,30 @@ class Model {
this.urlRoot = options.urlRoot || this.urlRoot;
this.url = options.url || this.url;
- /** @private */
this.changed = {};
- /** @private */
this._previousAttributes = null;
}
/**
- * @protected
- * @param {string} [method] HTTP method.
+ * @param [method] HTTP method.
* @param {Model} model
- * @param {Object.<string, *>} [options]
- * @returns {module:ajax.AjaxPromise|Promise}
+ * @param [options] Options.
*/
- sync(method, model, options) {
+ protected sync(
+ method: string,
+ model: this,
+ options?: {
+ attributes?: any,
+ error?: any,
+ textStatus?: any,
+ errorThrown?: any,
+ context?: any,
+ bypassRequest?: any,
+ xhr?: any,
+ [s: string]: any,
+ },
+ ): AjaxPromise {
+
const methodMap = {
'create': 'POST',
'update': 'PUT',
@@ -219,7 +238,7 @@ class Model {
const error = options.error;
- options.error = (xhr, textStatus, errorThrown) => {
+ options.error = (xhr: XMLHttpRequest, textStatus: string, errorThrown: any) => {
options.textStatus = textStatus;
options.errorThrown = errorThrown;
@@ -241,21 +260,27 @@ class Model {
return ajaxPromise;
}
+ // noinspection JSValidateJSDoc
/**
* Set an attribute value.
*
- * @param {(string|Object)} attribute An attribute name or a {key => value} object.
+ * @param attribute An attribute name or a {key => value} object.
* @param {*} [value] A value or options if the first argument is an object.
- * @param {{silent?: boolean} & Object.<string, *>} [options] Options. `silent` won't trigger a `change` event.
+ * @param [options] Options. `silent` won't trigger a `change` event.
* @returns {this}
* @fires Model#change Unless `{silent: true}`.
*/
- set(attribute, value, options) {
+ set(
+ attribute: keyof T,
+ value: any,
+ options: {silent: boolean} & Record<string, any> = undefined
+ ): this {
+
if (attribute == null) {
return this;
}
- let attributes;
+ let attributes: any;
if (typeof attribute === 'object') {
return this.setMultiple(attribute, value);
@@ -267,23 +292,28 @@ class Model {
return this.setMultiple(attributes, options);
}
+ // noinspection JSValidateJSDoc
/**
* Set attributes values.
*
- * @param {Object.<string, *>} attributes
- * @param {{
- * silent?: boolean,
- * unset?: boolean,
- * sync?: boolean,
- * } & Object.<string, *>} [options] Options. `silent` won't trigger a `change` event.
+ * @param attributes
+ * @param [options] Options. `silent` won't trigger a `change` event.
* `sync` can be used to emulate syncing.
* @return {this}
* @fires Model#change Unless `{silent: true}`.
* @copyright Credits to Backbone.js.
*/
- setMultiple(attributes, options) {
+ setMultiple(
+ attributes: Partial<T>,
+ options: {
+ silent?: boolean,
+ unset?: boolean,
+ sync?: boolean,
+ } & Record<string, any> = undefined,
+ ): this {
+
if (this.idAttribute in attributes) {
- this.id = attributes[this.idAttribute];
+ this.id = (attributes[this.idAttribute]) as string;
}
options = options || {};
@@ -369,14 +399,18 @@ class Model {
/**
* Unset an attribute.
*
- * @param {string} attribute An attribute.
- * @param {{silent?: boolean} & Object.<string, *>} [options] Options.
+ * @param attribute An attribute.
+ * @param [options] Options.
* @return {Model}
*/
- unset(attribute, options) {
+ unset(
+ attribute: keyof T,
+ options: {silent?: boolean} & Record<string, any>,
+ ): Model {
+
options = {...options, unset: true};
- const attributes = {};
+ const attributes = {} as Partial<T>;
attributes[attribute] = null;
return this.setMultiple(attributes, options);
@@ -385,12 +419,11 @@ class Model {
/**
* Get an attribute value.
*
- * @param {string} attribute An attribute name.
- * @returns {*}
+ * @param attribute An attribute name.
*/
- get(attribute) {
+ get<K extends keyof T>(attribute: K): T[K] {
if (attribute === this.idAttribute && this.id) {
- return this.id;
+ return this.id as T[K];
}
return this.attributes[attribute];
@@ -402,7 +435,7 @@ class Model {
* @param {string} attribute An attribute name.
* @returns {boolean}
*/
- has(attribute) {
+ has(attribute: keyof T): boolean {
const value = this.get(attribute);
return typeof value !== 'undefined';
@@ -414,8 +447,11 @@ class Model {
*
* @param {{silent?: boolean} & Object.<string, *>} [options] Options.
*/
- clear(options) {
- const attributes = {};
+ clear(
+ options: {silent?: boolean} & Record<string, any>,
+ ): this {
+
+ const attributes = {} as Partial<T>;
for (const key in this.attributes) {
attributes[key] = void 0;
@@ -423,47 +459,40 @@ class Model {
options = {...options, unset: true};
- return this.set(attributes, options);
+ return this.setMultiple(attributes, options);
}
/**
* Whether is new.
- *
- * @returns {boolean}
*/
- isNew() {
+ isNew(): boolean {
return !this.id;
}
/**
* Whether an attribute changed. To be called only within a 'change' event handler.
*
- * @param {string} [attribute]
- * @return {boolean}
+ * @param [attribute]
*/
- hasChanged(attribute) {
+ hasChanged(attribute?: keyof T): boolean {
if (!attribute) {
return !_.isEmpty(this.changed);
}
- return _.has(this.changed, attribute);
+ return _.has(this.changed, attribute as string);
}
/**
* Get changed attribute values. To be called only within a 'change' event handler.
- *
- * @return {Object.<string, *>}
*/
- changedAttributes() {
+ changedAttributes(): Partial<T> {
return this.hasChanged() ? _.clone(this.changed) : {};
}
/**
* Get previous attributes. To be called only within a 'change' event handler.
- *
- * @return {Object.<string, *>}
*/
- previousAttributes() {
+ previousAttributes(): Partial<T> {
return _.clone(this._previousAttributes);
}
@@ -473,7 +502,7 @@ class Model {
* @param attribute
* @return {*}
*/
- previous(attribute) {
+ previous(attribute: keyof T): any {
if (!this._previousAttributes) {
return null;
}
@@ -481,14 +510,14 @@ class Model {
return this._previousAttributes[attribute];
}
+ // noinspection JSValidateJSDoc
/**
* Fetch values from the backend.
*
- * @param {Object.<string, *>} [options] Options.
- * @returns {Promise}
+ * @param [options] Options.
* @fires Model#sync
*/
- fetch(options) {
+ fetch(options: Record<string, any>): AjaxPromise {
options = {...options};
options.action = 'fetch';
@@ -496,10 +525,10 @@ class Model {
// For bc.
const success = options.success;
- options.success = response => {
+ options.success = (response: any) => {
const serverAttributes = this.prepareAttributes(response, options);
- this.set(serverAttributes, options);
+ this.setMultiple(serverAttributes, options);
if (success) {
success.call(options.context, this, response, options);
@@ -517,20 +546,25 @@ class Model {
return this.lastSyncPromise;
}
+ // noinspection JSValidateJSDoc
/**
* Save values to the backend.
*
- * @param {Object.<string, *>} [attributes] Attribute values.
- * @param {{
- * patch?: boolean,
- * wait?: boolean,
- * } & Object.<string, *>} [options] Options. Use `patch` to send a PATCH request. If `wait`, attributes will be
+ * @param [attributes] Attribute values.
+ * @param [options] Options. Use `patch` to send a PATCH request. If `wait`, attributes will be
* set only after the request is completed.
- * @returns {Promise<Object.<string, *>> & module:ajax.AjaxPromise}
* @fires Model#sync
* @copyright Credits to Backbone.js.
*/
- save(attributes, options) {
+ save(
+ attributes?: Partial<T>,
+ options?: {
+ patch?: boolean,
+ wait?: boolean,
+ [s: string]: any;
+ },
+ ): AjaxPromise {
+
options = {...options};
if (attributes && !options.wait) {
@@ -541,7 +575,7 @@ class Model {
const setAttributes = this.attributes;
- options.success = response => {
+ options.success = (response: any) => {
this.attributes = setAttributes;
let responseAttributes = this.prepareAttributes(response, options);
@@ -569,7 +603,7 @@ class Model {
const error = options.error;
- options.error = response => {
+ options.error = (response: any) => {
if (error) {
error.call(options.context, this, response, options);
}
@@ -597,16 +631,19 @@ class Model {
return result;
}
+ // noinspection JSValidateJSDoc
/**
* Delete the record in the backend.
*
- * @param {{wait?: boolean} & Object.<string, *>} [options] Options. If `wait`, unsubscribing and
+ * @param [options] Options. If `wait`, unsubscribing and
* removal from the collection will wait for a successful response.
- * @returns {Promise}
* @fires Model#sync
* @copyright Credits to Backbone.js.
*/
- destroy(options = {}) {
+ destroy(
+ options: {wait?: boolean} & Record<string, any> = {},
+ ): AjaxPromise | Promise<void> {
+
options = {...options}
const success = options.success;
@@ -618,7 +655,7 @@ class Model {
this.trigger('destroy', this, collection, options);
};
- options.success = response => {
+ options.success = (response: any) => {
if (options.wait) {
destroy();
}
@@ -652,7 +689,7 @@ class Model {
const error = options.error;
- options.error = response => {
+ options.error = (response: any) => {
if (error) {
error.call(options.context, this, response, options);
}
@@ -671,11 +708,8 @@ class Model {
/**
* Compose a URL for syncing.
- *
- * @protected
- * @return {string}
*/
- composeSyncUrl() {
+ protected composeSyncUrl(): string {
if (this.url) {
return this.url;
}
@@ -694,7 +728,7 @@ class Model {
return urlRoot;
}
- const id = this.get(this.idAttribute);
+ const id = this.get(this.idAttribute) as string;
return urlRoot.replace(/[^\/]$/, '$&/') + encodeURIComponent(id);
}
@@ -708,7 +742,10 @@ class Model {
* @return {*} Attributes.
* @internal
*/
- prepareAttributes(response, options) {
+ prepareAttributes(response: any, options: Record<string, any>): any {
+ // noinspection BadExpressionStatementJS
+ options;
+
return response;
}
@@ -717,7 +754,10 @@ class Model {
*
* @return {Model}
*/
- clone() {
+ clone(): this {
+
+ // @todo Revise.
+ // @ts-ignore
return new this.constructor(
Espo.Utils.cloneDeep(this.attributes),
{
@@ -732,9 +772,9 @@ class Model {
/**
* Set defs.
*
- * @param {module:model~defs} defs
+ * @param defs Definitions.
*/
- setDefs(defs) {
+ setDefs(defs: Defs): void {
this.defs = defs || {};
if (!this.defs.fields) {
@@ -744,10 +784,8 @@ class Model {
/**
* Get cloned attribute values.
- *
- * @returns {Object.<string, *>}
*/
- getClonedAttributes() {
+ getClonedAttributes(): {[s: string]: any} {
return Espo.Utils.cloneDeep(this.attributes);
}
@@ -785,7 +823,7 @@ class Model {
}
}
- this.set(defaultHash, {silent: true});
+ this.setMultiple(defaultHash, {silent: true});
}
/**
@@ -793,7 +831,7 @@ class Model {
* @param {*} defaultValue
* @returns {*}
*/
- parseDefaultValue(defaultValue) {
+ parseDefaultValue(defaultValue: any): any {
if (
typeof defaultValue === 'string' &&
defaultValue.indexOf('javascript:') === 0
@@ -816,25 +854,18 @@ class Model {
* @param {string} id
* @returns {*}
*/
- getLinkMultipleColumn(field, column, id) {
+ getLinkMultipleColumn(field: string, column: string, id: string): any {
return ((this.get(field + 'Columns') || {})[id] || {})[column];
}
- /**
- * @typedef {Object} model:model~setRelateItem
- * @property {string} link A link.
- * @property {import('model').default} model A model.
- */
-
/**
* Set relate data (when creating a related record).
- *
- * @param {model:model~setRelateItem | model:model~setRelateItem[]} data
*/
- setRelate(data) {
- const setRelate = options => {
+ setRelate(data: SetRelateItem | SetRelateItem[]): void {
+
+ const setRelate = (options: SetRelateItem): void => {
const link = options.link;
- const model = /** @type {module:model} */options.model;
+ const model = /** @type {Model} */options.model;
if (!link || !model) {
throw new Error('Bad related options');
@@ -871,10 +902,8 @@ class Model {
}
};
- if (Object.prototype.toString.call(data) === '[object Array]') {
- data.forEach(options => {
- setRelate(options);
- });
+ if (Array.isArray(data)) {
+ data.forEach((options: any): void => setRelate(options));
return;
}
@@ -884,10 +913,8 @@ class Model {
/**
* Get a field list.
- *
- * @return {string[]}
*/
- getFieldList() {
+ getFieldList(): string[] {
if (!this.defs || !this.defs.fields) {
return [];
}
@@ -901,7 +928,7 @@ class Model {
* @param {string} field
* @returns {string|null}
*/
- getFieldType(field) {
+ getFieldType(field: string): string | null {
if (!this.defs || !this.defs.fields) {
return null;
}
@@ -920,7 +947,7 @@ class Model {
* @param {string} param
* @returns {*}
*/
- getFieldParam(field, param) {
+ getFieldParam(field: string, param: string): any {
if (!this.defs || !this.defs.fields) {
return null;
}
@@ -934,7 +961,7 @@ class Model {
return null;
}
- hasFieldParam(field, param) {
+ hasFieldParam(field: string, param: string): boolean {
if (!this.defs || !this.defs.fields) {
return false;
}
@@ -949,12 +976,11 @@ class Model {
}
/**
- * Get a link type.
+ * Get the link type.
*
- * @param {string} link
- * @returns {string|null}
+ * @param link A link name.
*/
- getLinkType(link) {
+ getLinkType(link: string): string | null {
if (!this.defs || !this.defs.links) {
return null;
}
@@ -967,13 +993,12 @@ class Model {
}
/**
- * Get a link param.
+ * Get the link parameter value.
*
- * @param {string} link A link.
- * @param {string} param A param.
- * @returns {*}
+ * @param link A link name.
+ * @param param A parameter.
*/
- getLinkParam(link, param) {
+ getLinkParam(link: string, param: string): any {
if (!this.defs || !this.defs.links) {
return null;
}
@@ -988,91 +1013,82 @@ class Model {
}
/**
- * Is a field read-only.
+ * Is the field read-only.
*
- * @param {string} field A field.
- * @returns {bool}
+ * @param field A field name.
*/
- isFieldReadOnly(field) {
+ isFieldReadOnly(field: string): boolean {
return this.getFieldParam(field, 'readOnly') || false;
}
/**
- * If a field required.
+ * If the field required.
*
- * @param {string} field A field.
- * @returns {bool}
+ * @param field A field name.
*/
- isRequired(field) {
+ isRequired(field: string): boolean {
return this.getFieldParam(field, 'required') || false;
}
/**
* Get IDs of a link-multiple field.
*
- * @param {string} field A link-multiple field name.
- * @returns {string[]}
+ * @param field A link-multiple field name.
*/
- getLinkMultipleIdList(field) {
- return this.get(field + 'Ids') || [];
+ getLinkMultipleIdList(field: string): string[] {
+ return (this.get(field + 'Ids') ?? []) as string[]
}
/**
* Get team IDs.
- *
- * @returns {string[]}
*/
- getTeamIdList() {
- return this.get('teamsIds') || [];
+ getTeamIdList(): string[] {
+ return (this.get('teamsIds') ?? []) as string[];
}
/**
* Whether it has a field.
*
- * @param {string} field A field.
- * @returns {boolean}
+ * @param {string} field A field name.
*/
- hasField(field) {
- return ('defs' in this) && ('fields' in this.defs) && (field in this.defs.fields);
+ hasField(field: string): boolean {
+ return ('fields' in this.defs) && (field in this.defs.fields);
}
/**
* Has a link.
*
- * @param {string} link A link.
- * @returns {boolean}
+ * @param {string} link A link name.
*/
- hasLink(link) {
- return ('defs' in this) && ('links' in this.defs) && (link in this.defs.links);
+ hasLink(link: string): boolean {
+ return ('links' in this.defs) && (link in this.defs.links);
}
/**
- * @returns {boolean}
+ * Is editable.
*/
- isEditable() {
+ isEditable(): boolean {
return true;
}
/**
- * @returns {boolean}
+ * Is removable.
*/
- isRemovable() {
+ isRemovable(): boolean {
return true;
}
/**
* Get an entity type.
- *
- * @returns {string}
*/
- getEntityType() {
+ getEntityType(): string {
return this.name;
}
/**
* Abort the last fetch.
*/
- abortLastFetch() {
+ abortLastFetch(): void {
if (this.lastSyncPromise && this.lastSyncPromise.getReadyState() < 4) {
this.lastSyncPromise.abort();
}
@@ -1096,7 +1112,21 @@ class Model {
* @return {{stop: function()}}
* @since 10.0.0
*/
- onChange(params) {
+ onChange(
+ params: {
+ owner: import('view').default | import('model').default | import('collection').default,
+ attributes?: string[],
+ once?: boolean,
+ callback: (event: {
+ ui: boolean | null,
+ action: string | 'ui' | 'save' | 'fetch' | 'cancel-edit' | null,
+ // @todo Remove ignore.
+ // @ts-ignore
+ fromView: import('views/fields/base').default,
+ }) => any,
+ }
+ ): {stop: () => any} {
+
return onModelChange({
owner: params.owner,
once: params.once,
@@ -1123,7 +1153,17 @@ class Model {
* @return {{stop: function()}}
* @since 10.0.0
*/
- onSync(params) {
+ onSync(
+ params: {
+ owner: import('view').default | import('model').default | import('collection').default,
+ once?: boolean,
+ callback: (event: {
+ action: 'fetch' | 'save' | 'destroy' | null,
+ response: any;
+ }) => any,
+ }
+ ): {stop: () => any} {
+
return onSync({
owner: params.owner,
once: params.once,
@@ -1131,10 +1171,94 @@ class Model {
callback: params.callback,
});
}
-}
-Object.assign(Model.prototype, Events);
+ /**
+ * Subscribe to an event.
+ *
+ * @param {string} name An event.
+ * @param {function(...any)} callback A callback.
+ */
+ on(name: string, callback: (...args: unknown[]) => any): this {
+ Events.on.call(this, name, callback, arguments[2]);
-Model.extend = BullView.extend;
+ return this;
+ }
+
+ /**
+ * Subscribe to an event. Fired once.
+ *
+ * @param {string} name An event.
+ * @param {function(...any)} callback A callback.
+ */
+ once(name: string, callback: (...args: unknown[]) => void): this {
+ Events.once.call(this, name, callback, arguments[2]);
+
+ return this;
+ }
+
+ /**
+ * Unsubscribe from an event or all events.
+ *
+ * @param {string} [name] From a specific event.
+ * @param {function()} [callback] From a specific callback.
+ */
+ off(name?: string, callback?: (...args: unknown[]) => void): this {
+ Events.off.call(this, name, callback);
+
+ return this;
+ }
+
+ /**
+ * Subscribe to an event of other object.
+ *
+ * @param {Object} other What to listen.
+ * @param {string} name An event.
+ * @param callback A callback.
+ */
+ listenTo(other: object, name: string, callback: (...args: unknown[]) => void): this {
+ Events.listenTo.call(this, other, name, callback);
+
+ return this;
+ }
-export default Model;
+ /**
+ * Subscribe to an event of other object. Fired once. Will be automatically unsubscribed on view removal.
+ *
+ * @param {Object} other What to listen.
+ * @param {string} name An event.
+ * @param {function()} callback A callback.
+ */
+ listenToOnce(other: object, name: string, callback: (...args: unknown[]) => void): this {
+ Events.listenToOnce.call(this, other, name, callback);
+
+ return this;
+ }
+
+ /**
+ * Stop listening to other object. No arguments will remove all listeners.
+ *
+ * @param {Object} [other] To remove listeners to a specific object.
+ * @param {string} [name] To remove listeners to a specific event.
+ * @param {function()} [callback] To remove listeners to a specific callback.
+ */
+ stopListening(other?: object, name?: string, callback?: (...args: unknown[]) => any): this {
+ Events.stopListening.call(this, other, name, callback);
+
+ return this;
+ }
+
+ /**
+ * Trigger an event.
+ *
+ * @param {string} name An event.
+ * @param {...*} parameters Arguments.
+ */
+ trigger(name: string, ...parameters: any[]): this {
+ Events.trigger.call(this, name, ...parameters);
+
+ return this;
+ }
+}
+
+// @ts-ignore
+Model.extend = BullView.extend;
diff --git a/client/src/multi-collection.js b/client/src/multi-collection.js
index b2278ec847..69bcbf0bc1 100644
--- a/client/src/multi-collection.js
+++ b/client/src/multi-collection.js
@@ -29,6 +29,7 @@
/** @module multi-collection */
import Collection from 'collection';
+import _ from 'underscore';
/**
* A collection that can contain entities of different entity types.
@@ -45,6 +46,10 @@ class MultiCollection extends Collection {
/** @inheritDoc */
prepareAttributes(response, options) {
+ if (Array.isArray(response)) {
+ throw new Error("Bad response.");
+ }
+
this.total = response.total;
if (!('list' in response)) {
diff --git a/client/src/router.js b/client/src/router.js
index e0951e7543..df25ed8896 100644
--- a/client/src/router.js
+++ b/client/src/router.js
@@ -26,14 +26,14 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
-/** @module router */
-
import Backbone from 'backbone';
+import {Events} from 'bullbone';
+import _ from 'underscore';
/**
* On route.
*
- * @event Backbone.Router#route
+ * @event Router#route
* @param {string} name A route name.
* @param {any[]} args Arguments.
*/
@@ -41,7 +41,7 @@ import Backbone from 'backbone';
/**
* After dispatch.
*
- * @event module:router#routed
+ * @event Router#routed
* @param {{
* controller: string,
* action:string,
@@ -53,7 +53,7 @@ import Backbone from 'backbone';
* Subscribe.
*
* @function on
- * @memberof module:router#
+ * @memberof Router#
* @param {string} event An event.
* @param {function(*): void} callback A callback.
*/
@@ -62,7 +62,7 @@ import Backbone from 'backbone';
* Subscribe once.
*
* @function once
- * @memberof module:router#
+ * @memberof Router#
* @param {string} event An event.
* @param {function(): void} callback A callback.
*/
@@ -71,7 +71,7 @@ import Backbone from 'backbone';
* Unsubscribe.
*
* @function off
- * @memberof module:router#
+ * @memberof Router#
* @param {string} event An event.
*/
@@ -79,23 +79,28 @@ import Backbone from 'backbone';
* Trigger an event.
*
* @function trigger
- * @memberof module:router#
+ * @memberof Router#
* @param {string} event An event.
*/
-// noinspection JSUnusedGlobalSymbols
+const optionalParam = /\((.*?)\)/g;
+const namedParam = /(\(\?)?:\w+/g;
+const splatParam = /\*\w+/g;
+// noinspection RegExpRedundantEscape
+const escapeRegExp = /[\-{}\[\]+?.,\\\^$|#\s]/g;
+
+
/**
* A router.
*
- * @class
- * @mixes Espo.Events
+ * Based on the Backbone.js router.
*/
-const Router = Backbone.Router.extend(/** @lends Router# */ {
+export default class Router {
/**
* @private
*/
- routeList: [
+ routeList = [
{
route: "clearCache",
resolution: "clearCache"
@@ -144,17 +149,54 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
resolution: "home",
order: 500
},
- ],
+ ]
+
+ constructor(options) {
+ options || (options = {});
+
+ if (options.routes) {
+ this.routes = options.routes;
+ }
+
+ this.initialize(options);
+ }
+
+ /**
+ * @private
+ * @param route
+ * @return {RegExp}
+ */
+ _routeToRegExp(route) {
+ route = route.replace(escapeRegExp, '\\$&')
+ .replace(optionalParam, '(?:$1)?')
+ .replace(namedParam, (match, optional) => optional ? match : '([^/?]+)')
+ .replace(splatParam, '([^?]*?)');
+
+ return new RegExp('^' + route + '(?:\\?([\\s\\S]*))?$');
+ }
/**
+ * @param route
+ * @param fragment
+ * @return {*}
* @private
*/
- _bindRoutes: function() {},
+ _extractParameters(route, fragment) {
+ const params = route.exec(fragment).slice(1);
+
+ return _.map(params, (param, i) => {
+ if (i === params.length - 1) {
+ return param || null;
+ }
+
+ return param ? decodeURIComponent(param) : null;
+ });
+ }
/**
* @private
*/
- setupRoutes: function () {
+ setupRoutes() {
this.routeParams = {};
if (this.options.routes) {
@@ -186,12 +228,12 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
this.routeList.reverse().forEach(item => {
this.route(item.route, item.resolution);
});
- },
+ }
/**
* @private
*/
- _last: null,
+ _last = null
/**
* Whether a confirm-leave-out was set.
@@ -199,7 +241,7 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
* @public
* @type {boolean}
*/
- confirmLeaveOut: false,
+ confirmLeaveOut = false
/**
* Whether back has been processed.
@@ -207,30 +249,30 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
* @public
* @type {boolean}
*/
- backProcessed: false,
+ backProcessed = false
/**
* @type {string}
* @internal
*/
- confirmLeaveOutMessage: 'Are you sure?',
+ confirmLeaveOutMessage = 'Are you sure?'
/**
* @type {string}
* @internal
*/
- confirmLeaveOutConfirmText: 'Yes',
+ confirmLeaveOutConfirmText = 'Yes'
/**
* @type {string}
* @internal
*/
- confirmLeaveOutCancelText: 'No',
+ confirmLeaveOutCancelText = 'No'
/**
* @private
*/
- initialize: function (options) {
+ initialize(options) {
this.options = options || {};
this.setupRoutes();
@@ -288,16 +330,16 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
* @type {Map<Object, true>}
*/
this._windowLeaveOutMap = new Map();
- },
+ }
/**
* Get a current URL.
*
* @returns {string}
*/
- getCurrentUrl: function () {
+ getCurrentUrl() {
return '#' + Backbone.history.fragment;
- },
+ }
/**
* Whether there's any confirm-leave-out.
@@ -307,7 +349,7 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
*/
hasConfirmLeaveOut() {
return this.confirmLeaveOut || this._leaveOutMap.size || this._windowLeaveOutMap.size;
- },
+ }
/**
* Refer an object (usually a view). Page won't be possible to close or change if there's at least one object.
@@ -318,7 +360,7 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
*/
addLeaveOutObject(object) {
this._leaveOutMap.set(object, true);
- },
+ }
/**
* Un-refer an object.
@@ -329,7 +371,7 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
*/
removeLeaveOutObject(object) {
this._leaveOutMap.delete(object);
- },
+ }
/**
* Refer an object (usually a view). Window won't be possible to close if there's at least one object.
@@ -340,7 +382,7 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
*/
addWindowLeaveOutObject(object) {
this._windowLeaveOutMap.set(object, true);
- },
+ }
/**
* Un-refer an object.
@@ -351,20 +393,20 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
*/
removeWindowLeaveOutObject(object) {
this._windowLeaveOutMap.delete(object);
- },
+ }
/**
- * @callback module:router~checkConfirmLeaveOutCallback
+ * @callback Router~checkConfirmLeaveOutCallback
*/
/**
* Process confirm-leave-out.
*
- * @param {module:router~checkConfirmLeaveOutCallback} callback Proceed if confirmed.
+ * @param {Router~checkConfirmLeaveOutCallback} callback Proceed if confirmed.
* @param {Object|null} [context] A context.
* @param {boolean} [navigateBack] To navigate back if not confirmed.
*/
- checkConfirmLeaveOut: function (callback, context, navigateBack) {
+ checkConfirmLeaveOut(callback, context, navigateBack) {
if (this.confirmLeaveOutDisplayed) {
this.navigateBack({trigger: false});
@@ -409,12 +451,12 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
}
callback.call(context);
- },
+ }
/**
* @private
*/
- route: function (route, name/*, callback*/) {
+ route(route, name) {
const routeOriginal = route;
if (!_.isRegExp(route)) {
@@ -423,20 +465,11 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
let callback;
- // @todo Revise.
- /*if (_.isFunction(name)) {
- callback = name;
- name = '';
- }*/
-
- /*if (!callback) {
- callback = this['_' + name];
- }*/
callback = this['_' + name];
const router = this;
- Backbone.history.route(route, function (fragment) {
+ Backbone.history.route(route, fragment => {
const args = router._extractParameters(route, fragment);
const options = {};
@@ -455,22 +488,20 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
});
}
- // @todo Revise.
router.execute(callback, args, name, routeOriginal, options);
- //if (router.execute(callback, args, name, routeOriginal, options) !== false) {
- router.trigger.apply(router, ['route:' + name].concat(args));
- router.trigger('route', name, args);
- Backbone.history.trigger('route', router, name, args);
- //}
+ router.trigger.apply(router, ['route:' + name].concat(args));
+ router.trigger('route', name, args);
+
+ Backbone.history.trigger('route', router, name, args);
});
return this;
- },
+ }
/**
* @private
*/
- execute: function (callback, args, name, routeOriginal, options) {
+ execute(callback, args, name, routeOriginal, options) {
this.checkConfirmLeaveOut(() => {
if (name === 'defaultRoute') {
this._defaultRoute(this.routeParams[routeOriginal], options);
@@ -478,9 +509,11 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
return;
}
- Backbone.Router.prototype.execute.call(this, callback, args, name);
+ if (callback) {
+ callback.apply(this, args);
+ }
}, null, true);
- },
+ }
/**
* Navigate.
@@ -492,7 +525,7 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
* isReturn?: boolean,
* }} [options] Options.
*/
- navigate: function (fragment, options = {}) {
+ navigate(fragment, options = {}) {
if (!options.trigger) {
this.history.push(fragment);
}
@@ -501,15 +534,17 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
this._isReturn = true;
}
- return Backbone.Router.prototype.navigate.call(this, fragment, options);
- },
+ Backbone.history.navigate(fragment, options);
+
+ return this;
+ }
/**
* Navigate back.
*
* @param {Object} [options] Options: trigger, replace.
*/
- navigateBack: function (options) {
+ navigateBack(options) {
let url;
url = this.history.length > 1 ?
@@ -517,12 +552,12 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
this.history[0];
this.navigate(url, options);
- },
+ }
/**
* @private
*/
- _parseOptionsParams: function (string) {
+ _parseOptionsParams(string) {
if (!string) {
return {};
}
@@ -546,98 +581,106 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
}
return options;
- },
+ }
/**
* @private
*/
- _defaultRoute: function (params, options) {
+ _defaultRoute(params, options) {
const controller = params.controller || options.controller;
const action = params.action || options.action;
this.dispatch(controller, action, options);
- },
+ }
/**
* @private
*/
- _record: function (controller, action, id, options) {
+ _record(controller, action, id, options) {
options = this._parseOptionsParams(options);
options.id = id;
this.dispatch(controller, action, options);
- },
+ }
+ // noinspection JSUnusedGlobalSymbols
/**
* @private
*/
- _view: function (controller, id, options) {
+ _view(controller, id, options) {
this._record(controller, 'view', id, options);
- },
+ }
+ // noinspection JSUnusedGlobalSymbols
/**
* @private
*/
- _edit: function (controller, id, options) {
+ _edit(controller, id, options) {
this._record(controller, 'edit', id, options);
- },
+ }
+ // noinspection JSUnusedGlobalSymbols
/**
* @private
*/
- _related: function (controller, id, link, options) {
+ _related(controller, id, link, options) {
options = this._parseOptionsParams(options);
options.id = id;
options.link = link;
this.dispatch(controller, 'related', options);
- },
+ }
+ // noinspection JSUnusedGlobalSymbols
/**
* @private
*/
- _create: function (controller, options) {
+ _create(controller, options) {
this._record(controller, 'create', null, options);
- },
+ }
+ // noinspection JSUnusedGlobalSymbols
/**
* @private
*/
- _action: function (controller, action, options) {
+ _action(controller, action, options) {
this.dispatch(controller, action, this._parseOptionsParams(options));
- },
+ }
+ // noinspection JSUnusedGlobalSymbols
/**
* @private
*/
- _defaultAction: function (controller) {
+ _defaultAction(controller) {
this.dispatch(controller, null);
- },
+ }
+ // noinspection JSUnusedGlobalSymbols
/**
* @private
*/
- _home: function () {
+ _home() {
this.dispatch('Home', null);
- },
+ }
+ // noinspection JSUnusedGlobalSymbols
/**
* @private
*/
- _clearCache: function () {
+ _clearCache() {
this.dispatch(null, 'clearCache');
- },
+ }
/**
* Process `logout` route.
*/
- logout: function () {
+ logout() {
this.dispatch(null, 'logout');
this.navigate('', {trigger: false});
- },
+ }
/**
* Dispatch a controller action.
@@ -645,9 +688,9 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
* @param {string|null} [controller] A controller.
* @param {string|null} [action] An action.
* @param {Object} [options] Options.
- * @fires module:router#routed
+ * @fires Router#routed
*/
- dispatch: function (controller, action, options) {
+ dispatch(controller, action, options) {
if (this._isReturn) {
options = {...options};
options.isReturn = true;
@@ -669,19 +712,19 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
this._last = o;
this.trigger('routed', o);
- },
+ }
/**
* Get the last route data.
*
* @returns {Object}
*/
- getLast: function () {
+ getLast() {
return this._last;
- },
-});
+ }
+}
-export default Router;
+Object.assign(Router.prototype, Events);
function isIOS9UIWebView() {
const userAgent = window.navigator.userAgent;
diff --git a/client/src/search-manager.js b/client/src/search-manager.js
index 8becf99ba3..858e2d19fc 100644
--- a/client/src/search-manager.js
+++ b/client/src/search-manager.js
@@ -44,13 +44,7 @@
/**
* A where item. Sent to the backend.
*
- * @typedef {Object} module:search-manager~whereItem
- *
- * @property {string} type A type.
- * @property {string} [attribute] An attribute (field).
- * @property {module:search-manager~whereItem[]|string|number|boolean|string[]|null} [value] A value.
- * @property {boolean} [dateTime] Is a date-time item.
- * @property {string} [timeZone] A time-zone.
+ * @typedef {import('collection').WhereItem} module:search-manager~whereItem
*/
/**
diff --git a/client/src/util/ajax.ts b/client/src/util/ajax.ts
new file mode 100644
index 0000000000..e0fd036a63
--- /dev/null
+++ b/client/src/util/ajax.ts
@@ -0,0 +1,74 @@
+/************************************************************************
+ * This file is part of EspoCRM.
+ *
+ * EspoCRM – Open Source CRM application.
+ * Copyright (C) 2014-2026 EspoCRM, Inc.
+ * Website: https://www.espocrm.com
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ * The interactive user interfaces in modified source and object code versions
+ * of this program must display Appropriate Legal Notices, as required under
+ * Section 5 of the GNU Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
+ * these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
+ ************************************************************************/
+
+export class AjaxPromise<T = any> extends Promise<T> {
+
+ /**
+ * @type {XMLHttpRequest|null}
+ * @internal
+ */
+ xhr: XMLHttpRequest | null = null
+
+ isAborted = false
+
+ /**
+ * Abort the request.
+ */
+ abort() {
+ this.isAborted = true;
+
+ if (this.xhr) {
+ this.xhr.abort();
+ }
+ }
+
+ /**
+ * Get a ready state.
+ *
+ */
+ getReadyState(): number {
+ if (!this.xhr) {
+ return 0;
+ }
+
+ return this.xhr.readyState || 0;
+ }
+
+ /**
+ * Get a status code
+ *
+ * @return {Number}
+ */
+ getStatus(): number {
+ if (!this.xhr) {
+ return 0;
+ }
+
+ return this.xhr.status;
+ }
+}
diff --git a/client/src/view.js b/client/src/view.ts
similarity index 61%
rename from client/src/view.js
rename to client/src/view.ts
index da41b553cd..3d47df19df 100644
--- a/client/src/view.js
+++ b/client/src/view.ts
@@ -29,48 +29,54 @@
/** @module view */
import {View as BullView} from 'bullbone';
+import Model from 'model';
+import Collection from 'collection';
+import Ui from 'ui';
+
+interface ConfirmOptions {
+ message: string,
+ confirmText?: string,
+ cancelText?: string,
+ confirmStyle?: 'danger' | 'success' | 'warning' | 'default',
+ backdrop?: 'static' | boolean,
+ cancelCallback?: () => void,
+}
+
+/**
+ * @param {MouseEvent} event DOM event.
+ * @param {HTMLElement} includeInactive A target element.
+ */
+type ActionHandlerCallback = (event: MouseEvent, element: HTMLElement) => void;
+
+interface ViewSchema {
+ model?: Model
+ collection?: Collection
+}
/**
* A base view. All views should extend this class.
*
* @see https://docs.espocrm.com/development/view/
- * @mixes Bull.Events
+ *
*/
-class View extends BullView {
-
- /**
- * @callback module:view~actionHandlerCallback
- * @param {MouseEvent} event A DOM event.
- * @param {HTMLElement} element A target element.
- */
-
- /**
- * A helper.
- *
- * @name _helper
- * @type {module:view-helper}
- * @memberOf View.prototype
- * @private
- */
+class View<S extends ViewSchema = ViewSchema> extends BullView<S['model'], S['collection']> {
/**
* A model.
- *
- * @type {import('model').default}
*/
- model
+ model: S['model']
/**
* A collection.
- *
- * @type {import('collection').default}
*/
- collection
+ collection: S['collection']
/**
- * @param {Record<string, *>} options
+ * @param options
*/
- constructor(options = {}) {
+ constructor(
+ options: Record<string, any> = {}
+ ) {
super(options);
if (options.model) {
@@ -88,7 +94,7 @@ class View extends BullView {
* When the view is ready. Can be useful to prevent race condition when re-initialization is needed
* in-between initialization and render.
*
- * @return Promise
+ * @return Promise<void>
* @todo Move to Bull.View.
*/
whenReady() {
@@ -96,7 +102,7 @@ class View extends BullView {
return Promise.resolve();
}
- return new Promise(resolve => {
+ return new Promise<void>(resolve => {
this.once('ready', () => resolve());
});
}
@@ -104,10 +110,10 @@ class View extends BullView {
/**
* Add a DOM click event handler for a target defined by `data-action="{name}"` attribute.
*
- * @param {string} action An action name.
- * @param {module:view~actionHandlerCallback} handler A handler.
+ * @param action An action name.
+ * @param handler A handler.
*/
- addActionHandler(action, handler) {
+ addActionHandler(action: string, handler: ActionHandlerCallback) {
// The key should be in sync with one in Utils.handleAction.
const fullAction = `click [data-action="${action}"]`;
@@ -123,7 +129,7 @@ class View extends BullView {
* @param {string} string
* @returns {string}
*/
- escapeString(string) {
+ escapeString(string: string): string {
return Handlebars.Utils.escapeExpression(string);
}
@@ -136,9 +142,10 @@ class View extends BullView {
* @param {number} [timeout]
* @param {string} [scope]
*/
- notify(label, type, timeout, scope) {
+ notify(label: string | false, type: string, timeout: number, scope: string) {
if (!label) {
- Espo.Ui.notify(false);
+ // @ts-ignore
+ Ui.notify(false);
return;
}
@@ -152,168 +159,153 @@ class View extends BullView {
const text = this.getLanguage().translate(label, 'labels', scope);
- Espo.Ui.notify(text, type, timeout);
+ // @ts-ignore
+ Ui.notify(text, type, timeout);
}
/**
* Get a view-helper.
- *
- * @returns {module:view-helper}
*/
- getHelper() {
+ getHelper(): import('view-helper').default {
return this._helper;
}
/**
* Get a current user.
- *
- * @returns {module:models/user}
*/
- getUser() {
+ getUser(): import('models/user').default {
+ // @ts-ignore
return this._helper.user;
}
/**
* Get the preferences.
- *
- * @returns {module:models/preferences}
*/
- getPreferences() {
+ getPreferences(): import('models/preferences').default {
+ // @ts-ignore
return this._helper.preferences;
}
/**
* Get the config.
- *
- * @returns {module:models/settings}
*/
- getConfig() {
+ getConfig(): import('models/settings').default {
+ // @ts-ignore
return this._helper.settings;
}
/**
* Get the ACL.
- *
- * @returns {module:acl-manager}
*/
- getAcl() {
+ getAcl(): import('acl-manager').default {
+ // @ts-ignore
return this._helper.acl;
}
/**
* Get the model factory.
- *
- * @returns {module:model-factory}
*/
- getModelFactory() {
+ getModelFactory(): import('model-factory').default {
+ // @ts-ignore
return this._helper.modelFactory;
}
/**
* Get the collection factory.
- *
- * @returns {module:collection-factory}
*/
- getCollectionFactory() {
+ getCollectionFactory(): import('collection-factory').default {
+ // @ts-ignore
return this._helper.collectionFactory;
}
/**
* Get the router.
- *
- * @returns {module:router}
*/
- getRouter() {
+ getRouter(): import('router').default {
+ // @ts-ignore
return this._helper.router;
}
/**
* Get the storage-util.
- *
- * @returns {module:storage}
*/
- getStorage() {
+ getStorage(): import('storage').default {
+ // @ts-ignore
return this._helper.storage;
}
/**
* Get the session-storage-util.
- *
- * @returns {module:session-storage}
*/
- getSessionStorage() {
+ getSessionStorage(): import('session-storage').default {
+ // @ts-ignore
return this._helper.sessionStorage;
}
/**
* Get the language-util.
- *
- * @returns {module:language}
*/
- getLanguage() {
+ getLanguage(): import('language').default {
+ // @ts-ignore
return this._helper.language;
}
/**
* Get metadata.
- *
- * @returns {module:metadata}
*/
- getMetadata() {
+ getMetadata(): import('metadata').default {
+ // @ts-ignore
return this._helper.metadata;
}
/**
* Get the cache-util.
- *
- * @returns {module:cache}
*/
- getCache() {
+ getCache(): import('cache').default {
+ // @ts-ignore
return this._helper.cache;
}
/**
* Get the date-time util.
- *
- * @returns {module:date-time}
*/
- getDateTime() {
+ getDateTime(): import('date-time').default {
+ // @ts-ignore
return this._helper.dateTime;
}
/**
* Get the number-util.
- *
- * @returns {module:num-util}
*/
- getNumberUtil() {
+ getNumberUtil(): import('number-util').default {
+ // @ts-ignore
return this._helper.numberUtil;
}
/**
* Get the field manager.
- *
- * @returns {module:field-manager}
*/
- getFieldManager() {
+ getFieldManager(): import('field-manager').default {
+ // @ts-ignore
return this._helper.fieldManager;
}
/**
* Get the base-controller.
*
- * @returns {module:controllers/base}
+ * @internal
+ * @return {import('controllers/base').default}
*/
- getBaseController() {
+ getBaseController(): import('controllers/base').default {
+ // @ts-ignore
return this._helper.baseController;
}
/**
* Get the theme manager.
- *
- * @returns {module:theme-manager}
*/
- getThemeManager() {
+ getThemeManager(): import('theme-manager').default {
+ // @ts-ignore
return this._helper.themeManager;
}
@@ -329,64 +321,58 @@ class View extends BullView {
/**
* Set a page title.
*
- * @param {string} title A title.
+ * @param title A title.
*/
- setPageTitle(title) {
+ setPageTitle(title: string) {
this.getHelper().pageTitle.setTitle(title);
}
/**
* Translate a label.
*
- * @param {string} label Label.
- * @param {string|'messages'|'labels'|'fields'|'links'|'scopeNames'|'scopeNamesPlural'} [category='labels'] Category.
- * @param {string} [scope='Global'] Scope.
+ * @param label Label.
+ * @param [category='labels'] Category.
+ * @param [scope='Global'] Scope.
* @returns {string}
*/
- translate(label, category, scope) {
+ translate(
+ label: string,
+ category?: string | 'messages' | 'labels' | 'fields' | 'links' | 'scopeNames' | 'scopeNamesPlural',
+ scope?: string,
+ ): string {
+
return this.getLanguage().translate(label, category, scope);
}
/**
* Get a base path.
- *
- * @returns {string}
*/
- getBasePath() {
+ getBasePath(): string {
+ // @ts-ignore
return this._helper.basePath || '';
}
- /**
- * @typedef {Object} module:view~ConfirmOptions
- *
- * @property {string} message A message.
- * @property {string} [confirmText] A confirm-button text.
- * @property {string} [cancelText] A cancel-button text.
- * @property {'danger'|'success'|'warning'|'default'} [confirmStyle='danger'] A confirm-button style.
- * @property {'static'|boolean} [backdrop=false] A backdrop.
- * @property {function():void} [cancelCallback] A cancel-callback.
- */
-
/**
* Show a confirmation dialog.
*
- * @param {string|module:view~ConfirmOptions} o A message or options.
+ * @param options A message or options.
* @param [callback] A callback. Deprecated, use a promise.
* @param [context] A context. Deprecated.
* @returns {Promise} To be resolved if confirmed.
*/
- confirm(o, callback, context) {
- let message;
+ confirm(options: ConfirmOptions, callback = undefined, context= undefined): Promise<any> {
+ let message: string;
- if (typeof o === 'string' || o instanceof String) {
- message = o;
+ let o: ConfirmOptions | Record<string, any>;
- o = /** @type {module:view~ConfirmOptions} */{};
- }
- else {
- o = o || {};
+ if (typeof options === 'string' || options instanceof String) {
+ message = options.toString();
+
+ o = {};
+ } else {
+ o = options ?? {};
- message = o.message;
+ message = options.message;
}
if (message) {
@@ -395,17 +381,17 @@ class View extends BullView {
.toString();
}
- const confirmText = o.confirmText || this.translate('Yes');
- const confirmStyle = o.confirmStyle || null;
- const cancelText = o.cancelText || this.translate('Cancel');
+ const confirmText = options.confirmText || this.translate('Yes');
+ const confirmStyle = options.confirmStyle || null;
+ const cancelText = options.cancelText || this.translate('Cancel');
return Espo.Ui.confirm(message, {
confirmText: confirmText,
cancelText: cancelText,
confirmStyle: confirmStyle,
- backdrop: ('backdrop' in o) ? o.backdrop : true,
+ backdrop: ('backdrop' in options) ? o.backdrop : true,
isHtml: true,
- cancelCallback: o.cancelCallback,
+ cancelCallback: options.cancelCallback,
}, callback, context);
}
}
diff --git a/client/src/views/admin/layouts/fields/width-complex.js b/client/src/views/admin/layouts/fields/width-complex.js
index 5f105be6d5..e684758d77 100644
--- a/client/src/views/admin/layouts/fields/width-complex.js
+++ b/client/src/views/admin/layouts/fields/width-complex.js
@@ -45,7 +45,17 @@ class LayoutWidthComplexFieldView extends BaseFieldView {
}
setup() {
- this.auxModel = new Model();
+ this.auxModel =
+ /**
+ * @type {
+ * Model<{
+ * width: number|null,
+ * unit: string|null,
+ * value: number|null,
+ * }>
+ * }
+ */
+ new Model();
this.syncAuxModel();
@@ -127,7 +137,7 @@ class LayoutWidthComplexFieldView extends BaseFieldView {
const unit = width || !widthPx ? '%' : 'px';
- this.auxModel.set({
+ this.auxModel.setMultiple({
unit: unit,
value: unit === 'px' ? widthPx : width,
});
diff --git a/client/src/views/modals/edit.js b/client/src/views/modals/edit.js
index ca7de05c7c..2f2801d1b1 100644
--- a/client/src/views/modals/edit.js
+++ b/client/src/views/modals/edit.js
@@ -527,6 +527,7 @@ class EditModalView extends ModalView {
async beforeCollapse() {
if (this.wasModified) {
this.getRecordView().setConfirmLeaveOut(false);
+
this.getRouter().addWindowLeaveOutObject(this);
}
}
diff --git a/client/src/views/modals/select-records.js b/client/src/views/modals/select-records.js
index 1bf0c4f66e..412a59763a 100644
--- a/client/src/views/modals/select-records.js
+++ b/client/src/views/modals/select-records.js
@@ -101,7 +101,7 @@ class SelectRecordsModalView extends ModalView {
* @property {function(): Promise<Record>} [createAttributesProvider] Create-attributes provider.
* @property {Record} [createAttributes] Create-attributes.
* @property {function(import('model').default[])} [onSelect] On record select. As of 9.0.0.
- * @property {function({where: Record[], searchParams: module:collection~Data})} [onMassSelect]
+ * @property {function({where: Record[], searchParams: import('collection').Data})} [onMassSelect]
* On record select. As of 9.1.0.
* @property {function()} [onCreate] On create click. As of 9.0.5.
* @property {boolean} [searchPanelDisabled] Disable the search panel.
diff --git a/frontend/bundle-config.json b/frontend/bundle-config.json
index 0e2c105326..a1426ef0cf 100644
--- a/frontend/bundle-config.json
+++ b/frontend/bundle-config.json
@@ -21,73 +21,73 @@
"src/loader.js"
],
"patterns": [
- "src/**/*.js"
+ "src/**/*.{js,ts}"
],
"ignorePatterns": [
- "src/views/admin/**/*.js",
- "src/views/settings/**/*.js",
- "src/views/authentication-provider/**/*.js",
- "src/views/webhooks/**/*.js",
- "src/views/templates/**/*.js",
- "src/views/layout-set/**/*.js",
- "src/views/role/**/*.js",
- "src/views/portal-role/**/*.js",
- "src/views/scheduled-job/**/*.js",
- "src/views/lead-capture-log-record/**/*.js",
- "src/views/inbound-email/**/*.js",
- "src/views/extension/**/*.js",
- "src/views/api-user/**/*.js",
+ "src/views/admin/**/*.{js,ts}",
+ "src/views/settings/**/*.{js,ts}",
+ "src/views/authentication-provider/**/*.{js,ts}",
+ "src/views/webhooks/**/*.{js,ts}",
+ "src/views/templates/**/*.{js,ts}",
+ "src/views/layout-set/**/*.{js,ts}",
+ "src/views/role/**/*.{js,ts}",
+ "src/views/portal-role/**/*.{js,ts}",
+ "src/views/scheduled-job/**/*.{js,ts}",
+ "src/views/lead-capture-log-record/**/*.{js,ts}",
+ "src/views/inbound-email/**/*.{js,ts}",
+ "src/views/extension/**/*.{js,ts}",
+ "src/views/api-user/**/*.{js,ts}",
- "src/controllers/admin.js",
- "src/controllers/role.js",
- "src/controllers/portal-role.js",
+ "src/controllers/admin.{js,ts}",
+ "src/controllers/role.{js,ts}",
+ "src/controllers/portal-role.{js,ts}",
- "src/views/outbound-email/**/*.js",
- "src/views/personal-data/**/*.js",
- "src/views/portal/**/*.js",
- "src/views/import/**/*.js",
- "src/views/import-error/**/*.js",
- "src/views/group-email-folder/**/*.js",
- "src/views/external-account/**/*.js",
- "src/views/email-account/**/*.js"
+ "src/views/outbound-email/**/*.{js,ts}",
+ "src/views/personal-data/**/*.{js,ts}",
+ "src/views/portal/**/*.{js,ts}",
+ "src/views/import/**/*.{js,ts}",
+ "src/views/import-error/**/*.{js,ts}",
+ "src/views/group-email-folder/**/*.{js,ts}",
+ "src/views/external-account/**/*.{js,ts}",
+ "src/views/email-account/**/*.{js,ts}"
]
},
"admin": {
"patterns": [
- "src/views/admin/**/*.js",
- "src/views/settings/**/*.js",
- "src/views/api-user/**/*.js",
- "src/views/extension/**/*.js",
- "src/views/authentication-provider/**/*.js",
- "src/views/inbound-email/**/*.js",
- "src/views/templates/**/*.js",
- "src/views/role/**/*.js",
- "src/views/portal-role/**/*.js",
- "src/views/portal/**/*.js",
- "src/views/scheduled-job/**/*.js",
- "src/views/lead-capture-log-record/**/*.js",
- "src/views/webhooks/**/*.js",
- "src/views/layout-set/**/*.js",
- "src/controllers/admin.js",
- "src/controllers/inbound-email.js",
- "src/controllers/layout-set.js",
- "src/controllers/api-user.js",
- "src/controllers/role.js",
- "src/controllers/portal-role.js"
+ "src/views/admin/**/*.{js,ts}",
+ "src/views/settings/**/*.{js,ts}",
+ "src/views/api-user/**/*.{js,ts}",
+ "src/views/extension/**/*.{js,ts}",
+ "src/views/authentication-provider/**/*.{js,ts}",
+ "src/views/inbound-email/**/*.{js,ts}",
+ "src/views/templates/**/*.{js,ts}",
+ "src/views/role/**/*.{js,ts}",
+ "src/views/portal-role/**/*.{js,ts}",
+ "src/views/portal/**/*.{js,ts}",
+ "src/views/scheduled-job/**/*.{js,ts}",
+ "src/views/lead-capture-log-record/**/*.{js,ts}",
+ "src/views/webhooks/**/*.{js,ts}",
+ "src/views/layout-set/**/*.{js,ts}",
+ "src/controllers/admin.{js,ts}",
+ "src/controllers/inbound-email.{js,ts}",
+ "src/controllers/layout-set.{js,ts}",
+ "src/controllers/api-user.{js,ts}",
+ "src/controllers/role.{js,ts}",
+ "src/controllers/portal-role.{js,ts}"
]
},
"crm": {
"patterns": [
- "modules/crm/src/**/*.js"
+ "modules/crm/src/**/*.{js,ts}"
],
"lookupPatterns": [
- "modules/crm/src/**/*.js"
+ "modules/crm/src/**/*.{js,ts}"
],
"noDuplicates": true
},
"chart": {
"patterns": [
- "modules/crm/src/**/*.js"
+ "modules/crm/src/**/*.{js,ts}"
],
"dependentOn": [
"flotr2",
@@ -98,12 +98,12 @@
"espo-funnel-chart"
],
"lookupPatterns": [
- "modules/crm/src/**/*.js"
+ "modules/crm/src/**/*.{js,ts}"
]
},
"calendar": {
"patterns": [
- "modules/crm/src/**/*.js"
+ "modules/crm/src/**/*.{js,ts}"
],
"dependentOn": [
"fullcalendar"
@@ -112,12 +112,12 @@
"fullcalendar"
],
"lookupPatterns": [
- "modules/crm/src/**/*.js"
+ "modules/crm/src/**/*.{js,ts}"
]
},
"timeline": {
"patterns": [
- "modules/crm/src/**/*.js"
+ "modules/crm/src/**/*.{js,ts}"
],
"dependentOn": [
"vis-data",
@@ -128,12 +128,12 @@
"vis-timeline"
],
"lookupPatterns": [
- "modules/crm/src/**/*.js"
+ "modules/crm/src/**/*.{js,ts}"
]
},
"extra": {
"patterns": [
- "src/**/*.js"
+ "src/**/*.{js,ts}"
],
"ignoreFiles": [
"src/namespace.js",
@@ -146,6 +146,6 @@
"crm": "modules/crm"
},
"lookupPatterns": [
- "src/**/*.js"
+ "src/**/*.{js,ts}"
]
}
diff --git a/jsconfig.json b/jsconfig.json
index cb361842f1..32edb4553b 100644
--- a/jsconfig.json
+++ b/jsconfig.json
@@ -7,7 +7,8 @@
"crm:*": ["modules/crm/src/*"]
},
"module": "ES6",
- "target": "ES2018"
+ "target": "ES2018",
+ "moduleResolution": "bundler"
},
"include": [
"client/src",
diff --git a/package-lock.json b/package-lock.json
index 949db49b08..7dffd19850 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -22,7 +22,7 @@
"bootstrap": "github:yurikuzn/espo-bootstrap#0.1.2",
"bootstrap-colorpicker": "^2.5.2",
"bootstrap-datepicker": "^1.9.0",
- "bullbone": "github:espocrm/bullbone#1.3.3",
+ "bullbone": "github:espocrm/bullbone#1.4.0",
"cronstrue": "^1.114.0",
"cropper": "^0.7.9",
"devbridge-autocomplete": "^1.4.11",
@@ -57,9 +57,10 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
+ "@types/underscore": "^1.13.0",
"archiver": "^7",
"chromedriver": "^127.0.1",
- "espo-frontend-build-tools": "github:espocrm/frontend-build-tools#0.2.3",
+ "espo-frontend-build-tools": "github:espocrm/frontend-build-tools#0.3.0",
"fstream": ">=1.0.12",
"glob": "^13.0.6",
"grunt": "^1.5.3",
@@ -135,12 +136,13 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
- "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",
+ "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/helper-validator-identifier": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.28.5",
"js-tokens": "^4.0.0",
"picocolors": "^1.1.1"
},
@@ -149,9 +151,9 @@
}
},
"node_modules/@babel/compat-data": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.5.tgz",
- "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.0.tgz",
+ "integrity": "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -159,21 +161,21 @@
}
},
"node_modules/@babel/core": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.5.tgz",
- "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz",
+ "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.27.1",
- "@babel/generator": "^7.28.5",
- "@babel/helper-compilation-targets": "^7.27.2",
- "@babel/helper-module-transforms": "^7.28.3",
- "@babel/helpers": "^7.28.4",
- "@babel/parser": "^7.28.5",
- "@babel/template": "^7.27.2",
- "@babel/traverse": "^7.28.5",
- "@babel/types": "^7.28.5",
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helpers": "^7.28.6",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/traverse": "^7.29.0",
+ "@babel/types": "^7.29.0",
"@jridgewell/remapping": "^2.3.5",
"convert-source-map": "^2.0.0",
"debug": "^4.1.0",
@@ -222,14 +224,14 @@
}
},
"node_modules/@babel/generator": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz",
- "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==",
+ "version": "7.29.1",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz",
+ "integrity": "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/parser": "^7.28.5",
- "@babel/types": "^7.28.5",
+ "@babel/parser": "^7.29.0",
+ "@babel/types": "^7.29.0",
"@jridgewell/gen-mapping": "^0.3.12",
"@jridgewell/trace-mapping": "^0.3.28",
"jsesc": "^3.0.2"
@@ -243,6 +245,7 @@
"resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz",
"integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/types": "^7.27.3"
},
@@ -251,12 +254,13 @@
}
},
"node_modules/@babel/helper-compilation-targets": {
- "version": "7.27.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz",
- "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz",
+ "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/compat-data": "^7.27.2",
+ "@babel/compat-data": "^7.28.6",
"@babel/helper-validator-option": "^7.27.1",
"browserslist": "^4.24.0",
"lru-cache": "^5.1.1",
@@ -271,6 +275,7 @@
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
"integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"yallist": "^3.0.2"
}
@@ -280,6 +285,7 @@
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"dev": true,
+ "license": "ISC",
"bin": {
"semver": "bin/semver.js"
}
@@ -288,21 +294,22 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/@babel/helper-create-class-features-plugin": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.5.tgz",
- "integrity": "sha512-q3WC4JfdODypvxArsJQROfupPBq9+lMwjKq7C33GhbFYJsufD0yd/ziwD+hJucLeWsnFPWZjsU2DNFqBPE7jwQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.6.tgz",
+ "integrity": "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-annotate-as-pure": "^7.27.3",
"@babel/helper-member-expression-to-functions": "^7.28.5",
"@babel/helper-optimise-call-expression": "^7.27.1",
- "@babel/helper-replace-supers": "^7.27.1",
+ "@babel/helper-replace-supers": "^7.28.6",
"@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
- "@babel/traverse": "^7.28.5",
+ "@babel/traverse": "^7.28.6",
"semver": "^6.3.1"
},
"engines": {
@@ -351,17 +358,17 @@
}
},
"node_modules/@babel/helper-define-polyfill-provider": {
- "version": "0.6.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.5.tgz",
- "integrity": "sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==",
+ "version": "0.6.8",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.8.tgz",
+ "integrity": "sha512-47UwBLPpQi1NoWzLuHNjRoHlYXMwIJoBf7MFou6viC/sIHWYygpvr0B6IAyh5sBdA2nr2LPIRww8lfaUVQINBA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-compilation-targets": "^7.27.2",
- "@babel/helper-plugin-utils": "^7.27.1",
- "debug": "^4.4.1",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "debug": "^4.4.3",
"lodash.debounce": "^4.0.8",
- "resolve": "^1.22.10"
+ "resolve": "^1.22.11"
},
"peerDependencies": {
"@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
@@ -385,6 +392,28 @@
}
}
},
+ "node_modules/@babel/helper-define-polyfill-provider/node_modules/resolve": {
+ "version": "1.22.12",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",
+ "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "is-core-module": "^2.16.1",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/@babel/helper-globals": {
"version": "7.28.0",
"resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
@@ -410,29 +439,29 @@
}
},
"node_modules/@babel/helper-module-imports": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz",
- "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz",
+ "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/traverse": "^7.27.1",
- "@babel/types": "^7.27.1"
+ "@babel/traverse": "^7.28.6",
+ "@babel/types": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-module-transforms": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz",
- "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz",
+ "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-module-imports": "^7.27.1",
- "@babel/helper-validator-identifier": "^7.27.1",
- "@babel/traverse": "^7.28.3"
+ "@babel/helper-module-imports": "^7.28.6",
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "@babel/traverse": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -446,6 +475,7 @@
"resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz",
"integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/types": "^7.27.1"
},
@@ -454,10 +484,11 @@
}
},
"node_modules/@babel/helper-plugin-utils": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz",
- "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz",
+ "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
@@ -481,14 +512,15 @@
}
},
"node_modules/@babel/helper-replace-supers": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz",
- "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.28.6.tgz",
+ "integrity": "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/helper-member-expression-to-functions": "^7.27.1",
+ "@babel/helper-member-expression-to-functions": "^7.28.5",
"@babel/helper-optimise-call-expression": "^7.27.1",
- "@babel/traverse": "^7.27.1"
+ "@babel/traverse": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -516,6 +548,7 @@
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
"integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
@@ -535,47 +568,48 @@
"resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
"integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-wrap-function": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.28.3.tgz",
- "integrity": "sha512-zdf983tNfLZFletc0RRXYrHrucBEg95NIFMkn6K9dbeMYnsgHaSBGcQqdsCSStG2PYwRre0Qc2NNSCXbG+xc6g==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.28.6.tgz",
+ "integrity": "sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/template": "^7.27.2",
- "@babel/traverse": "^7.28.3",
- "@babel/types": "^7.28.2"
+ "@babel/template": "^7.28.6",
+ "@babel/traverse": "^7.28.6",
+ "@babel/types": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helpers": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz",
- "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==",
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.2.tgz",
+ "integrity": "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/template": "^7.27.2",
- "@babel/types": "^7.28.4"
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/parser": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz",
- "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==",
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.2.tgz",
+ "integrity": "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.28.5"
+ "@babel/types": "^7.29.0"
},
"bin": {
"parser": "bin/babel-parser.js"
@@ -652,14 +686,14 @@
}
},
"node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.28.3.tgz",
- "integrity": "sha512-b6YTX108evsvE4YgWyQ921ZAFFQm3Bn+CA3+ZXlNVnPhx+UfsVURoPjfGAPCjBgrqo30yX/C2nZGX96DxvR9Iw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.28.6.tgz",
+ "integrity": "sha512-a0aBScVTlNaiUe35UtfxAN7A/tehvvG4/ByO6+46VPKTRSlfnAFsgKy0FUh+qAkQrDTmhDkT+IBOKlOoMUxQ0g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/traverse": "^7.28.3"
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/traverse": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -669,15 +703,15 @@
}
},
"node_modules/@babel/plugin-proposal-decorators": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.28.0.tgz",
- "integrity": "sha512-zOiZqvANjWDUaUS9xMxbMcK/Zccztbe/6ikvUXaG9nsPH3w6qh5UaPGAnirI/WhIbZ8m3OHU0ReyPrknG+ZKeg==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.29.0.tgz",
+ "integrity": "sha512-CVBVv3VY/XRMxRYq5dwr2DS7/MvqPm23cOCjbwNnVrfOqcWlnefua1uUs0sjdKOGjvPUG633o07uWzJq4oI6dA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/plugin-syntax-decorators": "^7.27.1"
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/plugin-syntax-decorators": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -700,13 +734,13 @@
}
},
"node_modules/@babel/plugin-syntax-decorators": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.27.1.tgz",
- "integrity": "sha512-YMq8Z87Lhl8EGkmb0MwYkt36QnxC+fzCgrl66ereamPlYToRpIk5nUjKUY3QKLWq8mwUB1BgbeXcTJhZOCDg5A==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.28.6.tgz",
+ "integrity": "sha512-71EYI0ONURHJBL4rSFXnITXqXrrY8q4P0q006DPfN+Rk+ASM+++IBXem/ruokgBZR8YNEWZ8R6B+rCb8VcUTqA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -716,13 +750,13 @@
}
},
"node_modules/@babel/plugin-syntax-import-assertions": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.27.1.tgz",
- "integrity": "sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.28.6.tgz",
+ "integrity": "sha512-pSJUpFHdx9z5nqTSirOCMtYVP2wFgoWhP0p3g8ONK/4IHhLIBd0B9NYqAvIUAhq+OkhO4VM1tENCt0cjlsNShw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -732,13 +766,29 @@
}
},
"node_modules/@babel/plugin-syntax-import-attributes": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz",
- "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.28.6.tgz",
+ "integrity": "sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-typescript": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.28.6.tgz",
+ "integrity": "sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -781,15 +831,15 @@
}
},
"node_modules/@babel/plugin-transform-async-generator-functions": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.28.0.tgz",
- "integrity": "sha512-BEOdvX4+M765icNPZeidyADIvQ1m1gmunXufXxvRESy/jNNyfovIqUyE7MVgGBjWktCoJlzvFA1To2O4ymIO3Q==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.29.0.tgz",
+ "integrity": "sha512-va0VdWro4zlBr2JsXC+ofCPB2iG12wPtVGTWFx2WLDOM3nYQZZIGP82qku2eW/JR83sD+k2k+CsNtyEbUqhU6w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-remap-async-to-generator": "^7.27.1",
- "@babel/traverse": "^7.28.0"
+ "@babel/traverse": "^7.29.0"
},
"engines": {
"node": ">=6.9.0"
@@ -799,14 +849,14 @@
}
},
"node_modules/@babel/plugin-transform-async-to-generator": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.27.1.tgz",
- "integrity": "sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.28.6.tgz",
+ "integrity": "sha512-ilTRcmbuXjsMmcZ3HASTe4caH5Tpo93PkTxF9oG2VZsSWsahydmcEHhix9Ik122RcTnZnUzPbmux4wh1swfv7g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-module-imports": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-module-imports": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-remap-async-to-generator": "^7.27.1"
},
"engines": {
@@ -833,13 +883,13 @@
}
},
"node_modules/@babel/plugin-transform-block-scoping": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.5.tgz",
- "integrity": "sha512-45DmULpySVvmq9Pj3X9B+62Xe+DJGov27QravQJU1LLcapR6/10i+gYVAucGGJpHBp5mYxIMK4nDAT/QDLr47g==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.6.tgz",
+ "integrity": "sha512-tt/7wOtBmwHPNMPu7ax4pdPz6shjFrmHDghvNC+FG9Qvj7D6mJcoRQIF5dy4njmxR941l6rgtvfSB2zX3VlUIw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -849,14 +899,14 @@
}
},
"node_modules/@babel/plugin-transform-class-properties": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.27.1.tgz",
- "integrity": "sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.28.6.tgz",
+ "integrity": "sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -866,14 +916,14 @@
}
},
"node_modules/@babel/plugin-transform-class-static-block": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.3.tgz",
- "integrity": "sha512-LtPXlBbRoc4Njl/oh1CeD/3jC+atytbnf/UqLoqTDcEYGUPj022+rvfkbDYieUrSj3CaV4yHDByPE+T2HwfsJg==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.6.tgz",
+ "integrity": "sha512-rfQ++ghVwTWTqQ7w8qyDxL1XGihjBss4CmTgGRCTAC9RIbhVpyp4fOeZtta0Lbf+dTNIVJer6ych2ibHwkZqsQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.28.3",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -883,18 +933,18 @@
}
},
"node_modules/@babel/plugin-transform-classes": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.4.tgz",
- "integrity": "sha512-cFOlhIYPBv/iBoc+KS3M6et2XPtbT2HiCRfBXWtfpc9OAyostldxIf9YAYB6ypURBBbx+Qv6nyrLzASfJe+hBA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.6.tgz",
+ "integrity": "sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-annotate-as-pure": "^7.27.3",
- "@babel/helper-compilation-targets": "^7.27.2",
+ "@babel/helper-compilation-targets": "^7.28.6",
"@babel/helper-globals": "^7.28.0",
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/helper-replace-supers": "^7.27.1",
- "@babel/traverse": "^7.28.4"
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/helper-replace-supers": "^7.28.6",
+ "@babel/traverse": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -904,14 +954,14 @@
}
},
"node_modules/@babel/plugin-transform-computed-properties": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.27.1.tgz",
- "integrity": "sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.28.6.tgz",
+ "integrity": "sha512-bcc3k0ijhHbc2lEfpFHgx7eYw9KNXqOerKWfzbxEHUGKnS3sz9C4CNL9OiFN1297bDNfUiSO7DaLzbvHQQQ1BQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/template": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/template": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -938,14 +988,14 @@
}
},
"node_modules/@babel/plugin-transform-dotall-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.27.1.tgz",
- "integrity": "sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.28.6.tgz",
+ "integrity": "sha512-SljjowuNKB7q5Oayv4FoPzeB74g3QgLt8IVJw9ADvWy3QnUb/01aw8I4AVv8wYnPvQz2GDDZ/g3GhcNyDBI4Bg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -971,14 +1021,14 @@
}
},
"node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.27.1.tgz",
- "integrity": "sha512-hkGcueTEzuhB30B3eJCbCYeCaaEQOmQR0AdvzpD4LoN0GXMWzzGSuRrxR2xTnCrvNbVwK9N6/jQ92GSLfiZWoQ==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.29.0.tgz",
+ "integrity": "sha512-zBPcW2lFGxdiD8PUnPwJjag2J9otbcLQzvbiOzDxpYXyCuYX9agOwMPGn1prVH0a4qzhCKu24rlH4c1f7yA8rw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1004,14 +1054,14 @@
}
},
"node_modules/@babel/plugin-transform-explicit-resource-management": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.28.0.tgz",
- "integrity": "sha512-K8nhUcn3f6iB+P3gwCv/no7OdzOZQcKchW6N389V6PD8NUWKZHzndOd9sPDVbMoBsbmjMqlB4L9fm+fEFNVlwQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.28.6.tgz",
+ "integrity": "sha512-Iao5Konzx2b6g7EPqTy40UZbcdXE126tTxVFr/nAIj+WItNxjKSYTEw3RC+A2/ZetmdJsgueL1KhaMCQHkLPIg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/plugin-transform-destructuring": "^7.28.0"
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/plugin-transform-destructuring": "^7.28.5"
},
"engines": {
"node": ">=6.9.0"
@@ -1021,13 +1071,13 @@
}
},
"node_modules/@babel/plugin-transform-exponentiation-operator": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.28.5.tgz",
- "integrity": "sha512-D4WIMaFtwa2NizOp+dnoFjRez/ClKiC2BqqImwKd1X28nqBtZEyCYJ2ozQrrzlxAFrcrjxo39S6khe9RNDlGzw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.28.6.tgz",
+ "integrity": "sha512-WitabqiGjV/vJ0aPOLSFfNY1u9U3R7W36B03r5I2KoNix+a3sOhJ3pKFB3R5It9/UiK78NiO0KE9P21cMhlPkw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1088,13 +1138,13 @@
}
},
"node_modules/@babel/plugin-transform-json-strings": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.27.1.tgz",
- "integrity": "sha512-6WVLVJiTjqcQauBhn1LkICsR2H+zm62I3h9faTDKt1qP4jn2o72tSvqMwtGFKGTpojce0gJs+76eZ2uCHRZh0Q==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.28.6.tgz",
+ "integrity": "sha512-Nr+hEN+0geQkzhbdgQVPoqr47lZbm+5fCUmO70722xJZd0Mvb59+33QLImGj6F+DkK3xgDi1YVysP8whD6FQAw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1120,13 +1170,13 @@
}
},
"node_modules/@babel/plugin-transform-logical-assignment-operators": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.5.tgz",
- "integrity": "sha512-axUuqnUTBuXyHGcJEVVh9pORaN6wC5bYfE7FGzPiaWa3syib9m7g+/IT/4VgCOe2Upef43PHzeAvcrVek6QuuA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.6.tgz",
+ "integrity": "sha512-+anKKair6gpi8VsM/95kmomGNMD0eLz1NQ8+Pfw5sAwWH9fGYXT50E55ZpV0pHUHWf6IUTWPM+f/7AAff+wr9A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1169,14 +1219,14 @@
}
},
"node_modules/@babel/plugin-transform-modules-commonjs": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.27.1.tgz",
- "integrity": "sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.28.6.tgz",
+ "integrity": "sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-module-transforms": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1186,16 +1236,16 @@
}
},
"node_modules/@babel/plugin-transform-modules-systemjs": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.28.5.tgz",
- "integrity": "sha512-vn5Jma98LCOeBy/KpeQhXcV2WZgaRUtjwQmjoBuLNlOmkg0fB5pdvYVeWRYI69wWKwK2cD1QbMiUQnoujWvrew==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.0.tgz",
+ "integrity": "sha512-PrujnVFbOdUpw4UHiVwKvKRLMMic8+eC0CuNlxjsyZUiBjhFdPsewdXCkveh2KqBA9/waD0W1b4hXSOBQJezpQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-module-transforms": "^7.28.3",
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-validator-identifier": "^7.28.5",
- "@babel/traverse": "^7.28.5"
+ "@babel/traverse": "^7.29.0"
},
"engines": {
"node": ">=6.9.0"
@@ -1222,14 +1272,14 @@
}
},
"node_modules/@babel/plugin-transform-named-capturing-groups-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.27.1.tgz",
- "integrity": "sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.29.0.tgz",
+ "integrity": "sha512-1CZQA5KNAD6ZYQLPw7oi5ewtDNxH/2vuCh+6SmvgDfhumForvs8a1o9n0UrEoBD8HU4djO2yWngTQlXl1NDVEQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1255,13 +1305,13 @@
}
},
"node_modules/@babel/plugin-transform-nullish-coalescing-operator": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.27.1.tgz",
- "integrity": "sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.28.6.tgz",
+ "integrity": "sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1271,13 +1321,13 @@
}
},
"node_modules/@babel/plugin-transform-numeric-separator": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.27.1.tgz",
- "integrity": "sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.28.6.tgz",
+ "integrity": "sha512-SJR8hPynj8outz+SlStQSwvziMN4+Bq99it4tMIf5/Caq+3iOc0JtKyse8puvyXkk3eFRIA5ID/XfunGgO5i6w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1287,17 +1337,17 @@
}
},
"node_modules/@babel/plugin-transform-object-rest-spread": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.4.tgz",
- "integrity": "sha512-373KA2HQzKhQCYiRVIRr+3MjpCObqzDlyrM6u4I201wL8Mp2wHf7uB8GhDwis03k2ti8Zr65Zyyqs1xOxUF/Ew==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.6.tgz",
+ "integrity": "sha512-5rh+JR4JBC4pGkXLAcYdLHZjXudVxWMXbB6u6+E9lRL5TrGVbHt1TjxGbZ8CkmYw9zjkB7jutzOROArsqtncEA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-compilation-targets": "^7.27.2",
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/plugin-transform-destructuring": "^7.28.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/plugin-transform-destructuring": "^7.28.5",
"@babel/plugin-transform-parameters": "^7.27.7",
- "@babel/traverse": "^7.28.4"
+ "@babel/traverse": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1324,13 +1374,13 @@
}
},
"node_modules/@babel/plugin-transform-optional-catch-binding": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.27.1.tgz",
- "integrity": "sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.28.6.tgz",
+ "integrity": "sha512-R8ja/Pyrv0OGAvAXQhSTmWyPJPml+0TMqXlO5w+AsMEiwb2fg3WkOvob7UxFSL3OIttFSGSRFKQsOhJ/X6HQdQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1340,13 +1390,13 @@
}
},
"node_modules/@babel/plugin-transform-optional-chaining": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.5.tgz",
- "integrity": "sha512-N6fut9IZlPnjPwgiQkXNhb+cT8wQKFlJNqcZkWlcTqkcqx6/kU4ynGmLFoa4LViBSirn05YAwk+sQBbPfxtYzQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.6.tgz",
+ "integrity": "sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-skip-transparent-expression-wrappers": "^7.27.1"
},
"engines": {
@@ -1373,14 +1423,14 @@
}
},
"node_modules/@babel/plugin-transform-private-methods": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.27.1.tgz",
- "integrity": "sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.28.6.tgz",
+ "integrity": "sha512-piiuapX9CRv7+0st8lmuUlRSmX6mBcVeNQ1b4AYzJxfCMuBfB0vBXDiGSmm03pKJw1v6cZ8KSeM+oUnM6yAExg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1390,15 +1440,15 @@
}
},
"node_modules/@babel/plugin-transform-private-property-in-object": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.27.1.tgz",
- "integrity": "sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.28.6.tgz",
+ "integrity": "sha512-b97jvNSOb5+ehyQmBpmhOCiUC5oVK4PMnpRvO7+ymFBoqYjeDHIU9jnrNUuwHOiL9RpGDoKBpSViarV+BU+eVA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.27.1",
- "@babel/helper-create-class-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1424,13 +1474,13 @@
}
},
"node_modules/@babel/plugin-transform-regenerator": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.28.4.tgz",
- "integrity": "sha512-+ZEdQlBoRg9m2NnzvEeLgtvBMO4tkFBw5SQIUgLICgTrumLoU7lr+Oghi6km2PFj+dbUt2u1oby2w3BDO9YQnA==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.29.0.tgz",
+ "integrity": "sha512-FijqlqMA7DmRdg/aINBSs04y8XNTYw/lr1gJ2WsmBnnaNw1iS43EPkJW+zK7z65auG3AWRFXWj+NcTQwYptUog==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1440,14 +1490,14 @@
}
},
"node_modules/@babel/plugin-transform-regexp-modifiers": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.27.1.tgz",
- "integrity": "sha512-TtEciroaiODtXvLZv4rmfMhkCv8jx3wgKpL68PuiPh2M4fvz5jhsA7697N1gMvkvr/JTF13DrFYyEbY9U7cVPA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.28.6.tgz",
+ "integrity": "sha512-QGWAepm9qxpaIs7UM9FvUSnCGlb8Ua1RhyM4/veAxLwt3gMat/LSGrZixyuj4I6+Kn9iwvqCyPTtbdxanYoWYg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1489,13 +1539,13 @@
}
},
"node_modules/@babel/plugin-transform-spread": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.27.1.tgz",
- "integrity": "sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.28.6.tgz",
+ "integrity": "sha512-9U4QObUC0FtJl05AsUcodau/RWDytrU6uKgkxu09mLR9HLDAtUMoPuuskm5huQsoktmsYpI+bGmq+iapDcriKA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-skip-transparent-expression-wrappers": "^7.27.1"
},
"engines": {
@@ -1553,6 +1603,26 @@
"@babel/core": "^7.0.0-0"
}
},
+ "node_modules/@babel/plugin-transform-typescript": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.6.tgz",
+ "integrity": "sha512-0YWL2RFxOqEm9Efk5PvreamxPME8OyY0wM5wh5lHjF+VtVhdneCWGzZeSqzOfiobVqQaNCd2z0tQvnI9DaPWPw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
+ "@babel/plugin-syntax-typescript": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
"node_modules/@babel/plugin-transform-unicode-escapes": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.27.1.tgz",
@@ -1570,14 +1640,14 @@
}
},
"node_modules/@babel/plugin-transform-unicode-property-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.27.1.tgz",
- "integrity": "sha512-uW20S39PnaTImxp39O5qFlHLS9LJEmANjMG7SxIhap8rCHqu0Ik+tLEPX5DKmHn6CsWQ7j3lix2tFOa5YtL12Q==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.28.6.tgz",
+ "integrity": "sha512-4Wlbdl/sIZjzi/8St0evF0gEZrgOswVO6aOzqxh1kDZOl9WmLrHq2HtGhnOJZmHZYKP8WZ1MDLCt5DAWwRo57A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1604,14 +1674,14 @@
}
},
"node_modules/@babel/plugin-transform-unicode-sets-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.27.1.tgz",
- "integrity": "sha512-EtkOujbc4cgvb0mlpQefi4NTPBzhSIevblFevACNLUspmrALgmEBdL/XfnyyITfd8fKBZrZys92zOWcik7j9Tw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.28.6.tgz",
+ "integrity": "sha512-/wHc/paTUmsDYN7SZkpWxogTOBNnlx7nBQYfy6JJlCT7G3mVhltk3e++N7zV0XfgGsrqBxd4rJQt9H16I21Y1Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
@@ -1621,81 +1691,81 @@
}
},
"node_modules/@babel/preset-env": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.28.5.tgz",
- "integrity": "sha512-S36mOoi1Sb6Fz98fBfE+UZSpYw5mJm0NUHtIKrOuNcqeFauy1J6dIvXm2KRVKobOSaGq4t/hBXdN4HGU3wL9Wg==",
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.29.2.tgz",
+ "integrity": "sha512-DYD23veRYGvBFhcTY1iUvJnDNpuqNd/BzBwCvzOTKUnJjKg5kpUBh3/u9585Agdkgj+QuygG7jLfOPWMa2KVNw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/compat-data": "^7.28.5",
- "@babel/helper-compilation-targets": "^7.27.2",
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/compat-data": "^7.29.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-validator-option": "^7.27.1",
"@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.28.5",
"@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.27.1",
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.27.1",
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.27.1",
- "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.28.3",
+ "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.28.6",
"@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2",
- "@babel/plugin-syntax-import-assertions": "^7.27.1",
- "@babel/plugin-syntax-import-attributes": "^7.27.1",
+ "@babel/plugin-syntax-import-assertions": "^7.28.6",
+ "@babel/plugin-syntax-import-attributes": "^7.28.6",
"@babel/plugin-syntax-unicode-sets-regex": "^7.18.6",
"@babel/plugin-transform-arrow-functions": "^7.27.1",
- "@babel/plugin-transform-async-generator-functions": "^7.28.0",
- "@babel/plugin-transform-async-to-generator": "^7.27.1",
+ "@babel/plugin-transform-async-generator-functions": "^7.29.0",
+ "@babel/plugin-transform-async-to-generator": "^7.28.6",
"@babel/plugin-transform-block-scoped-functions": "^7.27.1",
- "@babel/plugin-transform-block-scoping": "^7.28.5",
- "@babel/plugin-transform-class-properties": "^7.27.1",
- "@babel/plugin-transform-class-static-block": "^7.28.3",
- "@babel/plugin-transform-classes": "^7.28.4",
- "@babel/plugin-transform-computed-properties": "^7.27.1",
+ "@babel/plugin-transform-block-scoping": "^7.28.6",
+ "@babel/plugin-transform-class-properties": "^7.28.6",
+ "@babel/plugin-transform-class-static-block": "^7.28.6",
+ "@babel/plugin-transform-classes": "^7.28.6",
+ "@babel/plugin-transform-computed-properties": "^7.28.6",
"@babel/plugin-transform-destructuring": "^7.28.5",
- "@babel/plugin-transform-dotall-regex": "^7.27.1",
+ "@babel/plugin-transform-dotall-regex": "^7.28.6",
"@babel/plugin-transform-duplicate-keys": "^7.27.1",
- "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.27.1",
+ "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.29.0",
"@babel/plugin-transform-dynamic-import": "^7.27.1",
- "@babel/plugin-transform-explicit-resource-management": "^7.28.0",
- "@babel/plugin-transform-exponentiation-operator": "^7.28.5",
+ "@babel/plugin-transform-explicit-resource-management": "^7.28.6",
+ "@babel/plugin-transform-exponentiation-operator": "^7.28.6",
"@babel/plugin-transform-export-namespace-from": "^7.27.1",
"@babel/plugin-transform-for-of": "^7.27.1",
"@babel/plugin-transform-function-name": "^7.27.1",
- "@babel/plugin-transform-json-strings": "^7.27.1",
+ "@babel/plugin-transform-json-strings": "^7.28.6",
"@babel/plugin-transform-literals": "^7.27.1",
- "@babel/plugin-transform-logical-assignment-operators": "^7.28.5",
+ "@babel/plugin-transform-logical-assignment-operators": "^7.28.6",
"@babel/plugin-transform-member-expression-literals": "^7.27.1",
"@babel/plugin-transform-modules-amd": "^7.27.1",
- "@babel/plugin-transform-modules-commonjs": "^7.27.1",
- "@babel/plugin-transform-modules-systemjs": "^7.28.5",
+ "@babel/plugin-transform-modules-commonjs": "^7.28.6",
+ "@babel/plugin-transform-modules-systemjs": "^7.29.0",
"@babel/plugin-transform-modules-umd": "^7.27.1",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.27.1",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.29.0",
"@babel/plugin-transform-new-target": "^7.27.1",
- "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",
- "@babel/plugin-transform-numeric-separator": "^7.27.1",
- "@babel/plugin-transform-object-rest-spread": "^7.28.4",
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6",
+ "@babel/plugin-transform-numeric-separator": "^7.28.6",
+ "@babel/plugin-transform-object-rest-spread": "^7.28.6",
"@babel/plugin-transform-object-super": "^7.27.1",
- "@babel/plugin-transform-optional-catch-binding": "^7.27.1",
- "@babel/plugin-transform-optional-chaining": "^7.28.5",
+ "@babel/plugin-transform-optional-catch-binding": "^7.28.6",
+ "@babel/plugin-transform-optional-chaining": "^7.28.6",
"@babel/plugin-transform-parameters": "^7.27.7",
- "@babel/plugin-transform-private-methods": "^7.27.1",
- "@babel/plugin-transform-private-property-in-object": "^7.27.1",
+ "@babel/plugin-transform-private-methods": "^7.28.6",
+ "@babel/plugin-transform-private-property-in-object": "^7.28.6",
"@babel/plugin-transform-property-literals": "^7.27.1",
- "@babel/plugin-transform-regenerator": "^7.28.4",
- "@babel/plugin-transform-regexp-modifiers": "^7.27.1",
+ "@babel/plugin-transform-regenerator": "^7.29.0",
+ "@babel/plugin-transform-regexp-modifiers": "^7.28.6",
"@babel/plugin-transform-reserved-words": "^7.27.1",
"@babel/plugin-transform-shorthand-properties": "^7.27.1",
- "@babel/plugin-transform-spread": "^7.27.1",
+ "@babel/plugin-transform-spread": "^7.28.6",
"@babel/plugin-transform-sticky-regex": "^7.27.1",
"@babel/plugin-transform-template-literals": "^7.27.1",
"@babel/plugin-transform-typeof-symbol": "^7.27.1",
"@babel/plugin-transform-unicode-escapes": "^7.27.1",
- "@babel/plugin-transform-unicode-property-regex": "^7.27.1",
+ "@babel/plugin-transform-unicode-property-regex": "^7.28.6",
"@babel/plugin-transform-unicode-regex": "^7.27.1",
- "@babel/plugin-transform-unicode-sets-regex": "^7.27.1",
+ "@babel/plugin-transform-unicode-sets-regex": "^7.28.6",
"@babel/preset-modules": "0.1.6-no-external-plugins",
- "babel-plugin-polyfill-corejs2": "^0.4.14",
- "babel-plugin-polyfill-corejs3": "^0.13.0",
- "babel-plugin-polyfill-regenerator": "^0.6.5",
- "core-js-compat": "^3.43.0",
+ "babel-plugin-polyfill-corejs2": "^0.4.15",
+ "babel-plugin-polyfill-corejs3": "^0.14.0",
+ "babel-plugin-polyfill-regenerator": "^0.6.6",
+ "core-js-compat": "^3.48.0",
"semver": "^6.3.1"
},
"engines": {
@@ -1731,32 +1801,33 @@
}
},
"node_modules/@babel/template": {
- "version": "7.27.2",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz",
- "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz",
+ "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.27.1",
- "@babel/parser": "^7.27.2",
- "@babel/types": "^7.27.1"
+ "@babel/code-frame": "^7.28.6",
+ "@babel/parser": "^7.28.6",
+ "@babel/types": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/traverse": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz",
- "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.0.tgz",
+ "integrity": "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.27.1",
- "@babel/generator": "^7.28.5",
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
"@babel/helper-globals": "^7.28.0",
- "@babel/parser": "^7.28.5",
- "@babel/template": "^7.27.2",
- "@babel/types": "^7.28.5",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0",
"debug": "^4.3.1"
},
"engines": {
@@ -1764,12 +1835,13 @@
}
},
"node_modules/@babel/traverse/node_modules/debug": {
- "version": "4.3.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
- "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "ms": "2.1.2"
+ "ms": "^2.1.3"
},
"engines": {
"node": ">=6.0"
@@ -1780,16 +1852,10 @@
}
}
},
- "node_modules/@babel/traverse/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
"node_modules/@babel/types": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz",
- "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
+ "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2576,6 +2642,12 @@
"integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",
"optional": true
},
+ "node_modules/@types/underscore": {
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/@types/underscore/-/underscore-1.13.0.tgz",
+ "integrity": "sha512-L6LBgy1f0EFQZ+7uSA57+n2g/s4Qs5r06Vwrwn0/nuK1de+adz00NWaztRQ30aEqw5qOaWbPI8u2cGQ52lj6VA==",
+ "dev": true
+ },
"node_modules/@types/yauzl": {
"version": "2.10.3",
"resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",
@@ -3038,14 +3110,14 @@
}
},
"node_modules/babel-plugin-polyfill-corejs2": {
- "version": "0.4.14",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.14.tgz",
- "integrity": "sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==",
+ "version": "0.4.17",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.17.tgz",
+ "integrity": "sha512-aTyf30K/rqAsNwN76zYrdtx8obu0E4KoUME29B1xj+B3WxgvWkp943vYQ+z8Mv3lw9xHXMHpvSPOBxzAkIa94w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/compat-data": "^7.27.7",
- "@babel/helper-define-polyfill-provider": "^0.6.5",
+ "@babel/compat-data": "^7.28.6",
+ "@babel/helper-define-polyfill-provider": "^0.6.8",
"semver": "^6.3.1"
},
"peerDependencies": {
@@ -3063,27 +3135,27 @@
}
},
"node_modules/babel-plugin-polyfill-corejs3": {
- "version": "0.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.13.0.tgz",
- "integrity": "sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==",
+ "version": "0.14.2",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.14.2.tgz",
+ "integrity": "sha512-coWpDLJ410R781Npmn/SIBZEsAetR4xVi0SxLMXPaMO4lSf1MwnkGYMtkFxew0Dn8B3/CpbpYxN0JCgg8mn67g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.6.5",
- "core-js-compat": "^3.43.0"
+ "@babel/helper-define-polyfill-provider": "^0.6.8",
+ "core-js-compat": "^3.48.0"
},
"peerDependencies": {
"@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
}
},
"node_modules/babel-plugin-polyfill-regenerator": {
- "version": "0.6.5",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.5.tgz",
- "integrity": "sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==",
+ "version": "0.6.8",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.8.tgz",
+ "integrity": "sha512-M762rNHfSF1EV3SLtnCJXFoQbbIIz0OyRwnCmV0KPC7qosSfCO0QLTSuJX3ayAebubhE6oYBAYPrBA5ljowaZg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.6.5"
+ "@babel/helper-define-polyfill-provider": "^0.6.8"
},
"peerDependencies": {
"@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
@@ -3140,13 +3212,16 @@
"license": "MIT"
},
"node_modules/baseline-browser-mapping": {
- "version": "2.9.2",
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.2.tgz",
- "integrity": "sha512-PxSsosKQjI38iXkmb3d0Y32efqyA0uW4s41u4IVBsLlWLhCiYNpH/AfNOVWRqCQBlD8TFJTz6OUWNd4DFJCnmw==",
+ "version": "2.10.19",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.19.tgz",
+ "integrity": "sha512-qCkNLi2sfBOn8XhZQ0FXsT1Ki/Yo5P90hrkRamVFRS7/KV9hpfA4HkoWNU152+8w0zPjnxo5psx5NL3PSGgv5g==",
"dev": true,
"license": "Apache-2.0",
"bin": {
- "baseline-browser-mapping": "dist/cli.js"
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
}
},
"node_modules/basic-ftp": {
@@ -3289,9 +3364,9 @@
}
},
"node_modules/browserslist": {
- "version": "4.28.1",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz",
- "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==",
+ "version": "4.28.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz",
+ "integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==",
"dev": true,
"funding": [
{
@@ -3309,11 +3384,11 @@
],
"license": "MIT",
"dependencies": {
- "baseline-browser-mapping": "^2.9.0",
- "caniuse-lite": "^1.0.30001759",
- "electron-to-chromium": "^1.5.263",
- "node-releases": "^2.0.27",
- "update-browserslist-db": "^1.2.0"
+ "baseline-browser-mapping": "^2.10.12",
+ "caniuse-lite": "^1.0.30001782",
+ "electron-to-chromium": "^1.5.328",
+ "node-releases": "^2.0.36",
+ "update-browserslist-db": "^1.2.3"
},
"bin": {
"browserslist": "cli.js"
@@ -3357,8 +3432,12 @@
}
},
"node_modules/bullbone": {
- "version": "1.3.3",
- "resolved": "git+ssh://[email protected]/espocrm/bullbone.git#6f36d050687cac7f23a90fe9134be02657778fea"
+ "version": "1.4.0",
+ "resolved": "git+ssh://[email protected]/espocrm/bullbone.git#de477aea3dae34a5f943f5a6b1a39968f7b18077",
+ "license": "AGPL",
+ "dependencies": {
+ "snabbdom": "^3.6.3"
+ }
},
"node_modules/bytes": {
"version": "3.1.2",
@@ -3401,9 +3480,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001759",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001759.tgz",
- "integrity": "sha512-Pzfx9fOKoKvevQf8oCXoyNRQ5QyxJj+3O0Rqx2V5oxT61KGx8+n6hV/IUyJeifUci2clnmmKVpvtiqRzgiWjSw==",
+ "version": "1.0.30001788",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001788.tgz",
+ "integrity": "sha512-6q8HFp+lOQtcf7wBK+uEenxymVWkGKkjFpCvw5W25cmMwEDU45p1xQFBQv8JDlMMry7eNxyBaR+qxgmTUZkIRQ==",
"dev": true,
"funding": [
{
@@ -3745,13 +3824,13 @@
}
},
"node_modules/core-js-compat": {
- "version": "3.47.0",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.47.0.tgz",
- "integrity": "sha512-IGfuznZ/n7Kp9+nypamBhvwdwLsW6KC8IOaURw2doAK5e98AG3acVLdh0woOnEqCfUtS+Vu882JE4k/DAm3ItQ==",
+ "version": "3.49.0",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.49.0.tgz",
+ "integrity": "sha512-VQXt1jr9cBz03b331DFDCCP90b3fanciLkgiOoy8SBHy06gNf+vQ1A3WFLqG7I8TipYIKeYK9wxd0tUrvHcOZA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "browserslist": "^4.28.0"
+ "browserslist": "^4.28.1"
},
"funding": {
"type": "opencollective",
@@ -4066,9 +4145,9 @@
}
},
"node_modules/electron-to-chromium": {
- "version": "1.5.266",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.266.tgz",
- "integrity": "sha512-kgWEglXvkEfMH7rxP5OSZZwnaDWT7J9EoZCujhnpLbfi0bbNtRkgdX2E3gt0Uer11c61qCYktB3hwkAS325sJg==",
+ "version": "1.5.340",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.340.tgz",
+ "integrity": "sha512-908qahOGocRMinT2nM3ajCEM99H4iPdv84eagPP3FfZy/1ZGeOy2CZYzjhms81ckOPCXPlW7LkY4XpxD8r1DrA==",
"dev": true,
"license": "ISC"
},
@@ -4203,127 +4282,26 @@
}
},
"node_modules/espo-frontend-build-tools": {
- "version": "0.2.3",
- "resolved": "git+ssh://[email protected]/espocrm/frontend-build-tools.git#757548e350d2b637598d0b5a9c97ebdbda5f6390",
+ "version": "0.3.0",
+ "resolved": "git+ssh://[email protected]/espocrm/frontend-build-tools.git#893583ada55b9194e6b085d6225298d06224f0a1",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/cli": "^7.28",
- "@babel/core": "^7.28",
- "@babel/plugin-proposal-decorators": "^7.28",
- "@babel/plugin-transform-modules-amd": "^7.27",
- "@babel/preset-env": "^7.28",
- "glob": "^12",
- "handlebars": "^4.7.8",
- "typescript": "^4"
+ "@babel/cli": "^7.28.6",
+ "@babel/core": "^7.29.0",
+ "@babel/plugin-proposal-decorators": "^7.29.0",
+ "@babel/plugin-transform-modules-amd": "^7.27.1",
+ "@babel/plugin-transform-typescript": "^7.28.6",
+ "@babel/preset-env": "^7.29.2",
+ "glob": "^13.0.6",
+ "handlebars": "^4.7.9",
+ "typescript": "^6"
},
"engines": {
- "node": ">=18",
+ "node": ">=20",
"npm": ">=8"
}
},
- "node_modules/espo-frontend-build-tools/node_modules/balanced-match": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.3.tgz",
- "integrity": "sha512-1pHv8LX9CpKut1Zp4EXey7Z8OfH11ONNH6Dhi2WDUt31VVZFXZzKwXcysBgqSumFCmR+0dqjMK5v5JiFHzi0+g==",
- "dev": true,
- "engines": {
- "node": "20 || >=22"
- }
- },
- "node_modules/espo-frontend-build-tools/node_modules/brace-expansion": {
- "version": "5.0.5",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
- "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "balanced-match": "^4.0.2"
- },
- "engines": {
- "node": "18 || 20 || >=22"
- }
- },
- "node_modules/espo-frontend-build-tools/node_modules/glob": {
- "version": "12.0.0",
- "resolved": "https://registry.npmjs.org/glob/-/glob-12.0.0.tgz",
- "integrity": "sha512-5Qcll1z7IKgHr5g485ePDdHcNQY0k2dtv/bjYy0iuyGxQw2qSOiiXUXJ+AYQpg3HNoUMHqAruX478Jeev7UULw==",
- "dev": true,
- "license": "BlueOak-1.0.0",
- "dependencies": {
- "foreground-child": "^3.3.1",
- "jackspeak": "^4.1.1",
- "minimatch": "^10.1.1",
- "minipass": "^7.1.2",
- "package-json-from-dist": "^1.0.0",
- "path-scurry": "^2.0.0"
- },
- "bin": {
- "glob": "dist/esm/bin.mjs"
- },
- "engines": {
- "node": "20 || >=22"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/espo-frontend-build-tools/node_modules/lru-cache": {
- "version": "11.2.4",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz",
- "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==",
- "dev": true,
- "license": "BlueOak-1.0.0",
- "engines": {
- "node": "20 || >=22"
- }
- },
- "node_modules/espo-frontend-build-tools/node_modules/minimatch": {
- "version": "10.2.4",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
- "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
- "dev": true,
- "license": "BlueOak-1.0.0",
- "dependencies": {
- "brace-expansion": "^5.0.2"
- },
- "engines": {
- "node": "18 || 20 || >=22"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/espo-frontend-build-tools/node_modules/path-scurry": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz",
- "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==",
- "dev": true,
- "license": "BlueOak-1.0.0",
- "dependencies": {
- "lru-cache": "^11.0.0",
- "minipass": "^7.1.2"
- },
- "engines": {
- "node": "20 || >=22"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/espo-frontend-build-tools/node_modules/typescript": {
- "version": "4.9.5",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz",
- "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==",
- "dev": true,
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
- },
- "engines": {
- "node": ">=4.2.0"
- }
- },
"node_modules/espo-funnel-chart": {
"version": "1.1.1",
"resolved": "git+ssh://[email protected]/yurikuzn/espo-funnel-chart.git#3dd9c7685cb9c1e4d9afed3ba962d2b61c28678d",
@@ -6045,31 +6023,15 @@
"node_modules/isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
- "dev": true
- },
- "node_modules/isobject": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
- "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/jackspeak": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz",
- "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==",
- "dev": true,
- "license": "BlueOak-1.0.0",
- "dependencies": {
- "@isaacs/cliui": "^8.0.2"
- },
+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
+ "dev": true
+ },
+ "node_modules/isobject": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
+ "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
"engines": {
- "node": "20 || >=22"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "node": ">=0.10.0"
}
},
"node_modules/jake": {
@@ -6211,7 +6173,8 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/js-yaml": {
"version": "4.1.1",
@@ -6794,9 +6757,9 @@
}
},
"node_modules/node-releases": {
- "version": "2.0.27",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz",
- "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==",
+ "version": "2.0.37",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.37.tgz",
+ "integrity": "sha512-1h5gKZCF+pO/o3Iqt5Jp7wc9rH3eJJ0+nh/CIoiRwjRxde/hAHyLPXYN4V3CqKAbiZPSeJFSWHmJsbkicta0Eg==",
"dev": true,
"license": "MIT"
},
@@ -7490,9 +7453,9 @@
"license": "MIT"
},
"node_modules/regjsparser": {
- "version": "0.13.0",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.0.tgz",
- "integrity": "sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==",
+ "version": "0.13.1",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.1.tgz",
+ "integrity": "sha512-dLsljMd9sqwRkby8zhO1gSg3PnJIBFid8f4CQj/sXx+7cKx+E7u0PKhZ+U4wmhx7EfmtvnA318oVaIkAB1lRJw==",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -7904,6 +7867,15 @@
"npm": ">= 3.0.0"
}
},
+ "node_modules/snabbdom": {
+ "version": "3.6.3",
+ "resolved": "https://registry.npmjs.org/snabbdom/-/snabbdom-3.6.3.tgz",
+ "integrity": "sha512-W2lHLLw2qR2Vv0DcMmcxXqcfdBaIcoN+y/86SmHv8fn4DazEQSH6KN3TjZcWvwujW56OHiiirsbHWZb4vx/0fg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.17.0"
+ }
+ },
"node_modules/socks": {
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz",
@@ -8294,6 +8266,20 @@
"node": ">= 0.6"
}
},
+ "node_modules/typescript": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
+ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
"node_modules/uglify-js": {
"version": "3.19.3",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz",
@@ -8409,9 +8395,9 @@
}
},
"node_modules/update-browserslist-db": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.2.tgz",
- "integrity": "sha512-E85pfNzMQ9jpKkA7+TJAi4TJN+tBCuWh5rUcS/sv6cFi+1q9LYDwDI5dpUL0u/73EElyQ8d3TEaeW4sPedBqYA==",
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
+ "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
"dev": true,
"funding": [
{
@@ -8844,37 +8830,37 @@
}
},
"@babel/code-frame": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
- "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",
+ "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",
"dev": true,
"requires": {
- "@babel/helper-validator-identifier": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.28.5",
"js-tokens": "^4.0.0",
"picocolors": "^1.1.1"
}
},
"@babel/compat-data": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.5.tgz",
- "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.0.tgz",
+ "integrity": "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==",
"dev": true
},
"@babel/core": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.5.tgz",
- "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==",
- "dev": true,
- "requires": {
- "@babel/code-frame": "^7.27.1",
- "@babel/generator": "^7.28.5",
- "@babel/helper-compilation-targets": "^7.27.2",
- "@babel/helper-module-transforms": "^7.28.3",
- "@babel/helpers": "^7.28.4",
- "@babel/parser": "^7.28.5",
- "@babel/template": "^7.27.2",
- "@babel/traverse": "^7.28.5",
- "@babel/types": "^7.28.5",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz",
+ "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helpers": "^7.28.6",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/traverse": "^7.29.0",
+ "@babel/types": "^7.29.0",
"@jridgewell/remapping": "^2.3.5",
"convert-source-map": "^2.0.0",
"debug": "^4.1.0",
@@ -8907,13 +8893,13 @@
}
},
"@babel/generator": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz",
- "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==",
+ "version": "7.29.1",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz",
+ "integrity": "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==",
"dev": true,
"requires": {
- "@babel/parser": "^7.28.5",
- "@babel/types": "^7.28.5",
+ "@babel/parser": "^7.29.0",
+ "@babel/types": "^7.29.0",
"@jridgewell/gen-mapping": "^0.3.12",
"@jridgewell/trace-mapping": "^0.3.28",
"jsesc": "^3.0.2"
@@ -8929,12 +8915,12 @@
}
},
"@babel/helper-compilation-targets": {
- "version": "7.27.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz",
- "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz",
+ "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==",
"dev": true,
"requires": {
- "@babel/compat-data": "^7.27.2",
+ "@babel/compat-data": "^7.28.6",
"@babel/helper-validator-option": "^7.27.1",
"browserslist": "^4.24.0",
"lru-cache": "^5.1.1",
@@ -8965,17 +8951,17 @@
}
},
"@babel/helper-create-class-features-plugin": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.5.tgz",
- "integrity": "sha512-q3WC4JfdODypvxArsJQROfupPBq9+lMwjKq7C33GhbFYJsufD0yd/ziwD+hJucLeWsnFPWZjsU2DNFqBPE7jwQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.6.tgz",
+ "integrity": "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow==",
"dev": true,
"requires": {
"@babel/helper-annotate-as-pure": "^7.27.3",
"@babel/helper-member-expression-to-functions": "^7.28.5",
"@babel/helper-optimise-call-expression": "^7.27.1",
- "@babel/helper-replace-supers": "^7.27.1",
+ "@babel/helper-replace-supers": "^7.28.6",
"@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
- "@babel/traverse": "^7.28.5",
+ "@babel/traverse": "^7.28.6",
"semver": "^6.3.1"
},
"dependencies": {
@@ -9007,16 +8993,16 @@
}
},
"@babel/helper-define-polyfill-provider": {
- "version": "0.6.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.5.tgz",
- "integrity": "sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==",
+ "version": "0.6.8",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.8.tgz",
+ "integrity": "sha512-47UwBLPpQi1NoWzLuHNjRoHlYXMwIJoBf7MFou6viC/sIHWYygpvr0B6IAyh5sBdA2nr2LPIRww8lfaUVQINBA==",
"dev": true,
"requires": {
- "@babel/helper-compilation-targets": "^7.27.2",
- "@babel/helper-plugin-utils": "^7.27.1",
- "debug": "^4.4.1",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "debug": "^4.4.3",
"lodash.debounce": "^4.0.8",
- "resolve": "^1.22.10"
+ "resolve": "^1.22.11"
},
"dependencies": {
"debug": {
@@ -9027,6 +9013,18 @@
"requires": {
"ms": "^2.1.3"
}
+ },
+ "resolve": {
+ "version": "1.22.12",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",
+ "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",
+ "dev": true,
+ "requires": {
+ "es-errors": "^1.3.0",
+ "is-core-module": "^2.16.1",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ }
}
}
},
@@ -9047,24 +9045,24 @@
}
},
"@babel/helper-module-imports": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz",
- "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz",
+ "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==",
"dev": true,
"requires": {
- "@babel/traverse": "^7.27.1",
- "@babel/types": "^7.27.1"
+ "@babel/traverse": "^7.28.6",
+ "@babel/types": "^7.28.6"
}
},
"@babel/helper-module-transforms": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz",
- "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz",
+ "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==",
"dev": true,
"requires": {
- "@babel/helper-module-imports": "^7.27.1",
- "@babel/helper-validator-identifier": "^7.27.1",
- "@babel/traverse": "^7.28.3"
+ "@babel/helper-module-imports": "^7.28.6",
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "@babel/traverse": "^7.28.6"
}
},
"@babel/helper-optimise-call-expression": {
@@ -9077,9 +9075,9 @@
}
},
"@babel/helper-plugin-utils": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz",
- "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz",
+ "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==",
"dev": true
},
"@babel/helper-remap-async-to-generator": {
@@ -9094,14 +9092,14 @@
}
},
"@babel/helper-replace-supers": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz",
- "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.28.6.tgz",
+ "integrity": "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg==",
"dev": true,
"requires": {
- "@babel/helper-member-expression-to-functions": "^7.27.1",
+ "@babel/helper-member-expression-to-functions": "^7.28.5",
"@babel/helper-optimise-call-expression": "^7.27.1",
- "@babel/traverse": "^7.27.1"
+ "@babel/traverse": "^7.28.6"
}
},
"@babel/helper-skip-transparent-expression-wrappers": {
@@ -9133,33 +9131,33 @@
"dev": true
},
"@babel/helper-wrap-function": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.28.3.tgz",
- "integrity": "sha512-zdf983tNfLZFletc0RRXYrHrucBEg95NIFMkn6K9dbeMYnsgHaSBGcQqdsCSStG2PYwRre0Qc2NNSCXbG+xc6g==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.28.6.tgz",
+ "integrity": "sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ==",
"dev": true,
"requires": {
- "@babel/template": "^7.27.2",
- "@babel/traverse": "^7.28.3",
- "@babel/types": "^7.28.2"
+ "@babel/template": "^7.28.6",
+ "@babel/traverse": "^7.28.6",
+ "@babel/types": "^7.28.6"
}
},
"@babel/helpers": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz",
- "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==",
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.2.tgz",
+ "integrity": "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==",
"dev": true,
"requires": {
- "@babel/template": "^7.27.2",
- "@babel/types": "^7.28.4"
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0"
}
},
"@babel/parser": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz",
- "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==",
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.2.tgz",
+ "integrity": "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==",
"dev": true,
"requires": {
- "@babel/types": "^7.28.5"
+ "@babel/types": "^7.29.0"
}
},
"@babel/plugin-bugfix-firefox-class-in-computed-class-key": {
@@ -9202,24 +9200,24 @@
}
},
"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.28.3.tgz",
- "integrity": "sha512-b6YTX108evsvE4YgWyQ921ZAFFQm3Bn+CA3+ZXlNVnPhx+UfsVURoPjfGAPCjBgrqo30yX/C2nZGX96DxvR9Iw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.28.6.tgz",
+ "integrity": "sha512-a0aBScVTlNaiUe35UtfxAN7A/tehvvG4/ByO6+46VPKTRSlfnAFsgKy0FUh+qAkQrDTmhDkT+IBOKlOoMUxQ0g==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/traverse": "^7.28.3"
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/traverse": "^7.28.6"
}
},
"@babel/plugin-proposal-decorators": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.28.0.tgz",
- "integrity": "sha512-zOiZqvANjWDUaUS9xMxbMcK/Zccztbe/6ikvUXaG9nsPH3w6qh5UaPGAnirI/WhIbZ8m3OHU0ReyPrknG+ZKeg==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.29.0.tgz",
+ "integrity": "sha512-CVBVv3VY/XRMxRYq5dwr2DS7/MvqPm23cOCjbwNnVrfOqcWlnefua1uUs0sjdKOGjvPUG633o07uWzJq4oI6dA==",
"dev": true,
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/plugin-syntax-decorators": "^7.27.1"
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/plugin-syntax-decorators": "^7.28.6"
}
},
"@babel/plugin-proposal-private-property-in-object": {
@@ -9230,30 +9228,39 @@
"requires": {}
},
"@babel/plugin-syntax-decorators": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.27.1.tgz",
- "integrity": "sha512-YMq8Z87Lhl8EGkmb0MwYkt36QnxC+fzCgrl66ereamPlYToRpIk5nUjKUY3QKLWq8mwUB1BgbeXcTJhZOCDg5A==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.28.6.tgz",
+ "integrity": "sha512-71EYI0ONURHJBL4rSFXnITXqXrrY8q4P0q006DPfN+Rk+ASM+++IBXem/ruokgBZR8YNEWZ8R6B+rCb8VcUTqA==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-syntax-import-assertions": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.27.1.tgz",
- "integrity": "sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.28.6.tgz",
+ "integrity": "sha512-pSJUpFHdx9z5nqTSirOCMtYVP2wFgoWhP0p3g8ONK/4IHhLIBd0B9NYqAvIUAhq+OkhO4VM1tENCt0cjlsNShw==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-syntax-import-attributes": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz",
- "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.28.6.tgz",
+ "integrity": "sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
+ }
+ },
+ "@babel/plugin-syntax-typescript": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.28.6.tgz",
+ "integrity": "sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-syntax-unicode-sets-regex": {
@@ -9276,24 +9283,24 @@
}
},
"@babel/plugin-transform-async-generator-functions": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.28.0.tgz",
- "integrity": "sha512-BEOdvX4+M765icNPZeidyADIvQ1m1gmunXufXxvRESy/jNNyfovIqUyE7MVgGBjWktCoJlzvFA1To2O4ymIO3Q==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.29.0.tgz",
+ "integrity": "sha512-va0VdWro4zlBr2JsXC+ofCPB2iG12wPtVGTWFx2WLDOM3nYQZZIGP82qku2eW/JR83sD+k2k+CsNtyEbUqhU6w==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-remap-async-to-generator": "^7.27.1",
- "@babel/traverse": "^7.28.0"
+ "@babel/traverse": "^7.29.0"
}
},
"@babel/plugin-transform-async-to-generator": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.27.1.tgz",
- "integrity": "sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.28.6.tgz",
+ "integrity": "sha512-ilTRcmbuXjsMmcZ3HASTe4caH5Tpo93PkTxF9oG2VZsSWsahydmcEHhix9Ik122RcTnZnUzPbmux4wh1swfv7g==",
"dev": true,
"requires": {
- "@babel/helper-module-imports": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-module-imports": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-remap-async-to-generator": "^7.27.1"
}
},
@@ -9307,56 +9314,56 @@
}
},
"@babel/plugin-transform-block-scoping": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.5.tgz",
- "integrity": "sha512-45DmULpySVvmq9Pj3X9B+62Xe+DJGov27QravQJU1LLcapR6/10i+gYVAucGGJpHBp5mYxIMK4nDAT/QDLr47g==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.6.tgz",
+ "integrity": "sha512-tt/7wOtBmwHPNMPu7ax4pdPz6shjFrmHDghvNC+FG9Qvj7D6mJcoRQIF5dy4njmxR941l6rgtvfSB2zX3VlUIw==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-class-properties": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.27.1.tgz",
- "integrity": "sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.28.6.tgz",
+ "integrity": "sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw==",
"dev": true,
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-class-static-block": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.3.tgz",
- "integrity": "sha512-LtPXlBbRoc4Njl/oh1CeD/3jC+atytbnf/UqLoqTDcEYGUPj022+rvfkbDYieUrSj3CaV4yHDByPE+T2HwfsJg==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.6.tgz",
+ "integrity": "sha512-rfQ++ghVwTWTqQ7w8qyDxL1XGihjBss4CmTgGRCTAC9RIbhVpyp4fOeZtta0Lbf+dTNIVJer6ych2ibHwkZqsQ==",
"dev": true,
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.28.3",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-classes": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.4.tgz",
- "integrity": "sha512-cFOlhIYPBv/iBoc+KS3M6et2XPtbT2HiCRfBXWtfpc9OAyostldxIf9YAYB6ypURBBbx+Qv6nyrLzASfJe+hBA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.6.tgz",
+ "integrity": "sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q==",
"dev": true,
"requires": {
"@babel/helper-annotate-as-pure": "^7.27.3",
- "@babel/helper-compilation-targets": "^7.27.2",
+ "@babel/helper-compilation-targets": "^7.28.6",
"@babel/helper-globals": "^7.28.0",
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/helper-replace-supers": "^7.27.1",
- "@babel/traverse": "^7.28.4"
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/helper-replace-supers": "^7.28.6",
+ "@babel/traverse": "^7.28.6"
}
},
"@babel/plugin-transform-computed-properties": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.27.1.tgz",
- "integrity": "sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.28.6.tgz",
+ "integrity": "sha512-bcc3k0ijhHbc2lEfpFHgx7eYw9KNXqOerKWfzbxEHUGKnS3sz9C4CNL9OiFN1297bDNfUiSO7DaLzbvHQQQ1BQ==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/template": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/template": "^7.28.6"
}
},
"@babel/plugin-transform-destructuring": {
@@ -9370,13 +9377,13 @@
}
},
"@babel/plugin-transform-dotall-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.27.1.tgz",
- "integrity": "sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.28.6.tgz",
+ "integrity": "sha512-SljjowuNKB7q5Oayv4FoPzeB74g3QgLt8IVJw9ADvWy3QnUb/01aw8I4AVv8wYnPvQz2GDDZ/g3GhcNyDBI4Bg==",
"dev": true,
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-duplicate-keys": {
@@ -9389,13 +9396,13 @@
}
},
"@babel/plugin-transform-duplicate-named-capturing-groups-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.27.1.tgz",
- "integrity": "sha512-hkGcueTEzuhB30B3eJCbCYeCaaEQOmQR0AdvzpD4LoN0GXMWzzGSuRrxR2xTnCrvNbVwK9N6/jQ92GSLfiZWoQ==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.29.0.tgz",
+ "integrity": "sha512-zBPcW2lFGxdiD8PUnPwJjag2J9otbcLQzvbiOzDxpYXyCuYX9agOwMPGn1prVH0a4qzhCKu24rlH4c1f7yA8rw==",
"dev": true,
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-dynamic-import": {
@@ -9408,22 +9415,22 @@
}
},
"@babel/plugin-transform-explicit-resource-management": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.28.0.tgz",
- "integrity": "sha512-K8nhUcn3f6iB+P3gwCv/no7OdzOZQcKchW6N389V6PD8NUWKZHzndOd9sPDVbMoBsbmjMqlB4L9fm+fEFNVlwQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.28.6.tgz",
+ "integrity": "sha512-Iao5Konzx2b6g7EPqTy40UZbcdXE126tTxVFr/nAIj+WItNxjKSYTEw3RC+A2/ZetmdJsgueL1KhaMCQHkLPIg==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/plugin-transform-destructuring": "^7.28.0"
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/plugin-transform-destructuring": "^7.28.5"
}
},
"@babel/plugin-transform-exponentiation-operator": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.28.5.tgz",
- "integrity": "sha512-D4WIMaFtwa2NizOp+dnoFjRez/ClKiC2BqqImwKd1X28nqBtZEyCYJ2ozQrrzlxAFrcrjxo39S6khe9RNDlGzw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.28.6.tgz",
+ "integrity": "sha512-WitabqiGjV/vJ0aPOLSFfNY1u9U3R7W36B03r5I2KoNix+a3sOhJ3pKFB3R5It9/UiK78NiO0KE9P21cMhlPkw==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-export-namespace-from": {
@@ -9457,12 +9464,12 @@
}
},
"@babel/plugin-transform-json-strings": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.27.1.tgz",
- "integrity": "sha512-6WVLVJiTjqcQauBhn1LkICsR2H+zm62I3h9faTDKt1qP4jn2o72tSvqMwtGFKGTpojce0gJs+76eZ2uCHRZh0Q==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.28.6.tgz",
+ "integrity": "sha512-Nr+hEN+0geQkzhbdgQVPoqr47lZbm+5fCUmO70722xJZd0Mvb59+33QLImGj6F+DkK3xgDi1YVysP8whD6FQAw==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-literals": {
@@ -9475,12 +9482,12 @@
}
},
"@babel/plugin-transform-logical-assignment-operators": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.5.tgz",
- "integrity": "sha512-axUuqnUTBuXyHGcJEVVh9pORaN6wC5bYfE7FGzPiaWa3syib9m7g+/IT/4VgCOe2Upef43PHzeAvcrVek6QuuA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.6.tgz",
+ "integrity": "sha512-+anKKair6gpi8VsM/95kmomGNMD0eLz1NQ8+Pfw5sAwWH9fGYXT50E55ZpV0pHUHWf6IUTWPM+f/7AAff+wr9A==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-member-expression-literals": {
@@ -9503,25 +9510,25 @@
}
},
"@babel/plugin-transform-modules-commonjs": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.27.1.tgz",
- "integrity": "sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.28.6.tgz",
+ "integrity": "sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA==",
"dev": true,
"requires": {
- "@babel/helper-module-transforms": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-modules-systemjs": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.28.5.tgz",
- "integrity": "sha512-vn5Jma98LCOeBy/KpeQhXcV2WZgaRUtjwQmjoBuLNlOmkg0fB5pdvYVeWRYI69wWKwK2cD1QbMiUQnoujWvrew==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.0.tgz",
+ "integrity": "sha512-PrujnVFbOdUpw4UHiVwKvKRLMMic8+eC0CuNlxjsyZUiBjhFdPsewdXCkveh2KqBA9/waD0W1b4hXSOBQJezpQ==",
"dev": true,
"requires": {
- "@babel/helper-module-transforms": "^7.28.3",
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-validator-identifier": "^7.28.5",
- "@babel/traverse": "^7.28.5"
+ "@babel/traverse": "^7.29.0"
}
},
"@babel/plugin-transform-modules-umd": {
@@ -9535,13 +9542,13 @@
}
},
"@babel/plugin-transform-named-capturing-groups-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.27.1.tgz",
- "integrity": "sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.29.0.tgz",
+ "integrity": "sha512-1CZQA5KNAD6ZYQLPw7oi5ewtDNxH/2vuCh+6SmvgDfhumForvs8a1o9n0UrEoBD8HU4djO2yWngTQlXl1NDVEQ==",
"dev": true,
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-new-target": {
@@ -9554,34 +9561,34 @@
}
},
"@babel/plugin-transform-nullish-coalescing-operator": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.27.1.tgz",
- "integrity": "sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.28.6.tgz",
+ "integrity": "sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-numeric-separator": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.27.1.tgz",
- "integrity": "sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.28.6.tgz",
+ "integrity": "sha512-SJR8hPynj8outz+SlStQSwvziMN4+Bq99it4tMIf5/Caq+3iOc0JtKyse8puvyXkk3eFRIA5ID/XfunGgO5i6w==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-object-rest-spread": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.4.tgz",
- "integrity": "sha512-373KA2HQzKhQCYiRVIRr+3MjpCObqzDlyrM6u4I201wL8Mp2wHf7uB8GhDwis03k2ti8Zr65Zyyqs1xOxUF/Ew==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.6.tgz",
+ "integrity": "sha512-5rh+JR4JBC4pGkXLAcYdLHZjXudVxWMXbB6u6+E9lRL5TrGVbHt1TjxGbZ8CkmYw9zjkB7jutzOROArsqtncEA==",
"dev": true,
"requires": {
- "@babel/helper-compilation-targets": "^7.27.2",
- "@babel/helper-plugin-utils": "^7.27.1",
- "@babel/plugin-transform-destructuring": "^7.28.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/plugin-transform-destructuring": "^7.28.5",
"@babel/plugin-transform-parameters": "^7.27.7",
- "@babel/traverse": "^7.28.4"
+ "@babel/traverse": "^7.28.6"
}
},
"@babel/plugin-transform-object-super": {
@@ -9595,21 +9602,21 @@
}
},
"@babel/plugin-transform-optional-catch-binding": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.27.1.tgz",
- "integrity": "sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.28.6.tgz",
+ "integrity": "sha512-R8ja/Pyrv0OGAvAXQhSTmWyPJPml+0TMqXlO5w+AsMEiwb2fg3WkOvob7UxFSL3OIttFSGSRFKQsOhJ/X6HQdQ==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-optional-chaining": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.5.tgz",
- "integrity": "sha512-N6fut9IZlPnjPwgiQkXNhb+cT8wQKFlJNqcZkWlcTqkcqx6/kU4ynGmLFoa4LViBSirn05YAwk+sQBbPfxtYzQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.6.tgz",
+ "integrity": "sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-skip-transparent-expression-wrappers": "^7.27.1"
}
},
@@ -9623,24 +9630,24 @@
}
},
"@babel/plugin-transform-private-methods": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.27.1.tgz",
- "integrity": "sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.28.6.tgz",
+ "integrity": "sha512-piiuapX9CRv7+0st8lmuUlRSmX6mBcVeNQ1b4AYzJxfCMuBfB0vBXDiGSmm03pKJw1v6cZ8KSeM+oUnM6yAExg==",
"dev": true,
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-private-property-in-object": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.27.1.tgz",
- "integrity": "sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.28.6.tgz",
+ "integrity": "sha512-b97jvNSOb5+ehyQmBpmhOCiUC5oVK4PMnpRvO7+ymFBoqYjeDHIU9jnrNUuwHOiL9RpGDoKBpSViarV+BU+eVA==",
"dev": true,
"requires": {
- "@babel/helper-annotate-as-pure": "^7.27.1",
- "@babel/helper-create-class-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-property-literals": {
@@ -9653,22 +9660,22 @@
}
},
"@babel/plugin-transform-regenerator": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.28.4.tgz",
- "integrity": "sha512-+ZEdQlBoRg9m2NnzvEeLgtvBMO4tkFBw5SQIUgLICgTrumLoU7lr+Oghi6km2PFj+dbUt2u1oby2w3BDO9YQnA==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.29.0.tgz",
+ "integrity": "sha512-FijqlqMA7DmRdg/aINBSs04y8XNTYw/lr1gJ2WsmBnnaNw1iS43EPkJW+zK7z65auG3AWRFXWj+NcTQwYptUog==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-regexp-modifiers": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.27.1.tgz",
- "integrity": "sha512-TtEciroaiODtXvLZv4rmfMhkCv8jx3wgKpL68PuiPh2M4fvz5jhsA7697N1gMvkvr/JTF13DrFYyEbY9U7cVPA==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.28.6.tgz",
+ "integrity": "sha512-QGWAepm9qxpaIs7UM9FvUSnCGlb8Ua1RhyM4/veAxLwt3gMat/LSGrZixyuj4I6+Kn9iwvqCyPTtbdxanYoWYg==",
"dev": true,
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-reserved-words": {
@@ -9690,12 +9697,12 @@
}
},
"@babel/plugin-transform-spread": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.27.1.tgz",
- "integrity": "sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.28.6.tgz",
+ "integrity": "sha512-9U4QObUC0FtJl05AsUcodau/RWDytrU6uKgkxu09mLR9HLDAtUMoPuuskm5huQsoktmsYpI+bGmq+iapDcriKA==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-skip-transparent-expression-wrappers": "^7.27.1"
}
},
@@ -9726,6 +9733,19 @@
"@babel/helper-plugin-utils": "^7.27.1"
}
},
+ "@babel/plugin-transform-typescript": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.6.tgz",
+ "integrity": "sha512-0YWL2RFxOqEm9Efk5PvreamxPME8OyY0wM5wh5lHjF+VtVhdneCWGzZeSqzOfiobVqQaNCd2z0tQvnI9DaPWPw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "@babel/helper-create-class-features-plugin": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
+ "@babel/plugin-syntax-typescript": "^7.28.6"
+ }
+ },
"@babel/plugin-transform-unicode-escapes": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.27.1.tgz",
@@ -9736,13 +9756,13 @@
}
},
"@babel/plugin-transform-unicode-property-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.27.1.tgz",
- "integrity": "sha512-uW20S39PnaTImxp39O5qFlHLS9LJEmANjMG7SxIhap8rCHqu0Ik+tLEPX5DKmHn6CsWQ7j3lix2tFOa5YtL12Q==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.28.6.tgz",
+ "integrity": "sha512-4Wlbdl/sIZjzi/8St0evF0gEZrgOswVO6aOzqxh1kDZOl9WmLrHq2HtGhnOJZmHZYKP8WZ1MDLCt5DAWwRo57A==",
"dev": true,
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/plugin-transform-unicode-regex": {
@@ -9756,90 +9776,90 @@
}
},
"@babel/plugin-transform-unicode-sets-regex": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.27.1.tgz",
- "integrity": "sha512-EtkOujbc4cgvb0mlpQefi4NTPBzhSIevblFevACNLUspmrALgmEBdL/XfnyyITfd8fKBZrZys92zOWcik7j9Tw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.28.6.tgz",
+ "integrity": "sha512-/wHc/paTUmsDYN7SZkpWxogTOBNnlx7nBQYfy6JJlCT7G3mVhltk3e++N7zV0XfgGsrqBxd4rJQt9H16I21Y1Q==",
"dev": true,
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.27.1",
- "@babel/helper-plugin-utils": "^7.27.1"
+ "@babel/helper-create-regexp-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.28.6"
}
},
"@babel/preset-env": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.28.5.tgz",
- "integrity": "sha512-S36mOoi1Sb6Fz98fBfE+UZSpYw5mJm0NUHtIKrOuNcqeFauy1J6dIvXm2KRVKobOSaGq4t/hBXdN4HGU3wL9Wg==",
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.29.2.tgz",
+ "integrity": "sha512-DYD23veRYGvBFhcTY1iUvJnDNpuqNd/BzBwCvzOTKUnJjKg5kpUBh3/u9585Agdkgj+QuygG7jLfOPWMa2KVNw==",
"dev": true,
"requires": {
- "@babel/compat-data": "^7.28.5",
- "@babel/helper-compilation-targets": "^7.27.2",
- "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/compat-data": "^7.29.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-validator-option": "^7.27.1",
"@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.28.5",
"@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.27.1",
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.27.1",
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.27.1",
- "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.28.3",
+ "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.28.6",
"@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2",
- "@babel/plugin-syntax-import-assertions": "^7.27.1",
- "@babel/plugin-syntax-import-attributes": "^7.27.1",
+ "@babel/plugin-syntax-import-assertions": "^7.28.6",
+ "@babel/plugin-syntax-import-attributes": "^7.28.6",
"@babel/plugin-syntax-unicode-sets-regex": "^7.18.6",
"@babel/plugin-transform-arrow-functions": "^7.27.1",
- "@babel/plugin-transform-async-generator-functions": "^7.28.0",
- "@babel/plugin-transform-async-to-generator": "^7.27.1",
+ "@babel/plugin-transform-async-generator-functions": "^7.29.0",
+ "@babel/plugin-transform-async-to-generator": "^7.28.6",
"@babel/plugin-transform-block-scoped-functions": "^7.27.1",
- "@babel/plugin-transform-block-scoping": "^7.28.5",
- "@babel/plugin-transform-class-properties": "^7.27.1",
- "@babel/plugin-transform-class-static-block": "^7.28.3",
- "@babel/plugin-transform-classes": "^7.28.4",
- "@babel/plugin-transform-computed-properties": "^7.27.1",
+ "@babel/plugin-transform-block-scoping": "^7.28.6",
+ "@babel/plugin-transform-class-properties": "^7.28.6",
+ "@babel/plugin-transform-class-static-block": "^7.28.6",
+ "@babel/plugin-transform-classes": "^7.28.6",
+ "@babel/plugin-transform-computed-properties": "^7.28.6",
"@babel/plugin-transform-destructuring": "^7.28.5",
- "@babel/plugin-transform-dotall-regex": "^7.27.1",
+ "@babel/plugin-transform-dotall-regex": "^7.28.6",
"@babel/plugin-transform-duplicate-keys": "^7.27.1",
- "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.27.1",
+ "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.29.0",
"@babel/plugin-transform-dynamic-import": "^7.27.1",
- "@babel/plugin-transform-explicit-resource-management": "^7.28.0",
- "@babel/plugin-transform-exponentiation-operator": "^7.28.5",
+ "@babel/plugin-transform-explicit-resource-management": "^7.28.6",
+ "@babel/plugin-transform-exponentiation-operator": "^7.28.6",
"@babel/plugin-transform-export-namespace-from": "^7.27.1",
"@babel/plugin-transform-for-of": "^7.27.1",
"@babel/plugin-transform-function-name": "^7.27.1",
- "@babel/plugin-transform-json-strings": "^7.27.1",
+ "@babel/plugin-transform-json-strings": "^7.28.6",
"@babel/plugin-transform-literals": "^7.27.1",
- "@babel/plugin-transform-logical-assignment-operators": "^7.28.5",
+ "@babel/plugin-transform-logical-assignment-operators": "^7.28.6",
"@babel/plugin-transform-member-expression-literals": "^7.27.1",
"@babel/plugin-transform-modules-amd": "^7.27.1",
- "@babel/plugin-transform-modules-commonjs": "^7.27.1",
- "@babel/plugin-transform-modules-systemjs": "^7.28.5",
+ "@babel/plugin-transform-modules-commonjs": "^7.28.6",
+ "@babel/plugin-transform-modules-systemjs": "^7.29.0",
"@babel/plugin-transform-modules-umd": "^7.27.1",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.27.1",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.29.0",
"@babel/plugin-transform-new-target": "^7.27.1",
- "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",
- "@babel/plugin-transform-numeric-separator": "^7.27.1",
- "@babel/plugin-transform-object-rest-spread": "^7.28.4",
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6",
+ "@babel/plugin-transform-numeric-separator": "^7.28.6",
+ "@babel/plugin-transform-object-rest-spread": "^7.28.6",
"@babel/plugin-transform-object-super": "^7.27.1",
- "@babel/plugin-transform-optional-catch-binding": "^7.27.1",
- "@babel/plugin-transform-optional-chaining": "^7.28.5",
+ "@babel/plugin-transform-optional-catch-binding": "^7.28.6",
+ "@babel/plugin-transform-optional-chaining": "^7.28.6",
"@babel/plugin-transform-parameters": "^7.27.7",
- "@babel/plugin-transform-private-methods": "^7.27.1",
- "@babel/plugin-transform-private-property-in-object": "^7.27.1",
+ "@babel/plugin-transform-private-methods": "^7.28.6",
+ "@babel/plugin-transform-private-property-in-object": "^7.28.6",
"@babel/plugin-transform-property-literals": "^7.27.1",
- "@babel/plugin-transform-regenerator": "^7.28.4",
- "@babel/plugin-transform-regexp-modifiers": "^7.27.1",
+ "@babel/plugin-transform-regenerator": "^7.29.0",
+ "@babel/plugin-transform-regexp-modifiers": "^7.28.6",
"@babel/plugin-transform-reserved-words": "^7.27.1",
"@babel/plugin-transform-shorthand-properties": "^7.27.1",
- "@babel/plugin-transform-spread": "^7.27.1",
+ "@babel/plugin-transform-spread": "^7.28.6",
"@babel/plugin-transform-sticky-regex": "^7.27.1",
"@babel/plugin-transform-template-literals": "^7.27.1",
"@babel/plugin-transform-typeof-symbol": "^7.27.1",
"@babel/plugin-transform-unicode-escapes": "^7.27.1",
- "@babel/plugin-transform-unicode-property-regex": "^7.27.1",
+ "@babel/plugin-transform-unicode-property-regex": "^7.28.6",
"@babel/plugin-transform-unicode-regex": "^7.27.1",
- "@babel/plugin-transform-unicode-sets-regex": "^7.27.1",
+ "@babel/plugin-transform-unicode-sets-regex": "^7.28.6",
"@babel/preset-modules": "0.1.6-no-external-plugins",
- "babel-plugin-polyfill-corejs2": "^0.4.14",
- "babel-plugin-polyfill-corejs3": "^0.13.0",
- "babel-plugin-polyfill-regenerator": "^0.6.5",
- "core-js-compat": "^3.43.0",
+ "babel-plugin-polyfill-corejs2": "^0.4.15",
+ "babel-plugin-polyfill-corejs3": "^0.14.0",
+ "babel-plugin-polyfill-regenerator": "^0.6.6",
+ "core-js-compat": "^3.48.0",
"semver": "^6.3.1"
},
"dependencies": {
@@ -9863,52 +9883,46 @@
}
},
"@babel/template": {
- "version": "7.27.2",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz",
- "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz",
+ "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==",
"dev": true,
"requires": {
- "@babel/code-frame": "^7.27.1",
- "@babel/parser": "^7.27.2",
- "@babel/types": "^7.27.1"
+ "@babel/code-frame": "^7.28.6",
+ "@babel/parser": "^7.28.6",
+ "@babel/types": "^7.28.6"
}
},
"@babel/traverse": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz",
- "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.0.tgz",
+ "integrity": "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==",
"dev": true,
"requires": {
- "@babel/code-frame": "^7.27.1",
- "@babel/generator": "^7.28.5",
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
"@babel/helper-globals": "^7.28.0",
- "@babel/parser": "^7.28.5",
- "@babel/template": "^7.27.2",
- "@babel/types": "^7.28.5",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0",
"debug": "^4.3.1"
},
"dependencies": {
"debug": {
- "version": "4.3.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
- "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
"dev": true,
"requires": {
- "ms": "2.1.2"
+ "ms": "^2.1.3"
}
- },
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
}
}
},
"@babel/types": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz",
- "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
+ "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
"dev": true,
"requires": {
"@babel/helper-string-parser": "^7.27.1",
@@ -10413,6 +10427,12 @@
"integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",
"optional": true
},
+ "@types/underscore": {
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/@types/underscore/-/underscore-1.13.0.tgz",
+ "integrity": "sha512-L6LBgy1f0EFQZ+7uSA57+n2g/s4Qs5r06Vwrwn0/nuK1de+adz00NWaztRQ30aEqw5qOaWbPI8u2cGQ52lj6VA==",
+ "dev": true
+ },
"@types/yauzl": {
"version": "2.10.3",
"resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",
@@ -10751,13 +10771,13 @@
"requires": {}
},
"babel-plugin-polyfill-corejs2": {
- "version": "0.4.14",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.14.tgz",
- "integrity": "sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==",
+ "version": "0.4.17",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.17.tgz",
+ "integrity": "sha512-aTyf30K/rqAsNwN76zYrdtx8obu0E4KoUME29B1xj+B3WxgvWkp943vYQ+z8Mv3lw9xHXMHpvSPOBxzAkIa94w==",
"dev": true,
"requires": {
- "@babel/compat-data": "^7.27.7",
- "@babel/helper-define-polyfill-provider": "^0.6.5",
+ "@babel/compat-data": "^7.28.6",
+ "@babel/helper-define-polyfill-provider": "^0.6.8",
"semver": "^6.3.1"
},
"dependencies": {
@@ -10770,22 +10790,22 @@
}
},
"babel-plugin-polyfill-corejs3": {
- "version": "0.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.13.0.tgz",
- "integrity": "sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==",
+ "version": "0.14.2",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.14.2.tgz",
+ "integrity": "sha512-coWpDLJ410R781Npmn/SIBZEsAetR4xVi0SxLMXPaMO4lSf1MwnkGYMtkFxew0Dn8B3/CpbpYxN0JCgg8mn67g==",
"dev": true,
"requires": {
- "@babel/helper-define-polyfill-provider": "^0.6.5",
- "core-js-compat": "^3.43.0"
+ "@babel/helper-define-polyfill-provider": "^0.6.8",
+ "core-js-compat": "^3.48.0"
}
},
"babel-plugin-polyfill-regenerator": {
- "version": "0.6.5",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.5.tgz",
- "integrity": "sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==",
+ "version": "0.6.8",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.8.tgz",
+ "integrity": "sha512-M762rNHfSF1EV3SLtnCJXFoQbbIIz0OyRwnCmV0KPC7qosSfCO0QLTSuJX3ayAebubhE6oYBAYPrBA5ljowaZg==",
"dev": true,
"requires": {
- "@babel/helper-define-polyfill-provider": "^0.6.5"
+ "@babel/helper-define-polyfill-provider": "^0.6.8"
}
},
"backbone": {
@@ -10816,9 +10836,9 @@
"dev": true
},
"baseline-browser-mapping": {
- "version": "2.9.2",
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.2.tgz",
- "integrity": "sha512-PxSsosKQjI38iXkmb3d0Y32efqyA0uW4s41u4IVBsLlWLhCiYNpH/AfNOVWRqCQBlD8TFJTz6OUWNd4DFJCnmw==",
+ "version": "2.10.19",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.19.tgz",
+ "integrity": "sha512-qCkNLi2sfBOn8XhZQ0FXsT1Ki/Yo5P90hrkRamVFRS7/KV9hpfA4HkoWNU152+8w0zPjnxo5psx5NL3PSGgv5g==",
"dev": true
},
"basic-ftp": {
@@ -10930,16 +10950,16 @@
}
},
"browserslist": {
- "version": "4.28.1",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz",
- "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==",
+ "version": "4.28.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz",
+ "integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==",
"dev": true,
"requires": {
- "baseline-browser-mapping": "^2.9.0",
- "caniuse-lite": "^1.0.30001759",
- "electron-to-chromium": "^1.5.263",
- "node-releases": "^2.0.27",
- "update-browserslist-db": "^1.2.0"
+ "baseline-browser-mapping": "^2.10.12",
+ "caniuse-lite": "^1.0.30001782",
+ "electron-to-chromium": "^1.5.328",
+ "node-releases": "^2.0.36",
+ "update-browserslist-db": "^1.2.3"
}
},
"buffer": {
@@ -10959,8 +10979,11 @@
"dev": true
},
"bullbone": {
- "version": "git+ssh://[email protected]/espocrm/bullbone.git#6f36d050687cac7f23a90fe9134be02657778fea",
- "from": "bullbone@github:espocrm/bullbone#1.3.3"
+ "version": "git+ssh://[email protected]/espocrm/bullbone.git#de477aea3dae34a5f943f5a6b1a39968f7b18077",
+ "from": "bullbone@github:espocrm/bullbone#1.4.0",
+ "requires": {
+ "snabbdom": "^3.6.3"
+ }
},
"bytes": {
"version": "3.1.2",
@@ -10989,9 +11012,9 @@
}
},
"caniuse-lite": {
- "version": "1.0.30001759",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001759.tgz",
- "integrity": "sha512-Pzfx9fOKoKvevQf8oCXoyNRQ5QyxJj+3O0Rqx2V5oxT61KGx8+n6hV/IUyJeifUci2clnmmKVpvtiqRzgiWjSw==",
+ "version": "1.0.30001788",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001788.tgz",
+ "integrity": "sha512-6q8HFp+lOQtcf7wBK+uEenxymVWkGKkjFpCvw5W25cmMwEDU45p1xQFBQv8JDlMMry7eNxyBaR+qxgmTUZkIRQ==",
"dev": true
},
"cardinal": {
@@ -11221,12 +11244,12 @@
}
},
"core-js-compat": {
- "version": "3.47.0",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.47.0.tgz",
- "integrity": "sha512-IGfuznZ/n7Kp9+nypamBhvwdwLsW6KC8IOaURw2doAK5e98AG3acVLdh0woOnEqCfUtS+Vu882JE4k/DAm3ItQ==",
+ "version": "3.49.0",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.49.0.tgz",
+ "integrity": "sha512-VQXt1jr9cBz03b331DFDCCP90b3fanciLkgiOoy8SBHy06gNf+vQ1A3WFLqG7I8TipYIKeYK9wxd0tUrvHcOZA==",
"dev": true,
"requires": {
- "browserslist": "^4.28.0"
+ "browserslist": "^4.28.1"
}
},
"core-util-is": {
@@ -11462,9 +11485,9 @@
}
},
"electron-to-chromium": {
- "version": "1.5.266",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.266.tgz",
- "integrity": "sha512-kgWEglXvkEfMH7rxP5OSZZwnaDWT7J9EoZCujhnpLbfi0bbNtRkgdX2E3gt0Uer11c61qCYktB3hwkAS325sJg==",
+ "version": "1.5.340",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.340.tgz",
+ "integrity": "sha512-908qahOGocRMinT2nM3ajCEM99H4iPdv84eagPP3FfZy/1ZGeOy2CZYzjhms81ckOPCXPlW7LkY4XpxD8r1DrA==",
"dev": true
},
"emoji-regex": {
@@ -11562,80 +11585,19 @@
}
},
"espo-frontend-build-tools": {
- "version": "git+ssh://[email protected]/espocrm/frontend-build-tools.git#757548e350d2b637598d0b5a9c97ebdbda5f6390",
+ "version": "git+ssh://[email protected]/espocrm/frontend-build-tools.git#893583ada55b9194e6b085d6225298d06224f0a1",
"dev": true,
- "from": "espo-frontend-build-tools@github:espocrm/frontend-build-tools#0.2.3",
+ "from": "espo-frontend-build-tools@github:espocrm/frontend-build-tools#0.3.0",
"requires": {
- "@babel/cli": "^7.28",
- "@babel/core": "^7.28",
- "@babel/plugin-proposal-decorators": "^7.28",
- "@babel/plugin-transform-modules-amd": "^7.27",
- "@babel/preset-env": "^7.28",
- "glob": "^12",
- "handlebars": "^4.7.8",
- "typescript": "^4"
- },
- "dependencies": {
- "balanced-match": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.3.tgz",
- "integrity": "sha512-1pHv8LX9CpKut1Zp4EXey7Z8OfH11ONNH6Dhi2WDUt31VVZFXZzKwXcysBgqSumFCmR+0dqjMK5v5JiFHzi0+g==",
- "dev": true
- },
- "brace-expansion": {
- "version": "5.0.5",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
- "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
- "dev": true,
- "requires": {
- "balanced-match": "^4.0.2"
- }
- },
- "glob": {
- "version": "12.0.0",
- "resolved": "https://registry.npmjs.org/glob/-/glob-12.0.0.tgz",
- "integrity": "sha512-5Qcll1z7IKgHr5g485ePDdHcNQY0k2dtv/bjYy0iuyGxQw2qSOiiXUXJ+AYQpg3HNoUMHqAruX478Jeev7UULw==",
- "dev": true,
- "requires": {
- "foreground-child": "^3.3.1",
- "jackspeak": "^4.1.1",
- "minimatch": "^10.1.1",
- "minipass": "^7.1.2",
- "package-json-from-dist": "^1.0.0",
- "path-scurry": "^2.0.0"
- }
- },
- "lru-cache": {
- "version": "11.2.4",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz",
- "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==",
- "dev": true
- },
- "minimatch": {
- "version": "10.2.4",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
- "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
- "dev": true,
- "requires": {
- "brace-expansion": "^5.0.2"
- }
- },
- "path-scurry": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz",
- "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==",
- "dev": true,
- "requires": {
- "lru-cache": "^11.0.0",
- "minipass": "^7.1.2"
- }
- },
- "typescript": {
- "version": "4.9.5",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz",
- "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==",
- "dev": true
- }
+ "@babel/cli": "^7.28.6",
+ "@babel/core": "^7.29.0",
+ "@babel/plugin-proposal-decorators": "^7.29.0",
+ "@babel/plugin-transform-modules-amd": "^7.27.1",
+ "@babel/plugin-transform-typescript": "^7.28.6",
+ "@babel/preset-env": "^7.29.2",
+ "glob": "^13.0.6",
+ "handlebars": "^4.7.9",
+ "typescript": "^6"
}
},
"espo-funnel-chart": {
@@ -12893,15 +12855,6 @@
"resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
"integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8="
},
- "jackspeak": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz",
- "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==",
- "dev": true,
- "requires": {
- "@isaacs/cliui": "^8.0.2"
- }
- },
"jake": {
"version": "10.9.4",
"resolved": "https://registry.npmjs.org/jake/-/jake-10.9.4.tgz",
@@ -13406,9 +13359,9 @@
"dev": true
},
"node-releases": {
- "version": "2.0.27",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz",
- "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==",
+ "version": "2.0.37",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.37.tgz",
+ "integrity": "sha512-1h5gKZCF+pO/o3Iqt5Jp7wc9rH3eJJ0+nh/CIoiRwjRxde/hAHyLPXYN4V3CqKAbiZPSeJFSWHmJsbkicta0Eg==",
"dev": true
},
"nopt": {
@@ -13945,9 +13898,9 @@
"dev": true
},
"regjsparser": {
- "version": "0.13.0",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.0.tgz",
- "integrity": "sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==",
+ "version": "0.13.1",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.1.tgz",
+ "integrity": "sha512-dLsljMd9sqwRkby8zhO1gSg3PnJIBFid8f4CQj/sXx+7cKx+E7u0PKhZ+U4wmhx7EfmtvnA318oVaIkAB1lRJw==",
"dev": true,
"requires": {
"jsesc": "~3.1.0"
@@ -14246,6 +14199,11 @@
"integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
"dev": true
},
+ "snabbdom": {
+ "version": "3.6.3",
+ "resolved": "https://registry.npmjs.org/snabbdom/-/snabbdom-3.6.3.tgz",
+ "integrity": "sha512-W2lHLLw2qR2Vv0DcMmcxXqcfdBaIcoN+y/86SmHv8fn4DazEQSH6KN3TjZcWvwujW56OHiiirsbHWZb4vx/0fg=="
+ },
"socks": {
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz",
@@ -14547,6 +14505,12 @@
"mime-types": "~2.1.24"
}
},
+ "typescript": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
+ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
+ "dev": true
+ },
"uglify-js": {
"version": "3.19.3",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz",
@@ -14627,9 +14591,9 @@
"dev": true
},
"update-browserslist-db": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.2.tgz",
- "integrity": "sha512-E85pfNzMQ9jpKkA7+TJAi4TJN+tBCuWh5rUcS/sv6cFi+1q9LYDwDI5dpUL0u/73EElyQ8d3TEaeW4sPedBqYA==",
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
+ "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
"dev": true,
"requires": {
"escalade": "^3.2.0",
diff --git a/package.json b/package.json
index c040112949..53dd3febac 100644
--- a/package.json
+++ b/package.json
@@ -33,9 +33,10 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
+ "@types/underscore": "^1.13.0",
"archiver": "^7",
"chromedriver": "^127.0.1",
- "espo-frontend-build-tools": "github:espocrm/frontend-build-tools#0.2.3",
+ "espo-frontend-build-tools": "github:espocrm/frontend-build-tools#0.3.0",
"fstream": ">=1.0.12",
"glob": "^13.0.6",
"grunt": "^1.5.3",
@@ -67,7 +68,7 @@
"bootstrap": "github:yurikuzn/espo-bootstrap#0.1.2",
"bootstrap-colorpicker": "^2.5.2",
"bootstrap-datepicker": "^1.9.0",
- "bullbone": "github:espocrm/bullbone#1.3.3",
+ "bullbone": "github:espocrm/bullbone#1.4.0",
"cronstrue": "^1.114.0",
"cropper": "^0.7.9",
"devbridge-autocomplete": "^1.4.11",
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000000..863c4d312a
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,21 @@
+{
+ "compilerOptions": {
+ "baseUrl": "client",
+ "paths": {
+ "*": ["src/*"],
+ "modules/crm/*": ["modules/crm/src/*"],
+ "crm:*": ["modules/crm/src/*"]
+ },
+ "module": "ES6",
+ "target": "ES2018",
+ "moduleResolution": "bundler",
+ "skipLibCheck": true,
+ "allowJs": true,
+ "checkJs": false,
+ "noEmit": true
+ },
+ "include": [
+ "client/src",
+ "client/modules/crm/src"
+ ]
+}