@lhncbc/ngx-schema-form
Advanced tools
Comparing version 2.9.0-forked to 2.11.0-forked
@@ -8,3 +8,3 @@ import { NgControl } from '@angular/forms'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<DisableControlDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<DisableControlDirective, "[disableControl]", never, { "disableControl": "disableControl"; }, {}, never, never, false, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<DisableControlDirective, "[disableControl]", never, { "disableControl": { "alias": "disableControl"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -61,3 +61,3 @@ import { ChangeDetectorRef, OnChanges, EventEmitter, SimpleChanges } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "sf-form", never, { "schema": "schema"; "model": "model"; "actions": "actions"; "validators": "validators"; "bindings": "bindings"; }, { "onChange": "onChange"; "modelChange": "modelChange"; "isValid": "isValid"; "onErrorChange": "onErrorChange"; "onErrorsChange": "onErrorsChange"; "modelReset": "modelReset"; }, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "sf-form", never, { "schema": { "alias": "schema"; "required": false; }; "model": { "alias": "model"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "validators": { "alias": "validators"; "required": false; }; "bindings": { "alias": "bindings"; "required": false; }; }, { "onChange": "onChange"; "modelChange": "modelChange"; "isValid": "isValid"; "onErrorChange": "onErrorChange"; "onErrorsChange": "onErrorsChange"; "modelReset": "modelReset"; }, never, never, false, never>; | ||
} |
@@ -18,3 +18,3 @@ import { OnChanges, ViewContainerRef, OnInit, OnDestroy } from "@angular/core"; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FormElementComponentAction, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FormElementComponentAction, "sf-form-element-action", never, { "button": "button"; "formProperty": "formProperty"; }, {}, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FormElementComponentAction, "sf-form-element-action", never, { "button": { "alias": "button"; "required": false; }; "formProperty": { "alias": "formProperty"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -30,3 +30,3 @@ import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FormElementComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FormElementComponent, "sf-form-element", never, { "formProperty": "formProperty"; }, {}, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FormElementComponent, "sf-form-element", never, { "formProperty": { "alias": "formProperty"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -35,8 +35,8 @@ import { FieldType, TNullableFieldType } from '../template-schema/field/field'; | ||
} | ||
export declare type TSchemaScalarPrimitiveType = 'string' | 'boolean' | 'integer' | 'number'; | ||
export declare type TSchemaComplexPrimitiveType = 'object' | 'array'; | ||
export declare type TSchemaNullPrimitiveType = 'null'; | ||
export declare type TSchemaPrimitiveType = TSchemaComplexPrimitiveType | TSchemaScalarPrimitiveType | TSchemaNullPrimitiveType; | ||
export declare type TSchemaNullableScalarPrimitiveType = TUnorderedPair<TSchemaNullPrimitiveType, TSchemaScalarPrimitiveType>; | ||
export declare type TSchemaPropertyType = FieldType | TNullableFieldType | TSchemaPrimitiveType | TSchemaNullableScalarPrimitiveType; | ||
export type TSchemaScalarPrimitiveType = 'string' | 'boolean' | 'integer' | 'number'; | ||
export type TSchemaComplexPrimitiveType = 'object' | 'array'; | ||
export type TSchemaNullPrimitiveType = 'null'; | ||
export type TSchemaPrimitiveType = TSchemaComplexPrimitiveType | TSchemaScalarPrimitiveType | TSchemaNullPrimitiveType; | ||
export type TSchemaNullableScalarPrimitiveType = TUnorderedPair<TSchemaNullPrimitiveType, TSchemaScalarPrimitiveType>; | ||
export type TSchemaPropertyType = FieldType | TNullableFieldType | TSchemaPrimitiveType | TSchemaNullableScalarPrimitiveType; | ||
export interface ISchema { | ||
@@ -43,0 +43,0 @@ $schema?: string; |
import { FieldType } from '../template-schema/field/field'; | ||
export declare type TPropertyTypeMapping = { | ||
export type TPropertyTypeMapping = { | ||
[type in FieldType]?: any; | ||
}; | ||
export declare const PROPERTY_TYPE_MAPPING: TPropertyTypeMapping; |
@@ -1,4 +0,4 @@ | ||
export declare type TUnorderedPair<TFirst, TSecond> = [TFirst, TSecond] | [TSecond, TFirst]; | ||
export type TUnorderedPair<TFirst, TSecond> = [TFirst, TSecond] | [TSecond, TFirst]; | ||
export declare function isPresent(o: any): boolean; | ||
export declare function isBlank(o: any): boolean; | ||
export declare function isEmptyObject(o: any): boolean; |
@@ -14,3 +14,3 @@ import { AfterContentInit, ElementRef, EventEmitter } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "sf-button", never, { "id": "id"; "label": "label"; "widget": "widget"; }, { "click": "click"; }, never, ["*"], false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "sf-button", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "widget": { "alias": "widget"; "required": false; }; }, { "click": "click"; }, never, ["*"], false, never>; | ||
} |
@@ -1,10 +0,10 @@ | ||
import { AfterContentInit, QueryList, ElementRef, SimpleChanges, OnChanges } from '@angular/core'; | ||
import { ActionRegistry } from '../../model/actionregistry'; | ||
import { Validator } from '../../model/validator'; | ||
import { TemplateSchemaService } from '../template-schema.service'; | ||
import { ButtonComponent } from '../button/button.component'; | ||
import { FieldParent } from './field-parent'; | ||
import { FieldType, Field, TNullableFieldType } from './field'; | ||
import { ItemComponent } from './item/item.component'; | ||
import { ISchema } from '../../model/ISchema'; | ||
import { AfterContentInit, QueryList, ElementRef, SimpleChanges, OnChanges } from "@angular/core"; | ||
import { ActionRegistry } from "../../model/actionregistry"; | ||
import { Validator } from "../../model/validator"; | ||
import { TemplateSchemaService } from "../template-schema.service"; | ||
import { ButtonComponent } from "../button/button.component"; | ||
import { FieldParent } from "./field-parent"; | ||
import { FieldType, Field, TNullableFieldType } from "./field"; | ||
import { ItemComponent } from "./item/item.component"; | ||
import { ISchema } from "../../model/ISchema"; | ||
import * as i0 from "@angular/core"; | ||
@@ -40,3 +40,3 @@ export declare class FieldComponent extends FieldParent implements Field, OnChanges, AfterContentInit { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "sf-field", never, { "name": "name"; "type": "type"; "format": "format"; "required": "required"; "readOnly": "readOnly"; "title": "title"; "description": "description"; "placeholder": "placeholder"; "widget": "widget"; "validator": "validator"; "schema": "schema"; }, {}, ["childFields", "childItems", "childButtons"], ["*"], false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "sf-field", never, { "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "format": { "alias": "format"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "widget": { "alias": "widget"; "required": false; }; "validator": { "alias": "validator"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; }, {}, ["childFields", "childItems", "childButtons"], ["*"], false, never>; | ||
} |
@@ -13,3 +13,3 @@ import { Validator } from '../../model/validator'; | ||
} | ||
export declare type TNullableFieldType = TUnorderedPair<FieldType.Null, FieldType.String | FieldType.Number | FieldType.Boolean | FieldType.Integer>; | ||
export type TNullableFieldType = TUnorderedPair<FieldType.Null, FieldType.String | FieldType.Number | FieldType.Boolean | FieldType.Integer>; | ||
export interface Field { | ||
@@ -16,0 +16,0 @@ name: string; |
@@ -11,3 +11,3 @@ import { ElementRef, OnInit } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ItemComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ItemComponent, "sf-item", never, { "value": "value"; }, {}, never, ["*"], false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ItemComponent, "sf-item", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>; | ||
} |
@@ -20,3 +20,3 @@ import { ChangeDetectorRef, EventEmitter, OnChanges, ViewContainerRef, OnInit, OnDestroy } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetChooserComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetChooserComponent, "sf-widget-chooser", never, { "widgetInfo": "widgetInfo"; }, { "widgetInstanciated": "widgetInstanciated"; }, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetChooserComponent, "sf-widget-chooser", never, { "widgetInfo": { "alias": "widgetInfo"; "required": false; }; }, { "widgetInstanciated": "widgetInstanciated"; }, never, never, false, never>; | ||
} |
{ | ||
"name": "@lhncbc/ngx-schema-form", | ||
"version": "2.9.0-forked", | ||
"version": "2.11.0-forked", | ||
"repository": { | ||
@@ -28,20 +28,16 @@ "type": "git", | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
"tslib": "^2.3.1" | ||
}, | ||
"peerDependencies": { | ||
"@angular/common": "^15.0.4", | ||
"@angular/core": "^15.0.4", | ||
"@angular/forms": "^15.0.4", | ||
"@angular/platform-browser": "^15.0.4", | ||
"@angular/common": "^17.0.0", | ||
"@angular/core": "^17.0.0", | ||
"@angular/forms": "^17.0.0", | ||
"@angular/platform-browser": "^17.0.0", | ||
"jexl": "^2.2.2", | ||
"rxjs": "~7.4.0", | ||
"typescript": "^4.8.4", | ||
"typescript": "^5.2.2", | ||
"z-schema": "^4.2.2", | ||
"zone.js": "~0.11.4" | ||
"zone.js": "~0.14.2" | ||
}, | ||
"module": "fesm2015/lhncbc-ngx-schema-form.mjs", | ||
"es2020": "fesm2020/lhncbc-ngx-schema-form.mjs", | ||
"esm2020": "esm2020/lhncbc-ngx-schema-form.mjs", | ||
"fesm2020": "fesm2020/lhncbc-ngx-schema-form.mjs", | ||
"fesm2015": "fesm2015/lhncbc-ngx-schema-form.mjs", | ||
"module": "fesm2022/lhncbc-ngx-schema-form.mjs", | ||
"typings": "index.d.ts", | ||
@@ -54,7 +50,5 @@ "exports": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/lhncbc-ngx-schema-form.mjs", | ||
"es2020": "./fesm2020/lhncbc-ngx-schema-form.mjs", | ||
"es2015": "./fesm2015/lhncbc-ngx-schema-form.mjs", | ||
"node": "./fesm2015/lhncbc-ngx-schema-form.mjs", | ||
"default": "./fesm2020/lhncbc-ngx-schema-form.mjs" | ||
"esm2022": "./esm2022/lhncbc-ngx-schema-form.mjs", | ||
"esm": "./esm2022/lhncbc-ngx-schema-form.mjs", | ||
"default": "./fesm2022/lhncbc-ngx-schema-form.mjs" | ||
} | ||
@@ -61,0 +55,0 @@ }, |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
891485
126
8037
1
+ Added@angular/common@17.3.12(transitive)
+ Added@angular/core@17.3.12(transitive)
+ Added@angular/forms@17.3.12(transitive)
+ Added@angular/platform-browser@17.3.12(transitive)
+ Addedtypescript@5.6.2(transitive)
+ Addedzone.js@0.14.10(transitive)
- Removed@angular/common@15.2.10(transitive)
- Removed@angular/core@15.2.10(transitive)
- Removed@angular/forms@15.2.10(transitive)
- Removed@angular/platform-browser@15.2.10(transitive)
- Removedtypescript@4.9.5(transitive)
- Removedzone.js@0.11.8(transitive)
Updatedtslib@^2.3.1