@wavemaker/app-ng-runtime 12.0.0-next.45102 → 12.0.0-next.45127
Sign up to get free protection for your applications and to get access to all the features.
- app-ng-runtime/build-task/bundles/index.umd.js +46 -38
- app-ng-runtime/build-task/esm2022/basic/default/anchor/anchor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/html/html.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/icon/icon.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/picture/picture.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/spinner/spinner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/progress/progress-circle/progress-circle.build.mjs +7 -2
- app-ng-runtime/build-task/esm2022/basic/rich-text-editor/rich-text-editor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/tile/tile.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/barcode-scanner/barcode-scanner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/camera/camera.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/dialogs/alert-dialog/alert-dialog.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/calendar/calendar.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/color-picker/color-picker.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/currency/currency.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/default/button/button.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/button-group/button-group.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/switch/switch.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +5 -1
- app-ng-runtime/build-task/esm2022/page/footer/footer.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/header/header.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/layout.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/left-panel/left-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/right-panel/right-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/top-nav/top-nav.build.mjs +2 -2
- app-ng-runtime/build-task/fesm2022/index.mjs +46 -38
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +1 -1
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +8 -2
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -2
- app-ng-runtime/components/base/fesm2022/index.mjs +8 -2
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +27 -18
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +4 -4
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +5 -5
- app-ng-runtime/components/basic/default/esm2022/audio/audio.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/html/html.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +6 -7
- app-ng-runtime/components/basic/default/esm2022/icon/icon.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +3 -3
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +3 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +5 -4
- app-ng-runtime/components/basic/default/esm2022/video/video.props.mjs +2 -1
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +27 -18
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -1
- app-ng-runtime/components/basic/default/video/video.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +12 -8
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +4 -4
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +12 -8
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -1
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +2 -0
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.props.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +2 -0
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/bundles/index.umd.js +11 -9
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +14 -13
- app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -1
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +11 -9
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +1 -0
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +3 -3
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +4 -4
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +3 -3
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +14 -14
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +15 -15
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +14 -14
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +2 -2
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +3 -3
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +17 -0
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +18 -1
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +17 -0
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +1 -0
- app-ng-runtime/components/data/form/bundles/index.umd.js +4 -0
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +5 -3
- app-ng-runtime/components/data/form/fesm2022/index.mjs +4 -2
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +1 -0
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +2 -2
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +3 -3
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +2 -0
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +3 -1
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +2 -0
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +44 -10
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +14 -5
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +30 -7
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +3 -1
- app-ng-runtime/components/data/table/fesm2022/index.mjs +45 -11
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +8 -1
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +6 -4
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +7 -5
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +6 -4
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +8 -5
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +9 -6
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +8 -5
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +20 -3
- app-ng-runtime/components/dialogs/default/dialog-header/dialog-header.component.d.ts +2 -1
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +13 -1
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +9 -4
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +20 -3
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +5 -5
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +9 -5
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +10 -6
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +9 -5
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +9 -5
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +10 -6
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +9 -5
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +2 -4
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +3 -5
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +2 -4
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +3 -2
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.props.mjs +2 -1
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +3 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +5 -3
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +1 -0
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +6 -5
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.props.mjs +2 -1
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +5 -3
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -3
- app-ng-runtime/components/input/currency/currency.component.d.ts +1 -0
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +6 -6
- app-ng-runtime/components/input/currency/esm2022/currency.props.mjs +2 -1
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +4 -3
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +206 -110
- app-ng-runtime/components/input/default/button/button.component.d.ts +1 -0
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +1 -1
- app-ng-runtime/components/input/default/esm2022/button/button.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +8 -7
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +7 -7
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +21 -16
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +3 -1
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +28 -23
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +60 -30
- app-ng-runtime/components/input/default/esm2022/select/select.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +6 -5
- app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +51 -14
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +9 -6
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +206 -110
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/select/select.component.d.ts +4 -4
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -0
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +1 -0
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +4 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +15 -9
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +6 -6
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +10 -7
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +15 -9
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +1 -0
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +208 -95
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +206 -98
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +6 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +209 -96
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +17 -11
- app-ng-runtime/components/input/slider/bundles/index.umd.js +5 -6
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +6 -8
- app-ng-runtime/components/input/slider/esm2022/slider.props.mjs +2 -1
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +5 -6
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +1 -0
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +10 -8
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +9 -8
- app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +10 -8
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +121 -13
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +122 -15
- app-ng-runtime/components/navigation/popover/esm2022/popover.props.mjs +2 -1
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +121 -13
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +15 -3
- app-ng-runtime/components/page/default/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/default/esm2022/page.props.mjs +4 -3
- app-ng-runtime/components/page/default/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/footer/esm2022/footer.props.mjs +3 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/header/esm2022/header.props.mjs +3 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.props.mjs +3 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.props.mjs +3 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.props.mjs +3 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +12 -9
- app-ng-runtime/core/esm2022/public_api.mjs +2 -2
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +7 -7
- app-ng-runtime/core/esm2022/utils/utils.mjs +5 -4
- app-ng-runtime/core/fesm2022/index.mjs +12 -10
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +1 -0
- app-ng-runtime/locales/moment-timezone/moment-timezone-with-data.js +37 -37
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/core/bundles/index.umd.js +18 -2
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +19 -3
- app-ng-runtime/mobile/core/fesm2022/index.mjs +18 -2
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +7 -5
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +2 -3
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +2 -2
- app-ng-runtime/runtime/base/fesm2022/index.mjs +7 -5
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/guards/can-deactivate-page.guard.d.ts +2 -1
- app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +29 -29
- app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +2 -3
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Attribute, Component, Injector, Optional
|
1
|
+
import { Attribute, Component, Inject, Injector, Optional } from '@angular/core';
|
2
2
|
import { Subject } from 'rxjs';
|
3
|
-
import { App, DataSource, isAudioFile, isImageFile, isVideoFile } from '@wm/core';
|
3
|
+
import { App, DataSource, getWmProjectProperties, isAudioFile, isImageFile, isVideoFile, AbstractDialogService } from '@wm/core';
|
4
4
|
import { provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';
|
5
5
|
import { registerProps } from './file-upload.props';
|
6
6
|
import { forEach, includes, isEmpty, toLower } from "lodash-es";
|
@@ -14,7 +14,7 @@ const _c2 = (a0, a1) => ({ height: a0, overflow: a1 });
|
|
14
14
|
const _c3 = a0 => ({ width: a0 });
|
15
15
|
function FileUploadComponent_div_1_input_6_Template(rf, ctx) { if (rf & 1) {
|
16
16
|
const _r3 = i0.ɵɵgetCurrentView();
|
17
|
-
i0.ɵɵelementStart(0, "input",
|
17
|
+
i0.ɵɵelementStart(0, "input", 15);
|
18
18
|
i0.ɵɵlistener("click", function FileUploadComponent_div_1_input_6_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileElemClick($event)); })("change", function FileUploadComponent_div_1_input_6_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); });
|
19
19
|
i0.ɵɵelementEnd();
|
20
20
|
} if (rf & 2) {
|
@@ -22,6 +22,23 @@ function FileUploadComponent_div_1_input_6_Template(rf, ctx) { if (rf & 1) {
|
|
22
22
|
i0.ɵɵproperty("disabled", ctx_r1.disabled)("accept", ctx_r1.chooseFilter);
|
23
23
|
i0.ɵɵattribute("aria-label", ctx_r1.hint || "File selection field");
|
24
24
|
} }
|
25
|
+
function FileUploadComponent_div_1_label_9_Template(rf, ctx) { if (rf & 1) {
|
26
|
+
i0.ɵɵelement(0, "label", 16);
|
27
|
+
} if (rf & 2) {
|
28
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
29
|
+
i0.ɵɵproperty("innerHtml", ctx_r1.chooseFilter + " only ", i0.ɵɵsanitizeHtml);
|
30
|
+
} }
|
31
|
+
function FileUploadComponent_div_1_span_10_Template(rf, ctx) { if (rf & 1) {
|
32
|
+
i0.ɵɵelementStart(0, "span", 17);
|
33
|
+
i0.ɵɵtext(1, " . ");
|
34
|
+
i0.ɵɵelementEnd();
|
35
|
+
} }
|
36
|
+
function FileUploadComponent_div_1_label_11_Template(rf, ctx) { if (rf & 1) {
|
37
|
+
i0.ɵɵelement(0, "label", 16);
|
38
|
+
} if (rf & 2) {
|
39
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
40
|
+
i0.ɵɵproperty("innerHtml", ctx_r1.maxfilesize + "MB max", i0.ɵɵsanitizeHtml);
|
41
|
+
} }
|
25
42
|
function FileUploadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
26
43
|
const _r1 = i0.ɵɵgetCurrentView();
|
27
44
|
i0.ɵɵelementStart(0, "div", 6)(1, "div", 7);
|
@@ -33,11 +50,13 @@ function FileUploadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
33
50
|
i0.ɵɵtemplate(6, FileUploadComponent_div_1_input_6_Template, 1, 3, "input", 11);
|
34
51
|
i0.ɵɵelementStart(7, "a", 12);
|
35
52
|
i0.ɵɵtext(8);
|
36
|
-
i0.ɵɵelementEnd()()
|
53
|
+
i0.ɵɵelementEnd()();
|
54
|
+
i0.ɵɵtemplate(9, FileUploadComponent_div_1_label_9_Template, 1, 1, "label", 13)(10, FileUploadComponent_div_1_span_10_Template, 2, 0, "span", 14)(11, FileUploadComponent_div_1_label_11_Template, 1, 1, "label", 13);
|
55
|
+
i0.ɵɵelementEnd()()();
|
37
56
|
} if (rf & 2) {
|
38
57
|
const ctx_r1 = i0.ɵɵnextContext();
|
39
58
|
i0.ɵɵadvance();
|
40
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
59
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1, ctx_r1.highlightDropArea));
|
41
60
|
i0.ɵɵadvance();
|
42
61
|
i0.ɵɵclassMap(ctx_r1.iconclass);
|
43
62
|
i0.ɵɵadvance(2);
|
@@ -48,34 +67,40 @@ function FileUploadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
48
67
|
i0.ɵɵproperty("ngIf", ctx_r1.multiple);
|
49
68
|
i0.ɵɵadvance(2);
|
50
69
|
i0.ɵɵtextInterpolate(ctx_r1.fileUploadMessage);
|
70
|
+
i0.ɵɵadvance();
|
71
|
+
i0.ɵɵproperty("ngIf", ctx_r1.chooseFilter);
|
72
|
+
i0.ɵɵadvance();
|
73
|
+
i0.ɵɵproperty("ngIf", ctx_r1.chooseFilter && ctx_r1.maxfilesize);
|
74
|
+
i0.ɵɵadvance();
|
75
|
+
i0.ɵɵproperty("ngIf", ctx_r1.maxfilesize);
|
51
76
|
} }
|
52
77
|
function FileUploadComponent_div_2_input_3_Template(rf, ctx) { if (rf & 1) {
|
53
78
|
const _r4 = i0.ɵɵgetCurrentView();
|
54
|
-
i0.ɵɵelementStart(0, "input",
|
55
|
-
i0.ɵɵlistener("
|
79
|
+
i0.ɵɵelementStart(0, "input", 26);
|
80
|
+
i0.ɵɵlistener("change", function FileUploadComponent_div_2_input_3_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); })("click", function FileUploadComponent_div_2_input_3_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileElemClick($event)); });
|
56
81
|
i0.ɵɵelementEnd();
|
57
82
|
} if (rf & 2) {
|
58
83
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
59
|
-
i0.ɵɵproperty("
|
60
|
-
i0.ɵɵattribute("aria-label", ctx_r1.
|
84
|
+
i0.ɵɵproperty("accept", ctx_r1.chooseFilter)("disabled", ctx_r1.disabled);
|
85
|
+
i0.ɵɵattribute("aria-label", ctx_r1.arialabel || "File selection field");
|
61
86
|
} }
|
62
87
|
function FileUploadComponent_div_2_input_4_Template(rf, ctx) { if (rf & 1) {
|
63
88
|
const _r5 = i0.ɵɵgetCurrentView();
|
64
|
-
i0.ɵɵelementStart(0, "input",
|
65
|
-
i0.ɵɵlistener("
|
89
|
+
i0.ɵɵelementStart(0, "input", 27);
|
90
|
+
i0.ɵɵlistener("change", function FileUploadComponent_div_2_input_4_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); })("click", function FileUploadComponent_div_2_input_4_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileElemClick($event)); });
|
66
91
|
i0.ɵɵelementEnd();
|
67
92
|
} if (rf & 2) {
|
68
93
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
69
|
-
i0.ɵɵproperty("
|
70
|
-
i0.ɵɵattribute("aria-label", ctx_r1.
|
94
|
+
i0.ɵɵproperty("accept", ctx_r1.chooseFilter)("disabled", ctx_r1.disabled);
|
95
|
+
i0.ɵɵattribute("aria-label", ctx_r1.arialabel || "File selection field");
|
71
96
|
} }
|
72
97
|
function FileUploadComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
73
|
-
i0.ɵɵelementStart(0, "div",
|
74
|
-
i0.ɵɵtemplate(3, FileUploadComponent_div_2_input_3_Template, 1, 3, "input",
|
75
|
-
i0.ɵɵelementStart(5, "button",
|
76
|
-
i0.ɵɵelement(6, "i",
|
98
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "div", 19)(2, "form", 10);
|
99
|
+
i0.ɵɵtemplate(3, FileUploadComponent_div_2_input_3_Template, 1, 3, "input", 20)(4, FileUploadComponent_div_2_input_4_Template, 1, 3, "input", 21);
|
100
|
+
i0.ɵɵelementStart(5, "button", 22);
|
101
|
+
i0.ɵɵelement(6, "i", 23)(7, "span", 24);
|
77
102
|
i0.ɵɵelementEnd()()();
|
78
|
-
i0.ɵɵelement(8, "div",
|
103
|
+
i0.ɵɵelement(8, "div", 25);
|
79
104
|
i0.ɵɵelementEnd();
|
80
105
|
} if (rf & 2) {
|
81
106
|
const ctx_r1 = i0.ɵɵnextContext();
|
@@ -94,9 +119,9 @@ function FileUploadComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
94
119
|
} }
|
95
120
|
function FileUploadComponent_button_3_Template(rf, ctx) { if (rf & 1) {
|
96
121
|
const _r6 = i0.ɵɵgetCurrentView();
|
97
|
-
i0.ɵɵelementStart(0, "button",
|
122
|
+
i0.ɵɵelementStart(0, "button", 28);
|
98
123
|
i0.ɵɵlistener("click", function FileUploadComponent_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.openFileSelector()); });
|
99
|
-
i0.ɵɵelement(1, "i")(2, "span",
|
124
|
+
i0.ɵɵelement(1, "i")(2, "span", 24);
|
100
125
|
i0.ɵɵelementEnd();
|
101
126
|
} if (rf & 2) {
|
102
127
|
const ctx_r1 = i0.ɵɵnextContext();
|
@@ -106,8 +131,15 @@ function FileUploadComponent_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
106
131
|
i0.ɵɵadvance();
|
107
132
|
i0.ɵɵproperty("innerHTML", ctx_r1.caption, i0.ɵɵsanitizeHtml);
|
108
133
|
} }
|
109
|
-
function
|
110
|
-
i0.ɵɵ
|
134
|
+
function FileUploadComponent_ul_4_div_1_li_1_span_8_Template(rf, ctx) { if (rf & 1) {
|
135
|
+
i0.ɵɵelement(0, "span");
|
136
|
+
i0.ɵɵpipe(1, "stateClass");
|
137
|
+
} if (rf & 2) {
|
138
|
+
const ft_r7 = i0.ɵɵnextContext(2).$implicit;
|
139
|
+
i0.ɵɵclassMapInterpolate1("status-icon ", i0.ɵɵpipeBind1(1, 3, ft_r7.status), "");
|
140
|
+
} }
|
141
|
+
function FileUploadComponent_ul_4_div_1_li_1_span_10_Template(rf, ctx) { if (rf & 1) {
|
142
|
+
i0.ɵɵelementStart(0, "span", 47);
|
111
143
|
i0.ɵɵtext(1);
|
112
144
|
i0.ɵɵpipe(2, "filesize");
|
113
145
|
i0.ɵɵelementEnd();
|
@@ -116,95 +148,113 @@ function FileUploadComponent_ul_4_div_1_li_1_span_9_Template(rf, ctx) { if (rf &
|
|
116
148
|
i0.ɵɵadvance();
|
117
149
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ft_r7.size, 0));
|
118
150
|
} }
|
119
|
-
function
|
120
|
-
i0.ɵɵ
|
121
|
-
i0.ɵɵ
|
151
|
+
function FileUploadComponent_ul_4_div_1_li_1_span_11_Template(rf, ctx) { if (rf & 1) {
|
152
|
+
i0.ɵɵelement(0, "span", 34);
|
153
|
+
i0.ɵɵpipe(1, "stateClass");
|
154
|
+
} if (rf & 2) {
|
155
|
+
const ft_r7 = i0.ɵɵnextContext(2).$implicit;
|
156
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
157
|
+
i0.ɵɵclassMapInterpolate1("status-icon ", i0.ɵɵpipeBind1(1, 4, ft_r7.status), "");
|
158
|
+
i0.ɵɵpropertyInterpolate("title", ft_r7.errMsg || ctx_r1.appLocale.MESSAGE_FILE_UPLOAD_FAILED);
|
159
|
+
} }
|
160
|
+
function FileUploadComponent_ul_4_div_1_li_1_span_12_Template(rf, ctx) { if (rf & 1) {
|
161
|
+
i0.ɵɵelementStart(0, "span", 48);
|
162
|
+
i0.ɵɵtext(1, "Upload Failed");
|
163
|
+
i0.ɵɵelementEnd();
|
164
|
+
} }
|
165
|
+
function FileUploadComponent_ul_4_div_1_li_1_div_13_Template(rf, ctx) { if (rf & 1) {
|
166
|
+
i0.ɵɵelementStart(0, "div", 49);
|
167
|
+
i0.ɵɵelement(1, "div", 50);
|
122
168
|
i0.ɵɵelementEnd();
|
123
169
|
} if (rf & 2) {
|
124
170
|
const ft_r7 = i0.ɵɵnextContext(2).$implicit;
|
125
171
|
i0.ɵɵadvance();
|
126
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
172
|
+
i0.ɵɵproperty("ngClass", ft_r7.status === "error" ? "progress-bar-danger" : "progress-bar-info")("ngStyle", i0.ɵɵpureFunction1(2, _c3, ft_r7.progress + "%"));
|
127
173
|
} }
|
128
|
-
function
|
129
|
-
|
130
|
-
i0.ɵɵ
|
131
|
-
i0.ɵɵlistener("click", function FileUploadComponent_ul_4_div_1_li_1_div_11_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r8); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.abortFileUpload(ft_r7)); });
|
132
|
-
i0.ɵɵelement(2, "i", 41);
|
133
|
-
i0.ɵɵelementEnd()();
|
134
|
-
} }
|
135
|
-
function FileUploadComponent_ul_4_div_1_li_1_div_12_Template(rf, ctx) { if (rf & 1) {
|
136
|
-
i0.ɵɵelementStart(0, "div", 39);
|
137
|
-
i0.ɵɵelement(1, "span");
|
138
|
-
i0.ɵɵpipe(2, "stateClass");
|
174
|
+
function FileUploadComponent_ul_4_div_1_li_1_div_14_Template(rf, ctx) { if (rf & 1) {
|
175
|
+
i0.ɵɵelementStart(0, "div", 51);
|
176
|
+
i0.ɵɵtext(1);
|
139
177
|
i0.ɵɵelementEnd();
|
140
178
|
} if (rf & 2) {
|
141
179
|
const ft_r7 = i0.ɵɵnextContext(2).$implicit;
|
142
180
|
i0.ɵɵadvance();
|
143
|
-
i0.ɵɵ
|
181
|
+
i0.ɵɵtextInterpolate1("", ft_r7.progress + "%", " ");
|
144
182
|
} }
|
145
|
-
function
|
146
|
-
const
|
147
|
-
i0.ɵɵelementStart(0, "div",
|
148
|
-
i0.ɵɵlistener("click", function
|
149
|
-
i0.ɵɵelement(2, "i");
|
183
|
+
function FileUploadComponent_ul_4_div_1_li_1_div_15_Template(rf, ctx) { if (rf & 1) {
|
184
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
185
|
+
i0.ɵɵelementStart(0, "div", 45)(1, "a", 52);
|
186
|
+
i0.ɵɵlistener("click", function FileUploadComponent_ul_4_div_1_li_1_div_15_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r8); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.abortFileUpload(ft_r7)); });
|
187
|
+
i0.ɵɵelement(2, "i", 53);
|
150
188
|
i0.ɵɵelementEnd()();
|
189
|
+
} }
|
190
|
+
function FileUploadComponent_ul_4_div_1_li_1_a_17_Template(rf, ctx) { if (rf & 1) {
|
191
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
192
|
+
i0.ɵɵelementStart(0, "a", 54);
|
193
|
+
i0.ɵɵlistener("click", function FileUploadComponent_ul_4_div_1_li_1_a_17_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r9); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clear(ft_r7)); });
|
194
|
+
i0.ɵɵelement(1, "i");
|
195
|
+
i0.ɵɵelementEnd();
|
151
196
|
} if (rf & 2) {
|
152
197
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
153
|
-
i0.ɵɵadvance();
|
154
198
|
i0.ɵɵpropertyInterpolate("title", ctx_r1.cleariconhint);
|
155
199
|
i0.ɵɵadvance();
|
156
200
|
i0.ɵɵclassMap(ctx_r1.cleariconclass);
|
157
201
|
} }
|
158
|
-
function
|
159
|
-
i0.ɵɵ
|
160
|
-
i0.ɵɵ
|
161
|
-
i0.ɵɵ
|
162
|
-
i0.ɵɵ
|
163
|
-
|
164
|
-
const ft_r7 = i0.ɵɵnextContext(2).$implicit;
|
165
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
166
|
-
i0.ɵɵpropertyInterpolate("title", ft_r7.errMsg || ctx_r1.appLocale.MESSAGE_FILE_UPLOAD_FAILED);
|
167
|
-
i0.ɵɵadvance();
|
168
|
-
i0.ɵɵclassMapInterpolate1("status-icon ", i0.ɵɵpipeBind1(2, 4, ft_r7.status), "");
|
202
|
+
function FileUploadComponent_ul_4_div_1_li_1_div_18_Template(rf, ctx) { if (rf & 1) {
|
203
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
204
|
+
i0.ɵɵelementStart(0, "div", 45)(1, "a", 55);
|
205
|
+
i0.ɵɵlistener("click", function FileUploadComponent_ul_4_div_1_li_1_div_18_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r10); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileDelete($event, ft_r7)); });
|
206
|
+
i0.ɵɵelement(2, "i", 56);
|
207
|
+
i0.ɵɵelementEnd()();
|
169
208
|
} }
|
170
209
|
function FileUploadComponent_ul_4_div_1_li_1_Template(rf, ctx) { if (rf & 1) {
|
171
|
-
i0.ɵɵelementStart(0, "li",
|
172
|
-
i0.ɵɵelement(2, "div",
|
210
|
+
i0.ɵɵelementStart(0, "li", 32)(1, "div", 33);
|
211
|
+
i0.ɵɵelement(2, "div", 34);
|
173
212
|
i0.ɵɵpipe(3, "fileIconClass");
|
174
|
-
i0.ɵɵelementStart(4, "div",
|
213
|
+
i0.ɵɵelementStart(4, "div", 35)(5, "p", 36)(6, "span", 37);
|
175
214
|
i0.ɵɵtext(7);
|
176
215
|
i0.ɵɵelementEnd();
|
177
|
-
i0.ɵɵ
|
178
|
-
i0.ɵɵ
|
216
|
+
i0.ɵɵtemplate(8, FileUploadComponent_ul_4_div_1_li_1_span_8_Template, 2, 5, "span", 38);
|
217
|
+
i0.ɵɵelement(9, "br");
|
218
|
+
i0.ɵɵtemplate(10, FileUploadComponent_ul_4_div_1_li_1_span_10_Template, 3, 4, "span", 39)(11, FileUploadComponent_ul_4_div_1_li_1_span_11_Template, 2, 6, "span", 40)(12, FileUploadComponent_ul_4_div_1_li_1_span_12_Template, 2, 0, "span", 41);
|
219
|
+
i0.ɵɵelementEnd();
|
220
|
+
i0.ɵɵtemplate(13, FileUploadComponent_ul_4_div_1_li_1_div_13_Template, 2, 4, "div", 42)(14, FileUploadComponent_ul_4_div_1_li_1_div_14_Template, 2, 1, "div", 43);
|
179
221
|
i0.ɵɵelementEnd();
|
180
|
-
i0.ɵɵtemplate(
|
222
|
+
i0.ɵɵtemplate(15, FileUploadComponent_ul_4_div_1_li_1_div_15_Template, 3, 0, "div", 44);
|
223
|
+
i0.ɵɵelementStart(16, "div", 45);
|
224
|
+
i0.ɵɵtemplate(17, FileUploadComponent_ul_4_div_1_li_1_a_17_Template, 2, 4, "a", 46);
|
181
225
|
i0.ɵɵelementEnd();
|
182
|
-
i0.ɵɵtemplate(
|
226
|
+
i0.ɵɵtemplate(18, FileUploadComponent_ul_4_div_1_li_1_div_18_Template, 3, 0, "div", 44);
|
183
227
|
i0.ɵɵelementEnd()();
|
184
228
|
} if (rf & 2) {
|
185
229
|
const ft_r7 = i0.ɵɵnextContext().$implicit;
|
186
230
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
187
231
|
i0.ɵɵadvance(2);
|
188
|
-
i0.ɵɵclassMapInterpolate1("media-left media-middle file-icon ", i0.ɵɵpipeBind1(3,
|
232
|
+
i0.ɵɵclassMapInterpolate1("media-left media-middle file-icon ", i0.ɵɵpipeBind1(3, 14, ctx_r1.getFileExtension(ft_r7.name)), "");
|
189
233
|
i0.ɵɵpropertyInterpolate("title", ctx_r1.getFileExtension(ft_r7.name));
|
190
234
|
i0.ɵɵadvance(5);
|
191
|
-
i0.ɵɵtextInterpolate(ft_r7.name);
|
235
|
+
i0.ɵɵtextInterpolate(ft_r7.storageName || ft_r7.name);
|
236
|
+
i0.ɵɵadvance();
|
237
|
+
i0.ɵɵproperty("ngIf", ft_r7.status === "success");
|
192
238
|
i0.ɵɵadvance(2);
|
193
239
|
i0.ɵɵproperty("ngIf", ft_r7.fileLength !== 0);
|
194
240
|
i0.ɵɵadvance();
|
195
|
-
i0.ɵɵproperty("ngIf", ft_r7.status === "
|
241
|
+
i0.ɵɵproperty("ngIf", ft_r7.status === "error");
|
196
242
|
i0.ɵɵadvance();
|
197
|
-
i0.ɵɵproperty("ngIf", ft_r7.status === "
|
243
|
+
i0.ɵɵproperty("ngIf", ft_r7.status === "error");
|
198
244
|
i0.ɵɵadvance();
|
199
|
-
i0.ɵɵproperty("ngIf", ft_r7.status === "
|
245
|
+
i0.ɵɵproperty("ngIf", ft_r7.status === "onProgress" || ctx_r1.showprogressbar);
|
246
|
+
i0.ɵɵadvance();
|
247
|
+
i0.ɵɵproperty("ngIf", (ft_r7.status === "onProgress" || ctx_r1.showprogressbar && ctx_r1.showprogressbarpercentage) && ft_r7.progress);
|
200
248
|
i0.ɵɵadvance();
|
249
|
+
i0.ɵɵproperty("ngIf", ft_r7.status === "onProgress" || ft_r7.status === "queued");
|
250
|
+
i0.ɵɵadvance(2);
|
201
251
|
i0.ɵɵproperty("ngIf", ctx_r1.cleariconclass !== "" && ft_r7.status !== "onProgress");
|
202
252
|
i0.ɵɵadvance();
|
203
|
-
i0.ɵɵproperty("ngIf", ft_r7.status === "
|
253
|
+
i0.ɵɵproperty("ngIf", ft_r7.status === "success");
|
204
254
|
} }
|
205
255
|
function FileUploadComponent_ul_4_div_1_Template(rf, ctx) { if (rf & 1) {
|
206
256
|
i0.ɵɵelementStart(0, "div");
|
207
|
-
i0.ɵɵtemplate(1, FileUploadComponent_ul_4_div_1_li_1_Template,
|
257
|
+
i0.ɵɵtemplate(1, FileUploadComponent_ul_4_div_1_li_1_Template, 19, 16, "li", 31);
|
208
258
|
i0.ɵɵelementEnd();
|
209
259
|
} if (rf & 2) {
|
210
260
|
const ft_r7 = ctx.$implicit;
|
@@ -212,34 +262,34 @@ function FileUploadComponent_ul_4_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
212
262
|
i0.ɵɵproperty("ngIf", ft_r7.status !== "abort");
|
213
263
|
} }
|
214
264
|
function FileUploadComponent_ul_4_Template(rf, ctx) { if (rf & 1) {
|
215
|
-
i0.ɵɵelementStart(0, "ul",
|
216
|
-
i0.ɵɵtemplate(1, FileUploadComponent_ul_4_div_1_Template, 2, 1, "div",
|
265
|
+
i0.ɵɵelementStart(0, "ul", 29);
|
266
|
+
i0.ɵɵtemplate(1, FileUploadComponent_ul_4_div_1_Template, 2, 1, "div", 30);
|
217
267
|
i0.ɵɵelementEnd();
|
218
268
|
} if (rf & 2) {
|
219
269
|
const ctx_r1 = i0.ɵɵnextContext();
|
220
270
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(2, _c2, ctx_r1.filelistheight, ctx_r1.overflow));
|
221
271
|
i0.ɵɵadvance();
|
222
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.
|
272
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.uploadedFiles);
|
223
273
|
} }
|
224
274
|
function FileUploadComponent_ul_5_li_1_Template(rf, ctx) { if (rf & 1) {
|
225
|
-
i0.ɵɵelementStart(0, "li",
|
226
|
-
i0.ɵɵelement(2, "div",
|
227
|
-
i0.ɵɵelementStart(3, "div",
|
275
|
+
i0.ɵɵelementStart(0, "li", 32)(1, "div", 33);
|
276
|
+
i0.ɵɵelement(2, "div", 59);
|
277
|
+
i0.ɵɵelementStart(3, "div", 35)(4, "p", 60)(5, "label", 37);
|
228
278
|
i0.ɵɵtext(6);
|
229
279
|
i0.ɵɵelementEnd();
|
230
280
|
i0.ɵɵelement(7, "br");
|
231
281
|
i0.ɵɵelementEnd()();
|
232
|
-
i0.ɵɵelementStart(8, "div",
|
233
|
-
i0.ɵɵelement(9, "span",
|
282
|
+
i0.ɵɵelementStart(8, "div", 45);
|
283
|
+
i0.ɵɵelement(9, "span", 61);
|
234
284
|
i0.ɵɵelementEnd()()();
|
235
285
|
} if (rf & 2) {
|
236
|
-
const
|
286
|
+
const ft_r11 = ctx.$implicit;
|
237
287
|
i0.ɵɵadvance(6);
|
238
|
-
i0.ɵɵtextInterpolate(
|
288
|
+
i0.ɵɵtextInterpolate(ft_r11.name);
|
239
289
|
} }
|
240
290
|
function FileUploadComponent_ul_5_Template(rf, ctx) { if (rf & 1) {
|
241
|
-
i0.ɵɵelementStart(0, "ul",
|
242
|
-
i0.ɵɵtemplate(1, FileUploadComponent_ul_5_li_1_Template, 10, 1, "li",
|
291
|
+
i0.ɵɵelementStart(0, "ul", 57);
|
292
|
+
i0.ɵɵtemplate(1, FileUploadComponent_ul_5_li_1_Template, 10, 1, "li", 58);
|
243
293
|
i0.ɵɵelementEnd();
|
244
294
|
} if (rf & 2) {
|
245
295
|
const ctx_r1 = i0.ɵɵnextContext();
|
@@ -357,6 +407,7 @@ export class FileUploadComponent extends StylableComponent {
|
|
357
407
|
*/
|
358
408
|
onSelectEventCall($event, $files) {
|
359
409
|
this.selectedFiles = $files;
|
410
|
+
this.uploadedFiles = this.multiple ? [...this.uploadedFiles, ...$files] : $files;
|
360
411
|
setTimeout(() => {
|
361
412
|
this.invokeEventCallback('select', {
|
362
413
|
$event: $.extend($event.$files || {}, $files),
|
@@ -378,7 +429,11 @@ export class FileUploadComponent extends StylableComponent {
|
|
378
429
|
}
|
379
430
|
/*this function to clear the specified file. if argument is not provided, it clears the complete list */
|
380
431
|
clear(fileObj) {
|
381
|
-
this.selectedFiles = (fileObj) ? this.selectedFiles
|
432
|
+
this.selectedFiles = (fileObj) ? this.clearFile(this.selectedFiles, fileObj) : [];
|
433
|
+
this.uploadedFiles = (fileObj) ? this.clearFile(this.uploadedFiles, fileObj) : [];
|
434
|
+
}
|
435
|
+
clearFile(files, fileObj) {
|
436
|
+
return files.filter((file) => file?._response?.fileName !== fileObj?._response?.fileName || file?.name !== fileObj?.name || file !== fileObj);
|
382
437
|
}
|
383
438
|
/*this function to set the class names for clear icon */
|
384
439
|
setClearIconClass(classValue) {
|
@@ -425,6 +480,10 @@ export class FileUploadComponent extends StylableComponent {
|
|
425
480
|
file.status = progressObj.status;
|
426
481
|
if (progressObj.errMsg) {
|
427
482
|
file.errMsg = progressObj.errMsg;
|
483
|
+
this.invokeEventCallback('error', {
|
484
|
+
$event,
|
485
|
+
files: file
|
486
|
+
});
|
428
487
|
}
|
429
488
|
}
|
430
489
|
}
|
@@ -440,6 +499,44 @@ export class FileUploadComponent extends StylableComponent {
|
|
440
499
|
}
|
441
500
|
}
|
442
501
|
}
|
502
|
+
onFileDelete($event, file) {
|
503
|
+
if (!file) {
|
504
|
+
return;
|
505
|
+
}
|
506
|
+
const beforeDeleteVal = this.invokeEventCallback('beforedelete', { $event: file });
|
507
|
+
if (beforeDeleteVal !== false) {
|
508
|
+
this.dialogService.showAppConfirmDialog({
|
509
|
+
title: "Delete file",
|
510
|
+
message: "Are you sure you want to delete this file?",
|
511
|
+
oktext: "Ok",
|
512
|
+
canceltext: "Cancel",
|
513
|
+
onOk: () => {
|
514
|
+
if (this.deletedatasource) {
|
515
|
+
this.deletedatasource.setInput('file', file._response.fileName || file.name);
|
516
|
+
this.deleteFileObservable = new Subject();
|
517
|
+
this.deletedatasource._deleteFileObservable = this.deleteFileObservable;
|
518
|
+
this.deletedatasource._deleteFileObservable.asObservable().subscribe((response) => {
|
519
|
+
if (response.status === "success") {
|
520
|
+
this.selectedFiles = this.selectedFiles.filter((fileObj) => file !== fileObj) || [];
|
521
|
+
this.uploadedFiles = this.uploadedFiles.filter((fileObj) => file !== fileObj) || [];
|
522
|
+
this.deletedatasource._deleteFileObservable.unsubscribe();
|
523
|
+
}
|
524
|
+
}, (error) => {
|
525
|
+
this.deletedatasource._deleteFileObservable.unsubscribe();
|
526
|
+
});
|
527
|
+
}
|
528
|
+
this.invokeEventCallback('delete', { $event: file });
|
529
|
+
this.dialogService.closeAppConfirmDialog();
|
530
|
+
},
|
531
|
+
onCancel: () => {
|
532
|
+
this.dialogService.closeAppConfirmDialog();
|
533
|
+
},
|
534
|
+
onOpen: () => {
|
535
|
+
$('.cancel-action').focus();
|
536
|
+
}
|
537
|
+
});
|
538
|
+
}
|
539
|
+
}
|
443
540
|
// Prevent default behavior (Prevent file from being opened)
|
444
541
|
dragOverHandler($event) {
|
445
542
|
$event.preventDefault();
|
@@ -484,6 +581,11 @@ export class FileUploadComponent extends StylableComponent {
|
|
484
581
|
abortFileUpload($file) {
|
485
582
|
this.datasource.execute(DataSource.Operation.CANCEL, $file);
|
486
583
|
}
|
584
|
+
isMimeType(file) {
|
585
|
+
return (this.defaultAllowedExtensions.includes('image/*') && isImageFile(file))
|
586
|
+
|| (this.defaultAllowedExtensions.includes('audio/*') && isAudioFile(file))
|
587
|
+
|| (this.defaultAllowedExtensions.includes('video/*') && isVideoFile(file));
|
588
|
+
}
|
487
589
|
/* Define the property change handler. This function will be triggered when there is a change in the widget property */
|
488
590
|
onPropertyChange(key, nv, ov) {
|
489
591
|
/*Monitoring changes for styles or properties and accordingly handling respective changes.*/
|
@@ -493,7 +595,15 @@ export class FileUploadComponent extends StylableComponent {
|
|
493
595
|
this.changeServerUploadPath(nv);
|
494
596
|
break;
|
495
597
|
case 'contenttype':
|
496
|
-
this.
|
598
|
+
if (this.defaultAllowedExtensions.includes('*/*')) {
|
599
|
+
this.chooseFilter = nv.split(' ').join(',');
|
600
|
+
}
|
601
|
+
else {
|
602
|
+
this.chooseFilter = nv.split(' ').filter(item => this.defaultAllowedExtensions.includes(item) || this.isMimeType(item)).join(',');
|
603
|
+
if (isEmpty(this.chooseFilter)) {
|
604
|
+
this.chooseFilter = this.defaultAllowedExtensions;
|
605
|
+
}
|
606
|
+
}
|
497
607
|
break;
|
498
608
|
case 'multiple':
|
499
609
|
this.formName = this.name + (this.multiple ? '-multiple-fileupload' : '-single-fileupload');
|
@@ -504,11 +614,13 @@ export class FileUploadComponent extends StylableComponent {
|
|
504
614
|
}
|
505
615
|
super.onPropertyChange(key, nv, ov);
|
506
616
|
}
|
507
|
-
constructor(inj, app, onSelectEvt, explicitContext) {
|
617
|
+
constructor(inj, app, onSelectEvt, dialogService, explicitContext) {
|
508
618
|
super(inj, WIDGET_CONFIG, explicitContext);
|
509
619
|
this.app = app;
|
510
620
|
this.onSelectEvt = onSelectEvt;
|
621
|
+
this.dialogService = dialogService;
|
511
622
|
this.selectedFiles = [];
|
623
|
+
this.uploadedFiles = [];
|
512
624
|
this.selectedFolders = [];
|
513
625
|
this.fileTransfers = {};
|
514
626
|
this.caption = 'Upload';
|
@@ -530,14 +642,10 @@ export class FileUploadComponent extends StylableComponent {
|
|
530
642
|
file: undefined,
|
531
643
|
uploadPath: undefined
|
532
644
|
};
|
533
|
-
this.
|
645
|
+
this.allowedFileUploadExtensions = getWmProjectProperties().allowedFileUploadExtensions;
|
646
|
+
this.defaultAllowedExtensions = this.allowedFileUploadExtensions.split(',').map(item => item.trim()).map(item => item.endsWith('/*') ? item : `.${item}`);
|
647
|
+
this.chooseFilter = this.defaultAllowedExtensions.includes('*/*') ? '' : this.defaultAllowedExtensions;
|
534
648
|
this.fileUploadMessage = 'Drop your files here or click here to browse';
|
535
|
-
this.uploadedFiles = {
|
536
|
-
fileName: '',
|
537
|
-
path: '',
|
538
|
-
length: '',
|
539
|
-
status: ''
|
540
|
-
};
|
541
649
|
this.uploadUrl = 'services';
|
542
650
|
// styler(this.nativeElement, this);
|
543
651
|
}
|
@@ -558,12 +666,12 @@ export class FileUploadComponent extends StylableComponent {
|
|
558
666
|
document.removeEventListener('mouseleave', this.dropCb);
|
559
667
|
super.ngOnDestroy();
|
560
668
|
}
|
561
|
-
static { this.ɵfac = function FileUploadComponent_Factory(t) { return new (t || FileUploadComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.App), i0.ɵɵinjectAttribute('select.event'), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
669
|
+
static { this.ɵfac = function FileUploadComponent_Factory(t) { return new (t || FileUploadComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.App), i0.ɵɵinjectAttribute('select.event'), i0.ɵɵdirectiveInject(i1.AbstractDialogService), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
562
670
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FileUploadComponent, selectors: [["", "wmFileUpload", ""]], features: [i0.ɵɵProvidersFeature([
|
563
671
|
provideAsWidgetRef(FileUploadComponent)
|
564
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 6, vars: 5, consts: [["init-widget", "", 1, "app-fileupload"], ["class", "app-multi-file-upload", 4, "ngIf"], ["class", "app-single-file-upload", 4, "ngIf"], ["focus-target", "", "class", "app-button btn btn-default", 3, "disabled", "click", 4, "ngIf"], ["class", "list-group file-upload", 3, "ngStyle", 4, "ngIf"], ["class", "list-group file-upload", 3, "ngStyle", "title", 4, "ngIf"], [1, "app-multi-file-upload"], ["id", "dropzone", 1, "drop-box", 3, "click", "dragover", "drop", "ngClass"], [1, "message"], [1, "
|
672
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 6, vars: 5, consts: [["init-widget", "", 1, "app-fileupload"], ["class", "app-multi-file-upload", 4, "ngIf"], ["class", "app-single-file-upload", 4, "ngIf"], ["focus-target", "", "class", "app-button btn btn-default", 3, "disabled", "click", 4, "ngIf"], ["class", "list-group file-upload", 3, "ngStyle", 4, "ngIf"], ["class", "list-group file-upload", 3, "ngStyle", "title", 4, "ngIf"], [1, "app-multi-file-upload"], ["id", "dropzone", 1, "drop-box", 3, "click", "dragover", "drop", "ngClass"], [1, "message"], [1, "upload-label", 3, "innerHtml"], [1, "form-horizontal", 3, "name"], ["class", "file-input", "type", "file", "name", "files", "multiple", "", 3, "disabled", "accept", "click", "change", 4, "ngIf"], ["href", "javascript:void(0);", 1, "app-anchor", "upload-label"], ["class", "upload-extensions", 3, "innerHtml", 4, "ngIf"], ["class", "upload-extensions", 4, "ngIf"], ["type", "file", "name", "files", "multiple", "", 1, "file-input", 3, "click", "change", "disabled", "accept"], [1, "upload-extensions", 3, "innerHtml"], [1, "upload-extensions"], [1, "app-single-file-upload"], [1, "app-button-wrapper"], ["class", "file-input", "multiple", "", "name", "files", "type", "file", 3, "accept", "disabled", "change", "click", 4, "ngIf"], ["class", "file-input", "name", "files", "type", "file", 3, "accept", "disabled", "change", "click", 4, "ngIf"], ["id", "dropzone", "focus-target", "", 1, "app-button", "btn", "btn-default", 3, "ngClass"], ["aria-hidden", "true"], [1, "caption", 3, "innerHTML"], [1, "app-files-upload-status", "single"], ["multiple", "", "name", "files", "type", "file", 1, "file-input", 3, "change", "click", "accept", "disabled"], ["name", "files", "type", "file", 1, "file-input", 3, "change", "click", "accept", "disabled"], ["focus-target", "", 1, "app-button", "btn", "btn-default", 3, "click", "disabled"], [1, "list-group", "file-upload", 3, "ngStyle"], [4, "ngFor", "ngForOf"], ["class", "list-group-item file-upload-status", 4, "ngIf"], [1, "list-group-item", "file-upload-status"], [1, "media", "upload-file-list"], [3, "title"], [1, "media-body", "media-middle", "file-details"], [1, "uploaddetails", "col-md-3"], [1, "upload-title"], [3, "class", 4, "ngIf"], ["class", "filesize", 4, "ngIf"], [3, "class", "title", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["class", "progress col-md-7 upload-progress", 4, "ngIf"], ["class", "col-md-1 upload-progress-percentage", 4, "ngIf"], ["class", "media-right media-middle", 4, "ngIf"], [1, "media-right", "media-middle"], ["class", "btn btn-transparent btn-default status-icon", "type", "button", 3, "title", "click", 4, "ngIf"], [1, "filesize"], [1, "error-message"], [1, "progress", "col-md-7", "upload-progress"], [1, "progress-bar", "progress-bar-striped", 3, "ngClass", "ngStyle"], [1, "col-md-1", "upload-progress-percentage"], ["type", "button", 1, "btn", "btn-transparent", "file-upload-stop", 3, "click"], [1, "wi", "wi-close"], ["type", "button", 1, "btn", "btn-transparent", "btn-default", "status-icon", 3, "click", "title"], ["title", "delete", "type", "button", 1, "btn", "btn-transparent", "btn-default", "status-icon", 3, "click"], [1, "wi", "wi-delete"], [1, "list-group", "file-upload", 3, "ngStyle", "title"], ["class", "list-group-item file-upload-status", 4, "ngFor", "ngForOf"], [1, "media-left", "media-middle", "file-icon", "fa", "fa-folder-o"], [1, "uploaddetails"], [1, "status-icon", "wi", "wi-cancel", "text-danger"]], template: function FileUploadComponent_Template(rf, ctx) { if (rf & 1) {
|
565
673
|
i0.ɵɵelementStart(0, "div", 0);
|
566
|
-
i0.ɵɵtemplate(1, FileUploadComponent_div_1_Template,
|
674
|
+
i0.ɵɵtemplate(1, FileUploadComponent_div_1_Template, 12, 13, "div", 1)(2, FileUploadComponent_div_2_Template, 9, 10, "div", 2)(3, FileUploadComponent_button_3_Template, 3, 5, "button", 3)(4, FileUploadComponent_ul_4_Template, 2, 5, "ul", 4)(5, FileUploadComponent_ul_5_Template, 2, 6, "ul", 5);
|
567
675
|
i0.ɵɵelementEnd();
|
568
676
|
} if (rf & 2) {
|
569
677
|
i0.ɵɵadvance();
|
@@ -573,7 +681,7 @@ export class FileUploadComponent extends StylableComponent {
|
|
573
681
|
i0.ɵɵadvance();
|
574
682
|
i0.ɵɵproperty("ngIf", ctx._isCordova);
|
575
683
|
i0.ɵɵadvance();
|
576
|
-
i0.ɵɵproperty("ngIf", ctx.
|
684
|
+
i0.ɵɵproperty("ngIf", ctx.uploadedFiles.length > 0);
|
577
685
|
i0.ɵɵadvance();
|
578
686
|
i0.ɵɵproperty("ngIf", ctx.selectedFolders.length > 0);
|
579
687
|
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgStyle, i3.FileIconClassPipe, i3.FileSizePipe, i3.StateClassPipe], encapsulation: 2 }); }
|
@@ -582,15 +690,15 @@ export class FileUploadComponent extends StylableComponent {
|
|
582
690
|
type: Component,
|
583
691
|
args: [{ selector: '[wmFileUpload]', providers: [
|
584
692
|
provideAsWidgetRef(FileUploadComponent)
|
585
|
-
], template: "<div class=\"app-fileupload\" init-widget>\n <!-- drag and drop files UI in web -->\n <div class=\"app-multi-file-upload\" *ngIf=\"!_isMobileType && multiple\">\n <div id=\"dropzone\" class=\"drop-box\" (click)=\"triggerFileSelect()\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\" (dragover)=\"dragOverHandler($event);\" (drop)=\"onFileDrop($event);\">\n <i class=\"{{iconclass}}\"></i>\n <div class=\"message\">\n <label [innerHtml]=\"caption\" class=\"
|
693
|
+
], template: "<div class=\"app-fileupload\" init-widget>\n <!-- drag and drop files UI in web -->\n <div class=\"app-multi-file-upload\" *ngIf=\"!_isMobileType && multiple\">\n <div id=\"dropzone\" class=\"drop-box\" (click)=\"triggerFileSelect()\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\" (dragover)=\"dragOverHandler($event);\" (drop)=\"onFileDrop($event);\">\n <i class=\"{{iconclass}}\"></i>\n <div class=\"message\">\n <label [innerHtml]=\"caption\" class=\"upload-label\"></label>\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n <input class=\"file-input\" [attr.aria-label]=\"hint || 'File selection field'\" type=\"file\" name=\"files\" *ngIf=\"multiple\" [disabled]=\"disabled\" [accept]=\"chooseFilter\" (click)=\"onFileElemClick($event)\" (change)=\"onFileSelect($event, $event.target.files)\" multiple >\n <a class=\"app-anchor upload-label\" href=\"javascript:void(0);\">{{ fileUploadMessage }}</a>\n </form>\n <label *ngIf=\"chooseFilter\" [innerHtml]=\"chooseFilter + ' only '\" class=\"upload-extensions\"></label>\n <span *ngIf=\"chooseFilter && maxfilesize\" class=\"upload-extensions\"> . </span>\n <label *ngIf=\"maxfilesize\" [innerHtml]=\"maxfilesize + 'MB max'\" class=\"upload-extensions\"></label>\n </div>\n </div>\n </div>\n <!-- single file upload in web and single , multiple file upload UI in mobile runmode -->\n <div class=\"app-single-file-upload\" *ngIf=\"!_isCordova && (!multiple || _isMobileType)\">\n <div class=\"app-button-wrapper\">\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n <!-- support for file upload in Mobileapp in its runmode (Web) -->\n <input (change)=\"onFileSelect($event, $event.target.files)\" (click)=\"onFileElemClick($event)\" *ngIf=\"multiple\"\n [accept]=\"chooseFilter\" [attr.aria-label]=\"arialabel || 'File selection field'\" [disabled]=\"disabled\" class=\"file-input\"\n multiple name=\"files\" type=\"file\">\n <input (change)=\"onFileSelect($event, $event.target.files)\" (click)=\"onFileElemClick($event)\" *ngIf=\"!multiple\"\n [accept]=\"chooseFilter\" [attr.aria-label]=\"arialabel || 'File selection field'\" [disabled]=\"disabled\" class=\"file-input\"\n name=\"files\" type=\"file\">\n <button id=\"dropzone\" focus-target class=\"app-button btn btn-default\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\">\n <i class=\"{{iconclass}}\" aria-hidden=\"true\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n </form>\n </div>\n <div class=\"app-files-upload-status single\"></div>\n </div>\n <!-- support for file upload in Mobile Application (device) -->\n <button *ngIf=\"_isCordova\" focus-target class=\"app-button btn btn-default\" (click)=\"openFileSelector()\" [disabled]=\"disabled\">\n <i class=\"{{iconclass}}\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n <!-- list of selectedfiles UI -->\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\" *ngIf=\"uploadedFiles.length > 0\" >\n <div *ngFor=\"let ft of uploadedFiles\">\n <li class=\"list-group-item file-upload-status\" *ngIf=\"ft.status !== 'abort'\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon {{getFileExtension(ft.name) | fileIconClass}}\" title=\"{{getFileExtension(ft.name)}}\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails col-md-3\">\n <span class=\"upload-title\">{{ ft.storageName || ft.name }}</span>\n <span *ngIf=\"ft.status === 'success'\"\n class=\"status-icon {{ft.status | stateClass }}\"></span>\n <br/>\n <span class=\"filesize\" *ngIf=\"ft.fileLength !== 0\">{{ft.size | filesize:0}}</span>\n <span *ngIf=\"ft.status === 'error'\"\n class=\"status-icon {{ft.status | stateClass }}\"\n title=\"{{ft.errMsg || this.appLocale.MESSAGE_FILE_UPLOAD_FAILED}}\"></span>\n <span *ngIf=\"ft.status === 'error'\" class=\"error-message\">Upload Failed</span>\n </p>\n <div *ngIf=\"ft.status === 'onProgress' || showprogressbar\"\n class=\"progress col-md-7 upload-progress\">\n <div [ngClass]=\"ft.status === 'error' ? 'progress-bar-danger' : 'progress-bar-info'\"\n [ngStyle]=\"{width: (ft.progress +'%')}\"\n class=\"progress-bar progress-bar-striped\"></div>\n </div>\n <div *ngIf=\"(ft.status === 'onProgress' || showprogressbar && showprogressbarpercentage) && ft.progress \"\n class=\"col-md-1 upload-progress-percentage\">{{ ft.progress + '%' }}\n </div>\n </div>\n <div class=\"media-right media-middle\" *ngIf=\"ft.status === 'onProgress' || ft.status === 'queued'\">\n <a class=\"btn btn-transparent file-upload-stop\" type=\"button\" (click)=\"abortFileUpload(ft)\">\n <i class=\"wi wi-close\"></i>\n </a>\n </div>\n <div class=\"media-right media-middle\">\n <a (click)=\"clear(ft)\" *ngIf=\"cleariconclass !== '' && ft.status !== 'onProgress'\"\n class=\"btn btn-transparent btn-default status-icon\" title=\"{{cleariconhint}}\" type=\"button\">\n <i class=\"{{cleariconclass}}\"></i>\n </a>\n </div>\n <div class=\"media-right media-middle\" *ngIf=\"ft.status === 'success'\">\n <a (click)=\"onFileDelete($event, ft)\" class=\"btn btn-transparent btn-default status-icon\" title=\"delete\" type=\"button\">\n <i class=\"wi wi-delete\"></i>\n </a>\n </div>\n </div>\n </li>\n </div>\n </ul>\n <!-- list of selectedfolders UI to show the error in title -->\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\" title=\"{{this.appLocale.MESSAGE_FOLDER_UPLOADS_NOT_ALLOWED}}\" *ngIf=\"selectedFolders.length > 0\" >\n <li *ngFor=\"let ft of selectedFolders\" class=\"list-group-item file-upload-status\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon fa fa-folder-o\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails\">\n <label class=\"upload-title\">{{ft.name}}</label><br/>\n </p>\n </div>\n <div class=\"media-right media-middle\" >\n <span class=\"status-icon wi wi-cancel text-danger\"></span>\n </div>\n </div>\n </li>\n </ul>\n</div>\n" }]
|
586
694
|
}], () => [{ type: i0.Injector }, { type: i1.App }, { type: undefined, decorators: [{
|
587
695
|
type: Attribute,
|
588
696
|
args: ['select.event']
|
589
|
-
}] }, { type: undefined, decorators: [{
|
697
|
+
}] }, { type: i1.AbstractDialogService }, { type: undefined, decorators: [{
|
590
698
|
type: Inject,
|
591
699
|
args: ['EXPLICIT_CONTEXT']
|
592
700
|
}, {
|
593
701
|
type: Optional
|
594
702
|
}] }], null); })();
|
595
703
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FileUploadComponent, { className: "FileUploadComponent", filePath: "file-upload.component.ts", lineNumber: 27 }); })();
|
596
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vL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cGUgYmVmb3JlIHVwbG9hZGluZyAqL1xuICAgICAgICAgICAgaWYgKCF0aGlzLmlzVmFsaWRGaWxlKGZpbGUubmFtZSwgdGhpcy5jaG9vc2VGaWx0ZXIsIHRoaXMuZ2V0RmlsZUV4dGVuc2lvbihmaWxlLm5hbWUpLCB0aGlzLl9pc01vYmlsZVR5cGUpKSB7XG4gICAgICAgICAgICAgICAgY29uc3QgbXNnID0gYCR7dGhpcy5hcHBMb2NhbGUuTEFCRUxfRklMRV9FWFRFTlRJT05fVkFMSURBVElPTl9NRVNTQUdFfSAke3RoaXMuY2hvb3NlRmlsdGVyfWA7XG4gICAgICAgICAgICAgICAgdGhpcy5oYW5kbGVFcnJvckZpbGVzKCdJTlZBTElEX0ZJTEVfRVhURU5TSU9OJywgbXNnLCBmaWxlLCBlcnJvckZpbGVzKTtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoZmlsZS5zaXplID4gTUFYRklMRVVQTE9BRF9TSVpFKSB7XG4gICAgICAgICAgICAgICAgY29uc3QgbXNnID0gYCR7dGhpcy5hcHBMb2NhbGUuTEFCRUxfRklMRV9FWENFRURfVkFMSURBVElPTl9NRVNTQUdFfSAke01BWF9GSUxFX1VQTE9BRF9GT1JNQVRURURfU0laRX1gO1xuICAgICAgICAgICAgICAgIHRoaXMuaGFuZGxlRXJyb3JGaWxlcygnSU5WQUxJRF9GSUxFX1NJWkUnLCBtc2csIGZpbGUsIGVycm9yRmlsZXMpO1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHZhbGlkRmlsZXMucHVzaChmaWxlKTtcbiAgICAgICAgfSk7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICB2YWxpZEZpbGVzOiB2YWxpZEZpbGVzLFxuICAgICAgICAgICAgZXJyb3JGaWxlczogZXJyb3JGaWxlc1xuICAgICAgICB9O1xuICAgIH1cblxuICAgIGh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AgICAgICAgICAgICAgICAgICAgICAgIGlmIChmaWxlLnByb2dyZXNzID09PSAxMDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsZS5zdGF0dXMgPSAnc3VjY2Vzcyc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsZS5zdGF0dXMgPSBwcm9ncmVzc09iai5zdGF0dXM7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwcm9ncmVzc09iai5lcnJNc2cpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbGUuZXJyTXNnID0gcHJvZ3Jlc3NPYmouZXJyTXNnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgdGhpcy5zZWxlY3RlZEZpbGVzID0gJGZpbGVzO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGJlZm9yZVNlbGVjdFZhbCAhPT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAvLyBFVkVOVDogT05fU0VMRUNUXG4gICAgICAgICAgICAgICAgdGhpcy5vblNlbGVjdEV2ZW50Q2FsbCgkZXZlbnQsICRmaWxlcyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyBQcmV2ZW50IGRlZmF1bHQgYmVoYXZpb3IgKFByZXZlbnQgZmlsZSBmcm9tIGJlaW5nIG9wZW5lZClcbiAgICBkcmFnT3ZlckhhbmRsZXIoJGV2ZW50KSB7XG4gICAgICAgICRldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAkZ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RldGFpbHNcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxsYWJlbCBjbGFzcz1cInVwbG9hZC10aXRsZVwiPnt7ZnQubmFtZX19PC9sYWJlbD48YnIvPlxuICAgICAgICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm1lZGlhLXJpZ2h0IG1lZGlhLW1pZGRsZVwiID5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJzdGF0dXMtaWNvbiAgd2kgd2ktY2FuY2VsIHRleHQtZGFuZ2VyXCI+PC9zcGFuPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvbGk+XG4gICAgPC91bD5cbjwvZGl2PlxuIl19
|
704
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2lucHV0L2ZpbGUtdXBsb2FkL3NyYy9maWxlLXVwbG9hZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvaW5wdXQvZmlsZS11cGxvYWQvc3JjL2ZpbGUtdXBsb2FkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBZ0IsU0FBUyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFxQixRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFakgsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUU3QixPQUFPLEVBQUMsR0FBRyxFQUFFLFVBQ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icsIG1zZywgZmlsZSwgZXJyb3JGaWxlcyk7XG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGZpbGUuc2l6ZSA+IE1BWEZJTEVVUExPQURfU0laRSkge1xuICAgICAgICAgICAgICAgIGNvbnN0IG1zZyA9IGAke3RoaXMuYXBwTG9jYWxlLkxBQkVMX0ZJTEVfRVhDRUVEX1ZBTElEQVRJT05fTUVTU0FHRX0gJHtNQVhfRklMRV9VUExPQURfRk9STUFUVEVEX1NJWkV9YDtcbiAgICAgICAgICAgICAgICB0aGlzLmhhbmRsZUVycm9yRmlsZXMoJ0lOVkFMSURfRklMRV9TSVpFJywgbXNnLCBmaWxlLCBlcnJvckZpbGVzKTtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB2YWxpZEZpbGVzLnB1c2goZmlsZSk7XG4gICAgICAgIH0pO1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdmFsaWRGaWxlczogdmFsaWRGaWxlcyxcbiAgICAgICAgICAgIGVycm9yRmlsZXM6IGVycm9yRmlsZXNcbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBoYW5kbGVFcnJvckZpbGVzKGtleSwgbXNnLCBmaWxlLCBlcnJvckZpbGVzKSB7XG4gICAgICAgIC8vIENoZWNrIHdoZXRoZXIgdGhlIGVycm9yIGNhbGxiYWNrIGV4aXN0IG9yIG5vdC4gSWYgaXQgZXhpc3RzIHRoZW4gZG9udCBzaG93IHRhb3N0ZXIgbWVzc2FnZVxuICAgICAgICBpZiAoIXRoaXMuaGFzRXZlbnRDYWxsYmFjaygnZXJyb3InKSkge1xuICAgICAgICAgICAgdGhpcy5hcHAubm90aWZ5QXBwKG1zZywgJ0Vycm9yJyk7XG4gICAgICAgIH1cbiAgICAgICAgY29uc3QgZXJyb3IgPSB7XG4gICAgICAgICAgICBrZXk6IGtleSxcbiAgICAgICAgICAgIG1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09PSBwcm9ncmVzc09iai5maWxlTmFtZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbGUucHJvZ3Jlc3MgPSBwcm9ncmVzc09iai5wcm9ncmVzcztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoZmlsZS5wcm9ncmVzcyA9PT0gMTAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbGUuc3RhdHVzID0gJ3N1Y2Nlc3MnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbGUuc3RhdHVzID0gcHJvZ3Jlc3NPYmouc3RhdHVzO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocHJvZ3Jlc3NPYmouZXJyTXNnKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmaWxlLmVyck1zZyA9IHByb2dyZXNzT2JqLmVyck1zZztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuaW52b2tlRXZlbnRDYWxsYmFjaygnZXJyb3InLCB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJGV2ZW50LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbGVzOiBmaWxlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHRoaXMuc2VsZWN0ZWRGaWxlcyA9ICRmaWxlcztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChiZWZvcmVTZWxlY3RWYWwgIT09IGZhbHNlKSB7XG4gICAgICAgICAgICAgICAgLy8gRVZFTlQ6IE9OX1NFTEVDVFxuICAgICAgICAgICAgICAgIHRoaXMub25TZWxlY3RFdmVudENhbGwoJGV2ZW50LCAkZmlsZXMpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgb25GaWxlRGVsZXRlKCRldmVudCwgZmlsZSkge1xuICAgICAgICBpZighZmlsZSkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgYmVmb3JlRGVsZXRlVmFsID0gdGhpcy5pbnZva2VFdmVudENhbGxiYWNrKCdiZWZvcmVkZWxldGUnLCB7ICRldmVudDogZmlsZSB9KTtcblxuICAgICAgICBpZiAoYmVmb3JlRGVsZXRlVmFsICE9PSBmYWxzZSkge1xuICAgICAgICAgICAgdGhpcy5kaWFsb2dTZXJ2aWNlLnNob3dBcHBDb25maXJtRGlhbG9nKHtcbiAgICAgICAgICAgICAgICB0aXRsZTogXCJEZWxldGUgZmlsZVwiLFxuICAgICAgICAgICAgICAgIG1lc3NhZ2U6IFwiQXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGRlbGV0ZSB0aGlzIGZpbGU/XCIsXG4gICAgICAgICAgICAgICAgb2t0ZXh0OiBcIk9rXCIsXG4gICAgICAgICAgICAgICAgY2FuY2VsdGV4dDogXCJDYW5jZWxcIixcbiAgICAgICAgICAgICAgICBvbk9rOiAoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLmRlbGV0ZWRhdGFzb3VyY2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuZGVsZXRlZGF0YXNvdXJjZS5zZXRJbnB1dCgnZmlsZScsIGZpbGUuX3Jlc3BvbnNlLmZpbGVOYW1lIHx8IGZpbGUubmFtZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmRlbGV0ZUZpbGVPYnNlcnZhYmxlID0gbmV3IFN1YmplY3QoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuZGVsZXRlZGF0YXNvdXJjZS5fZGVsZXRlRmlsZU9ic2VydmFibGUgPSB0aGlzLmRlbGV0ZUZpbGVPYnNlcnZhYmxlO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5kZWxldGVkYXRhc291cmNlLl9kZWxldGVGaWxlT2JzZXJ2YWJsZS5hc09ic2VydmFibGUoKS5zdWJzY3JpYmUoKHJlc3BvbnNlKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYocmVzcG9uc2Uuc3RhdHVzID09PSBcInN1Y2Nlc3NcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNlbGVjdGVkRmlsZXMgPSB0aGlzLnNlbGVjdGVkRmlsZXMuZmlsdGVyKChmaWxlT2JqKSA9PiBmaWxlICE9PSBmaWxlT2JqKSB8fCBbXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy51cGxvYWRlZEZpbGVzID0gdGhpcy51cGxvYWRlZEZpbGVzLmZpbHRlcigoZmlsZU9iaikgPT4gZmlsZSAhPT0gZmlsZU9iaikgfHwgW107XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuZGVsZXRlZGF0YXNvdXJjZS5fZGVsZXRlRmlsZU9ic2VydmFibGUudW5zdWJzY3JpYmUoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9LCAoZXJyb3IpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmRlbGV0ZWRhdGFzb3VyY2UuX2RlbGV0ZUZpbGVPYnNlcnZhYmxlLnVuc3Vic2NyaWJlKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB0aGl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RhZ2VcIj57eyBmdC5wcm9ncmVzcyArICclJyB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibWVkaWEtcmlnaHQgbWVkaWEtbWlkZGxlXCIgKm5nSWY9XCJmdC5zdGF0dXMgPT09ICdvblByb2dyZXNzJyB8fCBmdC5zdGF0dXMgPT09ICdxdWV1ZWQnXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YSBjbGFzcz1cImJ0biBidG4tdHJhbnNwYXJlbnQgZmlsZS11cGxvYWQtc3RvcFwiIHR5cGU9XCJidXR0b25cIiAoY2xpY2spPVwiYWJvcnRGaWxlVXBsb2FkKGZ0KVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwid2kgd2ktY2xvc2VcIj48L2k+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibWVkaWEtcmlnaHQgbWVkaWEtbWlkZGxlXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YSAoY2xpY2spPVwiY2xlYXIoZnQpXCIgKm5nSWY9XCJjbGVhcmljb25jbGFzcyAhPT0gJycgJiYgZnQuc3RhdHVzICE9PSAnb25Qcm9ncmVzcydcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLXRyYW5zcGFyZW50IGJ0bi1kZWZhdWx0IHN0YXR1cy1pY29uXCIgdGl0bGU9XCJ7e2NsZWFyaWNvbmhpbnR9fVwiIHR5cGU9XCJidXR0b25cIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cInt7Y2xlYXJpY29uY2xhc3N9fVwiPjwvaT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cb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