@lucca-front/ng 20.3.0-rc.4 → 20.3.0-rc.5
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/fesm2022/lucca-front-ng-a11y.mjs +2 -2
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +18 -6
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +2 -2
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +2 -2
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +4 -4
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +2 -2
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +27 -27
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +4 -4
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +6 -6
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +10 -4
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +2 -2
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +6 -6
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +2 -2
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +4 -4
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +2 -2
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +6 -6
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +2 -2
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +2 -2
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +2 -2
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +2 -2
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +36 -12
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +2 -2
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +2 -2
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +2 -2
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scrollBox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmentedControl.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmentedControlTabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +8 -8
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-statusBadge.mjs +2 -2
- package/fesm2022/lucca-front-ng-statusBadge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +3 -3
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +2 -2
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +4 -4
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/package.json +36 -36
- package/src/components/_picker.scss +1 -1
- package/tag/index.d.ts +2 -2
|
@@ -224,11 +224,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
224
224
|
|
|
225
225
|
class FileDropzoneComponent extends BaseFileUploadComponent {
|
|
226
226
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: FileDropzoneComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
227
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.2", type: FileDropzoneComponent, isStandalone: true, selector: "lu-file-dropzone", usesInheritance: true, ngImport: i0, template: "<div class=\"fileUpload mod-dropzone\" [class.is-droppable]=\"droppable\" (dragenter)=\"droppable = true\" (dragleave)=\"droppable = false\">\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t</div>\n</div>\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:
|
|
227
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.2", type: FileDropzoneComponent, isStandalone: true, selector: "lu-file-dropzone", usesInheritance: true, ngImport: i0, template: "<div class=\"fileUpload mod-dropzone\" [class.is-droppable]=\"droppable\" (dragenter)=\"droppable = true\" (dragleave)=\"droppable = false\">\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t</div>\n</div>\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:var(--pr-t-font-fontWeight-semibold);color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}\n"], dependencies: [{ kind: "pipe", type: LuSafeExternalSvgPipe, name: "luSafeExternalSvg" }, { kind: "pipe", type: IntlParamsPipe, name: "intlParams" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
228
228
|
}
|
|
229
229
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: FileDropzoneComponent, decorators: [{
|
|
230
230
|
type: Component,
|
|
231
|
-
args: [{ selector: 'lu-file-dropzone', standalone: true, encapsulation: ViewEncapsulation.None, imports: [LuSafeExternalSvgPipe, IntlParamsPipe], template: "<div class=\"fileUpload mod-dropzone\" [class.is-droppable]=\"droppable\" (dragenter)=\"droppable = true\" (dragleave)=\"droppable = false\">\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t</div>\n</div>\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:
|
|
231
|
+
args: [{ selector: 'lu-file-dropzone', standalone: true, encapsulation: ViewEncapsulation.None, imports: [LuSafeExternalSvgPipe, IntlParamsPipe], template: "<div class=\"fileUpload mod-dropzone\" [class.is-droppable]=\"droppable\" (dragenter)=\"droppable = true\" (dragleave)=\"droppable = false\">\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t</div>\n</div>\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:var(--pr-t-font-fontWeight-semibold);color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}\n"] }]
|
|
232
232
|
}] });
|
|
233
233
|
|
|
234
234
|
class FileEntryComponent {
|
|
@@ -316,13 +316,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
316
316
|
|
|
317
317
|
class MultiFileUploadComponent extends BaseFileUploadComponent {
|
|
318
318
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: MultiFileUploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
319
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.2", type: MultiFileUploadComponent, isStandalone: true, selector: "lu-multi-file-upload", host: { properties: { "class.mod-structure": "structure()" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"false\">\n\t<input\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\tmultiple=\"multiple\"\n\t\t#inputRef\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.other\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\tintl.acceptedFormat.one\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.other }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.other }}</span>\n</div>\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:600;color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}.fileToolbar{--components-fileToolbar-list-padding: var(--pr-t-spacings-50);--components-fileToolbar-display: block;--components-fileToolbar-insetBlockEnd: var(--pr-t-spacings-150);border-radius:var(--pr-t-border-radius-default);position:absolute;transform:translate(-50%);inset-inline-start:50%;inset-block-end:var(--components-fileToolbar-insetBlockEnd);box-shadow:var(--pr-t-elevation-shadow-overlay);background-color:var(--pr-t-elevation-surface-raised);z-index:1;display:var(--components-fileToolbar-display)}.fileToolbar-list{margin:0;padding:0;list-style-type:none;display:flex;gap:var(--pr-t-spacings-50);padding:var(--components-fileToolbar-list-padding)}.fileToolbar-list-item-button.button{--components-button-backgroundColor: transparent;--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-boxShadow: none;--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75);--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight);--components-button-padding: var(--pr-t-spacings-75) !important}.fileToolbar-list-item-button.button:hover,.fileToolbar-list-item-button.button:focus-visible{--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.fileToolbar-list-item-button.button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.fileToolbar-list-item-button.button:disabled{--components-button-backgroundColor: transparent;--components-button-color: var(--pr-t-color-text-disabled)}.fileToolbar-list-item-button.button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.fileToolbar.mod-disablePositioning{--components-fileToolbar-display: contents}.fileToolbar.mod-disablePositioning.mod-S{--components-fileToolbar-list-padding: 0}\n"], dependencies: [{ kind: "pipe", type: LuSafeExternalSvgPipe, name: "luSafeExternalSvg" }, { kind: "directive", type: InputDirective, selector: "[luInput]", inputs: ["luInputStandalone"] }, { kind: "ngmodule", type: LuTooltipModule }, { kind: "pipe", type: IntlParamsPipe, name: "intlParams" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
319
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.2", type: MultiFileUploadComponent, isStandalone: true, selector: "lu-multi-file-upload", host: { properties: { "class.mod-structure": "structure()" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"false\">\n\t<input\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\tmultiple=\"multiple\"\n\t\t#inputRef\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.other\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\tintl.acceptedFormat.one\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.other }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.other }}</span>\n</div>\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:var(--pr-t-font-fontWeight-semibold);color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}.fileToolbar{--components-fileToolbar-list-padding: var(--pr-t-spacings-50);--components-fileToolbar-display: block;--components-fileToolbar-insetBlockEnd: var(--pr-t-spacings-150);border-radius:var(--pr-t-border-radius-default);position:absolute;transform:translate(-50%);inset-inline-start:50%;inset-block-end:var(--components-fileToolbar-insetBlockEnd);box-shadow:var(--pr-t-elevation-shadow-overlay);background-color:var(--pr-t-elevation-surface-raised);z-index:1;display:var(--components-fileToolbar-display)}.fileToolbar-list{margin:0;padding:0;list-style-type:none;display:flex;gap:var(--pr-t-spacings-50);padding:var(--components-fileToolbar-list-padding)}.fileToolbar-list-item-button.button{--components-button-backgroundColor: transparent;--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-boxShadow: none;--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75);--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight);--components-button-padding: var(--pr-t-spacings-75) !important}.fileToolbar-list-item-button.button:hover,.fileToolbar-list-item-button.button:focus-visible{--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.fileToolbar-list-item-button.button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.fileToolbar-list-item-button.button:disabled{--components-button-backgroundColor: transparent;--components-button-color: var(--pr-t-color-text-disabled)}.fileToolbar-list-item-button.button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.fileToolbar.mod-disablePositioning{--components-fileToolbar-display: contents}.fileToolbar.mod-disablePositioning.mod-S{--components-fileToolbar-list-padding: 0}\n"], dependencies: [{ kind: "pipe", type: LuSafeExternalSvgPipe, name: "luSafeExternalSvg" }, { kind: "directive", type: InputDirective, selector: "[luInput]", inputs: ["luInputStandalone"] }, { kind: "ngmodule", type: LuTooltipModule }, { kind: "pipe", type: IntlParamsPipe, name: "intlParams" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
320
320
|
}
|
|
321
321
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: MultiFileUploadComponent, decorators: [{
|
|
322
322
|
type: Component,
|
|
323
323
|
args: [{ selector: 'lu-multi-file-upload', standalone: true, encapsulation: ViewEncapsulation.None, host: {
|
|
324
324
|
'[class.mod-structure]': 'structure()',
|
|
325
|
-
}, imports: [LuSafeExternalSvgPipe, InputDirective, LuTooltipModule, IntlParamsPipe], template: "<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"false\">\n\t<input\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\tmultiple=\"multiple\"\n\t\t#inputRef\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.other\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\tintl.acceptedFormat.one\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.other }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.other }}</span>\n</div>\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:600;color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}.fileToolbar{--components-fileToolbar-list-padding: var(--pr-t-spacings-50);--components-fileToolbar-display: block;--components-fileToolbar-insetBlockEnd: var(--pr-t-spacings-150);border-radius:var(--pr-t-border-radius-default);position:absolute;transform:translate(-50%);inset-inline-start:50%;inset-block-end:var(--components-fileToolbar-insetBlockEnd);box-shadow:var(--pr-t-elevation-shadow-overlay);background-color:var(--pr-t-elevation-surface-raised);z-index:1;display:var(--components-fileToolbar-display)}.fileToolbar-list{margin:0;padding:0;list-style-type:none;display:flex;gap:var(--pr-t-spacings-50);padding:var(--components-fileToolbar-list-padding)}.fileToolbar-list-item-button.button{--components-button-backgroundColor: transparent;--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-boxShadow: none;--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75);--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight);--components-button-padding: var(--pr-t-spacings-75) !important}.fileToolbar-list-item-button.button:hover,.fileToolbar-list-item-button.button:focus-visible{--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.fileToolbar-list-item-button.button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.fileToolbar-list-item-button.button:disabled{--components-button-backgroundColor: transparent;--components-button-color: var(--pr-t-color-text-disabled)}.fileToolbar-list-item-button.button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.fileToolbar.mod-disablePositioning{--components-fileToolbar-display: contents}.fileToolbar.mod-disablePositioning.mod-S{--components-fileToolbar-list-padding: 0}\n"] }]
|
|
325
|
+
}, imports: [LuSafeExternalSvgPipe, InputDirective, LuTooltipModule, IntlParamsPipe], template: "<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"false\">\n\t<input\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\tmultiple=\"multiple\"\n\t\t#inputRef\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.other\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\tintl.acceptedFormat.one\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.other }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.other }}</span>\n</div>\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:var(--pr-t-font-fontWeight-semibold);color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}.fileToolbar{--components-fileToolbar-list-padding: var(--pr-t-spacings-50);--components-fileToolbar-display: block;--components-fileToolbar-insetBlockEnd: var(--pr-t-spacings-150);border-radius:var(--pr-t-border-radius-default);position:absolute;transform:translate(-50%);inset-inline-start:50%;inset-block-end:var(--components-fileToolbar-insetBlockEnd);box-shadow:var(--pr-t-elevation-shadow-overlay);background-color:var(--pr-t-elevation-surface-raised);z-index:1;display:var(--components-fileToolbar-display)}.fileToolbar-list{margin:0;padding:0;list-style-type:none;display:flex;gap:var(--pr-t-spacings-50);padding:var(--components-fileToolbar-list-padding)}.fileToolbar-list-item-button.button{--components-button-backgroundColor: transparent;--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-boxShadow: none;--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75);--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight);--components-button-padding: var(--pr-t-spacings-75) !important}.fileToolbar-list-item-button.button:hover,.fileToolbar-list-item-button.button:focus-visible{--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.fileToolbar-list-item-button.button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.fileToolbar-list-item-button.button:disabled{--components-button-backgroundColor: transparent;--components-button-color: var(--pr-t-color-text-disabled)}.fileToolbar-list-item-button.button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.fileToolbar.mod-disablePositioning{--components-fileToolbar-display: contents}.fileToolbar.mod-disablePositioning.mod-S{--components-fileToolbar-list-padding: 0}\n"] }]
|
|
326
326
|
}] });
|
|
327
327
|
|
|
328
328
|
class SingleFileUploadComponent extends BaseFileUploadComponent {
|
|
@@ -336,13 +336,13 @@ class SingleFileUploadComponent extends BaseFileUploadComponent {
|
|
|
336
336
|
this.displayFileName = input(false, { transform: booleanAttribute });
|
|
337
337
|
}
|
|
338
338
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: SingleFileUploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
339
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.2", type: SingleFileUploadComponent, isStandalone: true, selector: "lu-single-file-upload", inputs: { entry: { classPropertyName: "entry", publicName: "entry", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, inlineMessageError: { classPropertyName: "inlineMessageError", publicName: "inlineMessageError", isSignal: true, isRequired: false, transformFunction: null }, previewUrl: { classPropertyName: "previewUrl", publicName: "previewUrl", isSignal: true, isRequired: false, transformFunction: null }, displayFileName: { classPropertyName: "displayFileName", publicName: "displayFileName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { deleteFile: "deleteFile" }, host: { properties: { "class.mod-structure": "structure()" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"!!entry()\">\n\t<input\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\t[attr.disabled]=\"!!entry() ? 'disabled' : null\"\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.one\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.one | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.one }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.one }}</span>\n</div>\n@if (entry()) {\n\t<lu-file-entry\n\t\t[media]=\"size() === null\"\n\t\t[previewUrl]=\"previewUrl()\"\n\t\t[entry]=\"entry()\"\n\t\t[state]=\"state()\"\n\t\t(deleteFile)=\"deleteFile.emit()\"\n\t\t[inlineMessageError]=\"inlineMessageError()\"\n\t\t[displayFileName]=\"displayFileName()\"\n\t/>\n}\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:600;color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}.fileToolbar{--components-fileToolbar-list-padding: var(--pr-t-spacings-50);--components-fileToolbar-display: block;--components-fileToolbar-insetBlockEnd: var(--pr-t-spacings-150);border-radius:var(--pr-t-border-radius-default);position:absolute;transform:translate(-50%);inset-inline-start:50%;inset-block-end:var(--components-fileToolbar-insetBlockEnd);box-shadow:var(--pr-t-elevation-shadow-overlay);background-color:var(--pr-t-elevation-surface-raised);z-index:1;display:var(--components-fileToolbar-display)}.fileToolbar-list{margin:0;padding:0;list-style-type:none;display:flex;gap:var(--pr-t-spacings-50);padding:var(--components-fileToolbar-list-padding)}.fileToolbar-list-item-button.button{--components-button-backgroundColor: transparent;--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-boxShadow: none;--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75);--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight);--components-button-padding: var(--pr-t-spacings-75) !important}.fileToolbar-list-item-button.button:hover,.fileToolbar-list-item-button.button:focus-visible{--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.fileToolbar-list-item-button.button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.fileToolbar-list-item-button.button:disabled{--components-button-backgroundColor: transparent;--components-button-color: var(--pr-t-color-text-disabled)}.fileToolbar-list-item-button.button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.fileToolbar.mod-disablePositioning{--components-fileToolbar-display: contents}.fileToolbar.mod-disablePositioning.mod-S{--components-fileToolbar-list-padding: 0}\n"], dependencies: [{ kind: "pipe", type: LuSafeExternalSvgPipe, name: "luSafeExternalSvg" }, { kind: "directive", type: InputDirective, selector: "[luInput]", inputs: ["luInputStandalone"] }, { kind: "ngmodule", type: LuTooltipModule }, { kind: "component", type: FileEntryComponent, selector: "lu-file-entry", inputs: ["state", "displayFileName", "inlineMessageError", "entry", "size", "iconOverride", "downloadURL", "password", "media", "previewUrl"], outputs: ["passwordChange", "deleteFile"] }, { kind: "pipe", type: IntlParamsPipe, name: "intlParams" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
339
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.2", type: SingleFileUploadComponent, isStandalone: true, selector: "lu-single-file-upload", inputs: { entry: { classPropertyName: "entry", publicName: "entry", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, inlineMessageError: { classPropertyName: "inlineMessageError", publicName: "inlineMessageError", isSignal: true, isRequired: false, transformFunction: null }, previewUrl: { classPropertyName: "previewUrl", publicName: "previewUrl", isSignal: true, isRequired: false, transformFunction: null }, displayFileName: { classPropertyName: "displayFileName", publicName: "displayFileName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { deleteFile: "deleteFile" }, host: { properties: { "class.mod-structure": "structure()" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"!!entry()\">\n\t<input\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\t[attr.disabled]=\"!!entry() ? 'disabled' : null\"\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.one\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.one | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.one }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.one }}</span>\n</div>\n@if (entry()) {\n\t<lu-file-entry\n\t\t[media]=\"size() === null\"\n\t\t[previewUrl]=\"previewUrl()\"\n\t\t[entry]=\"entry()\"\n\t\t[state]=\"state()\"\n\t\t(deleteFile)=\"deleteFile.emit()\"\n\t\t[inlineMessageError]=\"inlineMessageError()\"\n\t\t[displayFileName]=\"displayFileName()\"\n\t/>\n}\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:var(--pr-t-font-fontWeight-semibold);color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}.fileToolbar{--components-fileToolbar-list-padding: var(--pr-t-spacings-50);--components-fileToolbar-display: block;--components-fileToolbar-insetBlockEnd: var(--pr-t-spacings-150);border-radius:var(--pr-t-border-radius-default);position:absolute;transform:translate(-50%);inset-inline-start:50%;inset-block-end:var(--components-fileToolbar-insetBlockEnd);box-shadow:var(--pr-t-elevation-shadow-overlay);background-color:var(--pr-t-elevation-surface-raised);z-index:1;display:var(--components-fileToolbar-display)}.fileToolbar-list{margin:0;padding:0;list-style-type:none;display:flex;gap:var(--pr-t-spacings-50);padding:var(--components-fileToolbar-list-padding)}.fileToolbar-list-item-button.button{--components-button-backgroundColor: transparent;--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-boxShadow: none;--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75);--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight);--components-button-padding: var(--pr-t-spacings-75) !important}.fileToolbar-list-item-button.button:hover,.fileToolbar-list-item-button.button:focus-visible{--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.fileToolbar-list-item-button.button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.fileToolbar-list-item-button.button:disabled{--components-button-backgroundColor: transparent;--components-button-color: var(--pr-t-color-text-disabled)}.fileToolbar-list-item-button.button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.fileToolbar.mod-disablePositioning{--components-fileToolbar-display: contents}.fileToolbar.mod-disablePositioning.mod-S{--components-fileToolbar-list-padding: 0}\n"], dependencies: [{ kind: "pipe", type: LuSafeExternalSvgPipe, name: "luSafeExternalSvg" }, { kind: "directive", type: InputDirective, selector: "[luInput]", inputs: ["luInputStandalone"] }, { kind: "ngmodule", type: LuTooltipModule }, { kind: "component", type: FileEntryComponent, selector: "lu-file-entry", inputs: ["state", "displayFileName", "inlineMessageError", "entry", "size", "iconOverride", "downloadURL", "password", "media", "previewUrl"], outputs: ["passwordChange", "deleteFile"] }, { kind: "pipe", type: IntlParamsPipe, name: "intlParams" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
340
340
|
}
|
|
341
341
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: SingleFileUploadComponent, decorators: [{
|
|
342
342
|
type: Component,
|
|
343
343
|
args: [{ selector: 'lu-single-file-upload', standalone: true, encapsulation: ViewEncapsulation.None, host: {
|
|
344
344
|
'[class.mod-structure]': 'structure()',
|
|
345
|
-
}, imports: [LuSafeExternalSvgPipe, InputDirective, LuTooltipModule, FileEntryComponent, IntlParamsPipe], template: "<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"!!entry()\">\n\t<input\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\t[attr.disabled]=\"!!entry() ? 'disabled' : null\"\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.one\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.one | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.one }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.one }}</span>\n</div>\n@if (entry()) {\n\t<lu-file-entry\n\t\t[media]=\"size() === null\"\n\t\t[previewUrl]=\"previewUrl()\"\n\t\t[entry]=\"entry()\"\n\t\t[state]=\"state()\"\n\t\t(deleteFile)=\"deleteFile.emit()\"\n\t\t[inlineMessageError]=\"inlineMessageError()\"\n\t\t[displayFileName]=\"displayFileName()\"\n\t/>\n}\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:600;color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}.fileToolbar{--components-fileToolbar-list-padding: var(--pr-t-spacings-50);--components-fileToolbar-display: block;--components-fileToolbar-insetBlockEnd: var(--pr-t-spacings-150);border-radius:var(--pr-t-border-radius-default);position:absolute;transform:translate(-50%);inset-inline-start:50%;inset-block-end:var(--components-fileToolbar-insetBlockEnd);box-shadow:var(--pr-t-elevation-shadow-overlay);background-color:var(--pr-t-elevation-surface-raised);z-index:1;display:var(--components-fileToolbar-display)}.fileToolbar-list{margin:0;padding:0;list-style-type:none;display:flex;gap:var(--pr-t-spacings-50);padding:var(--components-fileToolbar-list-padding)}.fileToolbar-list-item-button.button{--components-button-backgroundColor: transparent;--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-boxShadow: none;--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75);--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight);--components-button-padding: var(--pr-t-spacings-75) !important}.fileToolbar-list-item-button.button:hover,.fileToolbar-list-item-button.button:focus-visible{--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.fileToolbar-list-item-button.button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.fileToolbar-list-item-button.button:disabled{--components-button-backgroundColor: transparent;--components-button-color: var(--pr-t-color-text-disabled)}.fileToolbar-list-item-button.button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.fileToolbar.mod-disablePositioning{--components-fileToolbar-display: contents}.fileToolbar.mod-disablePositioning.mod-S{--components-fileToolbar-list-padding: 0}\n"] }]
|
|
345
|
+
}, imports: [LuSafeExternalSvgPipe, InputDirective, LuTooltipModule, FileEntryComponent, IntlParamsPipe], template: "<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"!!entry()\">\n\t<input\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\t[attr.disabled]=\"!!entry() ? 'disabled' : null\"\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.one\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.one | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.one }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.one }}</span>\n</div>\n@if (entry()) {\n\t<lu-file-entry\n\t\t[media]=\"size() === null\"\n\t\t[previewUrl]=\"previewUrl()\"\n\t\t[entry]=\"entry()\"\n\t\t[state]=\"state()\"\n\t\t(deleteFile)=\"deleteFile.emit()\"\n\t\t[inlineMessageError]=\"inlineMessageError()\"\n\t\t[displayFileName]=\"displayFileName()\"\n\t/>\n}\n", styles: [".fileUpload{--components-fileUpload-button-display: block;--components-fileUpload-button-visibility: visible;--components-fileUpload-padding: var(--pr-t-spacings-300);--components-fileUpload-textAlign: center;--components-fileUpload-flexDirection: column;--components-fileUpload-borderRadius: var(--pr-t-border-radius-input);--components-fileUpload-instruction-display: flex;--components-fileUpload-instruction-alignItems: center;--fileUpload-instruction-action-marginBottom: var(--pr-t-spacings-50);--components-fileUpload-width: auto;--components-fileUpload-display: flex;--components-fileUpload-instruction-maxWidth: 30rem;--components-fileUpload-instruction-action-fontWeight: 400;--components-fileUpload-instruction-action-color: inherit;--components-fileUpload-borderColor: var(--palettes-neutral-300);--components-fileUpload-borderStyle: dashed;--components-fileUpload-backgroundColor: var(--pr-t-elevation-surface-raised);--components-fileUpload-alignItems: center;--components-fileUpload-instruction-filename-color: inherit;--components-fileUpload-instruction-filename-marginTop: calc(var(--pr-t-spacings-300) * -1);--components-fileUpload-minHeight: 21.5rem;--components-fileUpload-instruction-filename-position: relative;--components-fileUpload-justifyContent: center;--components-fileUpload-status-img-inset: var(--pr-t-spacings-75);--components-fileUpload-status-img-size: calc(100% - var(--pr-t-spacings-75) * 2);position:relative;border:1px var(--components-fileUpload-borderStyle) var(--components-fileUpload-borderColor);overflow:hidden;border-radius:var(--components-fileUpload-borderRadius);background-color:var(--components-fileUpload-backgroundColor);padding:var(--components-fileUpload-padding);text-align:var(--components-fileUpload-textAlign);display:var(--components-fileUpload-display);flex-direction:var(--components-fileUpload-flexDirection);align-items:var(--components-fileUpload-alignItems);justify-content:var(--components-fileUpload-justifyContent);gap:var(--pr-t-spacings-200);color:var(--pr-t-color-text);min-block-size:var(--components-fileUpload-minHeight)}.fileUpload:has(.fileUpload-input:focus-visible){outline:2px solid var(--palettes-product-700);outline-offset:2px}.fileUpload-status{min-inline-size:var(--pr-t-spacings-600);min-block-size:var(--pr-t-spacings-600);display:flex;align-items:center;justify-content:center;--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600))}.fileUpload-status-preview{position:absolute;inset:var(--components-fileUpload-status-img-inset);inline-size:var(--components-fileUpload-status-img-size);block-size:var(--components-fileUpload-status-img-size);border-radius:var(--pr-t-border-radius-50);background-color:var(--palettes-neutral-25);display:flex;overflow:hidden}.fileUpload-status-preview-img{object-fit:cover;opacity:.08;inline-size:100%;block-size:100%}.fileUpload-input{position:absolute;inset:calc(var(--pr-t-spacings-400) * -1) 0 0;opacity:.0001;cursor:pointer;z-index:1}.fileUpload-instruction{display:var(--components-fileUpload-instruction-display);flex-direction:column;align-items:var(--components-fileUpload-instruction-alignItems);max-inline-size:var(--components-fileUpload-instruction-maxWidth);line-height:var(--pr-t-font-body-S-lineHeight)}.fileUpload-instruction-action{display:block;margin-bottom:var(--fileUpload-instruction-action-marginBottom);line-height:var(--pr-t-font-body-M-lineHeight)}.fileUpload-instruction-action span{color:var(--components-fileUpload-instruction-action-color);font-weight:var(--components-fileUpload-instruction-action-fontWeight)}.fileUpload-instruction-size,.fileUpload-instruction-formats{color:var(--palettes-neutral-600);font-size:var(--pr-t-font-body-S-fontSize);vertical-align:top}.fileUpload-button.button{visibility:var(--components-fileUpload-button-visibility);display:var(--components-fileUpload-button-display)}.fileUpload-instruction-filename{display:block;font-weight:var(--pr-t-font-fontWeight-semibold);color:var(--components-fileUpload-instruction-filename-color);margin-block-start:var(--components-fileUpload-instruction-filename-marginTop);inset-block-end:var(--pr-t-spacings-100);position:var(--components-fileUpload-instruction-filename-position)}.fileUpload:hover{--components-fileUpload-borderColor: var(--palettes-product-600)}.fileUpload.mod-dropzone{position:fixed;inset:var(--pr-t-spacings-200)}.fileUpload.mod-structure{--components-fileUpload-borderRadius: var(--pr-t-border-radius-structure)}.fileUpload.mod-S{--components-fileUpload-button-display: none;--components-fileUpload-padding: var(--pr-t-spacings-150) var(--pr-t-spacings-200);--components-fileUpload-textAlign: left;--components-fileUpload-flexDirection: row;--components-fileUpload-instruction-alignItems: stretch;--components-fileUpload-instruction-display: block;--components-fileUpload-instruction-maxWidth: none;--components-fileUpload-instruction-action-fontWeight: 600;--fileUpload-instruction-action-marginBottom: 0;--components-fileUpload-instruction-action-color: var(--palettes-product-700);--components-fileUpload-alignItems: flex-start;--components-fileUpload-minHeight: none;--components-fileUpload-instruction-filename-position: static;--components-fileUpload-instruction-filename-marginTop: 0;--components-fileUpload-justifyContent: flex-start;--components-fileUpload-status-img-inset: 0;--components-fileUpload-status-img-size: var(--pr-t-spacings-600)}.fileUpload.mod-S.is-loading{--components-fileUpload-instruction-display: block}.fileUpload.is-loading{--components-fileUpload-instruction-display: none;--components-fileUpload-button-display: none}.fileUpload.is-hidden{--components-fileUpload-display: none}.fileUpload.is-success{--components-fileUpload-instruction-filename-color: var(--palettes-success-800);--components-fileUpload-button-visibility: hidden}.fileUpload.is-error{--components-fileUpload-instruction-filename-color: var(--palettes-critical-800);--components-fileUpload-backgroundColor: var(--palettes-critical-50);--components-fileUpload-borderColor: var(--palettes-critical-400)}.fileUpload.is-error:hover{--components-fileUpload-borderColor: var(--palettes-critical-600)}.fileUpload.is-droppable{--components-fileUpload-borderStyle: solid;--components-fileUpload-backgroundColor: var(--palettes-product-50);--components-fileUpload-borderColor: var(--palettes-product-600)}.fileToolbar{--components-fileToolbar-list-padding: var(--pr-t-spacings-50);--components-fileToolbar-display: block;--components-fileToolbar-insetBlockEnd: var(--pr-t-spacings-150);border-radius:var(--pr-t-border-radius-default);position:absolute;transform:translate(-50%);inset-inline-start:50%;inset-block-end:var(--components-fileToolbar-insetBlockEnd);box-shadow:var(--pr-t-elevation-shadow-overlay);background-color:var(--pr-t-elevation-surface-raised);z-index:1;display:var(--components-fileToolbar-display)}.fileToolbar-list{margin:0;padding:0;list-style-type:none;display:flex;gap:var(--pr-t-spacings-50);padding:var(--components-fileToolbar-list-padding)}.fileToolbar-list-item-button.button{--components-button-backgroundColor: transparent;--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-boxShadow: none;--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75);--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight);--components-button-padding: var(--pr-t-spacings-75) !important}.fileToolbar-list-item-button.button:hover,.fileToolbar-list-item-button.button:focus-visible{--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.fileToolbar-list-item-button.button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.fileToolbar-list-item-button.button:disabled{--components-button-backgroundColor: transparent;--components-button-color: var(--pr-t-color-text-disabled)}.fileToolbar-list-item-button.button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.fileToolbar.mod-disablePositioning{--components-fileToolbar-display: contents}.fileToolbar.mod-disablePositioning.mod-S{--components-fileToolbar-list-padding: 0}\n"] }]
|
|
346
346
|
}] });
|
|
347
347
|
|
|
348
348
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-file-upload.mjs","sources":["../../../packages/ng/file-upload/translations.ts","../../../packages/ng/file-upload/file-upload.translate.ts","../../../packages/ng/file-upload/formatter.ts","../../../packages/ng/file-upload/base-file-upload/base-file-upload.component.ts","../../../packages/ng/file-upload/file-dropzone/file-dropzone.component.ts","../../../packages/ng/file-upload/file-dropzone/file-dropzone.component.html","../../../packages/ng/file-upload/file-entry/file-entry.component.ts","../../../packages/ng/file-upload/file-entry/file-entry.component.html","../../../packages/ng/file-upload/multi/multi-file-upload.component.ts","../../../packages/ng/file-upload/multi/multi-file-upload.component.html","../../../packages/ng/file-upload/single/single-file-upload.component.ts","../../../packages/ng/file-upload/single/single-file-upload.component.html","../../../packages/ng/file-upload/lucca-front-ng-file-upload.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'all',\n\t\tfile: '{{fileTypeLastPart}} file',\n\t\tdownload: 'Download',\n\t\tdownloadFile: 'Download file “{{fileName}}”',\n\t\tdelete: 'Delete',\n\t\tdeleteFile: 'Delete file “{{fileName}}”',\n\t\tpassword: 'Password',\n\t\tconfirmPassword: 'Password',\n\t},\n\tde: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'alle',\n\t\tfile: 'alle',\n\t\tdownload: 'Download',\n\t\tdownloadFile: 'Download',\n\t\tdelete: 'Löschen',\n\t\tdeleteFile: 'Löschen',\n\t\tpassword: 'Passwort',\n\t\tconfirmPassword: 'Passwort',\n\t},\n\tfr: {\n\t\tacceptedFormat: { one: 'Format accepté :', other: 'Formats acceptés :' },\n\t\tselectFile: { one: 'Sélectionner un fichier', other: 'Sélectionner des fichiers' },\n\t\tdropOrClick: { one: 'Déposez le fichier ici ou <span>cliquez pour le sélectionner</span>.', other: 'Déposez les fichiers ici ou <span>cliquez pour les sélectionner</span>.' },\n\t\tmaxWeight: { one: 'Poids maximum : {{maxSizeDisplay}}. ', other: 'Poids maximum pour un fichier : {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'Le fichier déjà déposé est détaillé après.', other: 'Les fichiers déjà déposés sont détaillés après.' },\n\t\tall: 'tous',\n\t\tfile: 'Fichier {{fileTypeLastPart}}',\n\t\tdownload: 'Télécharger',\n\t\tdownloadFile: 'Télécharger le fichier « {{fileName}} »',\n\t\tdelete: 'Supprimer',\n\t\tdeleteFile: 'Supprimer le fichier « {{fileName}} »',\n\t\tpassword: 'Mot de passe',\n\t\tconfirmPassword: 'Valider le mot de passe',\n\t},\n\tit: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'tutti',\n\t\tfile: 'tutti',\n\t\tdownload: 'Scaricare',\n\t\tdownloadFile: 'Scaricare',\n\t\tdelete: 'Eliminare',\n\t\tdeleteFile: 'Eliminare',\n\t\tpassword: 'Password',\n\t\tconfirmPassword: 'Confermare la password',\n\t},\n\tnl: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'alle',\n\t\tfile: 'alle',\n\t\tdownload: 'Downloaden',\n\t\tdownloadFile: 'Downloaden',\n\t\tdelete: 'Verwijderen',\n\t\tdeleteFile: 'Verwijderen',\n\t\tpassword: 'Wachtwoord',\n\t\tconfirmPassword: 'Wachtwoord valideren',\n\t},\n\t'nl-BE': {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'alle',\n\t\tfile: 'alle',\n\t\tdownload: 'Downloaden',\n\t\tdownloadFile: 'Downloaden',\n\t\tdelete: 'Verwijderen',\n\t\tdeleteFile: 'Verwijderen',\n\t\tpassword: 'Wachtwoord',\n\t\tconfirmPassword: 'Wachtwoord valideren',\n\t},\n\tes: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'todos',\n\t\tfile: 'todos',\n\t\tdownload: 'Descargar',\n\t\tdownloadFile: 'Descargar',\n\t\tdelete: 'Eliminar',\n\t\tdeleteFile: 'Eliminar',\n\t\tpassword: 'Contraseña',\n\t\tconfirmPassword: 'Contraseña',\n\t},\n\tpt: {\n\t\tacceptedFormat: { one: 'Formato aceite :', other: 'Formatos aceites :' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'todos',\n\t\tfile: 'Ficheiro {{fileTypeLastPart}}',\n\t\tdownload: 'Descarregar',\n\t\tdownloadFile: 'Descarregar o ficheiro \" {{fileName}} ',\n\t\tdelete: 'Eliminar',\n\t\tdeleteFile: 'Eliminar o ficheiro \" {{fileName}} ',\n\t\tpassword: 'Palavra-passe',\n\t\tconfirmPassword: 'Confirmar a palavra-passe',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_FILE_UPLOAD_TRANSLATIONS = new InjectionToken('LuFileUploadTranslations', {\n\tfactory: () => luFileUploadTranslations,\n});\n\nexport interface LuFileUploadLabel {\n\tacceptedFormat: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tselectFile: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tdropOrClick: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tmaxWeight: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tfileUploadedListed: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tall: string;\n\tfile: string;\n\tdownload: string;\n\tdownloadFile: string;\n\tdelete: string;\n\tdeleteFile: string;\n\tpassword: string;\n\tconfirmPassword: string;\n}\n\nexport const luFileUploadTranslations: LuTranslation<LuFileUploadLabel> = Translations;\n","export const KILO_BYTE = 1000;\nexport const MEGA_BYTE = KILO_BYTE * 1000;\n\nexport function formatSize(locale: string, size: number): string {\n\tlet unit = 'byte';\n\tlet value = size;\n\n\tif (size >= MEGA_BYTE) {\n\t\tunit = 'megabyte';\n\t\tvalue /= MEGA_BYTE;\n\t} else if (size >= KILO_BYTE) {\n\t\tunit = 'kilobyte';\n\t\tvalue /= KILO_BYTE;\n\t}\n\n\tconst weightFormatter = Intl.NumberFormat(locale, {\n\t\tnotation: 'compact',\n\t\tstyle: 'unit',\n\t\tunit: unit,\n\t\tunitDisplay: 'narrow',\n\t});\n\n\treturn weightFormatter.format(value);\n}\n","import { booleanAttribute, computed, Directive, effect, inject, input, LOCALE_ID, output } from '@angular/core';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { FORM_FIELD_INSTANCE } from '@lucca-front/ng/form-field';\nimport { LU_FILE_UPLOAD_TRANSLATIONS } from '../file-upload.translate';\nimport { formatSize, MEGA_BYTE } from '../formatter';\n\nlet nextId = 0;\n\n@Directive()\nexport abstract class BaseFileUploadComponent {\n\tprotected locale = inject(LOCALE_ID);\n\n\tprotected idSuffix = nextId++;\n\n\tprotected droppable = false;\n\n\tintl = getIntl(LU_FILE_UPLOAD_TRANSLATIONS);\n\n\tprotected formFieldRef = inject(FORM_FIELD_INSTANCE, { optional: true });\n\n\tfilePicked = output<File>();\n\n\taccept = input<\n\t\tArray<{\n\t\t\tformat: string;\n\t\t\tname?: string;\n\t\t}>\n\t>([\n\t\t{\n\t\t\tformat: '*',\n\t\t\tname: this.intl.all,\n\t\t},\n\t]);\n\n\tacceptNames = computed(() =>\n\t\tthis.accept()\n\t\t\t.filter((e) => e.name)\n\t\t\t.map((e) => e.name),\n\t);\n\n\tacceptAttribute = computed(() => this.accept().map((e) => e.format));\n\n\tacceptAll = computed(() => {\n\t\treturn this.acceptAttribute().some((str) => str.includes('*'));\n\t});\n\n\tstructure = input(false, { transform: booleanAttribute });\n\n\tfileMaxSize = input<number>(80 * MEGA_BYTE);\n\n\tmaxSizeDisplay = computed(() => formatSize(this.locale, this.fileMaxSize()));\n\n\tsize = input<'S' | null>(null);\n\n\tpassword = input(false, { transform: booleanAttribute });\n\n\tillustration = input<'picture' | 'paper'>('paper');\n\n\tillustrationUrl = computed(() => {\n\t\tif (this.illustration() === 'picture') {\n\t\t\treturn 'https://cdn.lucca.fr/transverse/prisme/visuals/empty-states/icons/iconPictureAction.svg';\n\t\t} else {\n\t\t\treturn 'https://cdn.lucca.fr/transverse/prisme/visuals/empty-states/icons/iconPaperAction.svg';\n\t\t}\n\t});\n\n\trequired = input(false, { transform: booleanAttribute });\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tthis.formFieldRef?.forceInputRequired.set(this.required());\n\t\t});\n\t}\n\n\tfilesChange(event: Event) {\n\t\tconst host = event.target as HTMLInputElement;\n\t\tthis.droppable = false;\n\t\tfor (const file of Array.from(host.files)) {\n\t\t\tthis.filePicked.emit(file);\n\t\t}\n\t\thost.value = null;\n\t}\n}\n","import { Component, ViewEncapsulation } from '@angular/core';\nimport { IntlParamsPipe } from '@lucca-front/ng/core';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { BaseFileUploadComponent } from '../base-file-upload/base-file-upload.component';\n\n@Component({\n\tselector: 'lu-file-dropzone',\n\tstandalone: true,\n\ttemplateUrl: './file-dropzone.component.html',\n\tstyleUrls: ['./file-dropzone.component.scss'],\n\tencapsulation: ViewEncapsulation.None,\n\timports: [LuSafeExternalSvgPipe, IntlParamsPipe],\n})\nexport class FileDropzoneComponent extends BaseFileUploadComponent {}\n","<div class=\"fileUpload mod-dropzone\" [class.is-droppable]=\"droppable\" (dragenter)=\"droppable = true\" (dragleave)=\"droppable = false\">\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t</div>\n</div>\n","import { NgClass } from '@angular/common';\nimport { booleanAttribute, Component, computed, inject, input, LOCALE_ID, ViewEncapsulation } from '@angular/core';\nimport { outputFromObservable } from '@angular/core/rxjs-interop';\nimport { FormsModule } from '@angular/forms';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { getIntl, IntlParamsPipe } from '@lucca-front/ng/core';\nimport { DividerComponent } from '@lucca-front/ng/divider';\nimport { FormFieldComponent } from '@lucca-front/ng/form-field';\nimport { TextInputComponent } from '@lucca-front/ng/forms';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { InlineMessageComponent } from '@lucca-front/ng/inline-message';\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\nimport { Subject } from 'rxjs';\nimport { FileEntry } from '../file-upload-entry';\nimport { LU_FILE_UPLOAD_TRANSLATIONS } from '../file-upload.translate';\nimport { formatSize } from '../formatter';\n\n@Component({\n\tselector: 'lu-file-entry',\n\tstandalone: true,\n\ttemplateUrl: './file-entry.component.html',\n\tstyleUrls: ['./file-entry.component.scss'],\n\tencapsulation: ViewEncapsulation.None,\n\timports: [IconComponent, LuTooltipModule, ButtonComponent, InlineMessageComponent, DividerComponent, NgClass, FormFieldComponent, TextInputComponent, FormsModule, IntlParamsPipe],\n\thost: {\n\t\tclass: 'pr-u-displayContents',\n\t},\n})\nexport class FileEntryComponent {\n\t#locale = inject(LOCALE_ID);\n\n\tintl = getIntl(LU_FILE_UPLOAD_TRANSLATIONS);\n\n\tstate = input<'success' | 'loading' | 'error' | null>(null);\n\n\tdisplayFileName = input(false, { transform: booleanAttribute });\n\n\tinlineMessageError = input<string | null>(null);\n\n\tentry = input.required<FileEntry>();\n\n\tsize = input<'S' | null>(null);\n\n\ticonOverride = input('');\n\n\tdownloadURL = input('');\n\n\tpassword = input('');\n\tpasswordChange$ = new Subject<string>();\n\tpasswordChange = outputFromObservable(this.passwordChange$);\n\n\tget withPassword() {\n\t\treturn this.passwordChange$.observed;\n\t}\n\n\tmedia = input(false, { transform: booleanAttribute });\n\n\tdeleteFile$ = new Subject<void>();\n\n\tdeleteFile = outputFromObservable(this.deleteFile$);\n\n\tget deletable() {\n\t\treturn this.deleteFile$.observed;\n\t}\n\n\tfileName = computed(() => this.entry().name);\n\tfileType = computed(() => this.entry().type);\n\tfileSize = computed(() => this.entry().size);\n\n\tfileSizeDisplay = computed(() => formatSize(this.#locale, this.fileSize()));\n\tfileTypeDisplay = computed(() => this.intl.file.replace('{{fileTypeLastPart}}', this.fileType().split('/')[1].toUpperCase()));\n\n\tpreviewUrl = input<string>('');\n\n\tfileEntryIconSrc = computed(() => {\n\t\tconst fileExtension = this.fileName().split('.').pop();\n\t\tconst fileEntryIconRoot = 'https://cdn.lucca.fr/transverse/prisme/visuals/file-entry/';\n\t\tconst fileEntryIconExtension = '.svg';\n\n\t\tswitch (fileExtension) {\n\t\t\tcase 'pdf':\n\t\t\tcase 'xls':\n\t\t\tcase 'xlsx':\n\t\t\tcase 'doc':\n\t\t\tcase 'csv':\n\t\t\t\treturn fileEntryIconRoot + fileExtension + fileEntryIconExtension;\n\t\t\tcase 'jpg':\n\t\t\tcase 'jpeg':\n\t\t\tcase 'png':\n\t\t\tcase 'gif':\n\t\t\tcase 'svg':\n\t\t\t\treturn fileEntryIconRoot + 'image' + fileEntryIconExtension;\n\t\t\tdefault:\n\t\t\t\treturn fileEntryIconRoot + 'default' + fileEntryIconExtension;\n\t\t}\n\t});\n\n\ttooltip = computed(() => {\n\t\tif (this.state() === 'error') {\n\t\t\tif (!this.media()) {\n\t\t\t\treturn null;\n\t\t\t} else {\n\t\t\t\treturn this.fileName() + ' — ' + this.fileSizeDisplay();\n\t\t\t}\n\t\t}\n\n\t\tif (!this.media() && this.size() === null) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (this.size() === 'S' && !this.media()) {\n\t\t\treturn this.fileTypeDisplay() + ' – ' + this.fileSizeDisplay();\n\t\t}\n\n\t\treturn this.fileName() + ' – ' + this.fileTypeDisplay() + ' – ' + this.fileSizeDisplay();\n\t});\n\n\tdlClasses = computed(() => ({\n\t\t[`is-${this.state()}`]: !!this.state(),\n\t\t[`mod-${this.size()}`]: !!this.size(),\n\t}));\n}\n","<dl class=\"fileEntry\" [class.mod-media]=\"media()\" [class]=\"dlClasses()\">\n\t@if (!media()) {\n\t\t<dt class=\"fileEntry-filename\">\n\t\t\t<div class=\"fileEntry-filename-tooltip\" luTooltip luTooltipWhenEllipsis>{{ fileName() }}</div>\n\t\t</dt>\n\t\t@if (state() === \"error\" && inlineMessageError()) {\n\t\t\t<dd class=\"fileEntry-inlineMessage\">\n\t\t\t\t<lu-inline-message withTooltip [label]=\"inlineMessageError()\" [state]=\"'error'\" />\n\t\t\t</dd>\n\t\t} @else {\n\t\t\t<dd class=\"fileEntry-description\">\n\t\t\t\t<span class=\"fileEntry-description-format\" luTooltip luTooltipWhenEllipsis>{{ fileTypeDisplay() }}</span\n\t\t\t\t><span class=\"pr-u-mask\"> – </span>\n\t\t\t\t<lu-divider vertical />\n\t\t\t\t<span class=\"fileEntry-description-size\">{{ fileSizeDisplay() }}</span>\n\t\t\t</dd>\n\t\t}\n\t}\n\t<dd class=\"fileEntry-status\">\n\t\t<div class=\"fileEntry-status-content\" [luTooltip]=\"tooltip()\">\n\t\t\t@if (state() === \"error\" && inlineMessageError()) {\n\t\t\t\t@if (media()) {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<lu-inline-message class=\"fileEntry-status-content-inlineMessage\" [label]=\"inlineMessageError()\" [state]=\"'error'\" />\n\t\t\t\t\t</div>\n\t\t\t\t} @else {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<lu-icon class=\"fileEntry-status-content-inside-icon\" icon=\"signError\" />\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t} @else {\n\t\t\t\t@if (previewUrl() && state() !== \"error\") {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<img class=\"fileEntry-status-content-inside-img\" [src]=\"previewUrl()\" alt=\"\" loading=\"lazy\" />\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t\t@if (state() === \"loading\") {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<div class=\"fileEntry-status-content-inside-loading loading\"></div>\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t\t@if (!previewUrl() && state() !== \"loading\") {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"fileEntry-status-content-inside-svg\"\n\t\t\t\t\t\t\t[attr.src]=\"iconOverride() || fileEntryIconSrc()\"\n\t\t\t\t\t\t\talt=\"\"\n\t\t\t\t\t\t\twidth=\"32\"\n\t\t\t\t\t\t\theight=\"32\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t}\n\t\t\t@if (displayFileName() && media()) {\n\t\t\t\t<div class=\"fileEntry-status-content-fileName\" aria-hidden=\"true\">{{ fileName() }}</div>\n\t\t\t}\n\t\t</div>\n\t</dd>\n\t@if (downloadURL() || deletable) {\n\t\t<dd class=\"fileEntry-toolbar\">\n\t\t\t<div class=\"fileToolbar\" [class.mod-disablePositioning]=\"!media()\" [class.mod-S]=\"size() === 'S'\">\n\t\t\t\t<ul class=\"fileToolbar-list\">\n\t\t\t\t\t@if (downloadURL()) {\n\t\t\t\t\t\t<li class=\"fileToolbar-list-item\">\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t[href]=\"downloadURL()\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\tdownload=\"download\"\n\t\t\t\t\t\t\t\tclass=\"fileToolbar-list-item-button\"\n\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\tluButton\n\t\t\t\t\t\t\t\t[luTooltip]=\"intl.download\"\n\t\t\t\t\t\t\t\tluTooltipOnlyForDisplay\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<lu-icon\n\t\t\t\t\t\t\t\t\tclass=\"fileToolbar-list-item-button-icon\"\n\t\t\t\t\t\t\t\t\ticon=\"arrowDownload\"\n\t\t\t\t\t\t\t\t\t[alt]=\"intl.downloadFile | intlParams: { fileName: fileName() }\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\t\t\t\t\t@if (deletable) {\n\t\t\t\t\t\t<li class=\"fileToolbar-list-item\">\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclass=\"fileToolbar-list-item-button\"\n\t\t\t\t\t\t\t\t[class.palette-critical]=\"state() === 'error'\"\n\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\tluButton\n\t\t\t\t\t\t\t\t[luTooltip]=\"intl.delete\"\n\t\t\t\t\t\t\t\tluTooltipOnlyForDisplay\n\t\t\t\t\t\t\t\t(click)=\"deleteFile$.next()\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<lu-icon\n\t\t\t\t\t\t\t\t\tclass=\"fileToolbar-list-item-button-icon\"\n\t\t\t\t\t\t\t\t\ticon=\"trashDelete\"\n\t\t\t\t\t\t\t\t\t[alt]=\"intl.deleteFile | intlParams: { fileName: fileName() }\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t</dd>\n\t}\n</dl>\n@if (withPassword) {\n\t<div class=\"fileEntry_box box mod-withArrow mod-neutral\">\n\t\t<div class=\"box-arrow mod-neutral\"></div>\n\t\t<lu-form-field [label]=\"intl.password\">\n\t\t\t<div class=\"fileEntry_box-field\">\n\t\t\t\t<lu-text-input\n\t\t\t\t\tclass=\"fileEntry_box-field-textField\"\n\t\t\t\t\trequired\n\t\t\t\t\thasClearer\n\t\t\t\t\tsearchIcon=\"searchMagnifyingGlass\"\n\t\t\t\t\ttype=\"password\"\n\t\t\t\t\t[ngModel]=\"password()\"\n\t\t\t\t\t(ngModelChange)=\"passwordChange$.next($event)\"\n\t\t\t\t/>\n\t\t\t\t<button class=\"fileEntry_box-field-button\" luButton type=\"button\">{{ intl.confirmPassword }}</button>\n\t\t\t</div>\n\t\t</lu-form-field>\n\t</div>\n}\n","import { Component, ViewEncapsulation } from '@angular/core';\nimport { IntlParamsPipe } from '@lucca-front/ng/core';\nimport { InputDirective } from '@lucca-front/ng/form-field';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\nimport { BaseFileUploadComponent } from '../base-file-upload/base-file-upload.component';\n\n@Component({\n\tselector: 'lu-multi-file-upload',\n\tstandalone: true,\n\ttemplateUrl: './multi-file-upload.component.html',\n\tstyleUrls: ['./multi-file-upload.component.scss'],\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.mod-structure]': 'structure()',\n\t},\n\timports: [LuSafeExternalSvgPipe, InputDirective, LuTooltipModule, IntlParamsPipe],\n})\nexport class MultiFileUploadComponent extends BaseFileUploadComponent {}\n","<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"false\">\n\t<input\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\tmultiple=\"multiple\"\n\t\t#inputRef\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.other\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\tintl.acceptedFormat.one\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.other }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.other }}</span>\n</div>\n","import { booleanAttribute, Component, input, output, ViewEncapsulation } from '@angular/core';\nimport { IntlParamsPipe } from '@lucca-front/ng/core';\nimport { InputDirective } from '@lucca-front/ng/form-field';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\nimport { BaseFileUploadComponent } from '../base-file-upload/base-file-upload.component';\nimport { FileEntryComponent } from '../file-entry/file-entry.component';\nimport { FileEntry } from '../file-upload-entry';\n\n@Component({\n\tselector: 'lu-single-file-upload',\n\tstandalone: true,\n\ttemplateUrl: './single-file-upload.component.html',\n\tstyleUrls: ['./single-file-upload.component.scss'],\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.mod-structure]': 'structure()',\n\t},\n\timports: [LuSafeExternalSvgPipe, InputDirective, LuTooltipModule, FileEntryComponent, IntlParamsPipe],\n})\nexport class SingleFileUploadComponent extends BaseFileUploadComponent {\n\tentry = input<FileEntry | null>(null);\n\n\tstate = input<'loading' | 'success' | 'error' | null>(null);\n\n\tinlineMessageError = input<string | null>(null);\n\n\tpreviewUrl = input<string | null>(null);\n\n\tdeleteFile = output<void>();\n\n\tdisplayFileName = input(false, { transform: booleanAttribute });\n}\n","<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"!!entry()\">\n\t<input\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\t[attr.disabled]=\"!!entry() ? 'disabled' : null\"\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.one\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.one | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.one }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.one }}</span>\n</div>\n@if (entry()) {\n\t<lu-file-entry\n\t\t[media]=\"size() === null\"\n\t\t[previewUrl]=\"previewUrl()\"\n\t\t[entry]=\"entry()\"\n\t\t[state]=\"state()\"\n\t\t(deleteFile)=\"deleteFile.emit()\"\n\t\t[inlineMessageError]=\"inlineMessageError()\"\n\t\t[displayFileName]=\"displayFileName()\"\n\t/>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;QACH,cAAc,EAAE,EAAE,GAAG,EAAE,kBAAkB,EAAE,KAAK,EAAE,mBAAmB,EAAE;QACvE,UAAU,EAAE,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,cAAc,EAAE;QACzD,WAAW,EAAE,EAAE,GAAG,EAAE,iDAAiD,EAAE,KAAK,EAAE,kDAAkD,EAAE;QAClI,SAAS,EAAE,EAAE,GAAG,EAAE,oCAAoC,EAAE,KAAK,EAAE,+CAA+C,EAAE;QAChH,kBAAkB,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,4CAA4C,EAAE;AAC5H,QAAA,GAAG,EAAE,KAAK;AACV,QAAA,IAAI,EAAE,2BAA2B;AACjC,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,YAAY,EAAE,8BAA8B;AAC5C,QAAA,MAAM,EAAE,QAAQ;AAChB,QAAA,UAAU,EAAE,4BAA4B;AACxC,QAAA,QAAQ,EAAE,UAAU;AACp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;qBACtC,EACQ,OAAA,EAAA,CAAC,qBAAqB,EAAE,cAAc,EAAE,eAAe,EAAE,kBAAkB,EAAE,cAAc,CAAC,EAAA,QAAA,EAAA,uyDAAA,EAAA,MAAA,EAAA,CAAA,kgRAAA,CAAA,EAAA;;;AElBtG;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-file-upload.mjs","sources":["../../../packages/ng/file-upload/translations.ts","../../../packages/ng/file-upload/file-upload.translate.ts","../../../packages/ng/file-upload/formatter.ts","../../../packages/ng/file-upload/base-file-upload/base-file-upload.component.ts","../../../packages/ng/file-upload/file-dropzone/file-dropzone.component.ts","../../../packages/ng/file-upload/file-dropzone/file-dropzone.component.html","../../../packages/ng/file-upload/file-entry/file-entry.component.ts","../../../packages/ng/file-upload/file-entry/file-entry.component.html","../../../packages/ng/file-upload/multi/multi-file-upload.component.ts","../../../packages/ng/file-upload/multi/multi-file-upload.component.html","../../../packages/ng/file-upload/single/single-file-upload.component.ts","../../../packages/ng/file-upload/single/single-file-upload.component.html","../../../packages/ng/file-upload/lucca-front-ng-file-upload.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'all',\n\t\tfile: '{{fileTypeLastPart}} file',\n\t\tdownload: 'Download',\n\t\tdownloadFile: 'Download file “{{fileName}}”',\n\t\tdelete: 'Delete',\n\t\tdeleteFile: 'Delete file “{{fileName}}”',\n\t\tpassword: 'Password',\n\t\tconfirmPassword: 'Password',\n\t},\n\tde: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'alle',\n\t\tfile: 'alle',\n\t\tdownload: 'Download',\n\t\tdownloadFile: 'Download',\n\t\tdelete: 'Löschen',\n\t\tdeleteFile: 'Löschen',\n\t\tpassword: 'Passwort',\n\t\tconfirmPassword: 'Passwort',\n\t},\n\tfr: {\n\t\tacceptedFormat: { one: 'Format accepté :', other: 'Formats acceptés :' },\n\t\tselectFile: { one: 'Sélectionner un fichier', other: 'Sélectionner des fichiers' },\n\t\tdropOrClick: { one: 'Déposez le fichier ici ou <span>cliquez pour le sélectionner</span>.', other: 'Déposez les fichiers ici ou <span>cliquez pour les sélectionner</span>.' },\n\t\tmaxWeight: { one: 'Poids maximum : {{maxSizeDisplay}}. ', other: 'Poids maximum pour un fichier : {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'Le fichier déjà déposé est détaillé après.', other: 'Les fichiers déjà déposés sont détaillés après.' },\n\t\tall: 'tous',\n\t\tfile: 'Fichier {{fileTypeLastPart}}',\n\t\tdownload: 'Télécharger',\n\t\tdownloadFile: 'Télécharger le fichier « {{fileName}} »',\n\t\tdelete: 'Supprimer',\n\t\tdeleteFile: 'Supprimer le fichier « {{fileName}} »',\n\t\tpassword: 'Mot de passe',\n\t\tconfirmPassword: 'Valider le mot de passe',\n\t},\n\tit: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'tutti',\n\t\tfile: 'tutti',\n\t\tdownload: 'Scaricare',\n\t\tdownloadFile: 'Scaricare',\n\t\tdelete: 'Eliminare',\n\t\tdeleteFile: 'Eliminare',\n\t\tpassword: 'Password',\n\t\tconfirmPassword: 'Confermare la password',\n\t},\n\tnl: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'alle',\n\t\tfile: 'alle',\n\t\tdownload: 'Downloaden',\n\t\tdownloadFile: 'Downloaden',\n\t\tdelete: 'Verwijderen',\n\t\tdeleteFile: 'Verwijderen',\n\t\tpassword: 'Wachtwoord',\n\t\tconfirmPassword: 'Wachtwoord valideren',\n\t},\n\t'nl-BE': {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'alle',\n\t\tfile: 'alle',\n\t\tdownload: 'Downloaden',\n\t\tdownloadFile: 'Downloaden',\n\t\tdelete: 'Verwijderen',\n\t\tdeleteFile: 'Verwijderen',\n\t\tpassword: 'Wachtwoord',\n\t\tconfirmPassword: 'Wachtwoord valideren',\n\t},\n\tes: {\n\t\tacceptedFormat: { one: 'Accepted format:', other: 'Accepted formats:' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'todos',\n\t\tfile: 'todos',\n\t\tdownload: 'Descargar',\n\t\tdownloadFile: 'Descargar',\n\t\tdelete: 'Eliminar',\n\t\tdeleteFile: 'Eliminar',\n\t\tpassword: 'Contraseña',\n\t\tconfirmPassword: 'Contraseña',\n\t},\n\tpt: {\n\t\tacceptedFormat: { one: 'Formato aceite :', other: 'Formatos aceites :' },\n\t\tselectFile: { one: 'Select file', other: 'Select files' },\n\t\tdropOrClick: { one: 'Drop file here or <span>click to select</span>.', other: 'Drop files here or <span>click to select</span>.' },\n\t\tmaxWeight: { one: 'Maximum size: {{maxSizeDisplay}}. ', other: 'Maximum size for a file: {{maxSizeDisplay}}. ' },\n\t\tfileUploadedListed: { one: 'File already uploaded is detailed below.', other: 'Files already uploaded are detailed below.' },\n\t\tall: 'todos',\n\t\tfile: 'Ficheiro {{fileTypeLastPart}}',\n\t\tdownload: 'Descarregar',\n\t\tdownloadFile: 'Descarregar o ficheiro \" {{fileName}} ',\n\t\tdelete: 'Eliminar',\n\t\tdeleteFile: 'Eliminar o ficheiro \" {{fileName}} ',\n\t\tpassword: 'Palavra-passe',\n\t\tconfirmPassword: 'Confirmar a palavra-passe',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_FILE_UPLOAD_TRANSLATIONS = new InjectionToken('LuFileUploadTranslations', {\n\tfactory: () => luFileUploadTranslations,\n});\n\nexport interface LuFileUploadLabel {\n\tacceptedFormat: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tselectFile: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tdropOrClick: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tmaxWeight: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tfileUploadedListed: {\n\t\tone: string;\n\t\tother: string;\n\t};\n\tall: string;\n\tfile: string;\n\tdownload: string;\n\tdownloadFile: string;\n\tdelete: string;\n\tdeleteFile: string;\n\tpassword: string;\n\tconfirmPassword: string;\n}\n\nexport const luFileUploadTranslations: LuTranslation<LuFileUploadLabel> = Translations;\n","export const KILO_BYTE = 1000;\nexport const MEGA_BYTE = KILO_BYTE * 1000;\n\nexport function formatSize(locale: string, size: number): string {\n\tlet unit = 'byte';\n\tlet value = size;\n\n\tif (size >= MEGA_BYTE) {\n\t\tunit = 'megabyte';\n\t\tvalue /= MEGA_BYTE;\n\t} else if (size >= KILO_BYTE) {\n\t\tunit = 'kilobyte';\n\t\tvalue /= KILO_BYTE;\n\t}\n\n\tconst weightFormatter = Intl.NumberFormat(locale, {\n\t\tnotation: 'compact',\n\t\tstyle: 'unit',\n\t\tunit: unit,\n\t\tunitDisplay: 'narrow',\n\t});\n\n\treturn weightFormatter.format(value);\n}\n","import { booleanAttribute, computed, Directive, effect, inject, input, LOCALE_ID, output } from '@angular/core';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { FORM_FIELD_INSTANCE } from '@lucca-front/ng/form-field';\nimport { LU_FILE_UPLOAD_TRANSLATIONS } from '../file-upload.translate';\nimport { formatSize, MEGA_BYTE } from '../formatter';\n\nlet nextId = 0;\n\n@Directive()\nexport abstract class BaseFileUploadComponent {\n\tprotected locale = inject(LOCALE_ID);\n\n\tprotected idSuffix = nextId++;\n\n\tprotected droppable = false;\n\n\tintl = getIntl(LU_FILE_UPLOAD_TRANSLATIONS);\n\n\tprotected formFieldRef = inject(FORM_FIELD_INSTANCE, { optional: true });\n\n\tfilePicked = output<File>();\n\n\taccept = input<\n\t\tArray<{\n\t\t\tformat: string;\n\t\t\tname?: string;\n\t\t}>\n\t>([\n\t\t{\n\t\t\tformat: '*',\n\t\t\tname: this.intl.all,\n\t\t},\n\t]);\n\n\tacceptNames = computed(() =>\n\t\tthis.accept()\n\t\t\t.filter((e) => e.name)\n\t\t\t.map((e) => e.name),\n\t);\n\n\tacceptAttribute = computed(() => this.accept().map((e) => e.format));\n\n\tacceptAll = computed(() => {\n\t\treturn this.acceptAttribute().some((str) => str.includes('*'));\n\t});\n\n\tstructure = input(false, { transform: booleanAttribute });\n\n\tfileMaxSize = input<number>(80 * MEGA_BYTE);\n\n\tmaxSizeDisplay = computed(() => formatSize(this.locale, this.fileMaxSize()));\n\n\tsize = input<'S' | null>(null);\n\n\tpassword = input(false, { transform: booleanAttribute });\n\n\tillustration = input<'picture' | 'paper'>('paper');\n\n\tillustrationUrl = computed(() => {\n\t\tif (this.illustration() === 'picture') {\n\t\t\treturn 'https://cdn.lucca.fr/transverse/prisme/visuals/empty-states/icons/iconPictureAction.svg';\n\t\t} else {\n\t\t\treturn 'https://cdn.lucca.fr/transverse/prisme/visuals/empty-states/icons/iconPaperAction.svg';\n\t\t}\n\t});\n\n\trequired = input(false, { transform: booleanAttribute });\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tthis.formFieldRef?.forceInputRequired.set(this.required());\n\t\t});\n\t}\n\n\tfilesChange(event: Event) {\n\t\tconst host = event.target as HTMLInputElement;\n\t\tthis.droppable = false;\n\t\tfor (const file of Array.from(host.files)) {\n\t\t\tthis.filePicked.emit(file);\n\t\t}\n\t\thost.value = null;\n\t}\n}\n","import { Component, ViewEncapsulation } from '@angular/core';\nimport { IntlParamsPipe } from '@lucca-front/ng/core';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { BaseFileUploadComponent } from '../base-file-upload/base-file-upload.component';\n\n@Component({\n\tselector: 'lu-file-dropzone',\n\tstandalone: true,\n\ttemplateUrl: './file-dropzone.component.html',\n\tstyleUrl: './file-dropzone.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\timports: [LuSafeExternalSvgPipe, IntlParamsPipe],\n})\nexport class FileDropzoneComponent extends BaseFileUploadComponent {}\n","<div class=\"fileUpload mod-dropzone\" [class.is-droppable]=\"droppable\" (dragenter)=\"droppable = true\" (dragleave)=\"droppable = false\">\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t</div>\n</div>\n","import { NgClass } from '@angular/common';\nimport { booleanAttribute, Component, computed, inject, input, LOCALE_ID, ViewEncapsulation } from '@angular/core';\nimport { outputFromObservable } from '@angular/core/rxjs-interop';\nimport { FormsModule } from '@angular/forms';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { getIntl, IntlParamsPipe } from '@lucca-front/ng/core';\nimport { DividerComponent } from '@lucca-front/ng/divider';\nimport { FormFieldComponent } from '@lucca-front/ng/form-field';\nimport { TextInputComponent } from '@lucca-front/ng/forms';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { InlineMessageComponent } from '@lucca-front/ng/inline-message';\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\nimport { Subject } from 'rxjs';\nimport { FileEntry } from '../file-upload-entry';\nimport { LU_FILE_UPLOAD_TRANSLATIONS } from '../file-upload.translate';\nimport { formatSize } from '../formatter';\n\n@Component({\n\tselector: 'lu-file-entry',\n\tstandalone: true,\n\ttemplateUrl: './file-entry.component.html',\n\tstyleUrl: './file-entry.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\timports: [IconComponent, LuTooltipModule, ButtonComponent, InlineMessageComponent, DividerComponent, NgClass, FormFieldComponent, TextInputComponent, FormsModule, IntlParamsPipe],\n\thost: {\n\t\tclass: 'pr-u-displayContents',\n\t},\n})\nexport class FileEntryComponent {\n\t#locale = inject(LOCALE_ID);\n\n\tintl = getIntl(LU_FILE_UPLOAD_TRANSLATIONS);\n\n\tstate = input<'success' | 'loading' | 'error' | null>(null);\n\n\tdisplayFileName = input(false, { transform: booleanAttribute });\n\n\tinlineMessageError = input<string | null>(null);\n\n\tentry = input.required<FileEntry>();\n\n\tsize = input<'S' | null>(null);\n\n\ticonOverride = input('');\n\n\tdownloadURL = input('');\n\n\tpassword = input('');\n\tpasswordChange$ = new Subject<string>();\n\tpasswordChange = outputFromObservable(this.passwordChange$);\n\n\tget withPassword() {\n\t\treturn this.passwordChange$.observed;\n\t}\n\n\tmedia = input(false, { transform: booleanAttribute });\n\n\tdeleteFile$ = new Subject<void>();\n\n\tdeleteFile = outputFromObservable(this.deleteFile$);\n\n\tget deletable() {\n\t\treturn this.deleteFile$.observed;\n\t}\n\n\tfileName = computed(() => this.entry().name);\n\tfileType = computed(() => this.entry().type);\n\tfileSize = computed(() => this.entry().size);\n\n\tfileSizeDisplay = computed(() => formatSize(this.#locale, this.fileSize()));\n\tfileTypeDisplay = computed(() => this.intl.file.replace('{{fileTypeLastPart}}', this.fileType().split('/')[1].toUpperCase()));\n\n\tpreviewUrl = input<string>('');\n\n\tfileEntryIconSrc = computed(() => {\n\t\tconst fileExtension = this.fileName().split('.').pop();\n\t\tconst fileEntryIconRoot = 'https://cdn.lucca.fr/transverse/prisme/visuals/file-entry/';\n\t\tconst fileEntryIconExtension = '.svg';\n\n\t\tswitch (fileExtension) {\n\t\t\tcase 'pdf':\n\t\t\tcase 'xls':\n\t\t\tcase 'xlsx':\n\t\t\tcase 'doc':\n\t\t\tcase 'csv':\n\t\t\t\treturn fileEntryIconRoot + fileExtension + fileEntryIconExtension;\n\t\t\tcase 'jpg':\n\t\t\tcase 'jpeg':\n\t\t\tcase 'png':\n\t\t\tcase 'gif':\n\t\t\tcase 'svg':\n\t\t\t\treturn fileEntryIconRoot + 'image' + fileEntryIconExtension;\n\t\t\tdefault:\n\t\t\t\treturn fileEntryIconRoot + 'default' + fileEntryIconExtension;\n\t\t}\n\t});\n\n\ttooltip = computed(() => {\n\t\tif (this.state() === 'error') {\n\t\t\tif (!this.media()) {\n\t\t\t\treturn null;\n\t\t\t} else {\n\t\t\t\treturn this.fileName() + ' — ' + this.fileSizeDisplay();\n\t\t\t}\n\t\t}\n\n\t\tif (!this.media() && this.size() === null) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (this.size() === 'S' && !this.media()) {\n\t\t\treturn this.fileTypeDisplay() + ' – ' + this.fileSizeDisplay();\n\t\t}\n\n\t\treturn this.fileName() + ' – ' + this.fileTypeDisplay() + ' – ' + this.fileSizeDisplay();\n\t});\n\n\tdlClasses = computed(() => ({\n\t\t[`is-${this.state()}`]: !!this.state(),\n\t\t[`mod-${this.size()}`]: !!this.size(),\n\t}));\n}\n","<dl class=\"fileEntry\" [class.mod-media]=\"media()\" [class]=\"dlClasses()\">\n\t@if (!media()) {\n\t\t<dt class=\"fileEntry-filename\">\n\t\t\t<div class=\"fileEntry-filename-tooltip\" luTooltip luTooltipWhenEllipsis>{{ fileName() }}</div>\n\t\t</dt>\n\t\t@if (state() === \"error\" && inlineMessageError()) {\n\t\t\t<dd class=\"fileEntry-inlineMessage\">\n\t\t\t\t<lu-inline-message withTooltip [label]=\"inlineMessageError()\" [state]=\"'error'\" />\n\t\t\t</dd>\n\t\t} @else {\n\t\t\t<dd class=\"fileEntry-description\">\n\t\t\t\t<span class=\"fileEntry-description-format\" luTooltip luTooltipWhenEllipsis>{{ fileTypeDisplay() }}</span\n\t\t\t\t><span class=\"pr-u-mask\"> – </span>\n\t\t\t\t<lu-divider vertical />\n\t\t\t\t<span class=\"fileEntry-description-size\">{{ fileSizeDisplay() }}</span>\n\t\t\t</dd>\n\t\t}\n\t}\n\t<dd class=\"fileEntry-status\">\n\t\t<div class=\"fileEntry-status-content\" [luTooltip]=\"tooltip()\">\n\t\t\t@if (state() === \"error\" && inlineMessageError()) {\n\t\t\t\t@if (media()) {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<lu-inline-message class=\"fileEntry-status-content-inlineMessage\" [label]=\"inlineMessageError()\" [state]=\"'error'\" />\n\t\t\t\t\t</div>\n\t\t\t\t} @else {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<lu-icon class=\"fileEntry-status-content-inside-icon\" icon=\"signError\" />\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t} @else {\n\t\t\t\t@if (previewUrl() && state() !== \"error\") {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<img class=\"fileEntry-status-content-inside-img\" [src]=\"previewUrl()\" alt=\"\" loading=\"lazy\" />\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t\t@if (state() === \"loading\") {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<div class=\"fileEntry-status-content-inside-loading loading\"></div>\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t\t@if (!previewUrl() && state() !== \"loading\") {\n\t\t\t\t\t<div class=\"fileEntry-status-content-inside\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"fileEntry-status-content-inside-svg\"\n\t\t\t\t\t\t\t[attr.src]=\"iconOverride() || fileEntryIconSrc()\"\n\t\t\t\t\t\t\talt=\"\"\n\t\t\t\t\t\t\twidth=\"32\"\n\t\t\t\t\t\t\theight=\"32\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t}\n\t\t\t@if (displayFileName() && media()) {\n\t\t\t\t<div class=\"fileEntry-status-content-fileName\" aria-hidden=\"true\">{{ fileName() }}</div>\n\t\t\t}\n\t\t</div>\n\t</dd>\n\t@if (downloadURL() || deletable) {\n\t\t<dd class=\"fileEntry-toolbar\">\n\t\t\t<div class=\"fileToolbar\" [class.mod-disablePositioning]=\"!media()\" [class.mod-S]=\"size() === 'S'\">\n\t\t\t\t<ul class=\"fileToolbar-list\">\n\t\t\t\t\t@if (downloadURL()) {\n\t\t\t\t\t\t<li class=\"fileToolbar-list-item\">\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t[href]=\"downloadURL()\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\tdownload=\"download\"\n\t\t\t\t\t\t\t\tclass=\"fileToolbar-list-item-button\"\n\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\tluButton\n\t\t\t\t\t\t\t\t[luTooltip]=\"intl.download\"\n\t\t\t\t\t\t\t\tluTooltipOnlyForDisplay\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<lu-icon\n\t\t\t\t\t\t\t\t\tclass=\"fileToolbar-list-item-button-icon\"\n\t\t\t\t\t\t\t\t\ticon=\"arrowDownload\"\n\t\t\t\t\t\t\t\t\t[alt]=\"intl.downloadFile | intlParams: { fileName: fileName() }\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\t\t\t\t\t@if (deletable) {\n\t\t\t\t\t\t<li class=\"fileToolbar-list-item\">\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclass=\"fileToolbar-list-item-button\"\n\t\t\t\t\t\t\t\t[class.palette-critical]=\"state() === 'error'\"\n\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\tluButton\n\t\t\t\t\t\t\t\t[luTooltip]=\"intl.delete\"\n\t\t\t\t\t\t\t\tluTooltipOnlyForDisplay\n\t\t\t\t\t\t\t\t(click)=\"deleteFile$.next()\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<lu-icon\n\t\t\t\t\t\t\t\t\tclass=\"fileToolbar-list-item-button-icon\"\n\t\t\t\t\t\t\t\t\ticon=\"trashDelete\"\n\t\t\t\t\t\t\t\t\t[alt]=\"intl.deleteFile | intlParams: { fileName: fileName() }\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t</dd>\n\t}\n</dl>\n@if (withPassword) {\n\t<div class=\"fileEntry_box box mod-withArrow mod-neutral\">\n\t\t<div class=\"box-arrow mod-neutral\"></div>\n\t\t<lu-form-field [label]=\"intl.password\">\n\t\t\t<div class=\"fileEntry_box-field\">\n\t\t\t\t<lu-text-input\n\t\t\t\t\tclass=\"fileEntry_box-field-textField\"\n\t\t\t\t\trequired\n\t\t\t\t\thasClearer\n\t\t\t\t\tsearchIcon=\"searchMagnifyingGlass\"\n\t\t\t\t\ttype=\"password\"\n\t\t\t\t\t[ngModel]=\"password()\"\n\t\t\t\t\t(ngModelChange)=\"passwordChange$.next($event)\"\n\t\t\t\t/>\n\t\t\t\t<button class=\"fileEntry_box-field-button\" luButton type=\"button\">{{ intl.confirmPassword }}</button>\n\t\t\t</div>\n\t\t</lu-form-field>\n\t</div>\n}\n","import { Component, ViewEncapsulation } from '@angular/core';\nimport { IntlParamsPipe } from '@lucca-front/ng/core';\nimport { InputDirective } from '@lucca-front/ng/form-field';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\nimport { BaseFileUploadComponent } from '../base-file-upload/base-file-upload.component';\n\n@Component({\n\tselector: 'lu-multi-file-upload',\n\tstandalone: true,\n\ttemplateUrl: './multi-file-upload.component.html',\n\tstyleUrl: './multi-file-upload.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.mod-structure]': 'structure()',\n\t},\n\timports: [LuSafeExternalSvgPipe, InputDirective, LuTooltipModule, IntlParamsPipe],\n})\nexport class MultiFileUploadComponent extends BaseFileUploadComponent {}\n","<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"false\">\n\t<input\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\tmultiple=\"multiple\"\n\t\t#inputRef\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.other\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\tintl.acceptedFormat.one\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.other | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.other }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.other }}</span>\n</div>\n","import { booleanAttribute, Component, input, output, ViewEncapsulation } from '@angular/core';\nimport { IntlParamsPipe } from '@lucca-front/ng/core';\nimport { InputDirective } from '@lucca-front/ng/form-field';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\nimport { BaseFileUploadComponent } from '../base-file-upload/base-file-upload.component';\nimport { FileEntryComponent } from '../file-entry/file-entry.component';\nimport { FileEntry } from '../file-upload-entry';\n\n@Component({\n\tselector: 'lu-single-file-upload',\n\tstandalone: true,\n\ttemplateUrl: './single-file-upload.component.html',\n\tstyleUrl: './single-file-upload.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.mod-structure]': 'structure()',\n\t},\n\timports: [LuSafeExternalSvgPipe, InputDirective, LuTooltipModule, FileEntryComponent, IntlParamsPipe],\n})\nexport class SingleFileUploadComponent extends BaseFileUploadComponent {\n\tentry = input<FileEntry | null>(null);\n\n\tstate = input<'loading' | 'success' | 'error' | null>(null);\n\n\tinlineMessageError = input<string | null>(null);\n\n\tpreviewUrl = input<string | null>(null);\n\n\tdeleteFile = output<void>();\n\n\tdisplayFileName = input(false, { transform: booleanAttribute });\n}\n","<div class=\"fileUpload\" [class.is-droppable]=\"droppable\" [class.mod-S]=\"size() === 'S'\" [class.is-hidden]=\"!!entry()\">\n\t<input\n\t\tclass=\"fileUpload-input\"\n\t\ttype=\"file\"\n\t\ttitle=\"\"\n\t\t[attr.accept]=\"acceptAttribute().length > 0 ? acceptAttribute() : null\"\n\t\tluInput\n\t\t(dragenter)=\"droppable = true\"\n\t\t(dragleave)=\"droppable = false\"\n\t\t(change)=\"filesChange($event)\"\n\t\t[attr.disabled]=\"!!entry() ? 'disabled' : null\"\n\t\t[attr.aria-describedby]=\"'fileUpload-instruction-' + idSuffix\"\n\t/>\n\t<div class=\"fileUpload-status\" [innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"></div>\n\t<div class=\"fileUpload-instruction\" [attr.id]=\"'fileUpload-instruction-' + idSuffix\">\n\t\t<span class=\"fileUpload-instruction-action\" aria-hidden=\"true\" [innerHTML]=\"intl.dropOrClick.one\"></span>\n\t\t@if (acceptNames().length) {\n\t\t\t<span class=\"fileUpload-instruction-formats\">\n\t\t\t\t@if (acceptNames().length > 1 || acceptAll()) {\n\t\t\t\t\t{{ intl.acceptedFormat.other }}\n\t\t\t\t} @else {\n\t\t\t\t\t{{ intl.acceptedFormat.one }}\n\t\t\t\t}\n\t\t\t\t{{ acceptNames().join(\", \") }}.\n\t\t\t</span>\n\t\t}\n\t\t@if (fileMaxSize()) {\n\t\t\t<span class=\"fileUpload-instruction-size\">{{ intl.maxWeight.one | intlParams: { maxSizeDisplay: maxSizeDisplay() } }}</span>\n\t\t}\n\t\t<span class=\"pr-u-mask\">{{ intl.fileUploadedListed.one }}</span>\n\t</div>\n\t<span class=\"fileUpload-button button\" aria-hidden=\"true\">{{ intl.selectFile.one }}</span>\n</div>\n@if (entry()) {\n\t<lu-file-entry\n\t\t[media]=\"size() === null\"\n\t\t[previewUrl]=\"previewUrl()\"\n\t\t[entry]=\"entry()\"\n\t\t[state]=\"state()\"\n\t\t(deleteFile)=\"deleteFile.emit()\"\n\t\t[inlineMessageError]=\"inlineMessageError()\"\n\t\t[displayFileName]=\"displayFileName()\"\n\t/>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;QACH,cAAc,EAAE,EAAE,GAAG,EAAE,kBAAkB,EAAE,KAAK,EAAE,m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