@paperless/core 2.15.2 → 2.15.3

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 (33) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/build/{p-f967fae6.js → p-3dd76a64.js} +1 -1
  3. package/dist/build/p-ab66da44.entry.js +2 -0
  4. package/dist/build/p-ab66da44.entry.js.map +1 -0
  5. package/dist/build/p-table-column.entry.esm.js.map +1 -1
  6. package/dist/build/paperless.esm.js +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/p-table-column.cjs.entry.js +4 -0
  9. package/dist/cjs/p-table-column.cjs.entry.js.map +1 -1
  10. package/dist/cjs/p-table-column.entry.cjs.js.map +1 -1
  11. package/dist/cjs/paperless.cjs.js +1 -1
  12. package/dist/collection/components/helpers/table/column/table-column.component.js +24 -0
  13. package/dist/collection/components/helpers/table/column/table-column.component.js.map +1 -1
  14. package/dist/components/p-table-column.js +5 -0
  15. package/dist/components/p-table-column.js.map +1 -1
  16. package/dist/esm/loader.js +1 -1
  17. package/dist/esm/p-table-column.entry.js +4 -0
  18. package/dist/esm/p-table-column.entry.js.map +1 -1
  19. package/dist/esm/paperless.js +1 -1
  20. package/dist/index.html +1 -1
  21. package/dist/paperless/p-ab66da44.entry.js +2 -0
  22. package/dist/paperless/p-ab66da44.entry.js.map +1 -0
  23. package/dist/paperless/p-table-column.entry.esm.js.map +1 -1
  24. package/dist/paperless/paperless.esm.js +1 -1
  25. package/dist/sw.js +1 -1
  26. package/dist/sw.js.map +1 -1
  27. package/dist/types/components/helpers/table/column/table-column.component.d.ts +4 -0
  28. package/dist/types/components.d.ts +8 -0
  29. package/package.json +1 -1
  30. package/dist/build/p-c8c51618.entry.js +0 -2
  31. package/dist/build/p-c8c51618.entry.js.map +0 -1
  32. package/dist/paperless/p-c8c51618.entry.js +0 -2
  33. package/dist/paperless/p-c8c51618.entry.js.map +0 -1
