@myrmidon/cadmus-part-general-pg 2.1.2 → 6.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.
Files changed (77) hide show
  1. package/esm2022/lib/bibliography-part-feature/bibliography-part-feature.component.mjs +30 -0
  2. package/{esm2020 → esm2022}/lib/cadmus-part-general-pg.module.mjs +347 -346
  3. package/esm2022/lib/categories-part-feature/categories-part-feature.component.mjs +26 -0
  4. package/esm2022/lib/chronology-fragment-feature/chronology-fragment-feature.component.mjs +26 -0
  5. package/esm2022/lib/chronotopes-part-feature/chronotopes-part-feature.component.mjs +30 -0
  6. package/esm2022/lib/comment-fragment-feature/comment-fragment-feature.component.mjs +38 -0
  7. package/esm2022/lib/comment-part-feature/comment-part-feature.component.mjs +38 -0
  8. package/esm2022/lib/doc-references-part-feature/doc-references-part-feature.component.mjs +25 -0
  9. package/esm2022/lib/external-ids-part-feature/external-ids-part-feature.component.mjs +31 -0
  10. package/esm2022/lib/historical-date-part-feature/historical-date-part-feature.component.mjs +25 -0
  11. package/esm2022/lib/historical-events-part-feature/historical-events-part-feature.component.mjs +37 -0
  12. package/esm2022/lib/index-keywords-part-feature/index-keywords-part-feature.component.mjs +25 -0
  13. package/esm2022/lib/keywords-part-feature/keywords-part-feature.component.mjs +25 -0
  14. package/esm2022/lib/metadata-part-feature/metadata-part-feature.component.mjs +25 -0
  15. package/esm2022/lib/names-part-feature/names-part-feature.component.mjs +33 -0
  16. package/esm2022/lib/note-part-feature/note-part-feature.component.mjs +26 -0
  17. package/esm2022/lib/pin-links-fragment-feature/pin-links-fragment-feature.component.mjs +33 -0
  18. package/esm2022/lib/pin-links-part-feature/pin-links-part-feature.component.mjs +32 -0
  19. package/esm2022/lib/tiled-text-layer-part-feature/tiled-text-layer-part-feature.component.mjs +239 -0
  20. package/{esm2020 → esm2022}/lib/tiled-text-layer-part-feature/tiled-text-layer-view.mjs +379 -379
  21. package/esm2022/lib/tiled-text-part-feature/tiled-text-part-feature.component.mjs +22 -0
  22. package/esm2022/lib/token-text-layer-part-feature/token-text-layer-part-feature.component.mjs +190 -0
  23. package/esm2022/lib/token-text-part-feature/token-text-part-feature.component.mjs +22 -0
  24. package/{esm2020 → esm2022}/myrmidon-cadmus-part-general-pg.mjs +4 -4
  25. package/{esm2020 → esm2022}/public-api.mjs +25 -25
  26. package/{fesm2020 → fesm2022}/myrmidon-cadmus-part-general-pg.mjs +1379 -1358
  27. package/fesm2022/myrmidon-cadmus-part-general-pg.mjs.map +1 -0
  28. package/index.d.ts +5 -5
  29. package/lib/bibliography-part-feature/bibliography-part-feature.component.d.ts +12 -12
  30. package/lib/cadmus-part-general-pg.module.d.ts +50 -50
  31. package/lib/categories-part-feature/categories-part-feature.component.d.ts +12 -12
  32. package/lib/chronology-fragment-feature/chronology-fragment-feature.component.d.ts +12 -12
  33. package/lib/chronotopes-part-feature/chronotopes-part-feature.component.d.ts +12 -12
  34. package/lib/comment-fragment-feature/comment-fragment-feature.component.d.ts +12 -12
  35. package/lib/comment-part-feature/comment-part-feature.component.d.ts +12 -12
  36. package/lib/doc-references-part-feature/doc-references-part-feature.component.d.ts +12 -12
  37. package/lib/external-ids-part-feature/external-ids-part-feature.component.d.ts +12 -12
  38. package/lib/historical-date-part-feature/historical-date-part-feature.component.d.ts +12 -12
  39. package/lib/historical-events-part-feature/historical-events-part-feature.component.d.ts +12 -12
  40. package/lib/index-keywords-part-feature/index-keywords-part-feature.component.d.ts +12 -12
  41. package/lib/keywords-part-feature/keywords-part-feature.component.d.ts +12 -12
  42. package/lib/metadata-part-feature/metadata-part-feature.component.d.ts +12 -12
  43. package/lib/names-part-feature/names-part-feature.component.d.ts +12 -12
  44. package/lib/note-part-feature/note-part-feature.component.d.ts +12 -12
  45. package/lib/pin-links-fragment-feature/pin-links-fragment-feature.component.d.ts +12 -12
  46. package/lib/pin-links-part-feature/pin-links-part-feature.component.d.ts +12 -12
  47. package/lib/tiled-text-layer-part-feature/tiled-text-layer-part-feature.component.d.ts +66 -66
  48. package/lib/tiled-text-layer-part-feature/tiled-text-layer-view.d.ts +145 -145
  49. package/lib/tiled-text-part-feature/tiled-text-part-feature.component.d.ts +11 -11
  50. package/lib/token-text-layer-part-feature/token-text-layer-part-feature.component.d.ts +54 -54
  51. package/lib/token-text-part-feature/token-text-part-feature.component.d.ts +11 -11
  52. package/package.json +8 -14
  53. package/public-api.d.ts +22 -22
  54. package/esm2020/lib/bibliography-part-feature/bibliography-part-feature.component.mjs +0 -29
  55. package/esm2020/lib/categories-part-feature/categories-part-feature.component.mjs +0 -25
  56. package/esm2020/lib/chronology-fragment-feature/chronology-fragment-feature.component.mjs +0 -25
  57. package/esm2020/lib/chronotopes-part-feature/chronotopes-part-feature.component.mjs +0 -29
  58. package/esm2020/lib/comment-fragment-feature/comment-fragment-feature.component.mjs +0 -35
  59. package/esm2020/lib/comment-part-feature/comment-part-feature.component.mjs +0 -35
  60. package/esm2020/lib/doc-references-part-feature/doc-references-part-feature.component.mjs +0 -24
  61. package/esm2020/lib/external-ids-part-feature/external-ids-part-feature.component.mjs +0 -30
  62. package/esm2020/lib/historical-date-part-feature/historical-date-part-feature.component.mjs +0 -24
  63. package/esm2020/lib/historical-events-part-feature/historical-events-part-feature.component.mjs +0 -33
  64. package/esm2020/lib/index-keywords-part-feature/index-keywords-part-feature.component.mjs +0 -24
  65. package/esm2020/lib/keywords-part-feature/keywords-part-feature.component.mjs +0 -24
  66. package/esm2020/lib/metadata-part-feature/metadata-part-feature.component.mjs +0 -24
  67. package/esm2020/lib/names-part-feature/names-part-feature.component.mjs +0 -32
  68. package/esm2020/lib/note-part-feature/note-part-feature.component.mjs +0 -25
  69. package/esm2020/lib/pin-links-fragment-feature/pin-links-fragment-feature.component.mjs +0 -25
  70. package/esm2020/lib/pin-links-part-feature/pin-links-part-feature.component.mjs +0 -24
  71. package/esm2020/lib/tiled-text-layer-part-feature/tiled-text-layer-part-feature.component.mjs +0 -238
  72. package/esm2020/lib/tiled-text-part-feature/tiled-text-part-feature.component.mjs +0 -21
  73. package/esm2020/lib/token-text-layer-part-feature/token-text-layer-part-feature.component.mjs +0 -189
  74. package/esm2020/lib/token-text-part-feature/token-text-part-feature.component.mjs +0 -21
  75. package/fesm2015/myrmidon-cadmus-part-general-pg.mjs +0 -1458
  76. package/fesm2015/myrmidon-cadmus-part-general-pg.mjs.map +0 -1
  77. package/fesm2020/myrmidon-cadmus-part-general-pg.mjs.map +0 -1
