@paperless/core 3.24.0 → 3.26.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 (114) hide show
  1. package/dist/assets/icons/general/heart.svg +3 -0
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/{paperless/p-2f4efe8a.entry.js → build/p-272721bf.entry.js} +1 -1
  4. package/dist/build/{p-0c131cf9.entry.js → p-57c5bf0c.entry.js} +1 -1
  5. package/dist/{components/p-C8RpJKnN.js → build/p-B55DMZ_P.js} +1 -1
  6. package/dist/build/{p-742c2ea7.js → p-fce7a33d.js} +1 -1
  7. package/dist/build/paperless.esm.js +1 -1
  8. package/dist/cjs/{icons-DOXVTo-k.js → icons-CPSPwgig.js} +7 -0
  9. package/dist/cjs/index.cjs.js +1 -1
  10. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  11. package/dist/cjs/p-table.cjs.entry.js +5 -3
  12. package/dist/collection/assets/icons/general/heart.svg +3 -0
  13. package/dist/collection/components/atoms/card/header/card-header.component.js +1 -1
  14. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +1 -1
  15. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +1 -1
  16. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  17. package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
  18. package/dist/collection/components/atoms/segment/item/segment-item.component.js +1 -1
  19. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +1 -1
  20. package/dist/collection/components/helpers/table/row-action/table-row-action.component.js +1 -1
  21. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  22. package/dist/collection/components/molecules/button/button.component.js +1 -1
  23. package/dist/collection/components/molecules/dropzone/dropzone.component.js +1 -1
  24. package/dist/collection/components/molecules/empty-state/empty-state.component.js +1 -1
  25. package/dist/collection/components/molecules/field/field/field.component.js +1 -1
  26. package/dist/collection/components/molecules/label/label.component.js +1 -1
  27. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +1 -1
  28. package/dist/collection/components/molecules/select/select.component.js +2 -2
  29. package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +1 -1
  30. package/dist/collection/components/molecules/table/header/table-header.component.js +1 -1
  31. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  32. package/dist/collection/components/organisms/table/table.component.js +6 -4
  33. package/dist/collection/utils/icons.js +3 -0
  34. package/dist/components/index.js +1 -1
  35. package/dist/components/{p-BCfjpFw1.js → p-1jNdZTKN.js} +1 -1
  36. package/dist/{paperless/p-C8RpJKnN.js → components/p-B55DMZ_P.js} +1 -1
  37. package/dist/components/{p-B8W33zQW.js → p-B8iFUPO5.js} +1 -1
  38. package/dist/components/{p-BBn6kDdv.js → p-BFTj4F6O.js} +1 -1
  39. package/dist/components/{p-B46eicR-.js → p-BPCXcEQD.js} +1 -1
  40. package/dist/components/{p-wffF3kVy.js → p-BmhVEljv.js} +1 -1
  41. package/dist/components/{p-2ZtgmKa1.js → p-BswRuxmk.js} +1 -1
  42. package/dist/components/{p-BpGBAfK8.js → p-CAt4316p.js} +1 -1
  43. package/dist/components/{p-DJAXrYQR.js → p-CMfdl_TW.js} +1 -1
  44. package/dist/components/{p-6MuaM5f1.js → p-CN4ZWAkb.js} +1 -1
  45. package/dist/components/{p-CwJ2_mhc.js → p-COscyt8q.js} +1 -1
  46. package/dist/components/{p-D99OtFbo.js → p-CUMk7xBX.js} +1 -1
  47. package/dist/components/{p-CSPrxbhH.js → p-CjxC_h_X.js} +1 -1
  48. package/dist/components/{p-Dym6aWEt.js → p-Co4UMOn6.js} +1 -1
  49. package/dist/components/{p-DiWZZofK.js → p-D5OXFgvY.js} +1 -1
  50. package/dist/components/{p-QS4cO7vO.js → p-DGoOsLEr.js} +1 -1
  51. package/dist/components/{p-BOFmuV4k.js → p-DIuIGoBt.js} +1 -1
  52. package/dist/components/{p-BkI69RMv.js → p-DS7XBqIp.js} +1 -1
  53. package/dist/components/{p-CajjvsF3.js → p-FK08Vr2S.js} +1 -1
  54. package/dist/components/{p-uv3MMCr1.js → p-TtrclAAz.js} +1 -1
  55. package/dist/components/{p-BShmdUwP.js → p-VqccwN4a.js} +1 -1
  56. package/dist/components/p-accordion.js +1 -1
  57. package/dist/components/p-attachment.js +1 -1
  58. package/dist/components/p-button.js +1 -1
  59. package/dist/components/p-calendar.js +1 -1
  60. package/dist/components/p-card-header.js +1 -1
  61. package/dist/components/p-checkbox.js +1 -1
  62. package/dist/components/p-cropper.js +2 -2
  63. package/dist/components/p-datepicker.js +1 -1
  64. package/dist/components/p-drawer-header.js +1 -1
  65. package/dist/components/p-drawer.js +1 -1
  66. package/dist/components/p-dropdown-menu-item.js +1 -1
  67. package/dist/components/p-dropzone.js +1 -1
  68. package/dist/components/{p-DdTNpkCI.js → p-eGnIeQsr.js} +1 -1
  69. package/dist/components/p-empty-state.js +1 -1
  70. package/dist/components/p-field-container.js +1 -1
  71. package/dist/components/p-field.js +1 -1
  72. package/dist/components/p-floating-menu-container.js +1 -1
  73. package/dist/components/p-floating-menu-item.js +1 -1
  74. package/dist/components/p-helper.js +1 -1
  75. package/dist/components/p-icon.js +1 -1
  76. package/dist/components/p-info-panel.js +1 -1
  77. package/dist/components/{p--IPayxyw.js → p-kdBBVGjg.js} +1 -1
  78. package/dist/components/p-label.js +1 -1
  79. package/dist/components/p-listing-item.js +1 -1
  80. package/dist/components/p-modal-header.js +1 -1
  81. package/dist/components/p-modal.js +1 -1
  82. package/dist/components/p-navbar.js +1 -1
  83. package/dist/components/p-navigation-item.js +1 -1
  84. package/dist/components/p-pagination-pages.js +1 -1
  85. package/dist/components/p-pagination-size.js +1 -1
  86. package/dist/components/p-pagination.js +1 -1
  87. package/dist/components/p-profile.js +1 -1
  88. package/dist/components/p-range.js +1 -1
  89. package/dist/components/p-segment-item.js +1 -1
  90. package/dist/components/p-select.js +1 -1
  91. package/dist/components/p-stepper-item.js +1 -1
  92. package/dist/components/p-stepper.js +1 -1
  93. package/dist/components/p-submenu-item.js +1 -1
  94. package/dist/components/p-submenu.js +1 -1
  95. package/dist/components/p-table-footer.js +1 -1
  96. package/dist/components/p-table-header.js +1 -1
  97. package/dist/components/p-table.js +1 -1
  98. package/dist/components/p-toast.js +1 -1
  99. package/dist/esm/{icons-C8RpJKnN.js → icons-B55DMZ_P.js} +7 -0
  100. package/dist/esm/index.js +1 -1
  101. package/dist/esm/p-button_3.entry.js +1 -1
  102. package/dist/esm/p-table.entry.js +5 -3
  103. package/dist/index.html +1 -1
  104. package/dist/paperless/index.esm.js +1 -1
  105. package/dist/{build/p-2f4efe8a.entry.js → paperless/p-272721bf.entry.js} +1 -1
  106. package/dist/paperless/{p-0c131cf9.entry.js → p-57c5bf0c.entry.js} +1 -1
  107. package/dist/{build/p-C8RpJKnN.js → paperless/p-B55DMZ_P.js} +1 -1
  108. package/dist/paperless/paperless.esm.js +1 -1
  109. package/dist/sw.js +1 -1
  110. package/dist/sw.js.map +1 -1
  111. package/dist/types/utils/icons.d.ts +2 -0
  112. package/hydrate/index.js +11 -3
  113. package/hydrate/index.mjs +11 -3
  114. package/package.json +1 -1
