@myrmidon/cadmus-thesaurus-list 12.0.0 → 13.0.0

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.
@@ -98,10 +98,10 @@ class ThesaurusListRepository {
98
98
  this._store.reset();
99
99
  });
100
100
  }
101
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ThesaurusListRepository, deps: [{ token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
102
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ThesaurusListRepository, providedIn: 'root' });
101
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ThesaurusListRepository, deps: [{ token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
102
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ThesaurusListRepository, providedIn: 'root' });
103
103
  }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ThesaurusListRepository, decorators: [{
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ThesaurusListRepository, decorators: [{
105
105
  type: Injectable,
106
106
  args: [{ providedIn: 'root' }]
107
107
  }], ctorParameters: () => [{ type: i2.ThesaurusService }] });
@@ -158,10 +158,10 @@ class ThesaurusFilterComponent {
158
158
  const filter = this.getFilter();
159
159
  this._repository.setFilter(filter);
160
160
  }
161
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ThesaurusFilterComponent, deps: [{ token: i1.FormBuilder }, { token: ThesaurusListRepository }], target: i0.ɵɵFactoryTarget.Component });
162
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.3", type: ThesaurusFilterComponent, isStandalone: true, selector: "cadmus-thesaurus-filter", ngImport: i0, template: "<form role=\"form\" [formGroup]=\"form\" (submit)=\"apply()\">\r\n <div class=\"form-row\">\r\n <!-- id -->\r\n <div>\r\n <mat-form-field>\r\n <mat-label>ID</mat-label>\r\n <input matInput formControlName=\"id\" maxlength=\"100\" />\r\n </mat-form-field>\r\n </div>\r\n\r\n <!-- language -->\r\n <div>\r\n <mat-form-field>\r\n <mat-label>language</mat-label>\r\n <input matInput formControlName=\"language\" maxlength=\"2\" />\r\n </mat-form-field>\r\n </div>\r\n\r\n <!-- alias -->\r\n <div>\r\n <mat-form-field>\r\n <mat-label>alias</mat-label>\r\n <mat-select formControlName=\"alias\">\r\n <mat-option [value]=\"null\">(any)</mat-option>\r\n <mat-option [value]=\"true\">alias</mat-option>\r\n <mat-option [value]=\"false\">not an alias</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n\r\n <div>\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n (click)=\"reset()\"\r\n matTooltip=\"Reset all the filters\"\r\n >\r\n <mat-icon class=\"mat-warn\">clear</mat-icon>\r\n </button>\r\n <button\r\n type=\"submit\"\r\n mat-icon-button\r\n [disabled]=\"form.invalid\"\r\n matTooltip=\"Apply filters\"\r\n >\r\n <mat-icon class=\"mat-primary\">check_circle</mat-icon>\r\n </button>\r\n </div>\r\n</form>\r\n", styles: [".form-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-row *{flex:0 0 auto}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
161
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ThesaurusFilterComponent, deps: [{ token: i1.FormBuilder }, { token: ThesaurusListRepository }], target: i0.ɵɵFactoryTarget.Component });
162
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: ThesaurusFilterComponent, isStandalone: true, selector: "cadmus-thesaurus-filter", ngImport: i0, template: "<form role=\"form\" [formGroup]=\"form\" (submit)=\"apply()\">\r\n <div class=\"form-row\">\r\n <!-- id -->\r\n <div>\r\n <mat-form-field>\r\n <mat-label>ID</mat-label>\r\n <input matInput formControlName=\"id\" maxlength=\"100\" />\r\n </mat-form-field>\r\n </div>\r\n\r\n <!-- language -->\r\n <div>\r\n <mat-form-field>\r\n <mat-label>language</mat-label>\r\n <input matInput formControlName=\"language\" maxlength=\"2\" />\r\n </mat-form-field>\r\n </div>\r\n\r\n <!-- alias -->\r\n <div>\r\n <mat-form-field>\r\n <mat-label>alias</mat-label>\r\n <mat-select formControlName=\"alias\">\r\n <mat-option [value]=\"null\">(any)</mat-option>\r\n <mat-option [value]=\"true\">alias</mat-option>\r\n <mat-option [value]=\"false\">not an alias</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n\r\n <div>\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n (click)=\"reset()\"\r\n matTooltip=\"Reset all the filters\"\r\n >\r\n <mat-icon class=\"mat-warn\">clear</mat-icon>\r\n </button>\r\n <button\r\n type=\"submit\"\r\n mat-icon-button\r\n [disabled]=\"form.invalid\"\r\n matTooltip=\"Apply filters\"\r\n >\r\n <mat-icon class=\"mat-primary\">check_circle</mat-icon>\r\n </button>\r\n </div>\r\n</form>\r\n", styles: [".form-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-row *{flex:0 0 auto}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
163
163
  }
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ThesaurusFilterComponent, decorators: [{
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ThesaurusFilterComponent, decorators: [{
165
165
  type: Component,
166
166
  args: [{ selector: 'cadmus-thesaurus-filter', imports: [
167
167
  FormsModule,
@@ -312,10 +312,10 @@ class ThesaurusImportComponent {
312
312
  this.uploadProgress = 0;
313
313
  this.uploadEnd.emit(false);
314
314
  }
315
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ThesaurusImportComponent, deps: [{ token: i1.FormBuilder }, { token: i2$1.EnvService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
316
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.3", type: ThesaurusImportComponent, isStandalone: true, selector: "cadmus-thesaurus-import", outputs: { uploadStart: "uploadStart", uploadEnd: "uploadEnd" }, ngImport: i0, template: "<!-- form -->\n<form [formGroup]=\"form\" (submit)=\"upload()\">\n <fieldset>\n <legend>source</legend>\n\n <!-- file picker -->\n <div>\n <input\n #fileInput\n type=\"file\"\n class=\"hidden\"\n (change)=\"onFileSelected($event)\"\n />\n <button\n type=\"button\"\n mat-flat-button\n class=\"mat-primary\"\n (click)=\"fileInput.click()\"\n [disabled]=\"uploading\"\n >\n select file\n </button>\n <span class=\"file-name\">{{ file.value?.name }}</span>\n @if ($any(file).errors?.required) {\n <span class=\"error\">file required</span>\n } @if ($any(file).errors?.invalidExtension) {\n <span class=\"error\">invalid file type</span>\n }\n </div>\n <br />\n\n <!-- mode -->\n <div class=\"form-row\">\n <mat-form-field>\n <mat-label>mode</mat-label>\n <mat-select [formControl]=\"mode\">\n <mat-option value=\"R\">replace</mat-option>\n <mat-option value=\"P\">patch</mat-option>\n <mat-option value=\"S\">synch</mat-option>\n </mat-select>\n <mat-hint>\n @if (mode.value === 'R') {\n <span\n >if the imported thesaurus already exists, it is fully replaced by\n the new one.</span\n >\n } @if (mode.value === 'P') {\n <span\n >the existing thesaurus is patched with the imported one: any\n existing entry has its value overwritten; any non existing entry is\n just added.</span\n >\n } @if (mode.value === 'S') {\n <span\n >equal to patch, with the addition that any existing entry not found\n in the imported thesaurus is removed.</span\n >\n }\n </mat-hint>\n @if ($any(mode).errors?.required && (mode.dirty || mode.touched)) {\n <mat-error>mode required</mat-error>\n }\n </mat-form-field>\n\n <!-- dry -->\n <mat-checkbox [formControl]=\"dryRun\">dry run</mat-checkbox>\n </div>\n\n <!-- Excel -->\n @if ( file.value?.name?.endsWith('.xlsx') ||\n file.value?.name?.endsWith('.xls') ) {\n <div>\n <fieldset>\n <legend>Excel</legend>\n <div class=\"form-row\">\n <!-- excelSheet -->\n <mat-form-field class=\"nr-input\">\n <mat-label>sheet</mat-label>\n <input matInput type=\"number\" min=\"1\" [formControl]=\"excelSheet\" />\n </mat-form-field>\n <!-- excelRow -->\n <mat-form-field class=\"nr-input\">\n <mat-label>1st row</mat-label>\n <input matInput type=\"number\" min=\"1\" [formControl]=\"excelRow\" />\n </mat-form-field>\n <!-- excelColumn -->\n <mat-form-field class=\"nr-input\">\n <mat-label>1st column</mat-label>\n <input matInput type=\"number\" min=\"1\" [formControl]=\"excelColumn\" />\n </mat-form-field>\n </div>\n </fieldset>\n </div>\n }\n\n <!-- submit -->\n <div style=\"margin-top: 16px\">\n <button\n type=\"submit\"\n mat-flat-button\n class=\"mat-warn\"\n [disabled]=\"uploading || form.invalid\"\n >\n upload\n </button>\n </div>\n </fieldset>\n</form>\n\n<!-- uploading -->\n@if (uploading) {\n<div>\n <div>\n <button type=\"button\" mat-flat-button class=\"mat-warn\" (click)=\"onCancel()\">\n cancel\n </button>\n </div>\n <div style=\"margin-top: 16px\">\n <mat-progress-bar max=\"100\" [value]=\"uploadProgress\"></mat-progress-bar>\n </div>\n</div>\n}\n\n<!-- result -->\n@if (result) {\n<div>\n @if (result.error) {\n <div class=\"error\">{{ result.error }}</div>\n } @if (result.importedIds.length) {\n <div>\n <div>\n <mat-card>\n <mat-card-header>\n <mat-card-title>Imported IDs</mat-card-title>\n </mat-card-header>\n <mat-card-content>\n <ol>\n @for (id of result.importedIds; track id) {\n <li>{{ id }}</li>\n }\n </ol>\n </mat-card-content>\n </mat-card>\n </div>\n </div>\n }\n</div>\n}\n", styles: ["fieldset{border:1px solid #ddd;border-radius:4px;margin:8px 0;padding:8px}legend{color:silver}.hidden{display:none}.file-name{color:#4169e1;margin-left:16px}.nr-input{width:6em}.form-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-row *{flex:0 0 auto}.error{margin:8px;color:#fff;padding:4px 8px;background-color:#fb3939;border:1px solid rgb(251,57,57);border-radius:6px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }] });
315
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ThesaurusImportComponent, deps: [{ token: i1.FormBuilder }, { token: i2$1.EnvService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
316
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: ThesaurusImportComponent, isStandalone: true, selector: "cadmus-thesaurus-import", outputs: { uploadStart: "uploadStart", uploadEnd: "uploadEnd" }, ngImport: i0, template: "<!-- form -->\n<form [formGroup]=\"form\" (submit)=\"upload()\">\n <fieldset>\n <legend>source</legend>\n\n <!-- file picker -->\n <div>\n <input\n #fileInput\n type=\"file\"\n class=\"hidden\"\n (change)=\"onFileSelected($event)\"\n />\n <button\n type=\"button\"\n mat-flat-button\n class=\"mat-primary\"\n (click)=\"fileInput.click()\"\n [disabled]=\"uploading\"\n >\n select file\n </button>\n <span class=\"file-name\">{{ file.value?.name }}</span>\n @if ($any(file).errors?.required) {\n <span class=\"error\">file required</span>\n } @if ($any(file).errors?.invalidExtension) {\n <span class=\"error\">invalid file type</span>\n }\n </div>\n <br />\n\n <!-- mode -->\n <div class=\"form-row\">\n <mat-form-field>\n <mat-label>mode</mat-label>\n <mat-select [formControl]=\"mode\">\n <mat-option value=\"R\">replace</mat-option>\n <mat-option value=\"P\">patch</mat-option>\n <mat-option value=\"S\">synch</mat-option>\n </mat-select>\n <mat-hint>\n @if (mode.value === 'R') {\n <span\n >if the imported thesaurus already exists, it is fully replaced by\n the new one.</span\n >\n } @if (mode.value === 'P') {\n <span\n >the existing thesaurus is patched with the imported one: any\n existing entry has its value overwritten; any non existing entry is\n just added.</span\n >\n } @if (mode.value === 'S') {\n <span\n >equal to patch, with the addition that any existing entry not found\n in the imported thesaurus is removed.</span\n >\n }\n </mat-hint>\n @if ($any(mode).errors?.required && (mode.dirty || mode.touched)) {\n <mat-error>mode required</mat-error>\n }\n </mat-form-field>\n\n <!-- dry -->\n <mat-checkbox [formControl]=\"dryRun\">dry run</mat-checkbox>\n </div>\n\n <!-- Excel -->\n @if ( file.value?.name?.endsWith('.xlsx') ||\n file.value?.name?.endsWith('.xls') ) {\n <div>\n <fieldset>\n <legend>Excel</legend>\n <div class=\"form-row\">\n <!-- excelSheet -->\n <mat-form-field class=\"nr-input\">\n <mat-label>sheet</mat-label>\n <input matInput type=\"number\" min=\"1\" [formControl]=\"excelSheet\" />\n </mat-form-field>\n <!-- excelRow -->\n <mat-form-field class=\"nr-input\">\n <mat-label>1st row</mat-label>\n <input matInput type=\"number\" min=\"1\" [formControl]=\"excelRow\" />\n </mat-form-field>\n <!-- excelColumn -->\n <mat-form-field class=\"nr-input\">\n <mat-label>1st column</mat-label>\n <input matInput type=\"number\" min=\"1\" [formControl]=\"excelColumn\" />\n </mat-form-field>\n </div>\n </fieldset>\n </div>\n }\n\n <!-- submit -->\n <div style=\"margin-top: 16px\">\n <button\n type=\"submit\"\n mat-flat-button\n class=\"mat-warn\"\n [disabled]=\"uploading || form.invalid\"\n >\n upload\n </button>\n </div>\n </fieldset>\n</form>\n\n<!-- uploading -->\n@if (uploading) {\n<div>\n <div>\n <button type=\"button\" mat-flat-button class=\"mat-warn\" (click)=\"onCancel()\">\n cancel\n </button>\n </div>\n <div style=\"margin-top: 16px\">\n <mat-progress-bar max=\"100\" [value]=\"uploadProgress\"></mat-progress-bar>\n </div>\n</div>\n}\n\n<!-- result -->\n@if (result) {\n<div>\n @if (result.error) {\n <div class=\"error\">{{ result.error }}</div>\n } @if (result.importedIds.length) {\n <div>\n <div>\n <mat-card>\n <mat-card-header>\n <mat-card-title>Imported IDs</mat-card-title>\n </mat-card-header>\n <mat-card-content>\n <ol>\n @for (id of result.importedIds; track id) {\n <li>{{ id }}</li>\n }\n </ol>\n </mat-card-content>\n </mat-card>\n </div>\n </div>\n }\n</div>\n}\n", styles: ["fieldset{border:1px solid #ddd;border-radius:4px;margin:8px 0;padding:8px}legend{color:silver}.hidden{display:none}.file-name{color:#4169e1;margin-left:16px}.nr-input{width:6em}.form-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-row *{flex:0 0 auto}.error{margin:8px;color:#fff;padding:4px 8px;background-color:#fb3939;border:1px solid rgb(251,57,57);border-radius:6px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }] });
317
317
  }
318
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ThesaurusImportComponent, decorators: [{
318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ThesaurusImportComponent, decorators: [{
319
319
  type: Component,
320
320
  args: [{ selector: 'cadmus-thesaurus-import', imports: [
321
321
  FormsModule,
@@ -420,10 +420,10 @@ class ThesaurusListComponent {
420
420
  onUploadEnd() {
421
421
  this._repository.reset();
422
422
  }
423
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ThesaurusListComponent, deps: [{ token: ThesaurusListRepository }, { token: i2.ThesaurusService }, { token: i3.DialogService }, { token: i4.Router }, { token: i5.AuthJwtService }, { token: i2.UserLevelService }, { token: i6.MatSnackBar }, { token: i2$1.EnvService }], target: i0.ɵɵFactoryTarget.Component });
424
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.3", type: ThesaurusListComponent, isStandalone: true, selector: "cadmus-thesaurus-list", ngImport: i0, template: "<mat-card appearance=\"outlined\">\n <mat-card-header>\n <mat-card-title> Thesauri </mat-card-title>\n </mat-card-header>\n <mat-card-content>\n <div id=\"container\">\n <!-- filters -->\n <div id=\"filters\">\n <cadmus-thesaurus-filter></cadmus-thesaurus-filter>\n </div>\n\n <!-- list -->\n @if (page$ | async; as page) {\n <div id=\"list\">\n @if (loading$ | async) {\n <div>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n }\n <table>\n <thead>\n <th></th>\n <th>id</th>\n <th>entries</th>\n </thead>\n <tbody>\n @for (thesaurus of page.items; track thesaurus.id) {\n <tr>\n <td class=\"fit-width\">\n <button\n mat-icon-button\n type=\"button\"\n matTooltip=\"Edit {{ thesaurus.id }}\"\n (click)=\"editThesaurus(thesaurus)\"\n >\n <mat-icon class=\"mat-primary\">mode_edit</mat-icon>\n </button>\n @if (userLevel > 2) {\n <button\n mat-icon-button\n type=\"button\"\n matTooltip=\"Delete {{ thesaurus.id }}\"\n (click)=\"deleteThesaurus(thesaurus)\"\n >\n <mat-icon class=\"mat-warn\">delete</mat-icon>\n </button>\n }\n <button\n type=\"button\"\n mat-icon-button\n matTooltip=\"Download this thesaurus\"\n [disabled]=\"downloading\"\n (click)=\"downloadThesaurus(thesaurus.id)\"\n >\n <mat-icon>download</mat-icon>\n </button>\n </td>\n <td>{{ thesaurus.id }}</td>\n <td>\n {{ thesaurus.entries?.length || 0 }}\n </td>\n </tr>\n }\n </tbody>\n </table>\n <!-- pagination -->\n <mat-paginator\n [length]=\"page.total\"\n [pageIndex]=\"page.pageNumber - 1\"\n [pageSize]=\"page.pageSize\"\n [pageSizeOptions]=\"[5, 10, 20, 50, 100]\"\n (page)=\"onPageChange($event)\"\n [showFirstLastButtons]=\"true\"\n ></mat-paginator>\n <!-- importer -->\n @if (importEnabled) {\n <div>\n <mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>Import thesauri</mat-panel-title>\n </mat-expansion-panel-header>\n <cadmus-thesaurus-import\n (uploadEnd)=\"onUploadEnd()\"\n ></cadmus-thesaurus-import>\n </mat-expansion-panel>\n </div>\n }\n </div>\n }\n </div>\n </mat-card-content>\n @if ( user?.roles?.includes('admin') || user?.roles?.includes('editor') ||\n user?.roles?.includes('operator') ) {\n <mat-card-actions>\n @if (userLevel > 1) {\n <button\n type=\"button\"\n class=\"mat-primary\"\n mat-flat-button\n matTooltip=\"Add a new thesaurus\"\n (click)=\"addThesaurus()\"\n >\n <mat-icon>add_circle</mat-icon>\n thesaurus\n </button>\n }\n </mat-card-actions>\n }\n</mat-card>\n", styles: ["table{width:100%;border-collapse:collapse}th{font-weight:400;color:silver}td.fit-width{width:1px;white-space:nowrap}tbody tr:nth-child(odd){background-color:#e2e2e2}th{text-align:left;font-weight:400;color:silver}td.command{width:24px}div#container{display:grid;grid-template-rows:1fr;grid-template-columns:auto 1fr;grid-template-areas:\"filters list\";gap:16px}#filters{grid-area:filters;max-width:230px}#list{grid-area:list}@media only screen and (max-width: 959px){div#container{grid-template-rows:1fr auto;grid-template-columns:1fr;grid-template-areas:\"list\" \"filters\"}#filters{max-width:none}.noif-lt-md{display:none}}\n"], dependencies: [{ kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }, { kind: "component", type: ThesaurusFilterComponent, selector: "cadmus-thesaurus-filter" }, { kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: ThesaurusImportComponent, selector: "cadmus-thesaurus-import", outputs: ["uploadStart", "uploadEnd"] }, { kind: "directive", type: MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
423
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ThesaurusListComponent, deps: [{ token: ThesaurusListRepository }, { token: i2.ThesaurusService }, { token: i3.DialogService }, { token: i4.Router }, { token: i5.AuthJwtService }, { token: i2.UserLevelService }, { token: i6.MatSnackBar }, { token: i2$1.EnvService }], target: i0.ɵɵFactoryTarget.Component });
424
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: ThesaurusListComponent, isStandalone: true, selector: "cadmus-thesaurus-list", ngImport: i0, template: "<mat-card appearance=\"outlined\">\n <mat-card-header>\n <mat-card-title> Thesauri </mat-card-title>\n </mat-card-header>\n <mat-card-content>\n <div id=\"container\">\n <!-- filters -->\n <div id=\"filters\">\n <cadmus-thesaurus-filter></cadmus-thesaurus-filter>\n </div>\n\n <!-- list -->\n @if (page$ | async; as page) {\n <div id=\"list\">\n @if (loading$ | async) {\n <div>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n }\n <table>\n <thead>\n <th></th>\n <th>id</th>\n <th>entries</th>\n </thead>\n <tbody>\n @for (thesaurus of page.items; track thesaurus.id) {\n <tr>\n <td class=\"fit-width\">\n <button\n mat-icon-button\n type=\"button\"\n matTooltip=\"Edit {{ thesaurus.id }}\"\n (click)=\"editThesaurus(thesaurus)\"\n >\n <mat-icon class=\"mat-primary\">mode_edit</mat-icon>\n </button>\n @if (userLevel > 2) {\n <button\n mat-icon-button\n type=\"button\"\n matTooltip=\"Delete {{ thesaurus.id }}\"\n (click)=\"deleteThesaurus(thesaurus)\"\n >\n <mat-icon class=\"mat-warn\">delete</mat-icon>\n </button>\n }\n <button\n type=\"button\"\n mat-icon-button\n matTooltip=\"Download this thesaurus\"\n [disabled]=\"downloading\"\n (click)=\"downloadThesaurus(thesaurus.id)\"\n >\n <mat-icon>download</mat-icon>\n </button>\n </td>\n <td>{{ thesaurus.id }}</td>\n <td>\n {{ thesaurus.entries?.length || 0 }}\n </td>\n </tr>\n }\n </tbody>\n </table>\n <!-- pagination -->\n <mat-paginator\n [length]=\"page.total\"\n [pageIndex]=\"page.pageNumber - 1\"\n [pageSize]=\"page.pageSize\"\n [pageSizeOptions]=\"[5, 10, 20, 50, 100]\"\n (page)=\"onPageChange($event)\"\n [showFirstLastButtons]=\"true\"\n ></mat-paginator>\n <!-- importer -->\n @if (importEnabled) {\n <div>\n <mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>Import thesauri</mat-panel-title>\n </mat-expansion-panel-header>\n <cadmus-thesaurus-import\n (uploadEnd)=\"onUploadEnd()\"\n ></cadmus-thesaurus-import>\n </mat-expansion-panel>\n </div>\n }\n </div>\n }\n </div>\n </mat-card-content>\n @if ( user?.roles?.includes('admin') || user?.roles?.includes('editor') ||\n user?.roles?.includes('operator') ) {\n <mat-card-actions>\n @if (userLevel > 1) {\n <button\n type=\"button\"\n class=\"mat-primary\"\n mat-flat-button\n matTooltip=\"Add a new thesaurus\"\n (click)=\"addThesaurus()\"\n >\n <mat-icon>add_circle</mat-icon>\n thesaurus\n </button>\n }\n </mat-card-actions>\n }\n</mat-card>\n", styles: ["table{width:100%;border-collapse:collapse}th{font-weight:400;color:silver}td.fit-width{width:1px;white-space:nowrap}tbody tr:nth-child(odd){background-color:#e2e2e2}th{text-align:left;font-weight:400;color:silver}td.command{width:24px}div#container{display:grid;grid-template-rows:1fr;grid-template-columns:auto 1fr;grid-template-areas:\"filters list\";gap:16px}#filters{grid-area:filters;max-width:230px}#list{grid-area:list}@media only screen and (max-width: 959px){div#container{grid-template-rows:1fr auto;grid-template-columns:1fr;grid-template-areas:\"list\" \"filters\"}#filters{max-width:none}.noif-lt-md{display:none}}\n"], dependencies: [{ kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }, { kind: "component", type: ThesaurusFilterComponent, selector: "cadmus-thesaurus-filter" }, { kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: ThesaurusImportComponent, selector: "cadmus-thesaurus-import", outputs: ["uploadStart", "uploadEnd"] }, { kind: "directive", type: MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
425
425
  }
426
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ThesaurusListComponent, decorators: [{
426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ThesaurusListComponent, decorators: [{
427
427
  type: Component,
428
428
  args: [{ selector: 'cadmus-thesaurus-list', imports: [
429
429
  MatCard,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrmidon/cadmus-thesaurus-list",
3
- "version": "12.0.0",
3
+ "version": "13.0.0",
4
4
  "description": "Cadmus - thesauri list.",
5
5
  "keywords": [
6
6
  "Cadmus"
@@ -18,7 +18,7 @@
18
18
  "@angular/core": "^19.0.0",
19
19
  "@myrmidon/ngx-tools": "^1.0.0",
20
20
  "@myrmidon/ngx-mat-tools": "^0.0.1",
21
- "@myrmidon/cadmus-api": "^11.0.0",
21
+ "@myrmidon/cadmus-api": "^12.0.0",
22
22
  "@myrmidon/cadmus-ui": "^12.0.0"
23
23
  },
24
24
  "dependencies": {