@@ -0,0 +1,30 @@
1
+ import { Component } from '@angular/core';
2
+ import { EditPartFeatureBase } from '@myrmidon/cadmus-state';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/router";
5
+ import * as i2 from "@angular/material/snack-bar";
6
+ import * as i3 from "@myrmidon/cadmus-api";
7
+ import * as i4 from "@myrmidon/cadmus-state";
8
+ import * as i5 from "@myrmidon/cadmus-part-general-ui";
9
+ import * as i6 from "@myrmidon/cadmus-ui-pg";
10
+ class BibliographyPartFeatureComponent extends EditPartFeatureBase {
11
+ constructor(router, route, snackbar, itemService, thesaurusService, editorService) {
12
+ super(router, route, snackbar, itemService, thesaurusService, editorService);
13
+ }
14
+ getReqThesauriIds() {
15
+ return [
16
+ 'bibliography-languages',
17
+ 'bibliography-types',
18
+ 'bibliography-tags',
19
+ 'bibliography-author-roles',
20
+ ];
21
+ }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BibliographyPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: BibliographyPartFeatureComponent, selector: "cadmus-bibliography-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-bibliography-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-bibliography-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.BibliographyPartComponent, selector: "cadmus-bibliography-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
24
+ }
25
+ export { BibliographyPartFeatureComponent };
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BibliographyPartFeatureComponent, decorators: [{
27
+ type: Component,
28
+ args: [{ selector: 'cadmus-bibliography-part-feature', template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-bibliography-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-bibliography-part>\r\n" }]
29
+ }], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
30
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlibGlvZ3JhcGh5LXBhcnQtZmVhdHVyZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJtaWRvbi9jYWRtdXMtcGFydC1nZW5lcmFsLXBnL3NyYy9saWIvYmlibGlvZ3JhcGh5LXBhcnQtZmVhdHVyZS9iaWJsaW9ncmFwaHktcGFydC1mZWF0dXJlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cm1pZG9uL2NhZG11cy1wYXJ0LWdlbmVyYWwtcGcvc3JjL2xpYi9iaW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