angular-schema-based-json-editor
Advanced tools
Comparing version 7.23.1 to 7.24.0
@@ -11,3 +11,3 @@ import { EventEmitter } from '@angular/core'; | ||
locale: common.Locale; | ||
onDelete: EventEmitter<{}>; | ||
onDelete: EventEmitter<any>; | ||
readonly?: boolean; | ||
@@ -14,0 +14,0 @@ required?: boolean; |
@@ -11,3 +11,3 @@ import { EventEmitter } from '@angular/core'; | ||
locale: common.Locale; | ||
onDelete: EventEmitter<{}>; | ||
onDelete: EventEmitter<any>; | ||
readonly?: boolean; | ||
@@ -24,3 +24,4 @@ required?: boolean; | ||
monacoEditor?: common.MonacoEditor; | ||
collapsed?: boolean; | ||
getReference: (name: string) => common.Schema | undefined; | ||
collapsed?: boolean | undefined; | ||
value?: common.ValueType[]; | ||
@@ -27,0 +28,0 @@ errorMessage: string; |
@@ -248,2 +248,6 @@ import * as tslib_1 from "tslib"; | ||
tslib_1.__decorate([ | ||
Input(), | ||
tslib_1.__metadata("design:type", Function) | ||
], ArrayEditorComponent.prototype, "getReference", void 0); | ||
tslib_1.__decorate([ | ||
ViewChild('drakContainer', { static: false }), | ||
@@ -250,0 +254,0 @@ tslib_1.__metadata("design:type", ElementRef) |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"ArrayEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"array-editor","template":{"__symbolic":"reference","module":"./variables","name":"arrayEditorTemplateHtml","line":6,"character":12}}]}],"members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":23,"character":3}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"drakContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":54,"character":3},"arguments":["drakContainer",{"static":false}]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"addItem":[{"__symbolic":"method"}],"onDeleteFunction":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onFilterChange":[{"__symbolic":"method"}],"isChecked":[{"__symbolic":"method"}],"onChangeCheckbox":[{"__symbolic":"method"}],"onChangeSelect2":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"ArrayEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"array-editor","template":{"__symbolic":"reference","module":"./variables","name":"arrayEditorTemplateHtml","line":6,"character":12}}]}],"members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":23,"character":3}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"getReference":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"drakContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":56,"character":3},"arguments":["drakContainer",{"static":false}]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"addItem":[{"__symbolic":"method"}],"onDeleteFunction":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onFilterChange":[{"__symbolic":"method"}],"isChecked":[{"__symbolic":"method"}],"onChangeCheckbox":[{"__symbolic":"method"}],"onChangeSelect2":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}}}}] |
@@ -10,3 +10,3 @@ /** | ||
import * as i2 from "./icon.component"; | ||
import * as i3 from "../node_modules/select2-angular-component/dist/index.component.ngfactory"; | ||
import * as i3 from "../../../node_modules/select2-angular-component/dist/index.component.ngfactory"; | ||
import * as i4 from "select2-angular-component/dist/index.component"; | ||
@@ -60,3 +60,3 @@ import * as i5 from "@angular/forms"; | ||
ad = (pd_1 && ad); | ||
} return ad; }, i7.View_EditorComponent_0, i7.RenderType_EditorComponent)), i0.ɵdid(2, 49152, null, 0, i8.EditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], dragula: [9, "dragula"], md: [10, "md"], hljs: [11, "hljs"], forceHttps: [12, "forceHttps"], disableCollapse: [13, "disableCollapse"], noSelect2: [14, "noSelect2"], minItemCountIfNeedFilter: [15, "minItemCountIfNeedFilter"], monacoEditor: [16, "monacoEditor"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.schema.items; var currVal_3 = _co.value[_v.context.$implicit.i]; var currVal_4 = _v.context.$implicit.i; var currVal_5 = _co.theme; var currVal_6 = _co.icon; var currVal_7 = _co.locale; var currVal_8 = _co.isReadOnly; var currVal_9 = true; var currVal_10 = true; var currVal_11 = _co.dragula; var currVal_12 = _co.md; var currVal_13 = _co.hljs; var currVal_14 = _co.forceHttps; var currVal_15 = _co.disableCollapse; var currVal_16 = _co.noSelect2; var currVal_17 = _co.minItemCountIfNeedFilter; var currVal_18 = _co.monacoEditor; _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18]); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.i; var currVal_1 = _co.theme.card; _ck(_v, 0, 0, currVal_0, currVal_1); }); } | ||
} return ad; }, i7.View_EditorComponent_0, i7.RenderType_EditorComponent)), i0.ɵdid(2, 49152, null, 0, i8.EditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], dragula: [9, "dragula"], md: [10, "md"], hljs: [11, "hljs"], forceHttps: [12, "forceHttps"], disableCollapse: [13, "disableCollapse"], noSelect2: [14, "noSelect2"], minItemCountIfNeedFilter: [15, "minItemCountIfNeedFilter"], monacoEditor: [16, "monacoEditor"], getReference: [17, "getReference"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.schema.items; var currVal_3 = _co.value[_v.context.$implicit.i]; var currVal_4 = _v.context.$implicit.i; var currVal_5 = _co.theme; var currVal_6 = _co.icon; var currVal_7 = _co.locale; var currVal_8 = _co.isReadOnly; var currVal_9 = true; var currVal_10 = true; var currVal_11 = _co.dragula; var currVal_12 = _co.md; var currVal_13 = _co.hljs; var currVal_14 = _co.forceHttps; var currVal_15 = _co.disableCollapse; var currVal_16 = _co.noSelect2; var currVal_17 = _co.minItemCountIfNeedFilter; var currVal_18 = _co.monacoEditor; var currVal_19 = _co.getReference; _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19]); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.i; var currVal_1 = _co.theme.card; _ck(_v, 0, 0, currVal_0, currVal_1); }); } | ||
function View_ArrayEditorComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, [[1, 0], ["drakContainer", 1]], null, 4, "div", [], [[8, "className", 0]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ArrayEditorComponent_9)), i0.ɵdid(2, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ArrayEditorComponent_10)), i0.ɵdid(4, 278528, null, 0, i6.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"], ngForTrackBy: [1, "ngForTrackBy"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.showFilter; _ck(_v, 2, 0, currVal_1); var currVal_2 = _co.filteredValues; var currVal_3 = _co.trackByFunction; _ck(_v, 4, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.theme.card; _ck(_v, 0, 0, currVal_0); }); } | ||
@@ -68,3 +68,3 @@ export function View_ArrayEditorComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { drakContainer: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 19, "div", [], [[8, "className", 0]], null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 10, "h3", [], null, null, null, null, null)), (_l()(), i0.ɵted(3, null, ["", ""])), (_l()(), i0.ɵeld(4, 0, null, null, 8, "div", [], [[8, "className", 0], [8, "style", 2]], null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 1, "optional", [], null, [[null, "toggleOptional"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("toggleOptional" === en)) { | ||
export function View_ArrayEditorComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "array-editor", [], null, null, null, View_ArrayEditorComponent_0, RenderType_ArrayEditorComponent)), i0.ɵdid(1, 4440064, null, 0, i13.ArrayEditorComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } | ||
var ArrayEditorComponentNgFactory = i0.ɵccf("array-editor", i13.ArrayEditorComponent, View_ArrayEditorComponent_Host_0, { schema: "schema", initialValue: "initialValue", title: "title", theme: "theme", icon: "icon", locale: "locale", readonly: "readonly", required: "required", hasDeleteButton: "hasDeleteButton", dragula: "dragula", md: "md", hljs: "hljs", forceHttps: "forceHttps", disableCollapse: "disableCollapse", noSelect2: "noSelect2", minItemCountIfNeedFilter: "minItemCountIfNeedFilter", monacoEditor: "monacoEditor" }, { updateValue: "updateValue", onDelete: "onDelete" }, []); | ||
var ArrayEditorComponentNgFactory = i0.ɵccf("array-editor", i13.ArrayEditorComponent, View_ArrayEditorComponent_Host_0, { schema: "schema", initialValue: "initialValue", title: "title", theme: "theme", icon: "icon", locale: "locale", readonly: "readonly", required: "required", hasDeleteButton: "hasDeleteButton", dragula: "dragula", md: "md", hljs: "hljs", forceHttps: "forceHttps", disableCollapse: "disableCollapse", noSelect2: "noSelect2", minItemCountIfNeedFilter: "minItemCountIfNeedFilter", monacoEditor: "monacoEditor", getReference: "getReference" }, { updateValue: "updateValue", onDelete: "onDelete" }, []); | ||
export { ArrayEditorComponentNgFactory as ArrayEditorComponentNgFactory }; |
@@ -1,1 +0,1 @@ | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"drakContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":3,"members":[]},"arguments":["drakContainer",{"static":false}]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"addItem":[{"__symbolic":"method"}],"onDeleteFunction":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onFilterChange":[{"__symbolic":"method"}],"isChecked":[{"__symbolic":"method"}],"onChangeCheckbox":[{"__symbolic":"method"}],"onChangeSelect2":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0,1,6]},"isComponent":true,"selector":"array-editor","exportAs":null,"inputs":{"schema":"schema","initialValue":"initialValue","title":"title","theme":"theme","icon":"icon","locale":"locale","readonly":"readonly","required":"required","hasDeleteButton":"hasDeleteButton","dragula":"dragula","md":"md","hljs":"hljs","forceHttps":"forceHttps","disableCollapse":"disableCollapse","noSelect2":"noSelect2","minItemCountIfNeedFilter":"minItemCountIfNeedFilter","monacoEditor":"monacoEditor"},"outputs":{"updateValue":"updateValue","onDelete":"onDelete"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[{"selectors":[{"value":"drakContainer"}],"first":true,"descendants":true,"propertyName":"drakContainer","read":null,"static":false}],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":4,"members":[]},"rendererType":{"__symbol":5,"members":[]},"componentFactory":{"__symbol":6,"members":[]}}}],"symbols":[{"__symbol":0,"name":"ArrayEditorComponent","filePath":"./array-editor.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"ViewChild","filePath":"@angular/core"},{"__symbol":4,"name":"View_ArrayEditorComponent_0","filePath":"./array-editor.component.ngfactory"},{"__symbol":5,"name":"RenderType_ArrayEditorComponent","filePath":"./array-editor.component.ngfactory"},{"__symbol":6,"name":"ArrayEditorComponentNgFactory","filePath":"./array-editor.component.ngfactory"}]} | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"getReference":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"drakContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":3,"members":[]},"arguments":["drakContainer",{"static":false}]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"addItem":[{"__symbolic":"method"}],"onDeleteFunction":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onFilterChange":[{"__symbolic":"method"}],"isChecked":[{"__symbolic":"method"}],"onChangeCheckbox":[{"__symbolic":"method"}],"onChangeSelect2":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0,1,6]},"isComponent":true,"selector":"array-editor","exportAs":null,"inputs":{"schema":"schema","initialValue":"initialValue","title":"title","theme":"theme","icon":"icon","locale":"locale","readonly":"readonly","required":"required","hasDeleteButton":"hasDeleteButton","dragula":"dragula","md":"md","hljs":"hljs","forceHttps":"forceHttps","disableCollapse":"disableCollapse","noSelect2":"noSelect2","minItemCountIfNeedFilter":"minItemCountIfNeedFilter","monacoEditor":"monacoEditor","getReference":"getReference"},"outputs":{"updateValue":"updateValue","onDelete":"onDelete"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[{"selectors":[{"value":"drakContainer"}],"first":true,"descendants":true,"propertyName":"drakContainer","read":null,"static":false}],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":4,"members":[]},"rendererType":{"__symbol":5,"members":[]},"componentFactory":{"__symbol":6,"members":[]}}}],"symbols":[{"__symbol":0,"name":"ArrayEditorComponent","filePath":"./array-editor.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"ViewChild","filePath":"@angular/core"},{"__symbol":4,"name":"View_ArrayEditorComponent_0","filePath":"./array-editor.component.ngfactory"},{"__symbol":5,"name":"RenderType_ArrayEditorComponent","filePath":"./array-editor.component.ngfactory"},{"__symbol":6,"name":"ArrayEditorComponentNgFactory","filePath":"./array-editor.component.ngfactory"}]} |
@@ -11,3 +11,3 @@ import { EventEmitter } from '@angular/core'; | ||
locale: common.Locale; | ||
onDelete: EventEmitter<{}>; | ||
onDelete: EventEmitter<any>; | ||
readonly?: boolean; | ||
@@ -14,0 +14,0 @@ required?: boolean; |
@@ -11,3 +11,3 @@ import { EventEmitter } from '@angular/core'; | ||
locale: common.Locale; | ||
onDelete: EventEmitter<{}>; | ||
onDelete: EventEmitter<any>; | ||
readonly?: boolean; | ||
@@ -24,2 +24,4 @@ required?: boolean; | ||
monacoEditor?: common.MonacoEditor; | ||
getReference: (name: string) => common.Schema | undefined; | ||
readonly realSchema: common.Schema; | ||
} |
@@ -10,2 +10,15 @@ import * as tslib_1 from "tslib"; | ||
} | ||
Object.defineProperty(EditorComponent.prototype, "realSchema", { | ||
get: function () { | ||
if (this.schema.$ref) { | ||
var reference = this.getReference(this.schema.$ref); | ||
if (reference) { | ||
return reference; | ||
} | ||
} | ||
return this.schema; | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
tslib_1.__decorate([ | ||
@@ -87,2 +100,6 @@ Input(), | ||
], EditorComponent.prototype, "monacoEditor", void 0); | ||
tslib_1.__decorate([ | ||
Input(), | ||
tslib_1.__metadata("design:type", Function) | ||
], EditorComponent.prototype, "getReference", void 0); | ||
EditorComponent = tslib_1.__decorate([ | ||
@@ -89,0 +106,0 @@ Component({ |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"EditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"editor","template":{"__symbolic":"reference","module":"./variables","name":"editorTemplateHtml","line":6,"character":12}}]}],"members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":23,"character":3}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"EditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"editor","template":{"__symbolic":"reference","module":"./variables","name":"editorTemplateHtml","line":6,"character":12}}]}],"members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":23,"character":3}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"getReference":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}]}}}}] |
@@ -33,3 +33,3 @@ /** | ||
ad = (pd_1 && ad); | ||
} return ad; }, i1.View_ObjectEditorComponent_0, i1.RenderType_ObjectEditorComponent)), i0.ɵdid(1, 114688, null, 0, i2.ObjectEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], dragula: [9, "dragula"], md: [10, "md"], hljs: [11, "hljs"], forceHttps: [12, "forceHttps"], disableCollapse: [13, "disableCollapse"], noSelect2: [14, "noSelect2"], minItemCountIfNeedFilter: [15, "minItemCountIfNeedFilter"], monacoEditor: [16, "monacoEditor"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.schema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.dragula; var currVal_10 = _co.md; var currVal_11 = _co.hljs; var currVal_12 = _co.forceHttps; var currVal_13 = _co.disableCollapse; var currVal_14 = _co.noSelect2; var currVal_15 = _co.minItemCountIfNeedFilter; var currVal_16 = _co.monacoEditor; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]); }, null); } | ||
} return ad; }, i1.View_ObjectEditorComponent_0, i1.RenderType_ObjectEditorComponent)), i0.ɵdid(1, 114688, null, 0, i2.ObjectEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], dragula: [9, "dragula"], md: [10, "md"], hljs: [11, "hljs"], forceHttps: [12, "forceHttps"], disableCollapse: [13, "disableCollapse"], noSelect2: [14, "noSelect2"], minItemCountIfNeedFilter: [15, "minItemCountIfNeedFilter"], monacoEditor: [16, "monacoEditor"], getReference: [17, "getReference"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.realSchema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.dragula; var currVal_10 = _co.md; var currVal_11 = _co.hljs; var currVal_12 = _co.forceHttps; var currVal_13 = _co.disableCollapse; var currVal_14 = _co.noSelect2; var currVal_15 = _co.minItemCountIfNeedFilter; var currVal_16 = _co.monacoEditor; var currVal_17 = _co.getReference; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17]); }, null); } | ||
function View_EditorComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "array-editor", [], null, [[null, "updateValue"], [null, "onDelete"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("updateValue" === en)) { | ||
@@ -41,3 +41,3 @@ var pd_0 = (_co.updateValue.emit($event) !== false); | ||
ad = (pd_1 && ad); | ||
} return ad; }, i3.View_ArrayEditorComponent_0, i3.RenderType_ArrayEditorComponent)), i0.ɵdid(1, 4440064, null, 0, i4.ArrayEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], dragula: [9, "dragula"], md: [10, "md"], hljs: [11, "hljs"], forceHttps: [12, "forceHttps"], disableCollapse: [13, "disableCollapse"], noSelect2: [14, "noSelect2"], minItemCountIfNeedFilter: [15, "minItemCountIfNeedFilter"], monacoEditor: [16, "monacoEditor"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.schema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.dragula; var currVal_10 = _co.md; var currVal_11 = _co.hljs; var currVal_12 = _co.forceHttps; var currVal_13 = _co.disableCollapse; var currVal_14 = _co.noSelect2; var currVal_15 = _co.minItemCountIfNeedFilter; var currVal_16 = _co.monacoEditor; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]); }, null); } | ||
} return ad; }, i3.View_ArrayEditorComponent_0, i3.RenderType_ArrayEditorComponent)), i0.ɵdid(1, 4440064, null, 0, i4.ArrayEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], dragula: [9, "dragula"], md: [10, "md"], hljs: [11, "hljs"], forceHttps: [12, "forceHttps"], disableCollapse: [13, "disableCollapse"], noSelect2: [14, "noSelect2"], minItemCountIfNeedFilter: [15, "minItemCountIfNeedFilter"], monacoEditor: [16, "monacoEditor"], getReference: [17, "getReference"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.realSchema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.dragula; var currVal_10 = _co.md; var currVal_11 = _co.hljs; var currVal_12 = _co.forceHttps; var currVal_13 = _co.disableCollapse; var currVal_14 = _co.noSelect2; var currVal_15 = _co.minItemCountIfNeedFilter; var currVal_16 = _co.monacoEditor; var currVal_17 = _co.getReference; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17]); }, null); } | ||
function View_EditorComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "number-editor", [], null, [[null, "updateValue"], [null, "onDelete"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("updateValue" === en)) { | ||
@@ -49,3 +49,3 @@ var pd_0 = (_co.updateValue.emit($event) !== false); | ||
ad = (pd_1 && ad); | ||
} return ad; }, i5.View_NumberEditorComponent_0, i5.RenderType_NumberEditorComponent)), i0.ɵdid(1, 114688, null, 0, i6.NumberEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], noSelect2: [9, "noSelect2"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.schema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.noSelect2; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }, null); } | ||
} return ad; }, i5.View_NumberEditorComponent_0, i5.RenderType_NumberEditorComponent)), i0.ɵdid(1, 114688, null, 0, i6.NumberEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], noSelect2: [9, "noSelect2"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.realSchema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.noSelect2; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }, null); } | ||
function View_EditorComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "boolean-editor", [], null, [[null, "updateValue"], [null, "onDelete"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("updateValue" === en)) { | ||
@@ -57,3 +57,3 @@ var pd_0 = (_co.updateValue.emit($event) !== false); | ||
ad = (pd_1 && ad); | ||
} return ad; }, i7.View_BooleanEditorComponent_0, i7.RenderType_BooleanEditorComponent)), i0.ɵdid(1, 114688, null, 0, i8.BooleanEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.schema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }, null); } | ||
} return ad; }, i7.View_BooleanEditorComponent_0, i7.RenderType_BooleanEditorComponent)), i0.ɵdid(1, 114688, null, 0, i8.BooleanEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.realSchema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }, null); } | ||
function View_EditorComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "null-editor", [], null, [[null, "updateValue"], [null, "onDelete"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("updateValue" === en)) { | ||
@@ -65,3 +65,3 @@ var pd_0 = (_co.updateValue.emit($event) !== false); | ||
ad = (pd_1 && ad); | ||
} return ad; }, i9.View_NullEditorComponent_0, i9.RenderType_NullEditorComponent)), i0.ɵdid(1, 114688, null, 0, i10.NullEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.schema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }, null); } | ||
} return ad; }, i9.View_NullEditorComponent_0, i9.RenderType_NullEditorComponent)), i0.ɵdid(1, 114688, null, 0, i10.NullEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.realSchema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }, null); } | ||
function View_EditorComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "string-editor", [], null, [[null, "updateValue"], [null, "onDelete"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("updateValue" === en)) { | ||
@@ -73,3 +73,3 @@ var pd_0 = (_co.updateValue.emit($event) !== false); | ||
ad = (pd_1 && ad); | ||
} return ad; }, i11.View_StringEditorComponent_0, i11.RenderType_StringEditorComponent)), i0.ɵdid(1, 4440064, null, 0, i12.StringEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], dragula: [9, "dragula"], md: [10, "md"], hljs: [11, "hljs"], forceHttps: [12, "forceHttps"], noSelect2: [13, "noSelect2"], monacoEditor: [14, "monacoEditor"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.schema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.dragula; var currVal_10 = _co.md; var currVal_11 = _co.hljs; var currVal_12 = _co.forceHttps; var currVal_13 = _co.noSelect2; var currVal_14 = _co.monacoEditor; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14]); }, null); } | ||
} return ad; }, i11.View_StringEditorComponent_0, i11.RenderType_StringEditorComponent)), i0.ɵdid(1, 4440064, null, 0, i12.StringEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], dragula: [9, "dragula"], md: [10, "md"], hljs: [11, "hljs"], forceHttps: [12, "forceHttps"], noSelect2: [13, "noSelect2"], monacoEditor: [14, "monacoEditor"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.realSchema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.dragula; var currVal_10 = _co.md; var currVal_11 = _co.hljs; var currVal_12 = _co.forceHttps; var currVal_13 = _co.noSelect2; var currVal_14 = _co.monacoEditor; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14]); }, null); } | ||
function View_EditorComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "any-editor", [], null, [[null, "updateValue"], [null, "onDelete"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("updateValue" === en)) { | ||
@@ -81,6 +81,6 @@ var pd_0 = (_co.updateValue.emit($event) !== false); | ||
ad = (pd_1 && ad); | ||
} return ad; }, i13.View_AnyEditorComponent_0, i13.RenderType_AnyEditorComponent)), i0.ɵdid(1, 4440064, null, 0, i14.AnyEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], monacoEditor: [9, "monacoEditor"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.schema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.monacoEditor; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }, null); } | ||
export function View_EditorComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_1)), i0.ɵdid(1, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_2)), i0.ɵdid(3, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_3)), i0.ɵdid(5, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_4)), i0.ɵdid(7, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_5)), i0.ɵdid(9, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_6)), i0.ɵdid(11, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_7)), i0.ɵdid(13, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.schema.type === "object"); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.schema.type === "array"); _ck(_v, 3, 0, currVal_1); var currVal_2 = ((_co.schema.type === "number") || (_co.schema.type === "integer")); _ck(_v, 5, 0, currVal_2); var currVal_3 = (_co.schema.type === "boolean"); _ck(_v, 7, 0, currVal_3); var currVal_4 = (_co.schema.type === "null"); _ck(_v, 9, 0, currVal_4); var currVal_5 = (_co.schema.type === "string"); _ck(_v, 11, 0, currVal_5); var currVal_6 = (_co.schema.type === undefined); _ck(_v, 13, 0, currVal_6); }, null); } | ||
} return ad; }, i13.View_AnyEditorComponent_0, i13.RenderType_AnyEditorComponent)), i0.ɵdid(1, 4440064, null, 0, i14.AnyEditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], hasDeleteButton: [8, "hasDeleteButton"], monacoEditor: [9, "monacoEditor"] }, { updateValue: "updateValue", onDelete: "onDelete" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.realSchema; var currVal_1 = _co.initialValue; var currVal_2 = _co.title; var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.readonly; var currVal_7 = _co.required; var currVal_8 = _co.hasDeleteButton; var currVal_9 = _co.monacoEditor; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }, null); } | ||
export function View_EditorComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_1)), i0.ɵdid(1, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_2)), i0.ɵdid(3, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_3)), i0.ɵdid(5, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_4)), i0.ɵdid(7, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_5)), i0.ɵdid(9, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_6)), i0.ɵdid(11, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_EditorComponent_7)), i0.ɵdid(13, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.realSchema.type === "object"); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.realSchema.type === "array"); _ck(_v, 3, 0, currVal_1); var currVal_2 = ((_co.realSchema.type === "number") || (_co.realSchema.type === "integer")); _ck(_v, 5, 0, currVal_2); var currVal_3 = (_co.realSchema.type === "boolean"); _ck(_v, 7, 0, currVal_3); var currVal_4 = (_co.realSchema.type === "null"); _ck(_v, 9, 0, currVal_4); var currVal_5 = (_co.realSchema.type === "string"); _ck(_v, 11, 0, currVal_5); var currVal_6 = (_co.realSchema.type === undefined); _ck(_v, 13, 0, currVal_6); }, null); } | ||
export function View_EditorComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "editor", [], null, null, null, View_EditorComponent_0, RenderType_EditorComponent)), i0.ɵdid(1, 49152, null, 0, i16.EditorComponent, [], null, null)], null, null); } | ||
var EditorComponentNgFactory = i0.ɵccf("editor", i16.EditorComponent, View_EditorComponent_Host_0, { schema: "schema", initialValue: "initialValue", title: "title", theme: "theme", icon: "icon", locale: "locale", readonly: "readonly", required: "required", hasDeleteButton: "hasDeleteButton", dragula: "dragula", md: "md", hljs: "hljs", forceHttps: "forceHttps", disableCollapse: "disableCollapse", noSelect2: "noSelect2", minItemCountIfNeedFilter: "minItemCountIfNeedFilter", monacoEditor: "monacoEditor" }, { updateValue: "updateValue", onDelete: "onDelete" }, []); | ||
var EditorComponentNgFactory = i0.ɵccf("editor", i16.EditorComponent, View_EditorComponent_Host_0, { schema: "schema", initialValue: "initialValue", title: "title", theme: "theme", icon: "icon", locale: "locale", readonly: "readonly", required: "required", hasDeleteButton: "hasDeleteButton", dragula: "dragula", md: "md", hljs: "hljs", forceHttps: "forceHttps", disableCollapse: "disableCollapse", noSelect2: "noSelect2", minItemCountIfNeedFilter: "minItemCountIfNeedFilter", monacoEditor: "monacoEditor", getReference: "getReference" }, { updateValue: "updateValue", onDelete: "onDelete" }, []); | ||
export { EditorComponentNgFactory as EditorComponentNgFactory }; |
@@ -1,1 +0,1 @@ | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"editor","exportAs":null,"inputs":{"schema":"schema","initialValue":"initialValue","title":"title","theme":"theme","icon":"icon","locale":"locale","readonly":"readonly","required":"required","hasDeleteButton":"hasDeleteButton","dragula":"dragula","md":"md","hljs":"hljs","forceHttps":"forceHttps","disableCollapse":"disableCollapse","noSelect2":"noSelect2","minItemCountIfNeedFilter":"minItemCountIfNeedFilter","monacoEditor":"monacoEditor"},"outputs":{"updateValue":"updateValue","onDelete":"onDelete"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":3,"members":[]},"rendererType":{"__symbol":4,"members":[]},"componentFactory":{"__symbol":5,"members":[]}}}],"symbols":[{"__symbol":0,"name":"EditorComponent","filePath":"./editor.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"View_EditorComponent_0","filePath":"./editor.component.ngfactory"},{"__symbol":4,"name":"RenderType_EditorComponent","filePath":"./editor.component.ngfactory"},{"__symbol":5,"name":"EditorComponentNgFactory","filePath":"./editor.component.ngfactory"}]} | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"getReference":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"editor","exportAs":null,"inputs":{"schema":"schema","initialValue":"initialValue","title":"title","theme":"theme","icon":"icon","locale":"locale","readonly":"readonly","required":"required","hasDeleteButton":"hasDeleteButton","dragula":"dragula","md":"md","hljs":"hljs","forceHttps":"forceHttps","disableCollapse":"disableCollapse","noSelect2":"noSelect2","minItemCountIfNeedFilter":"minItemCountIfNeedFilter","monacoEditor":"monacoEditor","getReference":"getReference"},"outputs":{"updateValue":"updateValue","onDelete":"onDelete"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":3,"members":[]},"rendererType":{"__symbol":4,"members":[]},"componentFactory":{"__symbol":5,"members":[]}}}],"symbols":[{"__symbol":0,"name":"EditorComponent","filePath":"./editor.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"View_EditorComponent_0","filePath":"./editor.component.ngfactory"},{"__symbol":4,"name":"RenderType_EditorComponent","filePath":"./editor.component.ngfactory"},{"__symbol":5,"name":"EditorComponentNgFactory","filePath":"./editor.component.ngfactory"}]} |
@@ -6,4 +6,4 @@ import { EventEmitter } from '@angular/core'; | ||
text: string; | ||
onClick: EventEmitter<{}>; | ||
onClick: EventEmitter<any>; | ||
theme: common.Theme; | ||
} |
@@ -81,3 +81,4 @@ import { EventEmitter } from '@angular/core'; | ||
md?: any; | ||
getReference: (name: string) => common.StringSchema | common.ObjectSchema | common.ArraySchema | common.NumberSchema | common.BooleanSchema | common.NullSchema | common.AnySchema | undefined; | ||
ngOnInit(): void; | ||
} |
@@ -11,3 +11,10 @@ import * as tslib_1 from "tslib"; | ||
function JSONEditorComponent() { | ||
var _this = this; | ||
this.updateValue = new EventEmitter(); | ||
this.getReference = function (name) { | ||
if (_this.schema.definitions) { | ||
return _this.schema.definitions[name.substring('#/definitions/'.length)]; | ||
} | ||
return undefined; | ||
}; | ||
} | ||
@@ -14,0 +21,0 @@ Object.defineProperty(JSONEditorComponent.prototype, "themeObject", { |
@@ -17,5 +17,5 @@ /** | ||
ad = (pd_0 && ad); | ||
} return ad; }, i1.View_EditorComponent_0, i1.RenderType_EditorComponent)), i0.ɵdid(1, 49152, null, 0, i2.EditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], theme: [2, "theme"], icon: [3, "icon"], locale: [4, "locale"], readonly: [5, "readonly"], required: [6, "required"], dragula: [7, "dragula"], md: [8, "md"], hljs: [9, "hljs"], forceHttps: [10, "forceHttps"], disableCollapse: [11, "disableCollapse"], noSelect2: [12, "noSelect2"], minItemCountIfNeedFilter: [13, "minItemCountIfNeedFilter"], monacoEditor: [14, "monacoEditor"] }, { updateValue: "updateValue" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.schema; var currVal_1 = _co.initialValue; var currVal_2 = _co.themeObject; var currVal_3 = _co.iconObject; var currVal_4 = _co.localeObject; var currVal_5 = _co.readonly; var currVal_6 = true; var currVal_7 = _co.dragula; var currVal_8 = _co.md; var currVal_9 = _co.hljs; var currVal_10 = _co.forceHttps; var currVal_11 = _co.disableCollapse; var currVal_12 = _co.noSelect2; var currVal_13 = _co.minItemCountIfNeedFilter; var currVal_14 = _co.monacoEditor; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14]); }, null); } | ||
} return ad; }, i1.View_EditorComponent_0, i1.RenderType_EditorComponent)), i0.ɵdid(1, 49152, null, 0, i2.EditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], theme: [2, "theme"], icon: [3, "icon"], locale: [4, "locale"], readonly: [5, "readonly"], required: [6, "required"], dragula: [7, "dragula"], md: [8, "md"], hljs: [9, "hljs"], forceHttps: [10, "forceHttps"], disableCollapse: [11, "disableCollapse"], noSelect2: [12, "noSelect2"], minItemCountIfNeedFilter: [13, "minItemCountIfNeedFilter"], monacoEditor: [14, "monacoEditor"], getReference: [15, "getReference"] }, { updateValue: "updateValue" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.schema; var currVal_1 = _co.initialValue; var currVal_2 = _co.themeObject; var currVal_3 = _co.iconObject; var currVal_4 = _co.localeObject; var currVal_5 = _co.readonly; var currVal_6 = true; var currVal_7 = _co.dragula; var currVal_8 = _co.md; var currVal_9 = _co.hljs; var currVal_10 = _co.forceHttps; var currVal_11 = _co.disableCollapse; var currVal_12 = _co.noSelect2; var currVal_13 = _co.minItemCountIfNeedFilter; var currVal_14 = _co.monacoEditor; var currVal_15 = _co.getReference; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15]); }, null); } | ||
export function View_JSONEditorComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "json-editor", [], null, null, null, View_JSONEditorComponent_0, RenderType_JSONEditorComponent)), i0.ɵdid(1, 114688, null, 0, i3.JSONEditorComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } | ||
var JSONEditorComponentNgFactory = i0.ɵccf("json-editor", i3.JSONEditorComponent, View_JSONEditorComponent_Host_0, { schema: "schema", initialValue: "initialValue", theme: "theme", icon: "icon", locale: "locale", readonly: "readonly", dragula: "dragula", markdownit: "markdownit", hljs: "hljs", forceHttps: "forceHttps", disableCollapse: "disableCollapse", noSelect2: "noSelect2", minItemCountIfNeedFilter: "minItemCountIfNeedFilter", monacoEditor: "monacoEditor" }, { updateValue: "updateValue" }, []); | ||
export { JSONEditorComponentNgFactory as JSONEditorComponentNgFactory }; |
@@ -11,3 +11,3 @@ import { EventEmitter } from '@angular/core'; | ||
locale: common.Locale; | ||
onDelete: EventEmitter<{}>; | ||
onDelete: EventEmitter<any>; | ||
readonly?: boolean; | ||
@@ -14,0 +14,0 @@ required?: boolean; |
@@ -11,3 +11,3 @@ import { EventEmitter } from '@angular/core'; | ||
locale: common.Locale; | ||
onDelete: EventEmitter<{}>; | ||
onDelete: EventEmitter<any>; | ||
readonly?: boolean; | ||
@@ -14,0 +14,0 @@ required?: boolean; |
@@ -10,3 +10,3 @@ /** | ||
import * as i2 from "./icon.component"; | ||
import * as i3 from "../node_modules/select2-angular-component/dist/index.component.ngfactory"; | ||
import * as i3 from "../../../node_modules/select2-angular-component/dist/index.component.ngfactory"; | ||
import * as i4 from "select2-angular-component/dist/index.component"; | ||
@@ -13,0 +13,0 @@ import * as i5 from "@angular/forms"; |
@@ -15,3 +15,3 @@ import { EventEmitter } from '@angular/core'; | ||
locale: common.Locale; | ||
onDelete: EventEmitter<{}>; | ||
onDelete: EventEmitter<any>; | ||
readonly?: boolean; | ||
@@ -28,3 +28,4 @@ required?: boolean; | ||
monacoEditor?: common.MonacoEditor; | ||
collapsed?: boolean; | ||
getReference: (name: string) => common.Schema | undefined; | ||
collapsed?: boolean | undefined; | ||
value?: { | ||
@@ -31,0 +32,0 @@ [name: string]: common.ValueType; |
@@ -198,2 +198,6 @@ import * as tslib_1 from "tslib"; | ||
], ObjectEditorComponent.prototype, "monacoEditor", void 0); | ||
tslib_1.__decorate([ | ||
Input(), | ||
tslib_1.__metadata("design:type", Function) | ||
], ObjectEditorComponent.prototype, "getReference", void 0); | ||
ObjectEditorComponent = tslib_1.__decorate([ | ||
@@ -200,0 +204,0 @@ Component({ |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"ObjectEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"object-editor","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":6,"character":19},"member":"OnPush"},"template":{"__symbolic":"reference","module":"./variables","name":"objectEditorTemplateHtml","line":7,"character":12}}]}],"members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":16,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":24,"character":3}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"isRequired":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onFilterChange":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"ObjectEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"object-editor","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":6,"character":19},"member":"OnPush"},"template":{"__symbolic":"reference","module":"./variables","name":"objectEditorTemplateHtml","line":7,"character":12}}]}],"members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":16,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":24,"character":3}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"getReference":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"isRequired":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onFilterChange":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}}}}] |
@@ -39,3 +39,3 @@ /** | ||
ad = (pd_0 && ad); | ||
} return ad; }, i3.View_EditorComponent_0, i3.RenderType_EditorComponent)), i0.ɵdid(1, 49152, null, 0, i4.EditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], dragula: [8, "dragula"], md: [9, "md"], hljs: [10, "hljs"], forceHttps: [11, "forceHttps"], disableCollapse: [12, "disableCollapse"], noSelect2: [13, "noSelect2"], minItemCountIfNeedFilter: [14, "minItemCountIfNeedFilter"], monacoEditor: [15, "monacoEditor"] }, { updateValue: "updateValue" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.schema; var currVal_1 = _co.value[_v.context.$implicit.property]; var currVal_2 = (_v.context.$implicit.schema.title || _v.context.$implicit.property); var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.isReadOnly; var currVal_7 = _co.isRequired(_v.context.$implicit.property); var currVal_8 = _co.dragula; var currVal_9 = _co.md; var currVal_10 = _co.hljs; var currVal_11 = _co.forceHttps; var currVal_12 = _co.disableCollapse; var currVal_13 = _co.noSelect2; var currVal_14 = _co.minItemCountIfNeedFilter; var currVal_15 = _co.monacoEditor; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15]); }, null); } | ||
} return ad; }, i3.View_EditorComponent_0, i3.RenderType_EditorComponent)), i0.ɵdid(1, 49152, null, 0, i4.EditorComponent, [], { schema: [0, "schema"], initialValue: [1, "initialValue"], title: [2, "title"], theme: [3, "theme"], icon: [4, "icon"], locale: [5, "locale"], readonly: [6, "readonly"], required: [7, "required"], dragula: [8, "dragula"], md: [9, "md"], hljs: [10, "hljs"], forceHttps: [11, "forceHttps"], disableCollapse: [12, "disableCollapse"], noSelect2: [13, "noSelect2"], minItemCountIfNeedFilter: [14, "minItemCountIfNeedFilter"], monacoEditor: [15, "monacoEditor"], getReference: [16, "getReference"] }, { updateValue: "updateValue" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.schema; var currVal_1 = _co.value[_v.context.$implicit.property]; var currVal_2 = (_v.context.$implicit.schema.title || _v.context.$implicit.property); var currVal_3 = _co.theme; var currVal_4 = _co.icon; var currVal_5 = _co.locale; var currVal_6 = _co.isReadOnly; var currVal_7 = _co.isRequired(_v.context.$implicit.property); var currVal_8 = _co.dragula; var currVal_9 = _co.md; var currVal_10 = _co.hljs; var currVal_11 = _co.forceHttps; var currVal_12 = _co.disableCollapse; var currVal_13 = _co.noSelect2; var currVal_14 = _co.minItemCountIfNeedFilter; var currVal_15 = _co.monacoEditor; var currVal_16 = _co.getReference; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]); }, null); } | ||
function View_ObjectEditorComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "div", [], [[8, "className", 0]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ObjectEditorComponent_4)), i0.ɵdid(2, 16384, null, 0, i5.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ObjectEditorComponent_5)), i0.ɵdid(4, 278528, null, 0, i5.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"], ngForTrackBy: [1, "ngForTrackBy"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.showFilter; _ck(_v, 2, 0, currVal_1); var currVal_2 = _co.filteredProperties; var currVal_3 = _co.trackByFunction; _ck(_v, 4, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.theme.card; _ck(_v, 0, 0, currVal_0); }); } | ||
@@ -47,3 +47,3 @@ export function View_ObjectEditorComponent_0(_l) { return i0.ɵvid(2, [(_l()(), i0.ɵeld(0, 0, null, null, 15, "div", [], [[8, "className", 0]], null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 8, "h3", [], null, null, null, null, null)), (_l()(), i0.ɵted(2, null, ["", ""])), (_l()(), i0.ɵeld(3, 0, null, null, 6, "div", [], [[8, "className", 0], [8, "style", 2]], null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, "optional", [], null, [[null, "toggleOptional"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("toggleOptional" === en)) { | ||
export function View_ObjectEditorComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "object-editor", [], null, null, null, View_ObjectEditorComponent_0, RenderType_ObjectEditorComponent)), i0.ɵdid(1, 114688, null, 0, i10.ObjectEditorComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } | ||
var ObjectEditorComponentNgFactory = i0.ɵccf("object-editor", i10.ObjectEditorComponent, View_ObjectEditorComponent_Host_0, { schema: "schema", initialValue: "initialValue", title: "title", theme: "theme", icon: "icon", locale: "locale", readonly: "readonly", required: "required", hasDeleteButton: "hasDeleteButton", dragula: "dragula", md: "md", hljs: "hljs", forceHttps: "forceHttps", disableCollapse: "disableCollapse", noSelect2: "noSelect2", minItemCountIfNeedFilter: "minItemCountIfNeedFilter", monacoEditor: "monacoEditor" }, { updateValue: "updateValue", onDelete: "onDelete" }, []); | ||
var ObjectEditorComponentNgFactory = i0.ɵccf("object-editor", i10.ObjectEditorComponent, View_ObjectEditorComponent_Host_0, { schema: "schema", initialValue: "initialValue", title: "title", theme: "theme", icon: "icon", locale: "locale", readonly: "readonly", required: "required", hasDeleteButton: "hasDeleteButton", dragula: "dragula", md: "md", hljs: "hljs", forceHttps: "forceHttps", disableCollapse: "disableCollapse", noSelect2: "noSelect2", minItemCountIfNeedFilter: "minItemCountIfNeedFilter", monacoEditor: "monacoEditor", getReference: "getReference" }, { updateValue: "updateValue", onDelete: "onDelete" }, []); | ||
export { ObjectEditorComponentNgFactory as ObjectEditorComponentNgFactory }; |
@@ -1,1 +0,1 @@ | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"ngOnInit":[{"__symbolic":"method"}],"isRequired":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onFilterChange":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0]},"isComponent":true,"selector":"object-editor","exportAs":null,"inputs":{"schema":"schema","initialValue":"initialValue","title":"title","theme":"theme","icon":"icon","locale":"locale","readonly":"readonly","required":"required","hasDeleteButton":"hasDeleteButton","dragula":"dragula","md":"md","hljs":"hljs","forceHttps":"forceHttps","disableCollapse":"disableCollapse","noSelect2":"noSelect2","minItemCountIfNeedFilter":"minItemCountIfNeedFilter","monacoEditor":"monacoEditor"},"outputs":{"updateValue":"updateValue","onDelete":"onDelete"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":0,"template":{"ngContentSelectors":[],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":3,"members":[]},"rendererType":{"__symbol":4,"members":[]},"componentFactory":{"__symbol":5,"members":[]}}}],"symbols":[{"__symbol":0,"name":"ObjectEditorComponent","filePath":"./object-editor.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"View_ObjectEditorComponent_0","filePath":"./object-editor.component.ngfactory"},{"__symbol":4,"name":"RenderType_ObjectEditorComponent","filePath":"./object-editor.component.ngfactory"},{"__symbol":5,"name":"ObjectEditorComponentNgFactory","filePath":"./object-editor.component.ngfactory"}]} | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"schema":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"initialValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"updateValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"onDelete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hasDeleteButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"dragula":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"md":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"hljs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"forceHttps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableCollapse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"noSelect2":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minItemCountIfNeedFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"monacoEditor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"getReference":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"ngOnInit":[{"__symbolic":"method"}],"isRequired":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onFilterChange":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0]},"isComponent":true,"selector":"object-editor","exportAs":null,"inputs":{"schema":"schema","initialValue":"initialValue","title":"title","theme":"theme","icon":"icon","locale":"locale","readonly":"readonly","required":"required","hasDeleteButton":"hasDeleteButton","dragula":"dragula","md":"md","hljs":"hljs","forceHttps":"forceHttps","disableCollapse":"disableCollapse","noSelect2":"noSelect2","minItemCountIfNeedFilter":"minItemCountIfNeedFilter","monacoEditor":"monacoEditor","getReference":"getReference"},"outputs":{"updateValue":"updateValue","onDelete":"onDelete"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":0,"template":{"ngContentSelectors":[],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":3,"members":[]},"rendererType":{"__symbol":4,"members":[]},"componentFactory":{"__symbol":5,"members":[]}}}],"symbols":[{"__symbol":0,"name":"ObjectEditorComponent","filePath":"./object-editor.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"View_ObjectEditorComponent_0","filePath":"./object-editor.component.ngfactory"},{"__symbol":4,"name":"RenderType_ObjectEditorComponent","filePath":"./object-editor.component.ngfactory"},{"__symbol":5,"name":"ObjectEditorComponentNgFactory","filePath":"./object-editor.component.ngfactory"}]} |
@@ -9,4 +9,4 @@ import { EventEmitter } from '@angular/core'; | ||
locale: common.Locale; | ||
toggleOptional: EventEmitter<{}>; | ||
toggleOptional: EventEmitter<any>; | ||
readonly hasOptionalCheckbox: boolean; | ||
} |
@@ -11,3 +11,3 @@ import { EventEmitter } from '@angular/core'; | ||
locale: common.Locale; | ||
onDelete: EventEmitter<{}>; | ||
onDelete: EventEmitter<any>; | ||
readonly?: boolean; | ||
@@ -14,0 +14,0 @@ required?: boolean; |
@@ -10,9 +10,9 @@ /** | ||
import * as i2 from "./icon.component"; | ||
import * as i3 from "../node_modules/file-uploader-angular-component/dist/index.component.ngfactory"; | ||
import * as i3 from "../../../node_modules/file-uploader-angular-component/dist/index.component.ngfactory"; | ||
import * as i4 from "file-uploader-angular-component/dist/index.component"; | ||
import * as i5 from "@angular/common"; | ||
import * as i6 from "../node_modules/select2-angular-component/dist/index.component.ngfactory"; | ||
import * as i6 from "../../../node_modules/select2-angular-component/dist/index.component.ngfactory"; | ||
import * as i7 from "select2-angular-component/dist/index.component"; | ||
import * as i8 from "@angular/forms"; | ||
import * as i9 from "../node_modules/markdown-tip-angular/dist/index.component.ngfactory"; | ||
import * as i9 from "../../../node_modules/markdown-tip-angular/dist/index.component.ngfactory"; | ||
import * as i10 from "markdown-tip-angular/dist/index.component"; | ||
@@ -19,0 +19,0 @@ import * as i11 from "./optional.component.ngfactory"; |
@@ -6,11 +6,11 @@ /** | ||
export declare const anyEditorTemplateHtml = "<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"monacoEditor\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%' }\"></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"; | ||
export declare const arrayEditorTemplateHtml = "<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyleString\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse && value && value.length > 0 && !schema.enum\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasAddButton\" (onClick)=\"addItem()\" [text]=\"icon.add\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"schema.enum\"><select2 *ngIf=\"schema.format === 'select2' && !noSelect2\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" [multiple]=\"true\" (update)=\"onChangeSelect2($event)\"></select2><ng-container *ngIf=\"schema.format !== 'select2' || noSelect2\"><span *ngFor=\"let option of options; trackBy:trackByOptions\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChangeCheckbox(option.value)\" [checked]=\"isChecked(option.value)\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></ng-container></div><div *ngIf=\"!schema.enum\" #drakContainer [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [value]=\"filter\"></div><div *ngFor=\"let item of filteredValues; trackBy:trackByFunction\" [attr.data-index]=\"item.i\" [class]=\"theme.card\"><editor [schema]=\"schema.items\" [title]=\"item.i\" [initialValue]=\"value![item.i]\" (updateValue)=\"onChange(item.i, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"true\" [readonly]=\"isReadOnly\" (onDelete)=\"onDeleteFunction(item.i)\" [hasDeleteButton]=\"true\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export declare const arrayEditorTemplateHtml = "<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyleString\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse && value && value.length > 0 && !schema.enum\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasAddButton\" (onClick)=\"addItem()\" [text]=\"icon.add\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"schema.enum\"><select2 *ngIf=\"schema.format === 'select2' && !noSelect2\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" [multiple]=\"true\" (update)=\"onChangeSelect2($event)\"></select2><ng-container *ngIf=\"schema.format !== 'select2' || noSelect2\"><span *ngFor=\"let option of options; trackBy:trackByOptions\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChangeCheckbox(option.value)\" [checked]=\"isChecked(option.value)\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></ng-container></div><div *ngIf=\"!schema.enum\" #drakContainer [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [value]=\"filter\"></div><div *ngFor=\"let item of filteredValues; trackBy:trackByFunction\" [attr.data-index]=\"item.i\" [class]=\"theme.card\"><editor [schema]=\"schema.items\" [title]=\"item.i\" [getReference]=\"getReference\" [initialValue]=\"value![item.i]\" (updateValue)=\"onChange(item.i, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"true\" [readonly]=\"isReadOnly\" (onDelete)=\"onDeleteFunction(item.i)\" [hasDeleteButton]=\"true\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export declare const booleanEditorTemplateHtml = "<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"value !== undefined\"><span *ngIf=\"schema.format === 'checkbox'\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><select *ngIf=\"schema.format === 'select'\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"onChange()\"><option :value=\"true\">{{locale.info.true}}</option><option :value=\"false\">{{locale.info.false}}</option></select><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"!value\" [disabled]=\"isReadOnly\"> {{locale.info.false}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"; | ||
export declare const editorTemplateHtml = "<object-editor *ngIf=\"schema.type === 'object'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></object-editor><array-editor *ngIf=\"schema.type === 'array'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></array-editor><number-editor *ngIf=\"schema.type === 'number' || schema.type === 'integer'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [noSelect2]=\"noSelect2\"></number-editor><boolean-editor *ngIf=\"schema.type === 'boolean'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></boolean-editor><null-editor *ngIf=\"schema.type === 'null'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></null-editor><string-editor *ngIf=\"schema.type === 'string'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></string-editor><any-editor *ngIf=\"schema.type === undefined\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [monacoEditor]=\"monacoEditor\"></any-editor>"; | ||
export declare const editorTemplateHtml = "<object-editor *ngIf=\"realSchema.type === 'object'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [getReference]=\"getReference\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></object-editor><array-editor *ngIf=\"realSchema.type === 'array'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [getReference]=\"getReference\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></array-editor><number-editor *ngIf=\"realSchema.type === 'number' || realSchema.type === 'integer'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [noSelect2]=\"noSelect2\"></number-editor><boolean-editor *ngIf=\"realSchema.type === 'boolean'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></boolean-editor><null-editor *ngIf=\"realSchema.type === 'null'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></null-editor><string-editor *ngIf=\"realSchema.type === 'string'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></string-editor><any-editor *ngIf=\"realSchema.type === undefined\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [monacoEditor]=\"monacoEditor\"></any-editor>"; | ||
export declare const iconTemplateHtml = "<button [class]=\"theme.button\" (click)=\"onClick.emit()\"><span *ngIf=\"icon.isText\">{{text}}</span><i *ngIf=\"!icon.isText\" [class]=\"text\"></i></button>"; | ||
export declare const indexTemplateHtml = "<editor [schema]=\"schema\" [initialValue]=\"initialValue\" [theme]=\"themeObject\" [locale]=\"localeObject\" [icon]=\"iconObject\" [readonly]=\"readonly\" [required]=\"true\" (updateValue)=\"updateValue.emit($event)\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></editor>"; | ||
export declare const indexTemplateHtml = "<editor [schema]=\"schema\" [initialValue]=\"initialValue\" [getReference]=\"getReference\" [theme]=\"themeObject\" [locale]=\"localeObject\" [icon]=\"iconObject\" [readonly]=\"readonly\" [required]=\"true\" (updateValue)=\"updateValue.emit($event)\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></editor>"; | ||
export declare const nullEditorTemplateHtml = "<div [class]=\"theme.row\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"; | ||
export declare const numberEditorTemplateHtml = "<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" type=\"number\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection(+$event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export declare const objectEditorTemplateHtml = "<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"!collapsed && value !== undefined\" [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [placeholder]=\"locale.info.search\" [value]=\"filter\"></div><editor *ngFor=\"let p of filteredProperties; trackBy: trackByFunction\" [schema]=\"p.schema\" [title]=\"p.schema.title || p.property\" [initialValue]=\"value[p.property]\" (updateValue)=\"onChange(p.property, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"isRequired(p.property)\" [readonly]=\"isReadOnly\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export declare const objectEditorTemplateHtml = "<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"!collapsed && value !== undefined\" [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [placeholder]=\"locale.info.search\" [value]=\"filter\"></div><editor *ngFor=\"let p of filteredProperties; trackBy: trackByFunction\" [schema]=\"p.schema\" [title]=\"p.schema.title || p.property\" [getReference]=\"getReference\" [initialValue]=\"value[p.property]\" (updateValue)=\"onChange(p.property, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"isRequired(p.property)\" [readonly]=\"isReadOnly\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export declare const optionalTemplateHtml = "<div *ngIf=\"hasOptionalCheckbox\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"toggleOptional.emit()\" [checked]=\"value === undefined\" [disabled]=\"isReadOnly\"> {{locale.info.notExists}}</label></div>"; | ||
export declare const stringEditorTemplateHtml = "<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"canPreview\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><file-uploader *ngIf=\"canUpload\" [locale]=\"locale.fileUploaderLocale\" (fileGot)=\"fileGot($event)\"></file-uploader><div *ngIf=\"useTextArea && monacoEditor && schema.format === 'json'\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%', display: collapsed ? 'none' : undefined }\"></div><textarea *ngIf=\"useTextArea && (!monacoEditor || schema.format !== 'json')\" [class]=\"errorMessage ? theme.errorTextarea : theme.textarea\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" rows=\"10\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\">{{value}}</textarea><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" [type]=\"schema.format\" [step]=\"schema.step || 1\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection($event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><img *ngIf=\"willPreviewImage\" class=\"schema-based-json-editor-image-preview\" [src]=\"getImageUrl\"><markdown-tip *ngIf=\"useTextArea && !collapsed && willPreviewMarkdown\" [locale]=\"locale.markdownTipLocale\"></markdown-tip><div *ngIf=\"willPreviewMarkdown\" [innerHTML]=\"getMarkdown\"></div><pre *ngIf=\"willPreviewCode\"><code [innerHTML]=\"getCode\"></code></pre><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; |
@@ -6,13 +6,15 @@ /** | ||
// tslint:disable | ||
/* eslint-disable */ | ||
export var anyEditorTemplateHtml = "<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"monacoEditor\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%' }\"></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"; | ||
export var arrayEditorTemplateHtml = "<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyleString\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse && value && value.length > 0 && !schema.enum\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasAddButton\" (onClick)=\"addItem()\" [text]=\"icon.add\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"schema.enum\"><select2 *ngIf=\"schema.format === 'select2' && !noSelect2\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" [multiple]=\"true\" (update)=\"onChangeSelect2($event)\"></select2><ng-container *ngIf=\"schema.format !== 'select2' || noSelect2\"><span *ngFor=\"let option of options; trackBy:trackByOptions\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChangeCheckbox(option.value)\" [checked]=\"isChecked(option.value)\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></ng-container></div><div *ngIf=\"!schema.enum\" #drakContainer [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [value]=\"filter\"></div><div *ngFor=\"let item of filteredValues; trackBy:trackByFunction\" [attr.data-index]=\"item.i\" [class]=\"theme.card\"><editor [schema]=\"schema.items\" [title]=\"item.i\" [initialValue]=\"value![item.i]\" (updateValue)=\"onChange(item.i, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"true\" [readonly]=\"isReadOnly\" (onDelete)=\"onDeleteFunction(item.i)\" [hasDeleteButton]=\"true\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export var arrayEditorTemplateHtml = "<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyleString\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse && value && value.length > 0 && !schema.enum\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasAddButton\" (onClick)=\"addItem()\" [text]=\"icon.add\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"schema.enum\"><select2 *ngIf=\"schema.format === 'select2' && !noSelect2\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" [multiple]=\"true\" (update)=\"onChangeSelect2($event)\"></select2><ng-container *ngIf=\"schema.format !== 'select2' || noSelect2\"><span *ngFor=\"let option of options; trackBy:trackByOptions\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChangeCheckbox(option.value)\" [checked]=\"isChecked(option.value)\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></ng-container></div><div *ngIf=\"!schema.enum\" #drakContainer [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [value]=\"filter\"></div><div *ngFor=\"let item of filteredValues; trackBy:trackByFunction\" [attr.data-index]=\"item.i\" [class]=\"theme.card\"><editor [schema]=\"schema.items\" [title]=\"item.i\" [getReference]=\"getReference\" [initialValue]=\"value![item.i]\" (updateValue)=\"onChange(item.i, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"true\" [readonly]=\"isReadOnly\" (onDelete)=\"onDeleteFunction(item.i)\" [hasDeleteButton]=\"true\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export var booleanEditorTemplateHtml = "<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"value !== undefined\"><span *ngIf=\"schema.format === 'checkbox'\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><select *ngIf=\"schema.format === 'select'\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"onChange()\"><option :value=\"true\">{{locale.info.true}}</option><option :value=\"false\">{{locale.info.false}}</option></select><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"!value\" [disabled]=\"isReadOnly\"> {{locale.info.false}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"; | ||
export var editorTemplateHtml = "<object-editor *ngIf=\"schema.type === 'object'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></object-editor><array-editor *ngIf=\"schema.type === 'array'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></array-editor><number-editor *ngIf=\"schema.type === 'number' || schema.type === 'integer'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [noSelect2]=\"noSelect2\"></number-editor><boolean-editor *ngIf=\"schema.type === 'boolean'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></boolean-editor><null-editor *ngIf=\"schema.type === 'null'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></null-editor><string-editor *ngIf=\"schema.type === 'string'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></string-editor><any-editor *ngIf=\"schema.type === undefined\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [monacoEditor]=\"monacoEditor\"></any-editor>"; | ||
export var editorTemplateHtml = "<object-editor *ngIf=\"realSchema.type === 'object'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [getReference]=\"getReference\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></object-editor><array-editor *ngIf=\"realSchema.type === 'array'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [getReference]=\"getReference\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></array-editor><number-editor *ngIf=\"realSchema.type === 'number' || realSchema.type === 'integer'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [noSelect2]=\"noSelect2\"></number-editor><boolean-editor *ngIf=\"realSchema.type === 'boolean'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></boolean-editor><null-editor *ngIf=\"realSchema.type === 'null'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></null-editor><string-editor *ngIf=\"realSchema.type === 'string'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></string-editor><any-editor *ngIf=\"realSchema.type === undefined\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [monacoEditor]=\"monacoEditor\"></any-editor>"; | ||
export var iconTemplateHtml = "<button [class]=\"theme.button\" (click)=\"onClick.emit()\"><span *ngIf=\"icon.isText\">{{text}}</span><i *ngIf=\"!icon.isText\" [class]=\"text\"></i></button>"; | ||
export var indexTemplateHtml = "<editor [schema]=\"schema\" [initialValue]=\"initialValue\" [theme]=\"themeObject\" [locale]=\"localeObject\" [icon]=\"iconObject\" [readonly]=\"readonly\" [required]=\"true\" (updateValue)=\"updateValue.emit($event)\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></editor>"; | ||
export var indexTemplateHtml = "<editor [schema]=\"schema\" [initialValue]=\"initialValue\" [getReference]=\"getReference\" [theme]=\"themeObject\" [locale]=\"localeObject\" [icon]=\"iconObject\" [readonly]=\"readonly\" [required]=\"true\" (updateValue)=\"updateValue.emit($event)\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></editor>"; | ||
export var nullEditorTemplateHtml = "<div [class]=\"theme.row\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"; | ||
export var numberEditorTemplateHtml = "<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" type=\"number\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection(+$event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export var objectEditorTemplateHtml = "<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"!collapsed && value !== undefined\" [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [placeholder]=\"locale.info.search\" [value]=\"filter\"></div><editor *ngFor=\"let p of filteredProperties; trackBy: trackByFunction\" [schema]=\"p.schema\" [title]=\"p.schema.title || p.property\" [initialValue]=\"value[p.property]\" (updateValue)=\"onChange(p.property, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"isRequired(p.property)\" [readonly]=\"isReadOnly\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export var objectEditorTemplateHtml = "<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"!collapsed && value !== undefined\" [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [placeholder]=\"locale.info.search\" [value]=\"filter\"></div><editor *ngFor=\"let p of filteredProperties; trackBy: trackByFunction\" [schema]=\"p.schema\" [title]=\"p.schema.title || p.property\" [getReference]=\"getReference\" [initialValue]=\"value[p.property]\" (updateValue)=\"onChange(p.property, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"isRequired(p.property)\" [readonly]=\"isReadOnly\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
export var optionalTemplateHtml = "<div *ngIf=\"hasOptionalCheckbox\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"toggleOptional.emit()\" [checked]=\"value === undefined\" [disabled]=\"isReadOnly\"> {{locale.info.notExists}}</label></div>"; | ||
export var stringEditorTemplateHtml = "<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"canPreview\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><file-uploader *ngIf=\"canUpload\" [locale]=\"locale.fileUploaderLocale\" (fileGot)=\"fileGot($event)\"></file-uploader><div *ngIf=\"useTextArea && monacoEditor && schema.format === 'json'\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%', display: collapsed ? 'none' : undefined }\"></div><textarea *ngIf=\"useTextArea && (!monacoEditor || schema.format !== 'json')\" [class]=\"errorMessage ? theme.errorTextarea : theme.textarea\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" rows=\"10\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\">{{value}}</textarea><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" [type]=\"schema.format\" [step]=\"schema.step || 1\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection($event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><img *ngIf=\"willPreviewImage\" class=\"schema-based-json-editor-image-preview\" [src]=\"getImageUrl\"><markdown-tip *ngIf=\"useTextArea && !collapsed && willPreviewMarkdown\" [locale]=\"locale.markdownTipLocale\"></markdown-tip><div *ngIf=\"willPreviewMarkdown\" [innerHTML]=\"getMarkdown\"></div><pre *ngIf=\"willPreviewCode\"><code [innerHTML]=\"getCode\"></code></pre><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"; | ||
/* eslint-enable */ | ||
// tslint:enable |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"anyEditorTemplateHtml":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"monacoEditor\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%' }\"></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>","arrayEditorTemplateHtml":"<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyleString\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse && value && value.length > 0 && !schema.enum\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasAddButton\" (onClick)=\"addItem()\" [text]=\"icon.add\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"schema.enum\"><select2 *ngIf=\"schema.format === 'select2' && !noSelect2\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" [multiple]=\"true\" (update)=\"onChangeSelect2($event)\"></select2><ng-container *ngIf=\"schema.format !== 'select2' || noSelect2\"><span *ngFor=\"let option of options; trackBy:trackByOptions\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChangeCheckbox(option.value)\" [checked]=\"isChecked(option.value)\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></ng-container></div><div *ngIf=\"!schema.enum\" #drakContainer [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [value]=\"filter\"></div><div *ngFor=\"let item of filteredValues; trackBy:trackByFunction\" [attr.data-index]=\"item.i\" [class]=\"theme.card\"><editor [schema]=\"schema.items\" [title]=\"item.i\" [initialValue]=\"value![item.i]\" (updateValue)=\"onChange(item.i, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"true\" [readonly]=\"isReadOnly\" (onDelete)=\"onDeleteFunction(item.i)\" [hasDeleteButton]=\"true\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>","booleanEditorTemplateHtml":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"value !== undefined\"><span *ngIf=\"schema.format === 'checkbox'\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><select *ngIf=\"schema.format === 'select'\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"onChange()\"><option :value=\"true\">{{locale.info.true}}</option><option :value=\"false\">{{locale.info.false}}</option></select><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"!value\" [disabled]=\"isReadOnly\"> {{locale.info.false}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>","editorTemplateHtml":"<object-editor *ngIf=\"schema.type === 'object'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></object-editor><array-editor *ngIf=\"schema.type === 'array'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></array-editor><number-editor *ngIf=\"schema.type === 'number' || schema.type === 'integer'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [noSelect2]=\"noSelect2\"></number-editor><boolean-editor *ngIf=\"schema.type === 'boolean'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></boolean-editor><null-editor *ngIf=\"schema.type === 'null'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></null-editor><string-editor *ngIf=\"schema.type === 'string'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></string-editor><any-editor *ngIf=\"schema.type === undefined\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [monacoEditor]=\"monacoEditor\"></any-editor>","iconTemplateHtml":"<button [class]=\"theme.button\" (click)=\"onClick.emit()\"><span *ngIf=\"icon.isText\">{{text}}</span><i *ngIf=\"!icon.isText\" [class]=\"text\"></i></button>","indexTemplateHtml":"<editor [schema]=\"schema\" [initialValue]=\"initialValue\" [theme]=\"themeObject\" [locale]=\"localeObject\" [icon]=\"iconObject\" [readonly]=\"readonly\" [required]=\"true\" (updateValue)=\"updateValue.emit($event)\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></editor>","nullEditorTemplateHtml":"<div [class]=\"theme.row\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>","numberEditorTemplateHtml":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" type=\"number\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection(+$event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>","objectEditorTemplateHtml":"<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"!collapsed && value !== undefined\" [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [placeholder]=\"locale.info.search\" [value]=\"filter\"></div><editor *ngFor=\"let p of filteredProperties; trackBy: trackByFunction\" [schema]=\"p.schema\" [title]=\"p.schema.title || p.property\" [initialValue]=\"value[p.property]\" (updateValue)=\"onChange(p.property, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"isRequired(p.property)\" [readonly]=\"isReadOnly\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>","optionalTemplateHtml":"<div *ngIf=\"hasOptionalCheckbox\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"toggleOptional.emit()\" [checked]=\"value === undefined\" [disabled]=\"isReadOnly\"> {{locale.info.notExists}}</label></div>","stringEditorTemplateHtml":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"canPreview\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><file-uploader *ngIf=\"canUpload\" [locale]=\"locale.fileUploaderLocale\" (fileGot)=\"fileGot($event)\"></file-uploader><div *ngIf=\"useTextArea && monacoEditor && schema.format === 'json'\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%', display: collapsed ? 'none' : undefined }\"></div><textarea *ngIf=\"useTextArea && (!monacoEditor || schema.format !== 'json')\" [class]=\"errorMessage ? theme.errorTextarea : theme.textarea\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" rows=\"10\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\">{{value}}</textarea><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" [type]=\"schema.format\" [step]=\"schema.step || 1\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection($event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><img *ngIf=\"willPreviewImage\" class=\"schema-based-json-editor-image-preview\" [src]=\"getImageUrl\"><markdown-tip *ngIf=\"useTextArea && !collapsed && willPreviewMarkdown\" [locale]=\"locale.markdownTipLocale\"></markdown-tip><div *ngIf=\"willPreviewMarkdown\" [innerHTML]=\"getMarkdown\"></div><pre *ngIf=\"willPreviewCode\"><code [innerHTML]=\"getCode\"></code></pre><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"anyEditorTemplateHtml":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"monacoEditor\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%' }\"></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>","arrayEditorTemplateHtml":"<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyleString\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse && value && value.length > 0 && !schema.enum\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasAddButton\" (onClick)=\"addItem()\" [text]=\"icon.add\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"schema.enum\"><select2 *ngIf=\"schema.format === 'select2' && !noSelect2\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" [multiple]=\"true\" (update)=\"onChangeSelect2($event)\"></select2><ng-container *ngIf=\"schema.format !== 'select2' || noSelect2\"><span *ngFor=\"let option of options; trackBy:trackByOptions\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChangeCheckbox(option.value)\" [checked]=\"isChecked(option.value)\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></ng-container></div><div *ngIf=\"!schema.enum\" #drakContainer [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [value]=\"filter\"></div><div *ngFor=\"let item of filteredValues; trackBy:trackByFunction\" [attr.data-index]=\"item.i\" [class]=\"theme.card\"><editor [schema]=\"schema.items\" [title]=\"item.i\" [getReference]=\"getReference\" [initialValue]=\"value![item.i]\" (updateValue)=\"onChange(item.i, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"true\" [readonly]=\"isReadOnly\" (onDelete)=\"onDeleteFunction(item.i)\" [hasDeleteButton]=\"true\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>","booleanEditorTemplateHtml":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"value !== undefined\"><span *ngIf=\"schema.format === 'checkbox'\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><select *ngIf=\"schema.format === 'select'\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"onChange()\"><option :value=\"true\">{{locale.info.true}}</option><option :value=\"false\">{{locale.info.false}}</option></select><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"!value\" [disabled]=\"isReadOnly\"> {{locale.info.false}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>","editorTemplateHtml":"<object-editor *ngIf=\"realSchema.type === 'object'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [getReference]=\"getReference\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></object-editor><array-editor *ngIf=\"realSchema.type === 'array'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [getReference]=\"getReference\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></array-editor><number-editor *ngIf=\"realSchema.type === 'number' || realSchema.type === 'integer'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [noSelect2]=\"noSelect2\"></number-editor><boolean-editor *ngIf=\"realSchema.type === 'boolean'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></boolean-editor><null-editor *ngIf=\"realSchema.type === 'null'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></null-editor><string-editor *ngIf=\"realSchema.type === 'string'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></string-editor><any-editor *ngIf=\"realSchema.type === undefined\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [monacoEditor]=\"monacoEditor\"></any-editor>","iconTemplateHtml":"<button [class]=\"theme.button\" (click)=\"onClick.emit()\"><span *ngIf=\"icon.isText\">{{text}}</span><i *ngIf=\"!icon.isText\" [class]=\"text\"></i></button>","indexTemplateHtml":"<editor [schema]=\"schema\" [initialValue]=\"initialValue\" [getReference]=\"getReference\" [theme]=\"themeObject\" [locale]=\"localeObject\" [icon]=\"iconObject\" [readonly]=\"readonly\" [required]=\"true\" (updateValue)=\"updateValue.emit($event)\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></editor>","nullEditorTemplateHtml":"<div [class]=\"theme.row\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>","numberEditorTemplateHtml":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" type=\"number\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection(+$event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>","objectEditorTemplateHtml":"<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"!collapsed && value !== undefined\" [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [placeholder]=\"locale.info.search\" [value]=\"filter\"></div><editor *ngFor=\"let p of filteredProperties; trackBy: trackByFunction\" [schema]=\"p.schema\" [title]=\"p.schema.title || p.property\" [getReference]=\"getReference\" [initialValue]=\"value[p.property]\" (updateValue)=\"onChange(p.property, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"isRequired(p.property)\" [readonly]=\"isReadOnly\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>","optionalTemplateHtml":"<div *ngIf=\"hasOptionalCheckbox\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"toggleOptional.emit()\" [checked]=\"value === undefined\" [disabled]=\"isReadOnly\"> {{locale.info.notExists}}</label></div>","stringEditorTemplateHtml":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"canPreview\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><file-uploader *ngIf=\"canUpload\" [locale]=\"locale.fileUploaderLocale\" (fileGot)=\"fileGot($event)\"></file-uploader><div *ngIf=\"useTextArea && monacoEditor && schema.format === 'json'\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%', display: collapsed ? 'none' : undefined }\"></div><textarea *ngIf=\"useTextArea && (!monacoEditor || schema.format !== 'json')\" [class]=\"errorMessage ? theme.errorTextarea : theme.textarea\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" rows=\"10\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\">{{value}}</textarea><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" [type]=\"schema.format\" [step]=\"schema.step || 1\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection($event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><img *ngIf=\"willPreviewImage\" class=\"schema-based-json-editor-image-preview\" [src]=\"getImageUrl\"><markdown-tip *ngIf=\"useTextArea && !collapsed && willPreviewMarkdown\" [locale]=\"locale.markdownTipLocale\"></markdown-tip><div *ngIf=\"willPreviewMarkdown\" [innerHTML]=\"getMarkdown\"></div><pre *ngIf=\"willPreviewCode\"><code [innerHTML]=\"getCode\"></code></pre><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"}}] |
@@ -1,1 +0,1 @@ | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"monacoEditor\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%' }\"></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"},{"symbol":{"__symbol":1,"members":[]},"metadata":"<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyleString\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse && value && value.length > 0 && !schema.enum\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasAddButton\" (onClick)=\"addItem()\" [text]=\"icon.add\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"schema.enum\"><select2 *ngIf=\"schema.format === 'select2' && !noSelect2\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" [multiple]=\"true\" (update)=\"onChangeSelect2($event)\"></select2><ng-container *ngIf=\"schema.format !== 'select2' || noSelect2\"><span *ngFor=\"let option of options; trackBy:trackByOptions\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChangeCheckbox(option.value)\" [checked]=\"isChecked(option.value)\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></ng-container></div><div *ngIf=\"!schema.enum\" #drakContainer [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [value]=\"filter\"></div><div *ngFor=\"let item of filteredValues; trackBy:trackByFunction\" [attr.data-index]=\"item.i\" [class]=\"theme.card\"><editor [schema]=\"schema.items\" [title]=\"item.i\" [initialValue]=\"value![item.i]\" (updateValue)=\"onChange(item.i, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"true\" [readonly]=\"isReadOnly\" (onDelete)=\"onDeleteFunction(item.i)\" [hasDeleteButton]=\"true\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"},{"symbol":{"__symbol":2,"members":[]},"metadata":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"value !== undefined\"><span *ngIf=\"schema.format === 'checkbox'\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><select *ngIf=\"schema.format === 'select'\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"onChange()\"><option :value=\"true\">{{locale.info.true}}</option><option :value=\"false\">{{locale.info.false}}</option></select><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"!value\" [disabled]=\"isReadOnly\"> {{locale.info.false}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"},{"symbol":{"__symbol":3,"members":[]},"metadata":"<object-editor *ngIf=\"schema.type === 'object'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></object-editor><array-editor *ngIf=\"schema.type === 'array'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></array-editor><number-editor *ngIf=\"schema.type === 'number' || schema.type === 'integer'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [noSelect2]=\"noSelect2\"></number-editor><boolean-editor *ngIf=\"schema.type === 'boolean'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></boolean-editor><null-editor *ngIf=\"schema.type === 'null'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></null-editor><string-editor *ngIf=\"schema.type === 'string'\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></string-editor><any-editor *ngIf=\"schema.type === undefined\" [schema]=\"schema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [monacoEditor]=\"monacoEditor\"></any-editor>"},{"symbol":{"__symbol":4,"members":[]},"metadata":"<button [class]=\"theme.button\" (click)=\"onClick.emit()\"><span *ngIf=\"icon.isText\">{{text}}</span><i *ngIf=\"!icon.isText\" [class]=\"text\"></i></button>"},{"symbol":{"__symbol":5,"members":[]},"metadata":"<editor [schema]=\"schema\" [initialValue]=\"initialValue\" [theme]=\"themeObject\" [locale]=\"localeObject\" [icon]=\"iconObject\" [readonly]=\"readonly\" [required]=\"true\" (updateValue)=\"updateValue.emit($event)\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></editor>"},{"symbol":{"__symbol":6,"members":[]},"metadata":"<div [class]=\"theme.row\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"},{"symbol":{"__symbol":7,"members":[]},"metadata":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" type=\"number\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection(+$event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"},{"symbol":{"__symbol":8,"members":[]},"metadata":"<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"!collapsed && value !== undefined\" [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [placeholder]=\"locale.info.search\" [value]=\"filter\"></div><editor *ngFor=\"let p of filteredProperties; trackBy: trackByFunction\" [schema]=\"p.schema\" [title]=\"p.schema.title || p.property\" [initialValue]=\"value[p.property]\" (updateValue)=\"onChange(p.property, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"isRequired(p.property)\" [readonly]=\"isReadOnly\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"},{"symbol":{"__symbol":9,"members":[]},"metadata":"<div *ngIf=\"hasOptionalCheckbox\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"toggleOptional.emit()\" [checked]=\"value === undefined\" [disabled]=\"isReadOnly\"> {{locale.info.notExists}}</label></div>"},{"symbol":{"__symbol":10,"members":[]},"metadata":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"canPreview\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><file-uploader *ngIf=\"canUpload\" [locale]=\"locale.fileUploaderLocale\" (fileGot)=\"fileGot($event)\"></file-uploader><div *ngIf=\"useTextArea && monacoEditor && schema.format === 'json'\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%', display: collapsed ? 'none' : undefined }\"></div><textarea *ngIf=\"useTextArea && (!monacoEditor || schema.format !== 'json')\" [class]=\"errorMessage ? theme.errorTextarea : theme.textarea\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" rows=\"10\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\">{{value}}</textarea><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" [type]=\"schema.format\" [step]=\"schema.step || 1\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection($event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><img *ngIf=\"willPreviewImage\" class=\"schema-based-json-editor-image-preview\" [src]=\"getImageUrl\"><markdown-tip *ngIf=\"useTextArea && !collapsed && willPreviewMarkdown\" [locale]=\"locale.markdownTipLocale\"></markdown-tip><div *ngIf=\"willPreviewMarkdown\" [innerHTML]=\"getMarkdown\"></div><pre *ngIf=\"willPreviewCode\"><code [innerHTML]=\"getCode\"></code></pre><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"}],"symbols":[{"__symbol":0,"name":"anyEditorTemplateHtml","filePath":"./variables"},{"__symbol":1,"name":"arrayEditorTemplateHtml","filePath":"./variables"},{"__symbol":2,"name":"booleanEditorTemplateHtml","filePath":"./variables"},{"__symbol":3,"name":"editorTemplateHtml","filePath":"./variables"},{"__symbol":4,"name":"iconTemplateHtml","filePath":"./variables"},{"__symbol":5,"name":"indexTemplateHtml","filePath":"./variables"},{"__symbol":6,"name":"nullEditorTemplateHtml","filePath":"./variables"},{"__symbol":7,"name":"numberEditorTemplateHtml","filePath":"./variables"},{"__symbol":8,"name":"objectEditorTemplateHtml","filePath":"./variables"},{"__symbol":9,"name":"optionalTemplateHtml","filePath":"./variables"},{"__symbol":10,"name":"stringEditorTemplateHtml","filePath":"./variables"}]} | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"monacoEditor\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%' }\"></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"},{"symbol":{"__symbol":1,"members":[]},"metadata":"<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyleString\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse && value && value.length > 0 && !schema.enum\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasAddButton\" (onClick)=\"addItem()\" [text]=\"icon.add\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"schema.enum\"><select2 *ngIf=\"schema.format === 'select2' && !noSelect2\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" [multiple]=\"true\" (update)=\"onChangeSelect2($event)\"></select2><ng-container *ngIf=\"schema.format !== 'select2' || noSelect2\"><span *ngFor=\"let option of options; trackBy:trackByOptions\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChangeCheckbox(option.value)\" [checked]=\"isChecked(option.value)\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></ng-container></div><div *ngIf=\"!schema.enum\" #drakContainer [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [value]=\"filter\"></div><div *ngFor=\"let item of filteredValues; trackBy:trackByFunction\" [attr.data-index]=\"item.i\" [class]=\"theme.card\"><editor [schema]=\"schema.items\" [title]=\"item.i\" [getReference]=\"getReference\" [initialValue]=\"value![item.i]\" (updateValue)=\"onChange(item.i, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"true\" [readonly]=\"isReadOnly\" (onDelete)=\"onDeleteFunction(item.i)\" [hasDeleteButton]=\"true\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"},{"symbol":{"__symbol":2,"members":[]},"metadata":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><div *ngIf=\"value !== undefined\"><span *ngIf=\"schema.format === 'checkbox'\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><select *ngIf=\"schema.format === 'select'\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"onChange()\"><option :value=\"true\">{{locale.info.true}}</option><option :value=\"false\">{{locale.info.false}}</option></select><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"value\" [disabled]=\"isReadOnly\"> {{locale.info.true}}</label></span><span *ngIf=\"schema.format === undefined\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"onChange()\" [checked]=\"!value\" [disabled]=\"isReadOnly\"> {{locale.info.false}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"},{"symbol":{"__symbol":3,"members":[]},"metadata":"<object-editor *ngIf=\"realSchema.type === 'object'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [getReference]=\"getReference\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></object-editor><array-editor *ngIf=\"realSchema.type === 'array'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [getReference]=\"getReference\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></array-editor><number-editor *ngIf=\"realSchema.type === 'number' || realSchema.type === 'integer'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [noSelect2]=\"noSelect2\"></number-editor><boolean-editor *ngIf=\"realSchema.type === 'boolean'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></boolean-editor><null-editor *ngIf=\"realSchema.type === 'null'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\"></null-editor><string-editor *ngIf=\"realSchema.type === 'string'\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></string-editor><any-editor *ngIf=\"realSchema.type === undefined\" [schema]=\"realSchema\" [initialValue]=\"initialValue\" [title]=\"title\" [theme]=\"theme\" [locale]=\"locale\" [icon]=\"icon\" [readonly]=\"readonly\" [required]=\"required\" (updateValue)=\"updateValue.emit($event)\" (onDelete)=\"onDelete.emit()\" [hasDeleteButton]=\"hasDeleteButton\" [monacoEditor]=\"monacoEditor\"></any-editor>"},{"symbol":{"__symbol":4,"members":[]},"metadata":"<button [class]=\"theme.button\" (click)=\"onClick.emit()\"><span *ngIf=\"icon.isText\">{{text}}</span><i *ngIf=\"!icon.isText\" [class]=\"text\"></i></button>"},{"symbol":{"__symbol":5,"members":[]},"metadata":"<editor [schema]=\"schema\" [initialValue]=\"initialValue\" [getReference]=\"getReference\" [theme]=\"themeObject\" [locale]=\"localeObject\" [icon]=\"iconObject\" [readonly]=\"readonly\" [required]=\"true\" (updateValue)=\"updateValue.emit($event)\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [noSelect2]=\"noSelect2\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [monacoEditor]=\"monacoEditor\"></editor>"},{"symbol":{"__symbol":6,"members":[]},"metadata":"<div [class]=\"theme.row\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><description [theme]=\"theme\" [message]=\"schema.description\"></description></div>"},{"symbol":{"__symbol":7,"members":[]},"metadata":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" type=\"number\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection(+$event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"},{"symbol":{"__symbol":8,"members":[]},"metadata":"<div [class]=\"className\"><h3>{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"!disableCollapse\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></h3><description [theme]=\"theme\" [message]=\"schema.description\"></description><div *ngIf=\"!collapsed && value !== undefined\" [class]=\"theme.card\"><div *ngIf=\"showFilter\" [class]=\"theme.row\"><input [class]=\"theme.input\" (change)=\"onFilterChange($event)\" (keyup)=\"onFilterChange($event)\" [placeholder]=\"locale.info.search\" [value]=\"filter\"></div><editor *ngFor=\"let p of filteredProperties; trackBy: trackByFunction\" [schema]=\"p.schema\" [title]=\"p.schema.title || p.property\" [getReference]=\"getReference\" [initialValue]=\"value[p.property]\" (updateValue)=\"onChange(p.property, $event)\" [theme]=\"theme\" [icon]=\"icon\" [locale]=\"locale\" [required]=\"isRequired(p.property)\" [readonly]=\"isReadOnly\" [dragula]=\"dragula\" [md]=\"md\" [hljs]=\"hljs\" [forceHttps]=\"forceHttps\" [disableCollapse]=\"disableCollapse\" [minItemCountIfNeedFilter]=\"minItemCountIfNeedFilter\" [noSelect2]=\"noSelect2\" [monacoEditor]=\"monacoEditor\"></editor></div><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"},{"symbol":{"__symbol":9,"members":[]},"metadata":"<div *ngIf=\"hasOptionalCheckbox\" [class]=\"theme.checkbox\"><label><input type=\"checkbox\" (change)=\"toggleOptional.emit()\" [checked]=\"value === undefined\" [disabled]=\"isReadOnly\"> {{locale.info.notExists}}</label></div>"},{"symbol":{"__symbol":10,"members":[]},"metadata":"<div [class]=\"className\"><label [class]=\"theme.title\">{{titleToShow}}<div [class]=\"theme.buttonGroup\" [style]=\"buttonGroupStyle\"><optional [required]=\"required\" [value]=\"value\" [isReadOnly]=\"isReadOnly\" [theme]=\"theme\" [locale]=\"locale\" (toggleOptional)=\"toggleOptional()\"></optional><icon *ngIf=\"hasDeleteButtonFunction\" (onClick)=\"onDelete.emit()\" [text]=\"icon.delete\" [theme]=\"theme\" [icon]=\"icon\"></icon><icon *ngIf=\"canPreview\" (onClick)=\"collapseOrExpand()\" [text]=\"collapsed ? icon.expand : icon.collapse\" [theme]=\"theme\" [icon]=\"icon\"></icon></div></label><file-uploader *ngIf=\"canUpload\" [locale]=\"locale.fileUploaderLocale\" (fileGot)=\"fileGot($event)\"></file-uploader><div *ngIf=\"useTextArea && monacoEditor && schema.format === 'json'\" #monacoEditorRef [ngStyle]=\"{ height: '400px', width: '90%', display: collapsed ? 'none' : undefined }\"></div><textarea *ngIf=\"useTextArea && (!monacoEditor || schema.format !== 'json')\" [class]=\"errorMessage ? theme.errorTextarea : theme.textarea\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" rows=\"10\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\">{{value}}</textarea><input *ngIf=\"useInput\" [class]=\"errorMessage ? theme.errorInput : theme.input\" [type]=\"schema.format\" [step]=\"schema.step || 1\" (change)=\"onChange($event)\" (keyup)=\"onChange($event)\" [defaultValue]=\"value\" [readOnly]=\"isReadOnly\" [disabled]=\"isReadOnly\"><select2 *ngIf=\"useSelect2Component\" [data]=\"options\" [value]=\"value\" [disabled]=\"isReadOnly\" (update)=\"updateSelection($event)\"></select2><select *ngIf=\"useSelectComponent\" [class]=\"theme.select\" [value]=\"value\" [disabled]=\"isReadOnly\" (change)=\"updateSelection($event.target.value)\"><option *ngFor=\"let option of options; trackBy:trackByFunction\" [value]=\"option.value\">{{option.label}}</option></select><div *ngIf=\"useRadioBoxComponent\"><span *ngFor=\"let option of options; trackBy:trackByFunction\" [class]=\"theme.radiobox\"><label><input type=\"radio\" (change)=\"updateSelection(option.value)\" [checked]=\"value === option.value\" [disabled]=\"isReadOnly\"> {{option.label}}</label></span></div><img *ngIf=\"willPreviewImage\" class=\"schema-based-json-editor-image-preview\" [src]=\"getImageUrl\"><markdown-tip *ngIf=\"useTextArea && !collapsed && willPreviewMarkdown\" [locale]=\"locale.markdownTipLocale\"></markdown-tip><div *ngIf=\"willPreviewMarkdown\" [innerHTML]=\"getMarkdown\"></div><pre *ngIf=\"willPreviewCode\"><code [innerHTML]=\"getCode\"></code></pre><description [theme]=\"theme\" [message]=\"schema.description\"></description><description [theme]=\"theme\" [message]=\"errorMessage\"></description></div>"}],"symbols":[{"__symbol":0,"name":"anyEditorTemplateHtml","filePath":"./variables"},{"__symbol":1,"name":"arrayEditorTemplateHtml","filePath":"./variables"},{"__symbol":2,"name":"booleanEditorTemplateHtml","filePath":"./variables"},{"__symbol":3,"name":"editorTemplateHtml","filePath":"./variables"},{"__symbol":4,"name":"iconTemplateHtml","filePath":"./variables"},{"__symbol":5,"name":"indexTemplateHtml","filePath":"./variables"},{"__symbol":6,"name":"nullEditorTemplateHtml","filePath":"./variables"},{"__symbol":7,"name":"numberEditorTemplateHtml","filePath":"./variables"},{"__symbol":8,"name":"objectEditorTemplateHtml","filePath":"./variables"},{"__symbol":9,"name":"optionalTemplateHtml","filePath":"./variables"},{"__symbol":10,"name":"stringEditorTemplateHtml","filePath":"./variables"}]} |
{ | ||
"name": "angular-schema-based-json-editor", | ||
"version": "7.23.1", | ||
"version": "7.24.0", | ||
"main": "dist/index.js", | ||
@@ -36,17 +36,17 @@ "types": "dist/index.d.ts", | ||
"markdown-tip-angular": "6", | ||
"schema-based-json-editor": "^7.23.0", | ||
"schema-based-json-editor": "^7.24.0", | ||
"select2-angular-component": "5" | ||
}, | ||
"devDependencies": { | ||
"@angular/platform-browser": "8.0.0", | ||
"@angular/platform-browser-dynamic": "8.0.0", | ||
"core-js": "3.1.2", | ||
"@angular/platform-browser": "8.1.1", | ||
"@angular/platform-browser-dynamic": "8.1.1", | ||
"core-js": "3.3.2", | ||
"dragula": "3.7.2", | ||
"highlight.js": "9.15.6", | ||
"markdown-it": "8.4.2", | ||
"monaco-editor": "0.17.0", | ||
"highlight.js": "9.15.8", | ||
"markdown-it": "9.0.1", | ||
"monaco-editor": "0.17.1", | ||
"rxjs": "6.5.2", | ||
"zone.js": "0.9.1" | ||
}, | ||
"gitHead": "a5cf9a42847404e7dd29d0b11a35aaac6b02e2c8" | ||
"gitHead": "42799a76074e17f27b5da5443f581c4f7a84b0e7" | ||
} |
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
360589
3080