@datagrok-libraries/utils
Advanced tools
Comparing version 4.3.5 to 4.3.6
# utils changelog | ||
## 4.3.6 (2024-10-03) | ||
Add new item getting from items grid | ||
## 4.3.4 (2024-09-25) | ||
@@ -4,0 +8,0 @@ |
@@ -11,3 +11,3 @@ { | ||
"fullName": "Utils", | ||
"version": "4.3.5", | ||
"version": "4.3.6", | ||
"description": "Common utilities", | ||
@@ -14,0 +14,0 @@ "dependencies": { |
@@ -80,2 +80,4 @@ import * as DG from 'datagrok-api/dg'; | ||
render(): void; | ||
private addingItemInputs; | ||
get addingItem(): ItemType; | ||
private getItemDiv; | ||
@@ -82,0 +84,0 @@ private hideLabel; |
@@ -29,2 +29,3 @@ import * as DG from 'datagrok-api/dg'; | ||
this.options = { removeButtonTooltip: 'Remove item', addButtonTooltip: 'Add item', allowAdd: true, allowRemove: true }; | ||
this.addingItemInputs = {}; | ||
this.properties = properties; | ||
@@ -101,2 +102,9 @@ this.options = Object.assign(Object.assign({}, this.options), options); | ||
} | ||
get addingItem() { | ||
const res = {}; | ||
Object.keys(this.addingItemInputs).forEach((pName) => { | ||
res[pName] = this.addingItemInputs[pName].value; | ||
}); | ||
return res; | ||
} | ||
getItemDiv(item = {}, isAdding) { | ||
@@ -129,2 +137,3 @@ var _a, _b; | ||
if (isAdding) { | ||
this.addingItemInputs = inputsMap; | ||
const addButton = ui.icons.add(() => { | ||
@@ -175,2 +184,2 @@ const newItem = this.options.newItemFunction ? this.options.newItemFunction() : {}; | ||
*/ | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXRlbXMtZ3JpZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIml0ZW1zLWdyaWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN0QyxPQUFPLEtBQUssRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ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RhZ05hbWUoJ2xhYmVsJylbMF0pO1xuICAgIHJldHVybiBlbDtcbiAgfVxuXG4gIGhhc0Vycm9ycygpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5fcm9vdC5xdWVyeVNlbGVjdG9yQWxsKCcuZDQtaW52YWxpZCcpLmxlbmd0aCA+IDA7XG4gIH1cbn1cblxuLyoqIFVzYWdlIGV4YW1wbGU6XG4gKiBjb25zdCBwcm9wcyA9IFtERy5Qcm9wZXJ0eS5qcygnbmFtZTInLCBERy5UWVBFLlNUUklORyksXG4gICAgICBERy5Qcm9wZXJ0eS5qcygnbmFtZTMnLCBERy5UWVBFLk5VTSksXG4gICAgICBERy5Qcm9wZXJ0eS5mcm9tT3B0aW9ucyh7bmFtZTogJ25hbWU0JywgdHlwZTogREcuVFlQRS5EQVRFX1RJTUUsIG51bGxhYmxlOiB0cnVlfSldO1xuICAgIGNvbnN0IGl0ZW1zR3JpZCA9IG5ldyBJdGVtc0dyaWQocHJvcHMpO1xuICogdGhlIGNvbXBvbmVudCBoYXMgYSByb290IHByb3BlcnR5IHRoYXQgY2FuIGJlIGFkZGVkIHRvIHRoZSBwYWdlXG4gICAgdWkuZGlhbG9nKCdkaWFsb2cnKS5hZGQoaXRlbXNHcmlkLnJvb3QpLnNob3coKTtcbiAgICBhdCBhbnkgcG9pbnQsIGZpbGxlZCBmaWVsZHMgY2FuIGJlIGFjY2Vzc2VkIHZpYSBpdGVtc0dyaWQuaXRlbXNcbiAqL1xuIl19 |
@@ -58,2 +58,3 @@ import * as DG from 'datagrok-api/dg'; | ||
stressTest?: boolean; | ||
tags?: string[]; | ||
} | ||
@@ -60,0 +61,0 @@ export declare function testEvent<T>(event: Observable<T>, handler: (args: T) => void, trigger: () => void, ms?: number, reason?: string): Promise<string>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
681730
4590