@@ -65,6 +65,7 @@ export declare const categorized: {
65
65
  'globe-2': string;
66
66
  hash: string;
67
67
  hat: string;
68
+ heart: string;
68
69
  home: string;
69
70
  integration: string;
70
71
  lamp: string;
@@ -203,6 +204,7 @@ export declare const icons: {
203
204
  'globe-2': string;
204
205
  hash: string;
205
206
  hat: string;
207
+ heart: string;
206
208
  home: string;
207
209
  integration: string;
208
210
  lamp: string;
package/hydrate/index.js CHANGED
@@ -7494,6 +7494,11 @@ var hat = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill
7494
7494
  </svg>
7495
7495
  `;
7496
7496
 
7497
+ var heart = `<svg width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
7498
+ <path d="M8 14C8 14 1.5 10.5 1.5 6.375C1.5 5.47989 1.85558 4.62145 2.48851 3.98851C3.12145 3.35558 3.97989 3 4.875 3C6.28688 3 7.49625 3.76937 8 5C8.50375 3.76937 9.71312 3 11.125 3C12.0201 3 12.8785 3.35558 13.5115 3.98851C14.1444 4.62145 14.5 5.47989 14.5 6.375C14.5 10.5 8 14 8 14Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
7499
+ </svg>
7500
+ `;
7501
+
7497
7502
  var home = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" viewBox="0 0 16 16">
7498
7503
  <g clip-path="url(#a)">
7499
7504
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.5 13.5v-4h3v4h4v-6a.499.499 0 0 0-.146-.354l-5-5a.5.5 0 0 0-.708 0l-5 5A.5.5 0 0 0 2.5 7.5v6h4Z"/>
@@ -8415,6 +8420,7 @@ const icons = {
8415
8420
  'globe-2': globeTwo,
8416
8421
  hash,
8417
8422
  hat,
8423
+ heart,
8418
8424
  home,
8419
8425
  integration,
8420
8426
  lamp,
@@ -101168,10 +101174,12 @@ class Table {
101168
101174
  if (this._items.length === 0) {
101169
101175
  return this._getEmptyState();
101170
101176
  }
101171
- return this._items.map((item, index) => (hAsync("p-table-row", { checked: this._selectionContains(index), enableHover: this._enableRowSelection || this.enableRowClick, isLast: index === this._items.length - 1, onClick: ev => this._rowClick(ev, index) }, this._getRowColumns(item, index), this._getActions(item, index))));
101177
+ return this._items.map((item, index) => {
101178
+ const actions = this._rowActionsRow.filter(a => a.showFunction ? a.showFunction(item) : true);
101179
+ return (hAsync("p-table-row", { checked: this._selectionContains(index), enableHover: this._enableRowSelection || this.enableRowClick || !!actions?.length, isLast: index === this._items.length - 1, onClick: ev => this._rowClick(ev, index) }, this._getRowColumns(item, index), this._getActions(item, index, actions)));
101180
+ });
101172
101181
  }
101173
- _getActions(item, index) {
101174
- const actions = this._rowActionsRow.filter(a => a.showFunction ? a.showFunction(item) : true);
101182
+ _getActions(item, index, actions) {
101175
101183
  if (actions?.length && !isMobile()) {
101176
101184
  return (hAsync("p-table-row-actions-container", { checked: this._selectionContains(index), slot: 'actions' }, actions.map(a => (hAsync("p-tooltip", { content: a.label, strategy: 'fixed' }, hAsync("p-button", { icon: a.icon, iconFlip: a.iconFlip, iconOnly: true, iconRotate: a.iconRotate, size: 'sm', slot: 'trigger', variant: 'secondary', "data-is-action": true, onClick: () => typeof a.action === 'function' && a.action?.(item, false) }))))));
101177
101185
  }
package/hydrate/index.mjs CHANGED
@@ -7492,6 +7492,11 @@ var hat = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill
7492
7492
  </svg>
7493
7493
  `;
7494
7494
 
7495
+ var heart = `<svg width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
7496
+ <path d="M8 14C8 14 1.5 10.5 1.5 6.375C1.5 5.47989 1.85558 4.62145 2.48851 3.98851C3.12145 3.35558 3.97989 3 4.875 3C6.28688 3 7.49625 3.76937 8 5C8.50375 3.76937 9.71312 3 11.125 3C12.0201 3 12.8785 3.35558 13.5115 3.98851C14.1444 4.62145 14.5 5.47989 14.5 6.375C14.5 10.5 8 14 8 14Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
7497
+ </svg>
7498
+ `;
7499
+
7495
7500
  var home = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" viewBox="0 0 16 16">
7496
7501
  <g clip-path="url(#a)">
7497
7502
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.5 13.5v-4h3v4h4v-6a.499.499 0 0 0-.146-.354l-5-5a.5.5 0 0 0-.708 0l-5 5A.5.5 0 0 0 2.5 7.5v6h4Z"/>
@@ -8413,6 +8418,7 @@ const icons = {
8413
8418
  'globe-2': globeTwo,
8414
8419
  hash,
8415
8420
  hat,
8421
+ heart,
8416
8422
  home,
8417
8423
  integration,
8418
8424
  lamp,
@@ -101166,10 +101172,12 @@ class Table {
101166
101172
  if (this._items.length === 0) {
101167
101173
  return this._getEmptyState();
101168
101174
  }
101169
- return this._items.map((item, index) => (hAsync("p-table-row", { checked: this._selectionContains(index), enableHover: this._enableRowSelection || this.enableRowClick, isLast: index === this._items.length - 1, onClick: ev => this._rowClick(ev, index) }, this._getRowColumns(item, index), this._getActions(item, index))));
101175
+ return this._items.map((item, index) => {
101176
+ const actions = this._rowActionsRow.filter(a => a.showFunction ? a.showFunction(item) : true);
101177
+ return (hAsync("p-table-row", { checked: this._selectionContains(index), enableHover: this._enableRowSelection || this.enableRowClick || !!actions?.length, isLast: index === this._items.length - 1, onClick: ev => this._rowClick(ev, index) }, this._getRowColumns(item, index), this._getActions(item, index, actions)));
101178
+ });
101170
101179
  }
101171
- _getActions(item, index) {
101172
- const actions = this._rowActionsRow.filter(a => a.showFunction ? a.showFunction(item) : true);
101180
+ _getActions(item, index, actions) {
101173
101181
  if (actions?.length && !isMobile()) {
101174
101182
  return (hAsync("p-table-row-actions-container", { checked: this._selectionContains(index), slot: 'actions' }, actions.map(a => (hAsync("p-tooltip", { content: a.label, strategy: 'fixed' }, hAsync("p-button", { icon: a.icon, iconFlip: a.iconFlip, iconOnly: true, iconRotate: a.iconRotate, size: 'sm', slot: 'trigger', variant: 'secondary', "data-is-action": true, onClick: () => typeof a.action === 'function' && a.action?.(item, false) }))))));
101175
101183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/core",
3
- "version": "3.24.0",
3
+ "version": "3.26.0",
4
4
  "description": "Stencil Component Starter",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",