@@ -1891,6 +1891,10 @@ export namespace Components {
1891
1891
  | 'full'
1892
1892
  | number
1893
1893
  | TableColumnSizes;
1894
+ /**
1895
+ * Wether the column should be sticky (Only works on angular variant of table)
1896
+ */
1897
+ "sticky": boolean;
1894
1898
  /**
1895
1899
  * Wether the column should use the slot
1896
1900
  */
@@ -5311,6 +5315,10 @@ declare namespace LocalJSX {
5311
5315
  | 'full'
5312
5316
  | number
5313
5317
  | TableColumnSizes;
5318
+ /**
5319
+ * Wether the column should be sticky (Only works on angular variant of table)
5320
+ */
5321
+ "sticky"?: boolean;
5314
5322
  /**
5315
5323
  * Wether the column should use the slot
5316
5324
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/core",
3
- "version": "2.15.2",
3
+ "version": "2.15.3",
4
4
  "description": "Stencil Component Starter",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -1,2 +0,0 @@
1
- import{r as e,c as t}from"./p-Dpmiv2da.js";const a=class{constructor(a){e(this,a);this.tableDefinitionChanged=t(this,"tableDefinitionChanged",7)}path;variant="default";name;flex=false;useSlot=false;hasCheckbox=false;align="start";parsedSizes;sizes="auto";tableDefinitionChanged;componentDidUpdate(){this.tableDefinitionChanged.emit(true)}render(){return}};export{a as p_table_column};
2
- //# sourceMappingURL=p-c8c51618.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["TableColumn","path","variant","name","flex","useSlot","hasCheckbox","align","parsedSizes","sizes","tableDefinitionChanged","componentDidUpdate","this","emit","render"],"sources":["src/components/helpers/table/column/table-column.component.tsx"],"sourcesContent":["import { Component, Event, EventEmitter, Prop } from '@stencil/core';\nimport { TableColumnSizes } from '../../../../types/table';\n\n@Component({\n\ttag: 'p-table-column',\n})\nexport class TableColumn {\n\t/**\n\t * The path of the value of the item you want to display\n\t */\n\t@Prop({ reflect: true, mutable: true }) path: string;\n\n\t/**\n\t * The variant of the column\n\t */\n\t@Prop({ reflect: true, mutable: true }) variant:\n\t\t| 'subject'\n\t\t| 'default'\n\t\t| 'highlight' = 'default';\n\n\t/**\n\t * The name of the column\n\t */\n\t@Prop({ reflect: true, mutable: true }) name: string;\n\n\t/**\n\t * Wether the column should be flex\n\t */\n\t@Prop({ reflect: true, mutable: true }) flex: boolean = false;\n\n\t/**\n\t * Wether the column should use the slot\n\t */\n\t@Prop({ reflect: true, mutable: true }) useSlot: boolean = false;\n\n\t/**\n\t * Wether the column should have a checkbox\n\t */\n\t@Prop({ reflect: true, mutable: true }) hasCheckbox: boolean = false;\n\n\t/**\n\t * The alignment of the column\n\t */\n\t@Prop({ reflect: true, mutable: true }) align: 'start' | 'center' | 'end' =\n\t\t'start';\n\n\t/**\n\t * Parsed sizes based on the complete set of columns\n\t */\n\t@Prop({ reflect: true, mutable: true }) parsedSizes:\n\t\t| TableColumnSizes\n\t\t| undefined;\n\n\t/**\n\t * The sizes of the column\n\t */\n\t@Prop({ mutable: true }) sizes:\n\t\t| 'auto'\n\t\t| 'hidden'\n\t\t| 'full'\n\t\t| number\n\t\t| TableColumnSizes = 'auto';\n\n\t/**\n\t * Event to let the table know it has to re render\n\t */\n\t@Event({ bubbles: true, composed: true })\n\ttableDefinitionChanged: EventEmitter<boolean>;\n\n\tcomponentDidUpdate() {\n\t\tthis.tableDefinitionChanged.emit(true);\n\t}\n\n\trender() {\n\t\treturn;\n\t}\n}\n"],"mappings":"iDAMaA,EAAW,M,wFAIiBC,KAKAC,QAGvB,UAKuBC,KAKAC,KAAgB,MAKhBC,QAAmB,MAKnBC,YAAuB,MAKvBC,MACvC,QAKuCC,YAOfC,MAKH,OAMtBC,uBAEA,kBAAAC,GACCC,KAAKF,uBAAuBG,KAAK,K,CAGlC,MAAAC,GACC,M","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,c as t}from"./p-Dpmiv2da.js";const a=class{constructor(a){e(this,a);this.tableDefinitionChanged=t(this,"tableDefinitionChanged",7)}path;variant="default";name;flex=false;useSlot=false;hasCheckbox=false;align="start";parsedSizes;sizes="auto";tableDefinitionChanged;componentDidUpdate(){this.tableDefinitionChanged.emit(true)}render(){return}};export{a as p_table_column};
2
- //# sourceMappingURL=p-c8c51618.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["TableColumn","path","variant","name","flex","useSlot","hasCheckbox","align","parsedSizes","sizes","tableDefinitionChanged","componentDidUpdate","this","emit","render"],"sources":["src/components/helpers/table/column/table-column.component.tsx"],"sourcesContent":["import { Component, Event, EventEmitter, Prop } from '@stencil/core';\nimport { TableColumnSizes } from '../../../../types/table';\n\n@Component({\n\ttag: 'p-table-column',\n})\nexport class TableColumn {\n\t/**\n\t * The path of the value of the item you want to display\n\t */\n\t@Prop({ reflect: true, mutable: true }) path: string;\n\n\t/**\n\t * The variant of the column\n\t */\n\t@Prop({ reflect: true, mutable: true }) variant:\n\t\t| 'subject'\n\t\t| 'default'\n\t\t| 'highlight' = 'default';\n\n\t/**\n\t * The name of the column\n\t */\n\t@Prop({ reflect: true, mutable: true }) name: string;\n\n\t/**\n\t * Wether the column should be flex\n\t */\n\t@Prop({ reflect: true, mutable: true }) flex: boolean = false;\n\n\t/**\n\t * Wether the column should use the slot\n\t */\n\t@Prop({ reflect: true, mutable: true }) useSlot: boolean = false;\n\n\t/**\n\t * Wether the column should have a checkbox\n\t */\n\t@Prop({ reflect: true, mutable: true }) hasCheckbox: boolean = false;\n\n\t/**\n\t * The alignment of the column\n\t */\n\t@Prop({ reflect: true, mutable: true }) align: 'start' | 'center' | 'end' =\n\t\t'start';\n\n\t/**\n\t * Parsed sizes based on the complete set of columns\n\t */\n\t@Prop({ reflect: true, mutable: true }) parsedSizes:\n\t\t| TableColumnSizes\n\t\t| undefined;\n\n\t/**\n\t * The sizes of the column\n\t */\n\t@Prop({ mutable: true }) sizes:\n\t\t| 'auto'\n\t\t| 'hidden'\n\t\t| 'full'\n\t\t| number\n\t\t| TableColumnSizes = 'auto';\n\n\t/**\n\t * Event to let the table know it has to re render\n\t */\n\t@Event({ bubbles: true, composed: true })\n\ttableDefinitionChanged: EventEmitter<boolean>;\n\n\tcomponentDidUpdate() {\n\t\tthis.tableDefinitionChanged.emit(true);\n\t}\n\n\trender() {\n\t\treturn;\n\t}\n}\n"],"mappings":"iDAMaA,EAAW,M,wFAIiBC,KAKAC,QAGvB,UAKuBC,KAKAC,KAAgB,MAKhBC,QAAmB,MAKnBC,YAAuB,MAKvBC,MACvC,QAKuCC,YAOfC,MAKH,OAMtBC,uBAEA,kBAAAC,GACCC,KAAKF,uBAAuBG,KAAK,K,CAGlC,MAAAC,GACC,M","ignoreList":[]}