@archeion/ngx-schema-builder 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6404,7 +6404,7 @@ class DefinitionsEditorComponent {
|
|
|
6404
6404
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: DefinitionsEditorComponent, isStandalone: true, selector: "lib-jsonjoy-definitions-editor", inputs: { schema: { classPropertyName: "schema", publicName: "schema", isSignal: true, isRequired: true, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { schemaChange: "schemaChange" }, host: { classAttribute: "jsonjoy block grow min-h-0" }, ngImport: i0, template: `
|
|
6405
6405
|
<div class="flex flex-col h-full">
|
|
6406
6406
|
@if (!readOnly()) {
|
|
6407
|
-
<div class="mb-4 shrink-0 flex
|
|
6407
|
+
<div class="mb-4 shrink-0 flex">
|
|
6408
6408
|
<button
|
|
6409
6409
|
libJsonjoyButton
|
|
6410
6410
|
type="button"
|
|
@@ -6468,7 +6468,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
6468
6468
|
template: `
|
|
6469
6469
|
<div class="flex flex-col h-full">
|
|
6470
6470
|
@if (!readOnly()) {
|
|
6471
|
-
<div class="mb-4 shrink-0 flex
|
|
6471
|
+
<div class="mb-4 shrink-0 flex">
|
|
6472
6472
|
<button
|
|
6473
6473
|
libJsonjoyButton
|
|
6474
6474
|
type="button"
|
|
@@ -6846,7 +6846,7 @@ class SchemaFieldsEditorComponent {
|
|
|
6846
6846
|
@if (rootType() === 'object') {
|
|
6847
6847
|
@if (activeTab() === 'properties') {
|
|
6848
6848
|
@if (!readOnly()) {
|
|
6849
|
-
<div class="mb-6 shrink-0 flex
|
|
6849
|
+
<div class="mb-6 shrink-0 flex">
|
|
6850
6850
|
<lib-jsonjoy-add-field-button
|
|
6851
6851
|
[autoFocus]="autoFocus()"
|
|
6852
6852
|
(addField)="handleAddField($event)"
|
|
@@ -6973,7 +6973,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
6973
6973
|
@if (rootType() === 'object') {
|
|
6974
6974
|
@if (activeTab() === 'properties') {
|
|
6975
6975
|
@if (!readOnly()) {
|
|
6976
|
-
<div class="mb-6 shrink-0 flex
|
|
6976
|
+
<div class="mb-6 shrink-0 flex">
|
|
6977
6977
|
<lib-jsonjoy-add-field-button
|
|
6978
6978
|
[autoFocus]="autoFocus()"
|
|
6979
6979
|
(addField)="handleAddField($event)"
|
|
@@ -7145,7 +7145,11 @@ class JsonjoyEditorDirective {
|
|
|
7145
7145
|
}),
|
|
7146
7146
|
],
|
|
7147
7147
|
});
|
|
7148
|
-
this.view = new EditorView({
|
|
7148
|
+
this.view = new EditorView({
|
|
7149
|
+
state,
|
|
7150
|
+
parent: this.host.nativeElement,
|
|
7151
|
+
root: this.host.nativeElement.getRootNode(),
|
|
7152
|
+
});
|
|
7149
7153
|
if (this.autoFocus())
|
|
7150
7154
|
this.view.focus();
|
|
7151
7155
|
this._loaded.set(true);
|