@myrmidon/cadmus-part-general-pg 2.0.0 → 2.0.1

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.
@@ -7,7 +7,7 @@ import { RouterModule } from '@angular/router';
7
7
  import * as i2 from '@angular/material/snack-bar';
8
8
  import * as i3 from '@myrmidon/cadmus-api';
9
9
  import * as i5 from '@myrmidon/cadmus-part-general-ui';
10
- import { BIBLIOGRAPHY_PART_TYPEID, CATEGORIES_PART_TYPEID, COMMENT_PART_TYPEID, CHRONOTOPES_PART_TYPEID, DOC_REFERENCES_PART_TYPEID, EXTERNAL_IDS_PART_TYPEID, HISTORICAL_DATE_PART_TYPEID, HISTORICAL_EVENTS_PART_TYPEID, KEYWORDS_PART_TYPEID, INDEX_KEYWORDS_PART_TYPEID, METADATA_PART_TYPEID, NAMES_PART_TYPEID, NOTE_PART_TYPEID, TOKEN_TEXT_PART_TYPEID, TILED_TEXT_PART_TYPEID, COMMENT_FRAGMENT_TYPEID, CHRONOLOGY_FRAGMENT_TYPEID, CadmusPartGeneralUiModule } from '@myrmidon/cadmus-part-general-ui';
10
+ import { BIBLIOGRAPHY_PART_TYPEID, CATEGORIES_PART_TYPEID, COMMENT_PART_TYPEID, CHRONOTOPES_PART_TYPEID, DOC_REFERENCES_PART_TYPEID, EXTERNAL_IDS_PART_TYPEID, HISTORICAL_DATE_PART_TYPEID, HISTORICAL_EVENTS_PART_TYPEID, KEYWORDS_PART_TYPEID, INDEX_KEYWORDS_PART_TYPEID, METADATA_PART_TYPEID, NAMES_PART_TYPEID, NOTE_PART_TYPEID, PIN_LINKS_PART_TYPEID, TOKEN_TEXT_PART_TYPEID, TILED_TEXT_PART_TYPEID, COMMENT_FRAGMENT_TYPEID, CHRONOLOGY_FRAGMENT_TYPEID, CadmusPartGeneralUiModule } from '@myrmidon/cadmus-part-general-ui';
11
11
  import * as i6 from '@myrmidon/cadmus-ui-pg';
12
12
  import { CadmusUiPgModule } from '@myrmidon/cadmus-ui-pg';
13
13
  import * as i3$1 from '@myrmidon/cadmus-core';
@@ -317,6 +317,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
317
317
  args: [{ selector: 'cadmus-note-part-feature', template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-note-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-note-part>\r\n" }]
318
318
  }], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
319
319
 
