New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@remult/angular

Package Overview
Dependencies
Maintainers
2
Versions
305
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remult/angular - npm Package Compare versions

Comparing version 0.12.2 to 0.12.3

4

esm2015/src/angular/data-control/data-control2.component.js
import { Component, Input } from '@angular/core';
import { ErrorStateMatcher } from '@angular/material/core';
import { FieldCollection } from '../../../interfaces/src/column-collection';
import { decorateDataSettings } from '../../data-control-interfaces';
import { decorateDataSettings } from '../../../interfaces/src/public_api';
export class DataControl2Component {

@@ -111,2 +111,2 @@ constructor() {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1jb250cm9sMi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9idWlsZC1hbmd1bGFyL3Byb2plY3RzL2FuZ3VsYXIvc3JjL2FuZ3VsYXIvZGF0YS1jb250cm9sL2RhdGEtY29udHJvbDIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBSTNELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUM1RSxPQUFPLEVBQXVCLG9CQUFvQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFRMUYsTUFBTSxPQUFPLHFCQUFxQjtJQUxsQztRQWVXLGdCQUFXLEdBQUcsS0FBSyxDQUFDO1FBQ3BCLGFBQVEsR0FBb0IsSUFBSSxlQUFlLENBQUMsU0FBUyxFQUFFLEdBQUcsRUFBRSxDQUFDLElBQUksRUF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OiAnNTBweCcgfTtcclxuICAgIH1cclxuICAgIHJldHVybiB7fTtcclxuICB9XHJcbiAgZ2V0RmxvYXRMYWJlbCgpOiBGbG9hdExhYmVsVHlwZSB7XHJcbiAgICBpZiAodGhpcy5zaG93RGVzY3JpcHRpb24oKSkge1xyXG4gICAgICBpZiAodGhpcy5zZXR0aW5ncy5fZ2V0Q29sRGlzcGxheVZhbHVlKHRoaXMubWFwLCB0aGlzLnJlY29yZCkpXHJcbiAgICAgICAgcmV0dXJuICdhbHdheXMnO1xyXG4gICAgfVxyXG4gICAgcmV0dXJuICdhdXRvJztcclxuICB9XHJcblxyXG5cclxuICBuZ0Vycm9yU3RhdGVNYXRjaGVzID0gbmV3IGNsYXNzIGV4dGVuZHMgRXJyb3JTdGF0ZU1hdGNoZXIge1xyXG4gICAgY29uc3RydWN0b3IocHVibGljIHBhcmVudDogRGF0YUNvbnRyb2wyQ29tcG9uZW50KSB7XHJcbiAgICAgIHN1cGVyKCk7XHJcbiAgICB9XHJcbiAgICBpc0Vycm9yU3RhdGUoKSB7XHJcbiAgICAgIHJldHVybiAhIXRoaXMucGFyZW50LmdldEVycm9yKCk7XHJcbiAgICB9XHJcbiAgfSh0aGlzKTtcclxufVxyXG5cclxuXHJcbiJdfQ==
import { Component, Input } from '@angular/core';
import { ErrorStateMatcher } from '@angular/material/core';
import { FieldCollection } from '../../../interfaces/src/column-collection';
import { decorateDataSettings } from '../../data-control-interfaces';
import { decorateDataSettings } from '../../../interfaces/src/public_api';
export class DataControl3Component {

@@ -117,2 +117,2 @@ constructor() {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1jb250cm9sMy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9idWlsZC1hbmd1bGFyL3Byb2plY3RzL2FuZ3VsYXIvc3JjL2FuZ3VsYXIvZGF0YS1jb250cm9sL2RhdGEtY29udHJ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oaXMuc2hvd0Rlc2NyaXB0aW9uKCkpIHtcclxuICAgICAgaWYgKHRoaXMuc2V0dGluZ3MuX2dldENvbERpc3BsYXlWYWx1ZSh0aGlzLm1hcCwgdGhpcy5yZWNvcmQpKVxyXG4gICAgICAgIHJldHVybiAnYWx3YXlzJztcclxuICAgIH1cclxuICAgIHJldHVybiAnJztcclxuICB9XHJcblxyXG5cclxuICBuZ0Vycm9yU3RhdGVNYXRjaGVzID0gbmV3IGNsYXNzIGV4dGVuZHMgRXJyb3JTdGF0ZU1hdGNoZXIge1xyXG4gICAgY29uc3RydWN0b3IocHVibGljIHBhcmVudDogRGF0YUNvbnRyb2wzQ29tcG9uZW50KSB7XHJcbiAgICAgIHN1cGVyKCk7XHJcbiAgICB9XHJcbiAgICBpc0Vycm9yU3RhdGUoKSB7XHJcbiAgICAgIHJldHVybiAhIXRoaXMucGFyZW50LmdldEVycm9yKCk7XHJcbiAgICB9XHJcbiAgfSh0aGlzKTtcclxufVxyXG5cclxuXHJcbiJdfQ==

@@ -6,3 +6,3 @@ import { __awaiter } from "tslib";

import { Remult } from 'remult';
import { GridSettings } from '../../grid-settings';
import { GridSettings } from '../../../interfaces/src/public_api';
import { SelectValueDialogComponent } from '../add-filter-dialog/add-filter-dialog.component';

@@ -97,2 +97,2 @@ import { FilterDialogComponent } from '../filter-dialog/filter-dialog.component';

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1maWx0ZXItaW5mby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9idWlsZC1hbmd1bGFyL3Byb2plY3RzL2FuZ3VsYXIvc3JjL2FuZ3VsYXIvZGF0YS1maWx0ZXItaW5mby9kYXRhLWZpbHRlci1pbmZvLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsT0FBTyxFQUFFLGNBQWMsRUFBRSxN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clxuICAgICAgICB0aGlzLnNldHRpbmdzLmNvbHVtbnMuY2xlYXJGaWx0ZXIodGhpcy5maWx0ZXJDb2x1bW5Ub0FkZCk7XHJcbiAgICAgICAgdGhpcy5lZGl0RmlsdGVyVmlzaWJsZSA9IGZhbHNlO1xyXG4gICAgfVxyXG5cclxuXHJcbiAgICBhZGRGaWx0ZXIoKSB7XHJcblxyXG4gICAgICAgIHRoaXMuc2V0dGluZ3MuY29sdW1ucy5maWx0ZXJSb3dzKHRoaXMuZmlsdGVyQ29sdW1uVG9BZGQpO1xyXG4gICAgICAgIHRoaXMuc2hvd0FkZEZpbHRlciA9IGZhbHNlO1xyXG4gICAgfVxyXG4gICAgY2FuY2VsQWRkTmV3RmlsdGVyKCkge1xyXG4gICAgICAgIHRoaXMuc2hvd0FkZEZpbHRlciA9IGZhbHNlO1xyXG4gICAgfVxyXG4gICAgcmlnaHRUb0xlZnQgPSBmYWxzZTtcclxuICAgIFxyXG59XHJcbiJdfQ==

@@ -7,4 +7,4 @@ import { __awaiter } from "tslib";

import { Directionality } from '@angular/cdk/bidi';
import { getFieldDefinition } from '../../data-control-interfaces';
import { GridSettings } from '../../grid-settings';
import { getFieldDefinition } from '../../../interfaces/src/public_api';
import { GridSettings } from '../../../interfaces/src/public_api';
import { openDialog } from '../remult-core.module';

@@ -268,2 +268,2 @@ export class DataGrid2Component {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1ncmlkMi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9idWlsZC1hbmd1bGFyL3Byb2plY3RzL2FuZ3VsYXIvc3JjL2FuZ3VsYXIvZGF0ZS1ncmlkLTIvZGF0YS1ncmlkMi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLE9BQU8sRUFBRSxTQUFTLEVBQWEsS0FBSyxFQUFFLFNBQV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dGluZ3Muc2V0dGluZ3MuY29uZmlybURlbGV0ZShyKSlcclxuICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgICB0aGlzLnNldHRpbmdzLmdldFJvd0hlbHBlcihyKS5kZWxldGUoKTtcclxuXHJcbiAgICAgICAgfSxcclxuXHJcbiAgICAgICAgY3NzQ2xhc3M6IFwiYnRuLWRhbmdlciBnbHlwaGljb24gZ2x5cGhpY29uLXRyYXNoXCJcclxuICAgICAgfSk7XHJcbiAgICBpZiAodGhpcy5zZXR0aW5ncy5fYnV0dG9ucylcclxuICAgICAgZm9yIChsZXQgYiBvZiB0aGlzLnNldHRpbmdzLl9idXR0b25zKSB7XHJcbiAgICAgICAgdGhpcy5hZGRCdXR0b24oYik7XHJcbiAgICAgIH1cclxuICAgIGlmICghdGhpcy5yZWNvcmRzICYmIHRoaXMuc2V0dGluZ3MpIHtcclxuICAgICAgdGhpcy5zZXR0aW5ncy5yZWxvYWREYXRhKCkudGhlbigocjogYW55KSA9PiB7XHJcbiAgICAgICAgdGhpcy5yZWNvcmRzID0gcjtcclxuXHJcbiAgICAgIH0pO1xyXG5cclxuICAgIH1cclxuXHJcbiAgfVxyXG5cclxuICBfZ2V0Um93Q2xhc3Mocm93OiBhbnkpIHtcclxuICAgIGxldCByID0gJ2RhdGFHcmlkUm93ICc7XHJcbiAgICBpZiAodGhpcy5zZXR0aW5ncy5yb3dDbGFzcylcclxuICAgICAgciArPSB0aGlzLnNldHRpbmdzLnJvd0NsYXNzKHJvdyk7XHJcbiAgICBpZiAocm93ID09IHRoaXMuc2V0dGluZ3MuY3VycmVudFJvdylcclxuICAgICAgciArPSBcIiBhY3RpdmVcIjtcclxuXHJcbiAgICByZXR1cm4gcjtcclxuICB9XHJcbiAgX2dldFJvd0NvbHVtbkNsYXNzKGNvbDogYW55LCByb3c6IGFueSkge1xyXG4gICAgcmV0dXJuIHRoaXMuc2V0dGluZ3MuY29sdW1ucy5fZ2V0Q29sd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ICAgICAgIHZpc2libGU6IChyKSA9PiB7XHJcbiAgICAgICAgICByZXR1cm4gciAmJiAhdGhpcy5zZXR0aW5ncy5nZXRSb3dIZWxwZXIocikuaXNOZXcoKTtcclxuICAgICAgICB9XHJcbiAgICAgICAgLCBpY29uOiAnZGVsZXRlJyxcclxuICAgICAgICAvLyAgICAgICBzaG93SW5MaW5lOiB0cnVlLFxyXG4gICAgICAgIHRleHRJbk1lbnU6ICgpID0+IHRoaXMucmlnaHRUb0xlZnQgPyAn157Xl9enJyA6ICdEZWxldGUnLFxyXG4gICAgICAgIGNsaWNrOiBhc3luYyByID0+IHtcclxuICAgICAgICAgIGlmICh0aGlzLnNldHRpbmdzLnNldHRpbmdzLmNvbmZpcm1EZWxldGUpIHtcclxuXHJcbiAgICAgICAgICAgIGlmICghYXdhaXQgdGhpcy5zZXR0aW5ncy5zZXR0aW5ncy5jb25maXJtRGVsZXRlKHIpKVxyXG4gICAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgIH1cclxuICAgICAgICAgIHRoaXMuc2V0dGluZ3MuZ2V0Um93SGVscGVyKHIpLmRlbGV0ZSgpO1xyXG5cclxuICAgICAgICB9LFxyXG5cclxuICAgICAgICBjc3NDbGFzczogXCJidG4tZGFuZ2VyIGdseXBoaWNvbiBnbHlwaGljb24tdHJhc2hcIlxyXG4gICAgICB9KTtcclxuICAgIGlmICh0aGlzLnNldHRpbmdzLl9idXR0b25zKVxyXG4gICAgICBmb3IgKGxldCBiIG9mIHRoaXMuc2V0dGluZ3MuX2J1dHRvbnMpIHtcclxuICAgICAgICB0aGlzLmFkZEJ1dHRvbihiKTtcclxuICAgICAgfVxyXG4gICAgaWYgKCF0aGlzLnJlY29yZHMgJiYgdGhpcy5zZXR0aW5ncykge1xyXG4gICAgICB0aGlzLnNldHRpbmdzLnJlbG9hZERhdGEoKS50aGVuKChyOiBhbnkpID0+IHtcclxuICAgICAgICB0aGlzLnJlY29yZHMgPSByO1xyXG5cclxuICAgICAgfSk7XHJcblxyXG4gICAgfVxyXG5cclxuICB9XHJcblxyXG4gIF9nZXRSb3dDbGFzcyhyb3c6IGFueSkge1xyXG4gICAgbGV0IHIgPSAnZGF0YUdyaWRSb3cgJztcclxuICAgIGlmICh0aGlzLnNldHRpbmdzLnJvd0NsYXNzKVxyXG4gICAgICByICs9IHRoaXMuc2V0dGluZ3Mucm93Q2xhc3Mocm93KTtcclxuICAgIGlmIChyb3cgPT0gdGhpcy5zZXR0aW5ncy5jdXJyZW50Um93KVxyXG4gICAgICByICs9IFwiIGFjdGl2ZVwiO1xyXG5cclxuICAgIHJldHVybiByO1xyXG4gIH1cclxuICBfZ2V0Um93Q29sdW1uQ2xhc3MoY29sOiBhbnksIHJvdzogYW55KSB7XHJcbiAgICByZXR1cm4gdGhpcy5zZXR0aW5ncy5jb2x1bW5zLl9nZXRDb2x1bW5DbGFzcyhjb2wsIHJvdykgKyAnIGRhdGFHcmlkRGF0YUNlbGwnO1xyXG4gIH1cclxuXHJcblxyXG59XHJcbiJdfQ==
{
"name": "@remult/angular",
"version": "0.12.2",
"version": "0.12.3",
"description": "an angular module for remult",

@@ -5,0 +5,0 @@ "homepage": "https://remult.dev/",

import { FloatLabelType } from '@angular/material/form-field';
import { ValueListItem, FieldMetadata, FieldRef } from 'remult';
import { FieldCollection } from '../../../interfaces/src/column-collection';
import { DataControlSettings } from '../../data-control-interfaces';
import { DataControlSettings } from '../../../interfaces/src/public_api';
export declare class DataControl2Component {

@@ -6,0 +6,0 @@ map: DataControlSettings;

import { FieldMetadata, ValueListItem } from 'remult';
import { FieldCollection } from '../../../interfaces/src/column-collection';
import { DataControlSettings } from '../../data-control-interfaces';
import { DataControlSettings } from '../../../interfaces/src/public_api';
export declare class DataControl3Component {

@@ -5,0 +5,0 @@ map: DataControlSettings;

import { Directionality } from '@angular/cdk/bidi';
import { FieldMetadata, Remult } from 'remult';
import { GridSettings } from '../../grid-settings';
import { DataControlSettings } from '../../data-control-interfaces';
import { GridSettings } from '../../../interfaces/src/public_api';
import { DataControlSettings } from '../../../interfaces/src/public_api';
export declare class DataFilterInfoComponent {

@@ -6,0 +6,0 @@ private remult;

@@ -5,4 +5,4 @@ import { OnChanges } from '@angular/core';

import { Directionality } from '@angular/cdk/bidi';
import { DataControlSettings } from '../../data-control-interfaces';
import { GridButton, GridSettings, RowButton } from '../../grid-settings';
import { DataControlSettings } from '../../../interfaces/src/public_api';
import { GridButton, GridSettings, RowButton } from '../../../interfaces/src/public_api';
export declare class DataGrid2Component implements OnChanges {

@@ -9,0 +9,0 @@ private remult;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc