@paperless/core 0.1.0-alpha.336 → 0.1.0-alpha.338
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 +29 -0
- package/dist/build/p-10530c5e.entry.js +2 -0
- package/dist/build/p-10530c5e.entry.js.map +1 -0
- package/dist/build/p-1b5cdff7.entry.js +2 -0
- package/dist/build/{p-1c2cc466.entry.js.map → p-1b5cdff7.entry.js.map} +1 -1
- package/dist/{paperless/p-61cc1cd9.entry.js → build/p-3350a2cf.entry.js} +2 -2
- package/dist/build/{p-61cc1cd9.entry.js.map → p-3350a2cf.entry.js.map} +1 -1
- package/dist/build/p-36f29499.entry.js +2 -0
- package/dist/{paperless/p-ab08ea2e.entry.js.map → build/p-36f29499.entry.js.map} +1 -1
- package/dist/build/{p-34e4e210.entry.js → p-5dfab26d.entry.js} +2 -2
- package/dist/build/{p-34e4e210.entry.js.map → p-5dfab26d.entry.js.map} +1 -1
- package/dist/build/p-73bfcf97.entry.js +2 -0
- package/dist/build/{p-7f40fbbf.entry.js.map → p-73bfcf97.entry.js.map} +1 -1
- package/dist/build/p-852a5331.entry.js +2 -0
- package/dist/build/{p-ca7644aa.entry.js.map → p-852a5331.entry.js.map} +1 -1
- package/dist/build/p-9c0a4d88.entry.js +2 -0
- package/dist/build/p-9c0a4d88.entry.js.map +1 -0
- package/dist/build/p-bff2caf8.entry.js +2 -0
- package/dist/{paperless/p-150f371d.entry.js.map → build/p-bff2caf8.entry.js.map} +1 -1
- package/dist/build/p-c922ccc7.entry.js +2 -0
- package/dist/build/{p-004d55ea.entry.js.map → p-c922ccc7.entry.js.map} +1 -1
- package/dist/build/p-e20ff8c8.entry.js +2 -0
- package/dist/build/p-e20ff8c8.entry.js.map +1 -0
- package/dist/{paperless/p-7584e581.entry.js → build/p-e35b3886.entry.js} +2 -2
- package/dist/build/{p-7584e581.entry.js.map → p-e35b3886.entry.js.map} +0 -0
- package/dist/build/p-e6227583.entry.js +2 -0
- package/dist/build/{p-a4e7ec85.entry.js.map → p-e6227583.entry.js.map} +1 -1
- package/dist/build/{p-165b2597.entry.js → p-ebd3f360.entry.js} +2 -2
- package/dist/build/{p-165b2597.entry.js.map → p-ebd3f360.entry.js.map} +1 -1
- package/dist/build/paperless.css +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/index-19716b9c.js +8 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +38 -0
- package/dist/cjs/p-attachment.cjs.entry.js.map +1 -0
- package/dist/cjs/p-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +3 -3
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-helper_3.cjs.entry.js +19 -126
- package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-illustration_6.cjs.entry.js +5 -5
- package/dist/cjs/p-illustration_6.cjs.entry.js.map +1 -1
- package/dist/cjs/p-label_3.cjs.entry.js +3 -3
- package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +2 -2
- package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +127 -0
- package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
- package/dist/collection/components/atoms/button/button.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/label/label.component.css +1 -1
- package/dist/collection/components/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -1
- package/dist/collection/components/atoms/table-container/table-container.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -0
- package/dist/collection/components/molecules/attachment/attachment.component.js +126 -0
- package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -0
- package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/input-error/input-error.component.js +60 -0
- package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -0
- package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
- package/dist/collection/components/molecules/input-group/input-group.component.js +3 -7
- package/dist/collection/components/molecules/input-group/input-group.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
- package/dist/collection/components/molecules/select/select.component.css +1 -1
- package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.css +1 -1
- package/dist/collection/components/molecules/table-row/table-row.component.css +1 -1
- package/dist/collection/components/organisms/table/table.component.css +1 -1
- package/dist/components/backdrop.component.js +1 -1
- package/dist/components/backdrop.component.js.map +1 -1
- package/dist/components/button.component.js +1 -1
- package/dist/components/button.component.js.map +1 -1
- package/dist/components/divider.component.js +1 -1
- package/dist/components/dropdown-menu-container.component.js +1 -1
- package/dist/components/dropdown-menu-container.component.js.map +1 -1
- package/dist/components/dropdown-menu-item.component.js +1 -1
- package/dist/components/dropdown-menu-item.component.js.map +1 -1
- package/dist/components/dropdown.component.js +1 -1
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/helper.component.js +1 -1
- package/dist/components/helper.component.js.map +1 -1
- package/dist/components/icon.component.js +1 -1
- package/dist/components/icon.component.js.map +1 -1
- package/dist/components/input-error.component.js +50 -0
- package/dist/components/input-error.component.js.map +1 -0
- package/dist/components/input-group.component.js +13 -11
- package/dist/components/input-group.component.js.map +1 -1
- package/dist/components/label.component.js +1 -1
- package/dist/components/loader.component.js +1 -1
- package/dist/components/loader.component.js.map +1 -1
- package/dist/components/modal-body.component.js +1 -1
- package/dist/components/modal-body.component.js.map +1 -1
- package/dist/components/modal-container.component.js +1 -1
- package/dist/components/modal-container.component.js.map +1 -1
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-header.component.js +1 -1
- package/dist/components/modal-header.component.js.map +1 -1
- package/dist/components/p-attachment.d.ts +11 -0
- package/dist/components/p-attachment.js +86 -0
- package/dist/components/p-attachment.js.map +1 -0
- package/dist/components/p-datepicker.js +16 -10
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-input-error.d.ts +11 -0
- package/dist/components/p-input-error.js +8 -0
- package/dist/components/p-input-error.js.map +1 -0
- package/dist/components/p-select.js +16 -10
- package/dist/components/p-select.js.map +1 -1
- package/dist/components/p-table.js +23 -17
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/pagination-item.component.js +1 -1
- package/dist/components/pagination-item.component.js.map +1 -1
- package/dist/components/pagination.component.js +1 -1
- package/dist/components/pagination.component.js.map +1 -1
- package/dist/components/segment-container.component.js +1 -1
- package/dist/components/segment-container.component.js.map +1 -1
- package/dist/components/segment-item.component.js +1 -1
- package/dist/components/segment-item.component.js.map +1 -1
- package/dist/components/stepper-item.component.js +1 -1
- package/dist/components/stepper-item.component.js.map +1 -1
- package/dist/components/stepper-line.component.js +1 -1
- package/dist/components/stepper-line.component.js.map +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-cell.component.js.map +1 -1
- package/dist/components/table-container.component.js +1 -1
- package/dist/components/table-container.component.js.map +1 -1
- package/dist/components/table-footer.component.js +1 -1
- package/dist/components/table-footer.component.js.map +1 -1
- package/dist/components/table-header.component.js +13 -7
- package/dist/components/table-header.component.js.map +1 -1
- package/dist/components/table-row.component.js +1 -1
- package/dist/components/table-row.component.js.map +1 -1
- package/dist/components/tooltip.component.js +1 -1
- package/dist/components/tooltip.component.js.map +1 -1
- package/dist/esm/index-8a4a3f2a.js +8 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-attachment.entry.js +34 -0
- package/dist/esm/p-attachment.entry.js.map +1 -0
- package/dist/esm/p-backdrop.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +3 -3
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-divider.entry.js +1 -1
- package/dist/esm/p-dropdown-menu-container.entry.js +1 -1
- package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
- package/dist/esm/p-dropdown_2.entry.js +2 -2
- package/dist/esm/p-dropdown_2.entry.js.map +1 -1
- package/dist/esm/p-helper_3.entry.js +20 -127
- package/dist/esm/p-helper_3.entry.js.map +1 -1
- package/dist/esm/p-illustration_6.entry.js +5 -5
- package/dist/esm/p-illustration_6.entry.js.map +1 -1
- package/dist/esm/p-label_3.entry.js +3 -3
- package/dist/esm/p-label_3.entry.js.map +1 -1
- package/dist/esm/p-modal-body_4.entry.js +4 -4
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-page-size-select_3.entry.js +2 -2
- package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +2 -2
- package/dist/esm/p-stepper-item_2.entry.js.map +1 -1
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/p-tooltip.entry.js +123 -0
- package/dist/esm/p-tooltip.entry.js.map +1 -0
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-10530c5e.entry.js +2 -0
- package/dist/paperless/p-10530c5e.entry.js.map +1 -0
- package/dist/paperless/p-1b5cdff7.entry.js +2 -0
- package/dist/paperless/{p-1c2cc466.entry.js.map → p-1b5cdff7.entry.js.map} +1 -1
- package/dist/{build/p-61cc1cd9.entry.js → paperless/p-3350a2cf.entry.js} +2 -2
- package/dist/paperless/{p-61cc1cd9.entry.js.map → p-3350a2cf.entry.js.map} +1 -1
- package/dist/paperless/p-36f29499.entry.js +2 -0
- package/dist/{build/p-ab08ea2e.entry.js.map → paperless/p-36f29499.entry.js.map} +1 -1
- package/dist/paperless/{p-34e4e210.entry.js → p-5dfab26d.entry.js} +2 -2
- package/dist/paperless/{p-34e4e210.entry.js.map → p-5dfab26d.entry.js.map} +1 -1
- package/dist/paperless/p-73bfcf97.entry.js +2 -0
- package/dist/paperless/{p-7f40fbbf.entry.js.map → p-73bfcf97.entry.js.map} +1 -1
- package/dist/paperless/p-852a5331.entry.js +2 -0
- package/dist/paperless/{p-ca7644aa.entry.js.map → p-852a5331.entry.js.map} +1 -1
- package/dist/paperless/p-9c0a4d88.entry.js +2 -0
- package/dist/paperless/p-9c0a4d88.entry.js.map +1 -0
- package/dist/paperless/p-bff2caf8.entry.js +2 -0
- package/dist/{build/p-150f371d.entry.js.map → paperless/p-bff2caf8.entry.js.map} +1 -1
- package/dist/paperless/p-c922ccc7.entry.js +2 -0
- package/dist/paperless/{p-004d55ea.entry.js.map → p-c922ccc7.entry.js.map} +1 -1
- package/dist/paperless/p-e20ff8c8.entry.js +2 -0
- package/dist/paperless/p-e20ff8c8.entry.js.map +1 -0
- package/dist/{build/p-7584e581.entry.js → paperless/p-e35b3886.entry.js} +2 -2
- package/dist/paperless/{p-7584e581.entry.js.map → p-e35b3886.entry.js.map} +0 -0
- package/dist/paperless/p-e6227583.entry.js +2 -0
- package/dist/paperless/{p-a4e7ec85.entry.js.map → p-e6227583.entry.js.map} +1 -1
- package/dist/paperless/{p-165b2597.entry.js → p-ebd3f360.entry.js} +2 -2
- package/dist/paperless/{p-165b2597.entry.js.map → p-ebd3f360.entry.js.map} +1 -1
- package/dist/paperless/paperless.css +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/attachment/attachment.component.d.ts +24 -0
- package/dist/types/components/molecules/input-error/input-error.component.d.ts +12 -0
- package/dist/types/components/molecules/input-group/input-group.component.d.ts +0 -1
- package/dist/types/components.d.ts +78 -0
- package/hydrate/index.d.ts +218 -0
- package/hydrate/index.js +22508 -0
- package/hydrate/package.json +6 -0
- package/package.json +7 -6
- package/dist/build/p-004d55ea.entry.js +0 -2
- package/dist/build/p-150f371d.entry.js +0 -2
- package/dist/build/p-1c2cc466.entry.js +0 -2
- package/dist/build/p-7f40fbbf.entry.js +0 -2
- package/dist/build/p-a4e7ec85.entry.js +0 -2
- package/dist/build/p-ab08ea2e.entry.js +0 -2
- package/dist/build/p-ca7644aa.entry.js +0 -2
- package/dist/build/p-dec019cb.entry.js +0 -2
- package/dist/build/p-dec019cb.entry.js.map +0 -1
- package/dist/paperless/p-004d55ea.entry.js +0 -2
- package/dist/paperless/p-150f371d.entry.js +0 -2
- package/dist/paperless/p-1c2cc466.entry.js +0 -2
- package/dist/paperless/p-7f40fbbf.entry.js +0 -2
- package/dist/paperless/p-a4e7ec85.entry.js +0 -2
- package/dist/paperless/p-ab08ea2e.entry.js +0 -2
- package/dist/paperless/p-ca7644aa.entry.js +0 -2
- package/dist/paperless/p-dec019cb.entry.js +0 -2
- package/dist/paperless/p-dec019cb.entry.js.map +0 -1
|
@@ -50,6 +50,20 @@ export namespace Components {
|
|
|
50
50
|
*/
|
|
51
51
|
"openable": boolean;
|
|
52
52
|
}
|
|
53
|
+
interface PAttachment {
|
|
54
|
+
/**
|
|
55
|
+
* The error to show
|
|
56
|
+
*/
|
|
57
|
+
"error": string;
|
|
58
|
+
/**
|
|
59
|
+
* Wether the attachment is uploading/loading
|
|
60
|
+
*/
|
|
61
|
+
"loading": boolean;
|
|
62
|
+
/**
|
|
63
|
+
* The variant of the button
|
|
64
|
+
*/
|
|
65
|
+
"mode": 'read' | 'write';
|
|
66
|
+
}
|
|
53
67
|
interface PAvatar {
|
|
54
68
|
/**
|
|
55
69
|
* The default image to show on errors
|
|
@@ -464,6 +478,16 @@ export namespace Components {
|
|
|
464
478
|
*/
|
|
465
479
|
"variant": 'info' | 'negative' | 'positive' | 'unbiased';
|
|
466
480
|
}
|
|
481
|
+
interface PInputError {
|
|
482
|
+
/**
|
|
483
|
+
* The error to show
|
|
484
|
+
*/
|
|
485
|
+
"error": string;
|
|
486
|
+
/**
|
|
487
|
+
* Wether to force show the tooltip
|
|
488
|
+
*/
|
|
489
|
+
"forceShowTooltip": boolean;
|
|
490
|
+
}
|
|
467
491
|
interface PInputGroup {
|
|
468
492
|
/**
|
|
469
493
|
* Wether the input group is disabled
|
|
@@ -1267,6 +1291,10 @@ export interface PAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
|
1267
1291
|
detail: T;
|
|
1268
1292
|
target: HTMLPAccordionElement;
|
|
1269
1293
|
}
|
|
1294
|
+
export interface PAttachmentCustomEvent<T> extends CustomEvent<T> {
|
|
1295
|
+
detail: T;
|
|
1296
|
+
target: HTMLPAttachmentElement;
|
|
1297
|
+
}
|
|
1270
1298
|
export interface PBackdropCustomEvent<T> extends CustomEvent<T> {
|
|
1271
1299
|
detail: T;
|
|
1272
1300
|
target: HTMLPBackdropElement;
|
|
@@ -1346,6 +1374,12 @@ declare global {
|
|
|
1346
1374
|
prototype: HTMLPAccordionElement;
|
|
1347
1375
|
new (): HTMLPAccordionElement;
|
|
1348
1376
|
};
|
|
1377
|
+
interface HTMLPAttachmentElement extends Components.PAttachment, HTMLStencilElement {
|
|
1378
|
+
}
|
|
1379
|
+
var HTMLPAttachmentElement: {
|
|
1380
|
+
prototype: HTMLPAttachmentElement;
|
|
1381
|
+
new (): HTMLPAttachmentElement;
|
|
1382
|
+
};
|
|
1349
1383
|
interface HTMLPAvatarElement extends Components.PAvatar, HTMLStencilElement {
|
|
1350
1384
|
}
|
|
1351
1385
|
var HTMLPAvatarElement: {
|
|
@@ -1484,6 +1518,12 @@ declare global {
|
|
|
1484
1518
|
prototype: HTMLPInfoPanelElement;
|
|
1485
1519
|
new (): HTMLPInfoPanelElement;
|
|
1486
1520
|
};
|
|
1521
|
+
interface HTMLPInputErrorElement extends Components.PInputError, HTMLStencilElement {
|
|
1522
|
+
}
|
|
1523
|
+
var HTMLPInputErrorElement: {
|
|
1524
|
+
prototype: HTMLPInputErrorElement;
|
|
1525
|
+
new (): HTMLPInputErrorElement;
|
|
1526
|
+
};
|
|
1487
1527
|
interface HTMLPInputGroupElement extends Components.PInputGroup, HTMLStencilElement {
|
|
1488
1528
|
}
|
|
1489
1529
|
var HTMLPInputGroupElement: {
|
|
@@ -1696,6 +1736,7 @@ declare global {
|
|
|
1696
1736
|
};
|
|
1697
1737
|
interface HTMLElementTagNameMap {
|
|
1698
1738
|
"p-accordion": HTMLPAccordionElement;
|
|
1739
|
+
"p-attachment": HTMLPAttachmentElement;
|
|
1699
1740
|
"p-avatar": HTMLPAvatarElement;
|
|
1700
1741
|
"p-avatar-group": HTMLPAvatarGroupElement;
|
|
1701
1742
|
"p-backdrop": HTMLPBackdropElement;
|
|
@@ -1719,6 +1760,7 @@ declare global {
|
|
|
1719
1760
|
"p-icon": HTMLPIconElement;
|
|
1720
1761
|
"p-illustration": HTMLPIllustrationElement;
|
|
1721
1762
|
"p-info-panel": HTMLPInfoPanelElement;
|
|
1763
|
+
"p-input-error": HTMLPInputErrorElement;
|
|
1722
1764
|
"p-input-group": HTMLPInputGroupElement;
|
|
1723
1765
|
"p-label": HTMLPLabelElement;
|
|
1724
1766
|
"p-layout": HTMLPLayoutElement;
|
|
@@ -1779,6 +1821,28 @@ declare namespace LocalJSX {
|
|
|
1779
1821
|
*/
|
|
1780
1822
|
"openable"?: boolean;
|
|
1781
1823
|
}
|
|
1824
|
+
interface PAttachment {
|
|
1825
|
+
/**
|
|
1826
|
+
* The error to show
|
|
1827
|
+
*/
|
|
1828
|
+
"error"?: string;
|
|
1829
|
+
/**
|
|
1830
|
+
* Wether the attachment is uploading/loading
|
|
1831
|
+
*/
|
|
1832
|
+
"loading"?: boolean;
|
|
1833
|
+
/**
|
|
1834
|
+
* The variant of the button
|
|
1835
|
+
*/
|
|
1836
|
+
"mode"?: 'read' | 'write';
|
|
1837
|
+
/**
|
|
1838
|
+
* Event when delete is pressed
|
|
1839
|
+
*/
|
|
1840
|
+
"onDelete"?: (event: PAttachmentCustomEvent<any>) => void;
|
|
1841
|
+
/**
|
|
1842
|
+
* Event when download is pressed
|
|
1843
|
+
*/
|
|
1844
|
+
"onDownload"?: (event: PAttachmentCustomEvent<any>) => void;
|
|
1845
|
+
}
|
|
1782
1846
|
interface PAvatar {
|
|
1783
1847
|
/**
|
|
1784
1848
|
* The default image to show on errors
|
|
@@ -2228,6 +2292,16 @@ declare namespace LocalJSX {
|
|
|
2228
2292
|
*/
|
|
2229
2293
|
"variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
|
|
2230
2294
|
}
|
|
2295
|
+
interface PInputError {
|
|
2296
|
+
/**
|
|
2297
|
+
* The error to show
|
|
2298
|
+
*/
|
|
2299
|
+
"error"?: string;
|
|
2300
|
+
/**
|
|
2301
|
+
* Wether to force show the tooltip
|
|
2302
|
+
*/
|
|
2303
|
+
"forceShowTooltip"?: boolean;
|
|
2304
|
+
}
|
|
2231
2305
|
interface PInputGroup {
|
|
2232
2306
|
/**
|
|
2233
2307
|
* Wether the input group is disabled
|
|
@@ -3148,6 +3222,7 @@ declare namespace LocalJSX {
|
|
|
3148
3222
|
}
|
|
3149
3223
|
interface IntrinsicElements {
|
|
3150
3224
|
"p-accordion": PAccordion;
|
|
3225
|
+
"p-attachment": PAttachment;
|
|
3151
3226
|
"p-avatar": PAvatar;
|
|
3152
3227
|
"p-avatar-group": PAvatarGroup;
|
|
3153
3228
|
"p-backdrop": PBackdrop;
|
|
@@ -3171,6 +3246,7 @@ declare namespace LocalJSX {
|
|
|
3171
3246
|
"p-icon": PIcon;
|
|
3172
3247
|
"p-illustration": PIllustration;
|
|
3173
3248
|
"p-info-panel": PInfoPanel;
|
|
3249
|
+
"p-input-error": PInputError;
|
|
3174
3250
|
"p-input-group": PInputGroup;
|
|
3175
3251
|
"p-label": PLabel;
|
|
3176
3252
|
"p-layout": PLayout;
|
|
@@ -3213,6 +3289,7 @@ declare module "@stencil/core" {
|
|
|
3213
3289
|
export namespace JSX {
|
|
3214
3290
|
interface IntrinsicElements {
|
|
3215
3291
|
"p-accordion": LocalJSX.PAccordion & JSXBase.HTMLAttributes<HTMLPAccordionElement>;
|
|
3292
|
+
"p-attachment": LocalJSX.PAttachment & JSXBase.HTMLAttributes<HTMLPAttachmentElement>;
|
|
3216
3293
|
"p-avatar": LocalJSX.PAvatar & JSXBase.HTMLAttributes<HTMLPAvatarElement>;
|
|
3217
3294
|
"p-avatar-group": LocalJSX.PAvatarGroup & JSXBase.HTMLAttributes<HTMLPAvatarGroupElement>;
|
|
3218
3295
|
"p-backdrop": LocalJSX.PBackdrop & JSXBase.HTMLAttributes<HTMLPBackdropElement>;
|
|
@@ -3236,6 +3313,7 @@ declare module "@stencil/core" {
|
|
|
3236
3313
|
"p-icon": LocalJSX.PIcon & JSXBase.HTMLAttributes<HTMLPIconElement>;
|
|
3237
3314
|
"p-illustration": LocalJSX.PIllustration & JSXBase.HTMLAttributes<HTMLPIllustrationElement>;
|
|
3238
3315
|
"p-info-panel": LocalJSX.PInfoPanel & JSXBase.HTMLAttributes<HTMLPInfoPanelElement>;
|
|
3316
|
+
"p-input-error": LocalJSX.PInputError & JSXBase.HTMLAttributes<HTMLPInputErrorElement>;
|
|
3239
3317
|
"p-input-group": LocalJSX.PInputGroup & JSXBase.HTMLAttributes<HTMLPInputGroupElement>;
|
|
3240
3318
|
"p-label": LocalJSX.PLabel & JSXBase.HTMLAttributes<HTMLPLabelElement>;
|
|
3241
3319
|
"p-layout": LocalJSX.PLayout & JSXBase.HTMLAttributes<HTMLPLayoutElement>;
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v7.1.0
|
|
2
|
+
|
|
3
|
+
export declare function createWindowFromHtml(templateHtml: string, uniqueId: string): any;
|
|
4
|
+
export interface HydrateDocumentOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Build ID that will be added to `<html data-stencil-build="BUILD_ID">`. By default
|
|
7
|
+
* a random ID will be generated
|
|
8
|
+
*/
|
|
9
|
+
buildId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Sets the `href` attribute on the `<link rel="canonical">`
|
|
12
|
+
* tag within the `<head>`. If the value is not defined it will
|
|
13
|
+
* ensure a canonical link tag is no included in the `<head>`.
|
|
14
|
+
*/
|
|
15
|
+
canonicalUrl?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Include the HTML comments and attributes used by the clientside
|
|
18
|
+
* JavaScript to read the structure of the HTML and rebuild each
|
|
19
|
+
* component. Defaults to `true`.
|
|
20
|
+
*/
|
|
21
|
+
clientHydrateAnnotations?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Constrain `setTimeout()` to 1ms, but still async. Also
|
|
24
|
+
* only allows `setInterval()` to fire once, also constrained to 1ms.
|
|
25
|
+
* Defaults to `true`.
|
|
26
|
+
*/
|
|
27
|
+
constrainTimeouts?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Sets `document.cookie`
|
|
30
|
+
*/
|
|
31
|
+
cookie?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Sets the `dir` attribute on the top level `<html>`.
|
|
34
|
+
*/
|
|
35
|
+
direction?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Component tag names listed here will not be prerendered, nor will
|
|
38
|
+
* hydrated on the clientside. Components listed here will be ignored
|
|
39
|
+
* as custom elements and treated no differently than a `<div>`.
|
|
40
|
+
*/
|
|
41
|
+
excludeComponents?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* Sets the `lang` attribute on the top level `<html>`.
|
|
44
|
+
*/
|
|
45
|
+
language?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Maximum number of components to hydrate on one page. Defaults to `300`.
|
|
48
|
+
*/
|
|
49
|
+
maxHydrateCount?: number;
|
|
50
|
+
/**
|
|
51
|
+
* Sets `document.referrer`
|
|
52
|
+
*/
|
|
53
|
+
referrer?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Removes every `<script>` element found in the `document`. Defaults to `false`.
|
|
56
|
+
*/
|
|
57
|
+
removeScripts?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Removes CSS not used by elements within the `document`. Defaults to `true`.
|
|
60
|
+
*/
|
|
61
|
+
removeUnusedStyles?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* The url the runtime uses for the resources, such as the assets directory.
|
|
64
|
+
*/
|
|
65
|
+
resourcesUrl?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Prints out runtime console logs to the NodeJS process. Defaults to `false`.
|
|
68
|
+
*/
|
|
69
|
+
runtimeLogging?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Component tags listed here will only be prerendered or serverside-rendered
|
|
72
|
+
* and will not be clientside hydrated. This is useful for components that
|
|
73
|
+
* are not dynamic and do not need to be defined as a custom element within the
|
|
74
|
+
* browser. For example, a header or footer component would be a good example that
|
|
75
|
+
* may not require any clientside JavaScript.
|
|
76
|
+
*/
|
|
77
|
+
staticComponents?: string[];
|
|
78
|
+
/**
|
|
79
|
+
* The amount of milliseconds to wait for a page to finish rendering until
|
|
80
|
+
* a timeout error is thrown. Defaults to `15000`.
|
|
81
|
+
*/
|
|
82
|
+
timeout?: number;
|
|
83
|
+
/**
|
|
84
|
+
* Sets `document.title`.
|
|
85
|
+
*/
|
|
86
|
+
title?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Sets `location.href`
|
|
89
|
+
*/
|
|
90
|
+
url?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Sets `navigator.userAgent`
|
|
93
|
+
*/
|
|
94
|
+
userAgent?: string;
|
|
95
|
+
}
|
|
96
|
+
export interface SerializeDocumentOptions extends HydrateDocumentOptions {
|
|
97
|
+
/**
|
|
98
|
+
* Runs after the `document` has been hydrated.
|
|
99
|
+
*/
|
|
100
|
+
afterHydrate?(document: any): any | Promise<any>;
|
|
101
|
+
/**
|
|
102
|
+
* Sets an approximate line width the HTML should attempt to stay within.
|
|
103
|
+
* Note that this is "approximate", in that HTML may often not be able
|
|
104
|
+
* to be split at an exact line width. Additionally, new lines created
|
|
105
|
+
* is where HTML naturally already has whitespace, such as before an
|
|
106
|
+
* attribute or spaces between words. Defaults to `100`.
|
|
107
|
+
*/
|
|
108
|
+
approximateLineWidth?: number;
|
|
109
|
+
/**
|
|
110
|
+
* Runs before the `document` has been hydrated.
|
|
111
|
+
*/
|
|
112
|
+
beforeHydrate?(document: any): any | Promise<any>;
|
|
113
|
+
/**
|
|
114
|
+
* Format the HTML in a nicely indented format.
|
|
115
|
+
* Defaults to `false`.
|
|
116
|
+
*/
|
|
117
|
+
prettyHtml?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Remove quotes from attribute values when possible.
|
|
120
|
+
* Defaults to `true`.
|
|
121
|
+
*/
|
|
122
|
+
removeAttributeQuotes?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Remove the `=""` from standardized `boolean` attributes,
|
|
125
|
+
* such as `hidden` or `checked`. Defaults to `true`.
|
|
126
|
+
*/
|
|
127
|
+
removeBooleanAttributeQuotes?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Remove these standardized attributes when their value is empty:
|
|
130
|
+
* `class`, `dir`, `id`, `lang`, and `name`, `title`. Defaults to `true`.
|
|
131
|
+
*/
|
|
132
|
+
removeEmptyAttributes?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Remove HTML comments. Defaults to `true`.
|
|
135
|
+
*/
|
|
136
|
+
removeHtmlComments?: boolean;
|
|
137
|
+
}
|
|
138
|
+
export interface HydrateFactoryOptions extends SerializeDocumentOptions {
|
|
139
|
+
serializeToHtml: boolean;
|
|
140
|
+
destroyWindow: boolean;
|
|
141
|
+
destroyDocument: boolean;
|
|
142
|
+
}
|
|
143
|
+
export interface Diagnostic {
|
|
144
|
+
absFilePath?: string | undefined;
|
|
145
|
+
code?: string;
|
|
146
|
+
columnNumber?: number | undefined;
|
|
147
|
+
debugText?: string;
|
|
148
|
+
header?: string;
|
|
149
|
+
language?: string;
|
|
150
|
+
level: "error" | "warn" | "info" | "log" | "debug";
|
|
151
|
+
lineNumber?: number | undefined;
|
|
152
|
+
lines: PrintLine[];
|
|
153
|
+
messageText: string;
|
|
154
|
+
relFilePath?: string | undefined;
|
|
155
|
+
type: string;
|
|
156
|
+
}
|
|
157
|
+
export interface PrintLine {
|
|
158
|
+
lineIndex: number;
|
|
159
|
+
lineNumber: number;
|
|
160
|
+
text?: string;
|
|
161
|
+
errorCharStart: number;
|
|
162
|
+
errorLength?: number;
|
|
163
|
+
}
|
|
164
|
+
export interface HydrateResults {
|
|
165
|
+
buildId: string;
|
|
166
|
+
diagnostics: Diagnostic[];
|
|
167
|
+
url: string;
|
|
168
|
+
host: string;
|
|
169
|
+
hostname: string;
|
|
170
|
+
href: string;
|
|
171
|
+
port: string;
|
|
172
|
+
pathname: string;
|
|
173
|
+
search: string;
|
|
174
|
+
hash: string;
|
|
175
|
+
html: string;
|
|
176
|
+
components: HydrateComponent[];
|
|
177
|
+
anchors: HydrateAnchorElement[];
|
|
178
|
+
imgs: HydrateImgElement[];
|
|
179
|
+
scripts: HydrateScriptElement[];
|
|
180
|
+
styles: HydrateStyleElement[];
|
|
181
|
+
staticData: HydrateStaticData[];
|
|
182
|
+
title: string;
|
|
183
|
+
hydratedCount: number;
|
|
184
|
+
httpStatus: number;
|
|
185
|
+
}
|
|
186
|
+
export interface HydrateComponent {
|
|
187
|
+
tag: string;
|
|
188
|
+
mode: string;
|
|
189
|
+
count: number;
|
|
190
|
+
depth: number;
|
|
191
|
+
}
|
|
192
|
+
export interface HydrateElement {
|
|
193
|
+
[attrName: string]: string | undefined;
|
|
194
|
+
}
|
|
195
|
+
export interface HydrateAnchorElement extends HydrateElement {
|
|
196
|
+
href?: string;
|
|
197
|
+
target?: string;
|
|
198
|
+
}
|
|
199
|
+
export interface HydrateImgElement extends HydrateElement {
|
|
200
|
+
src?: string;
|
|
201
|
+
}
|
|
202
|
+
export interface HydrateScriptElement extends HydrateElement {
|
|
203
|
+
src?: string;
|
|
204
|
+
type?: string;
|
|
205
|
+
}
|
|
206
|
+
export interface HydrateStyleElement extends HydrateElement {
|
|
207
|
+
href?: string;
|
|
208
|
+
}
|
|
209
|
+
export interface HydrateStaticData {
|
|
210
|
+
id: string;
|
|
211
|
+
type: string;
|
|
212
|
+
content: string;
|
|
213
|
+
}
|
|
214
|
+
export declare function renderToString(html: string | any, options?: SerializeDocumentOptions): Promise<HydrateResults>;
|
|
215
|
+
export declare function hydrateDocument(doc: any | string, options?: HydrateDocumentOptions): Promise<HydrateResults>;
|
|
216
|
+
export declare function serializeDocumentToString(doc: any, opts: HydrateFactoryOptions): string;
|
|
217
|
+
|
|
218
|
+
export {};
|