320
+ class PinLinksPartFeatureComponent extends EditPartFeatureBase {
321
+ constructor(router, route, snackbar, itemService, thesaurusService, editorService) {
322
+ super(router, route, snackbar, itemService, thesaurusService, editorService);
323
+ }
324
+ }
325
+ PinLinksPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: PinLinksPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component });
326
+ PinLinksPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: PinLinksPartFeatureComponent, selector: "cadmus-pin-links-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-pin-links-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-pin-links-part>\n", styles: [""], dependencies: [{ kind: "component", type: i5.PinLinksPartComponent, selector: "cadmus-pin-links-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] });
327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: PinLinksPartFeatureComponent, decorators: [{
328
+ type: Component,
329
+ args: [{ selector: 'cadmus-pin-links-part-feature', template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-pin-links-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-pin-links-part>\n" }]
330
+ }], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
331
+
320
332
  /**
321
333
  * The layer view model for a tiled text.
322
334
  */
@@ -1184,6 +1196,12 @@ const RouterModuleForChild = RouterModule.forChild([
1184
1196
  component: NotePartFeatureComponent,
1185
1197
  canDeactivate: [PendingChangesGuard],
1186
1198
  },
1199
+ {
1200
+ path: `${PIN_LINKS_PART_TYPEID}/:pid`,
1201
+ pathMatch: 'full',
1202
+ component: PinLinksPartFeatureComponent,
1203
+ canDeactivate: [PendingChangesGuard],
1204
+ },
1187
1205
  {
1188
1206
  path: `${TOKEN_TEXT_PART_TYPEID}/:pid`,
1189
1207
  pathMatch: 'full',
@@ -1239,6 +1257,7 @@ CadmusPartGeneralPgModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0
1239
1257
  MetadataPartFeatureComponent,
1240
1258
  NamesPartFeatureComponent,
1241
1259
  NotePartFeatureComponent,
1260
+ PinLinksPartFeatureComponent,
1242
1261
  TiledTextLayerPartFeatureComponent,
1243
1262
  TiledTextPartFeatureComponent,
1244
1263
  TokenTextLayerPartFeatureComponent,
@@ -1280,6 +1299,7 @@ CadmusPartGeneralPgModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0
1280
1299
  MetadataPartFeatureComponent,
1281
1300
  NamesPartFeatureComponent,
1282
1301
  NotePartFeatureComponent,
1302
+ PinLinksPartFeatureComponent,
1283
1303
  TiledTextLayerPartFeatureComponent,
1284
1304
  TiledTextPartFeatureComponent,
1285
1305
  TokenTextLayerPartFeatureComponent,
@@ -1355,6 +1375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
1355
1375
  MetadataPartFeatureComponent,
1356
1376
  NamesPartFeatureComponent,
1357
1377
  NotePartFeatureComponent,
1378
+ PinLinksPartFeatureComponent,
1358
1379
  TiledTextLayerPartFeatureComponent,
1359
1380
  TiledTextPartFeatureComponent,
1360
1381
  TokenTextLayerPartFeatureComponent,
@@ -1376,6 +1397,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
1376
1397
  MetadataPartFeatureComponent,
1377
1398
  NamesPartFeatureComponent,
1378
1399
  NotePartFeatureComponent,
1400
+ PinLinksPartFeatureComponent,
1379
1401
  TiledTextLayerPartFeatureComponent,
1380
1402
  TiledTextPartFeatureComponent,
1381
1403
  TokenTextLayerPartFeatureComponent,
@@ -1392,6 +1414,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
1392
1414
  * Generated bundle index. Do not edit.
1393
1415
  */
1394
1416
 
1395
- export { BibliographyPartFeatureComponent, CadmusPartGeneralPgModule, CategoriesPartFeatureComponent, ChronologyFragmentFeatureComponent, ChronotopesPartFeatureComponent, CommentFragmentFeatureComponent, CommentPartFeatureComponent, DocReferencesPartFeatureComponent, ExternalIdsPartFeatureComponent, HistoricalDatePartFeatureComponent, HistoricalEventsPartFeatureComponent, IndexKeywordsPartFeatureComponent, KeywordsPartFeatureComponent, MetadataPartFeatureComponent, NamesPartFeatureComponent, NotePartFeatureComponent, RouterModuleForChild, TiledTextLayerPartFeatureComponent, TiledTextPartFeatureComponent, TokenTextLayerPartFeatureComponent, TokenTextPartFeatureComponent };
1417
+ export { BibliographyPartFeatureComponent, CadmusPartGeneralPgModule, CategoriesPartFeatureComponent, ChronologyFragmentFeatureComponent, ChronotopesPartFeatureComponent, CommentFragmentFeatureComponent, CommentPartFeatureComponent, DocReferencesPartFeatureComponent, ExternalIdsPartFeatureComponent, HistoricalDatePartFeatureComponent, HistoricalEventsPartFeatureComponent, IndexKeywordsPartFeatureComponent, KeywordsPartFeatureComponent, MetadataPartFeatureComponent, NamesPartFeatureComponent, NotePartFeatureComponent, PinLinksPartFeatureComponent, RouterModuleForChild, TiledTextLayerPartFeatureComponent, TiledTextPartFeatureComponent, TokenTextLayerPartFeatureComponent, TokenTextPartFeatureComponent };
1396
1418
  //# sourceMappingURL=myrmidon-cadmus-part-general-pg.mjs.map
1397
1419
  //# sourceMappingURL=myrmidon-cadmus-part-general-pg.mjs.map