@smals-belgium-shared/vidis-diarynote 4.2.2-snapshot.4 → 4.2.2-snapshot.6

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.
package/CHANGELOG.md CHANGED
@@ -320,3 +320,6 @@
320
320
  ### vidis-medication-scheme-detail
321
321
  * Using API V3 instead of V2 for all requests.
322
322
 
323
+ ### vidis-medication-scheme-list:
324
+ * Secure components against API v3 payload changes and add '-' in case of empty or null value
325
+ * Desktop redesign.
package/diarynote.js CHANGED
@@ -30777,7 +30777,7 @@ function K0e(e, t) {
30777
30777
  }
30778
30778
  if (e & 2) {
30779
30779
  let n = N(), i = N();
30780
- H("removable", !0)("disabled", i.disabled), D(), we(" ", U(2, 4, "diaryNotesPage.filters.tags"), ":"), D(2), he("translate", "no"), D(), Zi(n == null ? null : n.tags);
30780
+ H("removable", !0)("disabled", i.disabled()), D(), we(" ", U(2, 4, "diaryNotesPage.filters.tags"), ":"), D(2), he("translate", "no"), D(), Zi(n == null ? null : n.tags);
30781
30781
  }
30782
30782
  }
30783
30783
  function X0e(e, t) {
@@ -30823,7 +30823,7 @@ var t_e = (() => {
30823
30823
  };
30824
30824
  t.ɵfac = function(i) {
30825
30825
  return new (i || t)();
30826
- }, t.ɵcmp = ve({ type: t, selectors: [["vidis-diarynotes-filter-block"]], inputs: { filterOptions: [1, "filterOptions"], disabled: [1, "disabled"] }, outputs: { clickShowFilterDialog: "clickShowFilterDialog" }, decls: 6, vars: 5, consts: [[1, "filter-container"], ["mat-stroked-button", "", 3, "click", "disabled"], ["fontIcon", "tune"], [3, "removable", "disabled"], [3, "removed", "removable", "disabled"], ["matChipRemove", ""], ["fontIcon", "close"]], template: function(i, a) {
30826
+ }, t.ɵcmp = ve({ type: t, selectors: [["vidis-diarynotes-filter-block"]], inputs: { filterOptions: [1, "filterOptions"], disabled: [1, "disabled"] }, outputs: { clickShowFilterDialog: "clickShowFilterDialog" }, decls: 6, vars: 5, consts: [[1, "filter-container"], ["mat-stroked-button", "", 3, "click", "disabled"], ["fontIcon", "filter_alt"], [3, "removable", "disabled"], [3, "removed", "removable", "disabled"], ["matChipRemove", ""], ["fontIcon", "close"]], template: function(i, a) {
30827
30827
  if (i & 1 && (I(0, "div", 0)(1, "button", 1), ce("click", function() {
30828
30828
  return a.clickShowFilterDialog.emit(a.filterOptions());
30829
30829
  }), oe(2, "mat-icon", 2), z(3), B(4, "translate"), O(), G(5, e_e, 5, 4, "mat-chip-set"), O()), i & 2) {
@@ -32347,19 +32347,19 @@ var dxe = (() => {
32347
32347
  return e;
32348
32348
  })(), xxe = () => ({ count: 1 }), wxe = (e) => ({ content: e });
32349
32349
  function kxe(e, t) {
32350
- e & 1 && (I(0, "th", 14), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.addedOn")));
32350
+ e & 1 && (I(0, "th", 15), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.addedOn")));
32351
32351
  }
32352
32352
  function Sxe(e, t) {
32353
- if (e & 1 && (I(0, "td", 15), z(1), B(2, "date"), O()), e & 2) {
32353
+ if (e & 1 && (I(0, "td", 16), z(1), B(2, "date"), O()), e & 2) {
32354
32354
  let n = t.$implicit, i = N();
32355
32355
  ke("strike-through", !i.diaryNoteCompleted(n.status)), D(), we(" ", ri(2, 3, n.creation, "dd/MM/yyyy, HH:mm"), " ");
32356
32356
  }
32357
32357
  }
32358
32358
  function Cxe(e, t) {
32359
- e & 1 && (I(0, "th", 16), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.note")));
32359
+ e & 1 && (I(0, "th", 17), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.note")));
32360
32360
  }
32361
32361
  function Exe(e, t) {
32362
- if (e & 1 && (I(0, "span", 17), z(1), B(2, "translate"), O()), e & 2) {
32362
+ if (e & 1 && (I(0, "span", 18), z(1), B(2, "translate"), O()), e & 2) {
32363
32363
  let n = N().$implicit;
32364
32364
  D(), er("", U(2, 2, "diaryNotesPage.table.error"), " ( ", n.id, " )");
32365
32365
  }
@@ -32367,7 +32367,7 @@ function Exe(e, t) {
32367
32367
  function Dxe(e, t) {
32368
32368
  if (e & 1) {
32369
32369
  let n = ze();
32370
- I(0, "a", 20), ce("click", function() {
32370
+ I(0, "a", 21), ce("click", function() {
32371
32371
  pe(n);
32372
32372
  let i = N(2).$implicit, a = N();
32373
32373
  return me(a.toggleNoteExpanded(i.id));
@@ -32379,51 +32379,51 @@ function Dxe(e, t) {
32379
32379
  }
32380
32380
  }
32381
32381
  function Ixe(e, t) {
32382
- if (e & 1 && (oe(0, "div", 18, 0), B(2, "firstLetterUppercase"), G(3, Dxe, 3, 3, "a", 19)), e & 2) {
32382
+ if (e & 1 && (oe(0, "div", 19, 0), B(2, "firstLetterUppercase"), G(3, Dxe, 3, 3, "a", 20)), e & 2) {
32383
32383
  let n = Pi(1), i = N().$implicit, a = N();
32384
32384
  ke("expanded", a.isNoteExpanded(i.id)), H("innerHTML", U(2, 4, i.content), zx), D(3), Q(a.checkOverflow(n) || a.isNoteExpanded(i.id) ? 3 : -1);
32385
32385
  }
32386
32386
  }
32387
32387
  function Oxe(e, t) {
32388
- if (e & 1 && (I(0, "td", 15), G(1, Exe, 3, 4, "span", 17)(2, Ixe, 4, 6), O()), e & 2) {
32388
+ if (e & 1 && (I(0, "td", 16), G(1, Exe, 3, 4, "span", 18)(2, Ixe, 4, 6), O()), e & 2) {
32389
32389
  let n = t.$implicit, i = N();
32390
32390
  ke("strike-through", !i.diaryNoteCompleted(n.status)), D(), Q(n != null && n.error ? 1 : 2);
32391
32391
  }
32392
32392
  }
32393
32393
  function Axe(e, t) {
32394
- e & 1 && (I(0, "th", 16), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.type")));
32394
+ e & 1 && (I(0, "th", 17), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.type")));
32395
32395
  }
32396
32396
  function Rxe(e, t) {
32397
- if (e & 1 && (I(0, "mat-chip", 21), z(1), B(2, "translate"), O()), e & 2) {
32397
+ if (e & 1 && (I(0, "mat-chip", 23), z(1), B(2, "translate"), O()), e & 2) {
32398
32398
  let n = t.$implicit;
32399
32399
  H("disableRipple", !0), D(), Se(U(2, 2, "commons.tags." + n));
32400
32400
  }
32401
32401
  }
32402
32402
  function Txe(e, t) {
32403
- if (e & 1 && (I(0, "td", 15), Wi(1, Rxe, 3, 4, "mat-chip", 21, Ta), O()), e & 2) {
32403
+ if (e & 1 && (I(0, "td", 22), Wi(1, Rxe, 3, 4, "mat-chip", 23, Ta), O()), e & 2) {
32404
32404
  let n = t.$implicit, i = N();
32405
32405
  ke("strike-through", !i.diaryNoteCompleted(n.status)), D(), Zi(n.tags);
32406
32406
  }
32407
32407
  }
32408
32408
  function Nxe(e, t) {
32409
- e & 1 && (I(0, "th", 16), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.author")));
32409
+ e & 1 && (I(0, "th", 17), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.author")));
32410
32410
  }
32411
32411
  function Mxe(e, t) {
32412
- if (e & 1 && (I(0, "td", 15)(1, "div", 22), oe(2, "vidis-person-name", 23), B(3, "fullname"), O()()), e & 2) {
32412
+ if (e & 1 && (I(0, "td", 16)(1, "div", 24), oe(2, "vidis-person-name", 25), B(3, "fullname"), O()()), e & 2) {
32413
32413
  let n = t.$implicit, i = N();
32414
32414
  ke("strike-through", !i.diaryNoteCompleted(n.status)), D(2), H("fullname", U(3, 4, n.author))("idNumber", n.author.nihdi);
32415
32415
  }
32416
32416
  }
32417
32417
  function Pxe(e, t) {
32418
- e & 1 && (I(0, "th", 16), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(ri(2, 1, "diaryNotesPage.table.attachment", xf(4, xxe))));
32418
+ e & 1 && (I(0, "th", 17), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(ri(2, 1, "diaryNotesPage.table.attachment", xf(4, xxe))));
32419
32419
  }
32420
32420
  function Fxe(e, t) {
32421
32421
  if (e & 1) {
32422
32422
  let n = ze();
32423
- I(0, "a", 25), ce("click", function() {
32423
+ I(0, "a", 27), ce("click", function() {
32424
32424
  let i = pe(n).$index, a = N().$implicit, r = N();
32425
32425
  return me(r.onDownloadFile(a, i));
32426
- }), oe(1, "mat-icon", 26), z(2), B(3, "attachementFilename"), O();
32426
+ }), oe(1, "mat-icon", 28), z(2), B(3, "attachementFilename"), O();
32427
32427
  }
32428
32428
  if (e & 2) {
32429
32429
  let n = t.$implicit, i = t.$index, a = N(2);
@@ -32431,22 +32431,22 @@ function Fxe(e, t) {
32431
32431
  }
32432
32432
  }
32433
32433
  function Lxe(e, t) {
32434
- if (e & 1 && (I(0, "td", 15), Wi(1, Fxe, 4, 5, "a", 24, Ta), O()), e & 2) {
32434
+ if (e & 1 && (I(0, "td", 16), Wi(1, Fxe, 4, 5, "a", 26, Ta), O()), e & 2) {
32435
32435
  let n = t.$implicit, i = N();
32436
32436
  ke("strike-through", !i.diaryNoteCompleted(n.status)), D(), Zi(n.attachments);
32437
32437
  }
32438
32438
  }
32439
32439
  function Vxe(e, t) {
32440
- e & 1 && (I(0, "th", 16), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.actions")));
32440
+ e & 1 && (I(0, "th", 17), z(1), B(2, "translate"), O()), e & 2 && (D(), Se(U(2, 1, "diaryNotesPage.table.actions")));
32441
32441
  }
32442
32442
  function zxe(e, t) {
32443
32443
  if (e & 1) {
32444
32444
  let n = ze();
32445
- I(0, "button", 29), B(1, "translate"), ce("click", function() {
32445
+ I(0, "button", 31), B(1, "translate"), ce("click", function() {
32446
32446
  pe(n);
32447
32447
  let i = N(2).$implicit, a = N();
32448
32448
  return me(a.onDeleteNote(i));
32449
- }), oe(2, "mat-icon", 30), O();
32449
+ }), oe(2, "mat-icon", 32), O();
32450
32450
  }
32451
32451
  if (e & 2) {
32452
32452
  let n = N(2).$implicit;
@@ -32454,19 +32454,19 @@ function zxe(e, t) {
32454
32454
  }
32455
32455
  }
32456
32456
  function Bxe(e, t) {
32457
- e & 1 && G(0, zxe, 3, 6, "button", 28);
32457
+ e & 1 && G(0, zxe, 3, 6, "button", 30);
32458
32458
  }
32459
32459
  function jxe(e, t) {
32460
- if (e & 1 && (I(0, "td", 15), G(1, Bxe, 1, 0, "button", 27), B(2, "canDeleteDiarynote"), O()), e & 2) {
32460
+ if (e & 1 && (I(0, "td", 16), G(1, Bxe, 1, 0, "button", 29), B(2, "canDeleteDiarynote"), O()), e & 2) {
32461
32461
  let n = t.$implicit, i = N();
32462
32462
  D(), Q(!n.error && ri(2, 1, n, i.userInfo) ? 1 : -1);
32463
32463
  }
32464
32464
  }
32465
32465
  function Hxe(e, t) {
32466
- e & 1 && oe(0, "tr", 31);
32466
+ e & 1 && oe(0, "tr", 33);
32467
32467
  }
32468
32468
  function $xe(e, t) {
32469
- e & 1 && oe(0, "tr", 32);
32469
+ e & 1 && oe(0, "tr", 34);
32470
32470
  }
32471
32471
  var qxe = (() => {
32472
32472
  const t = class t {
@@ -32503,11 +32503,11 @@ var qxe = (() => {
32503
32503
  };
32504
32504
  t.ɵfac = function(i) {
32505
32505
  return new (i || t)();
32506
- }, t.ɵcmp = ve({ type: t, selectors: [["vidis-diarynotes-table-desktop"]], inputs: { diaryNoteDataItems: [1, "diaryNoteDataItems"], userInfo: [1, "userInfo"] }, outputs: { downloadRequested: "downloadRequested", sortRequested: "sortRequested" }, decls: 21, vars: 3, consts: [["noteText", ""], ["mat-table", "", "matSort", "", "matSortActive", "creation", "matSortDirection", "desc", "matSortDisableClear", "", 3, "matSortChange", "dataSource"], ["matColumnDef", "creation"], ["mat-header-cell", "", "mat-sort-header", "", 4, "matHeaderCellDef"], ["mat-cell", "", 3, "strike-through", 4, "matCellDef"], ["matColumnDef", "note"], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["matColumnDef", "type"], ["matColumnDef", "author"], ["matColumnDef", "attachment"], ["matColumnDef", "actions"], ["mat-cell", "", 4, "matCellDef"], ["mat-header-row", "", 4, "matHeaderRowDef"], ["mat-row", "", 4, "matRowDef", "matRowDefColumns"], ["mat-header-cell", "", "mat-sort-header", ""], ["mat-cell", ""], ["mat-header-cell", ""], [1, "error-text"], [1, "nota-content", 3, "innerHTML"], ["href", "javascript:void(0)", 1, "toggle-link"], ["href", "javascript:void(0)", 1, "toggle-link", 3, "click"], [1, "mh-blue", "mh-no-overlay", 3, "disableRipple"], [1, "author"], [3, "fullname", "idNumber"], ["mat-button", "", "href", "javascript:void(0)", 1, "attachment-link", 3, "disabled"], ["mat-button", "", "href", "javascript:void(0)", 1, "attachment-link", 3, "click", "disabled"], ["fontIcon", "attach_file"], ["mat-icon-button", ""], ["mat-icon-button", "", 3, "click", 4, "hideIfOffline"], ["mat-icon-button", "", 3, "click"], ["fontIcon", "delete"], ["mat-header-row", ""], ["mat-row", ""]], template: function(i, a) {
32506
+ }, t.ɵcmp = ve({ type: t, selectors: [["vidis-diarynotes-table-desktop"]], inputs: { diaryNoteDataItems: [1, "diaryNoteDataItems"], userInfo: [1, "userInfo"] }, outputs: { downloadRequested: "downloadRequested", sortRequested: "sortRequested" }, decls: 21, vars: 3, consts: [["noteText", ""], ["mat-table", "", "matSort", "", "matSortActive", "creation", "matSortDirection", "desc", "matSortDisableClear", "", 3, "matSortChange", "dataSource"], ["matColumnDef", "creation"], ["mat-header-cell", "", "mat-sort-header", "", 4, "matHeaderCellDef"], ["mat-cell", "", 3, "strike-through", 4, "matCellDef"], ["matColumnDef", "note"], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["matColumnDef", "type"], ["mat-cell", "", "class", "type-chips", 3, "strike-through", 4, "matCellDef"], ["matColumnDef", "author"], ["matColumnDef", "attachment"], ["matColumnDef", "actions"], ["mat-cell", "", 4, "matCellDef"], ["mat-header-row", "", 4, "matHeaderRowDef"], ["mat-row", "", 4, "matRowDef", "matRowDefColumns"], ["mat-header-cell", "", "mat-sort-header", ""], ["mat-cell", ""], ["mat-header-cell", ""], [1, "error-text"], [1, "nota-content", 3, "innerHTML"], ["href", "javascript:void(0)", 1, "toggle-link"], ["href", "javascript:void(0)", 1, "toggle-link", 3, "click"], ["mat-cell", "", 1, "type-chips"], [1, "mh-blue", "mh-no-overlay", 3, "disableRipple"], [1, "author"], [3, "fullname", "idNumber"], ["mat-button", "", "href", "javascript:void(0)", 1, "attachment-link", 3, "disabled"], ["mat-button", "", "href", "javascript:void(0)", 1, "attachment-link", 3, "click", "disabled"], ["fontIcon", "attach_file"], ["mat-icon-button", ""], ["mat-icon-button", "", 3, "click", 4, "hideIfOffline"], ["mat-icon-button", "", 3, "click"], ["fontIcon", "delete"], ["mat-header-row", ""], ["mat-row", ""]], template: function(i, a) {
32507
32507
  i & 1 && (I(0, "table", 1), ce("matSortChange", function(r) {
32508
32508
  return a.onSortChange(r);
32509
- }), Fn(1, 2), G(2, kxe, 3, 3, "th", 3)(3, Sxe, 3, 6, "td", 4), Ln(), Fn(4, 5), G(5, Cxe, 3, 3, "th", 6)(6, Oxe, 3, 3, "td", 4), Ln(), Fn(7, 7), G(8, Axe, 3, 3, "th", 6)(9, Txe, 3, 2, "td", 4), Ln(), Fn(10, 8), G(11, Nxe, 3, 3, "th", 6)(12, Mxe, 4, 6, "td", 4), Ln(), Fn(13, 9), G(14, Pxe, 3, 5, "th", 6)(15, Lxe, 3, 2, "td", 4), Ln(), Fn(16, 10), G(17, Vxe, 3, 3, "th", 6)(18, jxe, 3, 4, "td", 11), Ln(), G(19, Hxe, 1, 0, "tr", 12)(20, $xe, 1, 0, "tr", 13), O()), i & 2 && (H("dataSource", a.diaryNoteDataItems()), D(19), H("matHeaderRowDef", a.columns), D(), H("matRowDefColumns", a.columns));
32510
- }, dependencies: [Cf, sa, Su, An, Yr, eS, Il, _xe, dxe, hxe, gxe, pxe, uxe, vxe, mxe, fxe, bxe, yxe, Y_e, JZ, U_e, IZ, ZZ, Eg, OZ, DZ], styles: ["[_nghost-%COMP%]{background-color:transparent!important}table[_ngcontent-%COMP%]{width:100%;background-color:transparent!important}th.mat-mdc-header-cell[_ngcontent-%COMP%], td.mat-mdc-cell[_ngcontent-%COMP%]{vertical-align:top;padding:16px}.mat-column-creation[_ngcontent-%COMP%]{width:15%}.mat-column-note[_ngcontent-%COMP%]{width:35%}.mat-column-actions[_ngcontent-%COMP%]{width:1%;white-space:nowrap}.nota-content[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.nota-content.expanded[_ngcontent-%COMP%]{display:block;-webkit-line-clamp:unset}.toggle-link[_ngcontent-%COMP%]{cursor:pointer;color:#2473db}.toggle-link[_ngcontent-%COMP%]:hover{opacity:.8}.attachment-link[_ngcontent-%COMP%]{text-decoration:underline 1px}.author[_ngcontent-%COMP%] vidis-person-name[_ngcontent-%COMP%]{display:flex;flex-direction:column}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}"] });
32509
+ }), Fn(1, 2), G(2, kxe, 3, 3, "th", 3)(3, Sxe, 3, 6, "td", 4), Ln(), Fn(4, 5), G(5, Cxe, 3, 3, "th", 6)(6, Oxe, 3, 3, "td", 4), Ln(), Fn(7, 7), G(8, Axe, 3, 3, "th", 6)(9, Txe, 3, 2, "td", 8), Ln(), Fn(10, 9), G(11, Nxe, 3, 3, "th", 6)(12, Mxe, 4, 6, "td", 4), Ln(), Fn(13, 10), G(14, Pxe, 3, 5, "th", 6)(15, Lxe, 3, 2, "td", 4), Ln(), Fn(16, 11), G(17, Vxe, 3, 3, "th", 6)(18, jxe, 3, 4, "td", 12), Ln(), G(19, Hxe, 1, 0, "tr", 13)(20, $xe, 1, 0, "tr", 14), O()), i & 2 && (H("dataSource", a.diaryNoteDataItems()), D(19), H("matHeaderRowDef", a.columns), D(), H("matRowDefColumns", a.columns));
32510
+ }, dependencies: [Cf, sa, Su, An, Yr, eS, Il, _xe, dxe, hxe, gxe, pxe, uxe, vxe, mxe, fxe, bxe, yxe, Y_e, JZ, U_e, IZ, ZZ, Eg, OZ, DZ], styles: ["[_nghost-%COMP%]{background-color:transparent!important}table[_ngcontent-%COMP%]{width:100%;background-color:transparent!important}th.mat-mdc-header-cell[_ngcontent-%COMP%], td.mat-mdc-cell[_ngcontent-%COMP%]{vertical-align:top;padding:16px}.mat-column-creation[_ngcontent-%COMP%]{width:15%}.mat-column-note[_ngcontent-%COMP%]{width:35%}.type-chips[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{margin:0 8px 8px 0}.mat-column-actions[_ngcontent-%COMP%]{width:1%;white-space:nowrap}.nota-content[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.nota-content.expanded[_ngcontent-%COMP%]{display:block;-webkit-line-clamp:unset}.toggle-link[_ngcontent-%COMP%]{cursor:pointer;color:#2473db}.toggle-link[_ngcontent-%COMP%]:hover{opacity:.8}.attachment-link[_ngcontent-%COMP%]{text-decoration:underline 1px}.author[_ngcontent-%COMP%] vidis-person-name[_ngcontent-%COMP%]{display:flex;flex-direction:column}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}"] });
32511
32511
  let e = t;
32512
32512
  return e;
32513
32513
  })(), Uxe = (e) => ({ nbrFilter: e }), Yxe = () => [10, 25, 50], Gxe = (e) => ({ addNote: e }), Wxe = () => ({ height: "47px", margin: "0" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smals-belgium-shared/vidis-diarynote",
3
- "version": "4.2.2-snapshot.4",
3
+ "version": "4.2.2-snapshot.6",
4
4
  "description": "Diary notes web component",
5
5
  "main": "diarynote.js",
6
6
  "types": "types/main.d.ts",