@sd-angular/core 1.2.94 → 1.2.97
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/api/package.json +12 -1
- package/api/sd-angular-core-api.d.ts +2 -0
- package/api/sd-angular-core-api.d.ts.__ivy_ngcc_bak +4 -0
- package/api/sd-angular-core-api.d.ts.map +1 -0
- package/autocomplete/package.json +12 -1
- package/autocomplete/sd-angular-core-autocomplete.d.ts +2 -0
- package/autocomplete/sd-angular-core-autocomplete.d.ts.__ivy_ngcc_bak +4 -0
- package/autocomplete/sd-angular-core-autocomplete.d.ts.map +1 -0
- package/badge/package.json +12 -1
- package/badge/sd-angular-core-badge.d.ts +2 -0
- package/badge/sd-angular-core-badge.d.ts.__ivy_ngcc_bak +4 -0
- package/badge/sd-angular-core-badge.d.ts.map +1 -0
- package/bundles/sd-angular-core-api.umd.js +2 -1
- package/bundles/sd-angular-core-api.umd.js.__ivy_ngcc_bak +876 -0
- package/bundles/sd-angular-core-api.umd.js.map +1 -1
- package/bundles/sd-angular-core-api.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-autocomplete.umd.js +2 -1
- package/bundles/sd-angular-core-autocomplete.umd.js.__ivy_ngcc_bak +791 -0
- package/bundles/sd-angular-core-autocomplete.umd.js.map +1 -1
- package/bundles/sd-angular-core-autocomplete.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-badge.umd.js +2 -1
- package/bundles/sd-angular-core-badge.umd.js.__ivy_ngcc_bak +89 -0
- package/bundles/sd-angular-core-badge.umd.js.map +1 -1
- package/bundles/sd-angular-core-badge.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-button.umd.js +6 -2
- package/bundles/sd-angular-core-button.umd.js.__ivy_ngcc_bak +447 -0
- package/bundles/sd-angular-core-button.umd.js.map +1 -1
- package/bundles/sd-angular-core-button.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-button.umd.min.js +1 -1
- package/bundles/sd-angular-core-button.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-cache.umd.js +2 -1
- package/bundles/sd-angular-core-cache.umd.js.__ivy_ngcc_bak +623 -0
- package/bundles/sd-angular-core-cache.umd.js.map +1 -1
- package/bundles/sd-angular-core-cache.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-chart.umd.js +2 -1
- package/bundles/sd-angular-core-chart.umd.js.__ivy_ngcc_bak +1106 -0
- package/bundles/sd-angular-core-chart.umd.js.map +1 -1
- package/bundles/sd-angular-core-chart.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-checkbox.umd.js +2 -1
- package/bundles/sd-angular-core-checkbox.umd.js.__ivy_ngcc_bak +461 -0
- package/bundles/sd-angular-core-checkbox.umd.js.map +1 -1
- package/bundles/sd-angular-core-checkbox.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-chip.umd.js +2 -1
- package/bundles/sd-angular-core-chip.umd.js.__ivy_ngcc_bak +1051 -0
- package/bundles/sd-angular-core-chip.umd.js.map +1 -1
- package/bundles/sd-angular-core-chip.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-comment.umd.js +2 -1
- package/bundles/sd-angular-core-comment.umd.js.__ivy_ngcc_bak +456 -0
- package/bundles/sd-angular-core-comment.umd.js.map +1 -1
- package/bundles/sd-angular-core-comment.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-common.umd.js +2 -1
- package/bundles/sd-angular-core-common.umd.js.__ivy_ngcc_bak +962 -0
- package/bundles/sd-angular-core-common.umd.js.map +1 -1
- package/bundles/sd-angular-core-common.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-confirm.umd.js +2 -1
- package/bundles/sd-angular-core-confirm.umd.js.__ivy_ngcc_bak +159 -0
- package/bundles/sd-angular-core-confirm.umd.js.map +1 -1
- package/bundles/sd-angular-core-confirm.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-date-month.umd.js +2 -1
- package/bundles/sd-angular-core-date-month.umd.js.__ivy_ngcc_bak +650 -0
- package/bundles/sd-angular-core-date-month.umd.js.map +1 -1
- package/bundles/sd-angular-core-date-month.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-date-range.umd.js +2 -1
- package/bundles/sd-angular-core-date-range.umd.js.__ivy_ngcc_bak +660 -0
- package/bundles/sd-angular-core-date-range.umd.js.map +1 -1
- package/bundles/sd-angular-core-date-range.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-date-time.umd.js +2 -1
- package/bundles/sd-angular-core-date-time.umd.js.__ivy_ngcc_bak +734 -0
- package/bundles/sd-angular-core-date-time.umd.js.map +1 -1
- package/bundles/sd-angular-core-date-time.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-db.umd.js +2 -1
- package/bundles/sd-angular-core-db.umd.js.__ivy_ngcc_bak +464 -0
- package/bundles/sd-angular-core-db.umd.js.map +1 -1
- package/bundles/sd-angular-core-db.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-dynamic-report.umd.js +2 -1
- package/bundles/sd-angular-core-dynamic-report.umd.js.__ivy_ngcc_bak +96 -0
- package/bundles/sd-angular-core-dynamic-report.umd.js.map +1 -1
- package/bundles/sd-angular-core-dynamic-report.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-editor.umd.js +13 -21
- package/bundles/sd-angular-core-editor.umd.js.__ivy_ngcc_bak +943 -0
- package/bundles/sd-angular-core-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-editor.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-editor.umd.min.js +2 -2
- package/bundles/sd-angular-core-editor.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-excel.umd.js +2 -1
- package/bundles/sd-angular-core-excel.umd.js.__ivy_ngcc_bak +500 -0
- package/bundles/sd-angular-core-excel.umd.js.map +1 -1
- package/bundles/sd-angular-core-excel.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-export.umd.js +2 -1
- package/bundles/sd-angular-core-export.umd.js.__ivy_ngcc_bak +712 -0
- package/bundles/sd-angular-core-export.umd.js.map +1 -1
- package/bundles/sd-angular-core-export.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-filter.umd.js +2 -1
- package/bundles/sd-angular-core-filter.umd.js.__ivy_ngcc_bak +703 -0
- package/bundles/sd-angular-core-filter.umd.js.map +1 -1
- package/bundles/sd-angular-core-filter.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-form.umd.js +2 -1
- package/bundles/sd-angular-core-form.umd.js.__ivy_ngcc_bak +88 -0
- package/bundles/sd-angular-core-form.umd.js.map +1 -1
- package/bundles/sd-angular-core-form.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-grid-material.umd.js +2 -1
- package/bundles/sd-angular-core-grid-material.umd.js.__ivy_ngcc_bak +5029 -0
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-grid.umd.js +2 -1
- package/bundles/sd-angular-core-grid.umd.js.__ivy_ngcc_bak +5125 -0
- package/bundles/sd-angular-core-grid.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-group.umd.js +2 -1
- package/bundles/sd-angular-core-group.umd.js.__ivy_ngcc_bak +93 -0
- package/bundles/sd-angular-core-group.umd.js.map +1 -1
- package/bundles/sd-angular-core-group.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-header-title.umd.js +2 -1
- package/bundles/sd-angular-core-header-title.umd.js.__ivy_ngcc_bak +56 -0
- package/bundles/sd-angular-core-header-title.umd.js.map +1 -1
- package/bundles/sd-angular-core-header-title.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-image-preview.umd.js +2 -1
- package/bundles/sd-angular-core-image-preview.umd.js.__ivy_ngcc_bak +121 -0
- package/bundles/sd-angular-core-image-preview.umd.js.map +1 -1
- package/bundles/sd-angular-core-image-preview.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input-currency.umd.js +2 -1
- package/bundles/sd-angular-core-input-currency.umd.js.__ivy_ngcc_bak +737 -0
- package/bundles/sd-angular-core-input-currency.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-currency.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input-dropdown.umd.js +2 -1
- package/bundles/sd-angular-core-input-dropdown.umd.js.__ivy_ngcc_bak +634 -0
- package/bundles/sd-angular-core-input-dropdown.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-dropdown.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input-number.umd.js +2 -1
- package/bundles/sd-angular-core-input-number.umd.js.__ivy_ngcc_bak +792 -0
- package/bundles/sd-angular-core-input-number.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-number.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input-upload-file.umd.js +2 -1
- package/bundles/sd-angular-core-input-upload-file.umd.js.__ivy_ngcc_bak +648 -0
- package/bundles/sd-angular-core-input-upload-file.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input.umd.js +2 -1
- package/bundles/sd-angular-core-input.umd.js.__ivy_ngcc_bak +798 -0
- package/bundles/sd-angular-core-input.umd.js.map +1 -1
- package/bundles/sd-angular-core-input.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-json-editor.umd.js +2 -1
- package/bundles/sd-angular-core-json-editor.umd.js.__ivy_ngcc_bak +523 -0
- package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-json-editor.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-konva.umd.js +2 -1
- package/bundles/sd-angular-core-konva.umd.js.__ivy_ngcc_bak +605 -0
- package/bundles/sd-angular-core-konva.umd.js.map +1 -1
- package/bundles/sd-angular-core-konva.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-label.umd.js +2 -1
- package/bundles/sd-angular-core-label.umd.js.__ivy_ngcc_bak +60 -0
- package/bundles/sd-angular-core-label.umd.js.map +1 -1
- package/bundles/sd-angular-core-label.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-loading.umd.js +2 -1
- package/bundles/sd-angular-core-loading.umd.js.__ivy_ngcc_bak +413 -0
- package/bundles/sd-angular-core-loading.umd.js.map +1 -1
- package/bundles/sd-angular-core-loading.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-modal-resizable.umd.js +2 -1
- package/bundles/sd-angular-core-modal-resizable.umd.js.__ivy_ngcc_bak +487 -0
- package/bundles/sd-angular-core-modal-resizable.umd.js.map +1 -1
- package/bundles/sd-angular-core-modal-resizable.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-modal.umd.js +2 -1
- package/bundles/sd-angular-core-modal.umd.js.__ivy_ngcc_bak +307 -0
- package/bundles/sd-angular-core-modal.umd.js.map +1 -1
- package/bundles/sd-angular-core-modal.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-notify.umd.js +2 -1
- package/bundles/sd-angular-core-notify.umd.js.__ivy_ngcc_bak +719 -0
- package/bundles/sd-angular-core-notify.umd.js.map +1 -1
- package/bundles/sd-angular-core-notify.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-popover.umd.js +2 -1
- package/bundles/sd-angular-core-popover.umd.js.__ivy_ngcc_bak +752 -0
- package/bundles/sd-angular-core-popover.umd.js.map +1 -1
- package/bundles/sd-angular-core-popover.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-quick-action.umd.js +2 -1
- package/bundles/sd-angular-core-quick-action.umd.js.__ivy_ngcc_bak +66 -0
- package/bundles/sd-angular-core-quick-action.umd.js.map +1 -1
- package/bundles/sd-angular-core-quick-action.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-radio.umd.js +2 -1
- package/bundles/sd-angular-core-radio.umd.js.__ivy_ngcc_bak +535 -0
- package/bundles/sd-angular-core-radio.umd.js.map +1 -1
- package/bundles/sd-angular-core-radio.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-select-badge.umd.js +2 -1
- package/bundles/sd-angular-core-select-badge.umd.js.__ivy_ngcc_bak +486 -0
- package/bundles/sd-angular-core-select-badge.umd.js.map +1 -1
- package/bundles/sd-angular-core-select-badge.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-select-editor.umd.js +2 -1
- package/bundles/sd-angular-core-select-editor.umd.js.__ivy_ngcc_bak +431 -0
- package/bundles/sd-angular-core-select-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-select-editor.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-select.umd.js +2 -1
- package/bundles/sd-angular-core-select.umd.js.__ivy_ngcc_bak +921 -0
- package/bundles/sd-angular-core-select.umd.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-service.umd.js +2 -1
- package/bundles/sd-angular-core-service.umd.js.__ivy_ngcc_bak +42 -0
- package/bundles/sd-angular-core-service.umd.js.map +1 -1
- package/bundles/sd-angular-core-service.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-setting.umd.js +2 -1
- package/bundles/sd-angular-core-setting.umd.js.__ivy_ngcc_bak +664 -0
- package/bundles/sd-angular-core-setting.umd.js.map +1 -1
- package/bundles/sd-angular-core-setting.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-side-drawer.umd.js +2 -1
- package/bundles/sd-angular-core-side-drawer.umd.js.__ivy_ngcc_bak +438 -0
- package/bundles/sd-angular-core-side-drawer.umd.js.map +1 -1
- package/bundles/sd-angular-core-side-drawer.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-switch.umd.js +2 -1
- package/bundles/sd-angular-core-switch.umd.js.__ivy_ngcc_bak +454 -0
- package/bundles/sd-angular-core-switch.umd.js.map +1 -1
- package/bundles/sd-angular-core-switch.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-tab-router.umd.js +2 -1
- package/bundles/sd-angular-core-tab-router.umd.js.__ivy_ngcc_bak +941 -0
- package/bundles/sd-angular-core-tab-router.umd.js.map +1 -1
- package/bundles/sd-angular-core-tab-router.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-textarea.umd.js +2 -1
- package/bundles/sd-angular-core-textarea.umd.js.__ivy_ngcc_bak +642 -0
- package/bundles/sd-angular-core-textarea.umd.js.map +1 -1
- package/bundles/sd-angular-core-textarea.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-time.umd.js +2 -1
- package/bundles/sd-angular-core-time.umd.js.__ivy_ngcc_bak +497 -0
- package/bundles/sd-angular-core-time.umd.js.map +1 -1
- package/bundles/sd-angular-core-time.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-timeline.umd.js +2 -1
- package/bundles/sd-angular-core-timeline.umd.js.__ivy_ngcc_bak +102 -0
- package/bundles/sd-angular-core-timeline.umd.js.map +1 -1
- package/bundles/sd-angular-core-timeline.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-translate.umd.js +2 -1
- package/bundles/sd-angular-core-translate.umd.js.__ivy_ngcc_bak +119 -0
- package/bundles/sd-angular-core-translate.umd.js.map +1 -1
- package/bundles/sd-angular-core-translate.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-upload-excel.umd.js +2 -1
- package/bundles/sd-angular-core-upload-excel.umd.js.__ivy_ngcc_bak +1114 -0
- package/bundles/sd-angular-core-upload-excel.umd.js.map +1 -1
- package/bundles/sd-angular-core-upload-excel.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-upload-file.umd.js +2 -1
- package/bundles/sd-angular-core-upload-file.umd.js.__ivy_ngcc_bak +880 -0
- package/bundles/sd-angular-core-upload-file.umd.js.map +1 -1
- package/bundles/sd-angular-core-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-utility.umd.js +2 -1
- package/bundles/sd-angular-core-utility.umd.js.__ivy_ngcc_bak +708 -0
- package/bundles/sd-angular-core-utility.umd.js.map +1 -1
- package/bundles/sd-angular-core-utility.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-view.umd.js +2 -1
- package/bundles/sd-angular-core-view.umd.js.__ivy_ngcc_bak +32 -0
- package/bundles/sd-angular-core-view.umd.js.map +1 -1
- package/bundles/sd-angular-core-view.umd.js.map.__ivy_ngcc_bak +1 -0
- package/button/package.json +12 -1
- package/button/sd-angular-core-button.d.ts +2 -0
- package/button/sd-angular-core-button.d.ts.__ivy_ngcc_bak +4 -0
- package/button/sd-angular-core-button.d.ts.map +1 -0
- package/button/sd-angular-core-button.metadata.json +1 -1
- package/cache/package.json +12 -1
- package/cache/sd-angular-core-cache.d.ts +2 -0
- package/cache/sd-angular-core-cache.d.ts.__ivy_ngcc_bak +4 -0
- package/cache/sd-angular-core-cache.d.ts.map +1 -0
- package/chart/package.json +12 -1
- package/chart/sd-angular-core-chart.d.ts +2 -0
- package/chart/sd-angular-core-chart.d.ts.__ivy_ngcc_bak +4 -0
- package/chart/sd-angular-core-chart.d.ts.map +1 -0
- package/checkbox/package.json +12 -1
- package/checkbox/sd-angular-core-checkbox.d.ts +2 -0
- package/checkbox/sd-angular-core-checkbox.d.ts.__ivy_ngcc_bak +5 -0
- package/checkbox/sd-angular-core-checkbox.d.ts.map +1 -0
- package/chip/package.json +12 -1
- package/chip/sd-angular-core-chip.d.ts +2 -0
- package/chip/sd-angular-core-chip.d.ts.__ivy_ngcc_bak +5 -0
- package/chip/sd-angular-core-chip.d.ts.map +1 -0
- package/comment/package.json +12 -1
- package/comment/sd-angular-core-comment.d.ts +2 -0
- package/comment/sd-angular-core-comment.d.ts.__ivy_ngcc_bak +4 -0
- package/comment/sd-angular-core-comment.d.ts.map +1 -0
- package/common/package.json +12 -1
- package/common/sd-angular-core-common.d.ts +2 -0
- package/common/sd-angular-core-common.d.ts.__ivy_ngcc_bak +4 -0
- package/common/sd-angular-core-common.d.ts.map +1 -0
- package/confirm/package.json +12 -1
- package/confirm/sd-angular-core-confirm.d.ts +2 -0
- package/confirm/sd-angular-core-confirm.d.ts.__ivy_ngcc_bak +4 -0
- package/confirm/sd-angular-core-confirm.d.ts.map +1 -0
- package/date-month/package.json +12 -1
- package/date-month/sd-angular-core-date-month.d.ts +2 -0
- package/date-month/sd-angular-core-date-month.d.ts.__ivy_ngcc_bak +5 -0
- package/date-month/sd-angular-core-date-month.d.ts.map +1 -0
- package/date-range/package.json +12 -1
- package/date-range/sd-angular-core-date-range.d.ts +2 -0
- package/date-range/sd-angular-core-date-range.d.ts.__ivy_ngcc_bak +4 -0
- package/date-range/sd-angular-core-date-range.d.ts.map +1 -0
- package/date-time/package.json +12 -1
- package/date-time/sd-angular-core-date-time.d.ts +2 -0
- package/date-time/sd-angular-core-date-time.d.ts.__ivy_ngcc_bak +4 -0
- package/date-time/sd-angular-core-date-time.d.ts.map +1 -0
- package/db/package.json +12 -1
- package/db/sd-angular-core-db.d.ts +2 -0
- package/db/sd-angular-core-db.d.ts.__ivy_ngcc_bak +4 -0
- package/db/sd-angular-core-db.d.ts.map +1 -0
- package/dynamic-report/package.json +12 -1
- package/dynamic-report/sd-angular-core-dynamic-report.d.ts +2 -0
- package/dynamic-report/sd-angular-core-dynamic-report.d.ts.__ivy_ngcc_bak +4 -0
- package/dynamic-report/sd-angular-core-dynamic-report.d.ts.map +1 -0
- package/editor/package.json +12 -1
- package/editor/sd-angular-core-editor.d.ts +2 -0
- package/editor/sd-angular-core-editor.d.ts.__ivy_ngcc_bak +4 -0
- package/editor/sd-angular-core-editor.d.ts.map +1 -0
- package/editor/sd-angular-core-editor.metadata.json +1 -1
- package/editor/src/lib/editor.component.d.ts +1 -6
- package/editor/src/lib/editor.model.d.ts +4 -2
- package/esm2015/api/sd-angular-core-api.js +1 -1
- package/esm2015/api/sd-angular-core-api.js.__ivy_ngcc_bak +5 -0
- package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
- package/esm2015/autocomplete/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +5 -0
- package/esm2015/badge/sd-angular-core-badge.js +1 -1
- package/esm2015/badge/sd-angular-core-badge.js.__ivy_ngcc_bak +5 -0
- package/esm2015/button/sd-angular-core-button.js +1 -1
- package/esm2015/button/sd-angular-core-button.js.__ivy_ngcc_bak +5 -0
- package/esm2015/button/src/lib/button.component.js +5 -2
- package/esm2015/cache/sd-angular-core-cache.js +1 -1
- package/esm2015/cache/sd-angular-core-cache.js.__ivy_ngcc_bak +5 -0
- package/esm2015/chart/sd-angular-core-chart.js +1 -1
- package/esm2015/chart/sd-angular-core-chart.js.__ivy_ngcc_bak +5 -0
- package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
- package/esm2015/checkbox/sd-angular-core-checkbox.js.__ivy_ngcc_bak +6 -0
- package/esm2015/chip/sd-angular-core-chip.js +1 -1
- package/esm2015/chip/sd-angular-core-chip.js.__ivy_ngcc_bak +6 -0
- package/esm2015/comment/sd-angular-core-comment.js +1 -1
- package/esm2015/comment/sd-angular-core-comment.js.__ivy_ngcc_bak +5 -0
- package/esm2015/common/sd-angular-core-common.js +1 -1
- package/esm2015/common/sd-angular-core-common.js.__ivy_ngcc_bak +5 -0
- package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
- package/esm2015/confirm/sd-angular-core-confirm.js.__ivy_ngcc_bak +5 -0
- package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
- package/esm2015/date-month/sd-angular-core-date-month.js.__ivy_ngcc_bak +6 -0
- package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
- package/esm2015/date-range/sd-angular-core-date-range.js.__ivy_ngcc_bak +5 -0
- package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
- package/esm2015/date-time/sd-angular-core-date-time.js.__ivy_ngcc_bak +5 -0
- package/esm2015/db/sd-angular-core-db.js +1 -1
- package/esm2015/db/sd-angular-core-db.js.__ivy_ngcc_bak +5 -0
- package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
- package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +5 -0
- package/esm2015/editor/sd-angular-core-editor.js +1 -1
- package/esm2015/editor/sd-angular-core-editor.js.__ivy_ngcc_bak +5 -0
- package/esm2015/editor/src/lib/editor.component.js +8 -19
- package/esm2015/editor/src/lib/editor.model.js +2 -2
- package/esm2015/excel/sd-angular-core-excel.js +1 -1
- package/esm2015/excel/sd-angular-core-excel.js.__ivy_ngcc_bak +5 -0
- package/esm2015/export/sd-angular-core-export.js +1 -1
- package/esm2015/export/sd-angular-core-export.js.__ivy_ngcc_bak +5 -0
- package/esm2015/filter/sd-angular-core-filter.js +1 -1
- package/esm2015/filter/sd-angular-core-filter.js.__ivy_ngcc_bak +8 -0
- package/esm2015/form/sd-angular-core-form.js +1 -1
- package/esm2015/form/sd-angular-core-form.js.__ivy_ngcc_bak +5 -0
- package/esm2015/grid/sd-angular-core-grid.js +1 -1
- package/esm2015/grid/sd-angular-core-grid.js.__ivy_ngcc_bak +5 -0
- package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
- package/esm2015/grid-material/sd-angular-core-grid-material.js.__ivy_ngcc_bak +47 -0
- package/esm2015/group/sd-angular-core-group.js +1 -1
- package/esm2015/group/sd-angular-core-group.js.__ivy_ngcc_bak +6 -0
- package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
- package/esm2015/header-title/sd-angular-core-header-title.js.__ivy_ngcc_bak +6 -0
- package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
- package/esm2015/image-preview/sd-angular-core-image-preview.js.__ivy_ngcc_bak +7 -0
- package/esm2015/input/sd-angular-core-input.js +1 -1
- package/esm2015/input/sd-angular-core-input.js.__ivy_ngcc_bak +6 -0
- package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
- package/esm2015/input-currency/sd-angular-core-input-currency.js.__ivy_ngcc_bak +5 -0
- package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
- package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +5 -0
- package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
- package/esm2015/input-number/sd-angular-core-input-number.js.__ivy_ngcc_bak +5 -0
- package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
- package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +5 -0
- package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
- package/esm2015/json-editor/sd-angular-core-json-editor.js.__ivy_ngcc_bak +5 -0
- package/esm2015/konva/sd-angular-core-konva.js +1 -1
- package/esm2015/konva/sd-angular-core-konva.js.__ivy_ngcc_bak +5 -0
- package/esm2015/label/sd-angular-core-label.js +1 -1
- package/esm2015/label/sd-angular-core-label.js.__ivy_ngcc_bak +6 -0
- package/esm2015/loading/sd-angular-core-loading.js +1 -1
- package/esm2015/loading/sd-angular-core-loading.js.__ivy_ngcc_bak +5 -0
- package/esm2015/modal/sd-angular-core-modal.js +1 -1
- package/esm2015/modal/sd-angular-core-modal.js.__ivy_ngcc_bak +5 -0
- package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
- package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +5 -0
- package/esm2015/notify/sd-angular-core-notify.js +1 -1
- package/esm2015/notify/sd-angular-core-notify.js.__ivy_ngcc_bak +5 -0
- package/esm2015/popover/sd-angular-core-popover.js +1 -1
- package/esm2015/popover/sd-angular-core-popover.js.__ivy_ngcc_bak +5 -0
- package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
- package/esm2015/quick-action/sd-angular-core-quick-action.js.__ivy_ngcc_bak +5 -0
- package/esm2015/radio/sd-angular-core-radio.js +1 -1
- package/esm2015/radio/sd-angular-core-radio.js.__ivy_ngcc_bak +5 -0
- package/esm2015/select/sd-angular-core-select.js +1 -1
- package/esm2015/select/sd-angular-core-select.js.__ivy_ngcc_bak +5 -0
- package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
- package/esm2015/select-badge/sd-angular-core-select-badge.js.__ivy_ngcc_bak +5 -0
- package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
- package/esm2015/select-editor/sd-angular-core-select-editor.js.__ivy_ngcc_bak +5 -0
- package/esm2015/service/sd-angular-core-service.js +1 -1
- package/esm2015/service/sd-angular-core-service.js.__ivy_ngcc_bak +5 -0
- package/esm2015/setting/sd-angular-core-setting.js +1 -1
- package/esm2015/setting/sd-angular-core-setting.js.__ivy_ngcc_bak +5 -0
- package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
- package/esm2015/side-drawer/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +5 -0
- package/esm2015/switch/sd-angular-core-switch.js +1 -1
- package/esm2015/switch/sd-angular-core-switch.js.__ivy_ngcc_bak +5 -0
- package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
- package/esm2015/tab-router/sd-angular-core-tab-router.js.__ivy_ngcc_bak +7 -0
- package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
- package/esm2015/textarea/sd-angular-core-textarea.js.__ivy_ngcc_bak +5 -0
- package/esm2015/time/sd-angular-core-time.js +1 -1
- package/esm2015/time/sd-angular-core-time.js.__ivy_ngcc_bak +6 -0
- package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
- package/esm2015/timeline/sd-angular-core-timeline.js.__ivy_ngcc_bak +6 -0
- package/esm2015/translate/sd-angular-core-translate.js +1 -1
- package/esm2015/translate/sd-angular-core-translate.js.__ivy_ngcc_bak +5 -0
- package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
- package/esm2015/upload-excel/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +7 -0
- package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
- package/esm2015/upload-file/sd-angular-core-upload-file.js.__ivy_ngcc_bak +5 -0
- package/esm2015/utility/sd-angular-core-utility.js +1 -1
- package/esm2015/utility/sd-angular-core-utility.js.__ivy_ngcc_bak +5 -0
- package/esm2015/view/sd-angular-core-view.js +1 -1
- package/esm2015/view/sd-angular-core-view.js.__ivy_ngcc_bak +5 -0
- package/excel/package.json +12 -1
- package/excel/sd-angular-core-excel.d.ts +2 -0
- package/excel/sd-angular-core-excel.d.ts.__ivy_ngcc_bak +4 -0
- package/excel/sd-angular-core-excel.d.ts.map +1 -0
- package/export/package.json +12 -1
- package/export/sd-angular-core-export.d.ts +2 -0
- package/export/sd-angular-core-export.d.ts.__ivy_ngcc_bak +4 -0
- package/export/sd-angular-core-export.d.ts.map +1 -0
- package/fesm2015/sd-angular-core-api.js +2 -1
- package/fesm2015/sd-angular-core-api.js.__ivy_ngcc_bak +496 -0
- package/fesm2015/sd-angular-core-api.js.map +1 -1
- package/fesm2015/sd-angular-core-api.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-autocomplete.js +2 -1
- package/fesm2015/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +427 -0
- package/fesm2015/sd-angular-core-autocomplete.js.map +1 -1
- package/fesm2015/sd-angular-core-autocomplete.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-badge.js +2 -1
- package/fesm2015/sd-angular-core-badge.js.__ivy_ngcc_bak +70 -0
- package/fesm2015/sd-angular-core-badge.js.map +1 -1
- package/fesm2015/sd-angular-core-badge.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-button.js +6 -2
- package/fesm2015/sd-angular-core-button.js.__ivy_ngcc_bak +118 -0
- package/fesm2015/sd-angular-core-button.js.map +1 -1
- package/fesm2015/sd-angular-core-button.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-cache.js +2 -1
- package/fesm2015/sd-angular-core-cache.js.__ivy_ngcc_bak +259 -0
- package/fesm2015/sd-angular-core-cache.js.map +1 -1
- package/fesm2015/sd-angular-core-cache.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-chart.js +2 -1
- package/fesm2015/sd-angular-core-chart.js.__ivy_ngcc_bak +727 -0
- package/fesm2015/sd-angular-core-chart.js.map +1 -1
- package/fesm2015/sd-angular-core-chart.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-checkbox.js +2 -1
- package/fesm2015/sd-angular-core-checkbox.js.__ivy_ngcc_bak +120 -0
- package/fesm2015/sd-angular-core-checkbox.js.map +1 -1
- package/fesm2015/sd-angular-core-checkbox.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-chip.js +2 -1
- package/fesm2015/sd-angular-core-chip.js.__ivy_ngcc_bak +632 -0
- package/fesm2015/sd-angular-core-chip.js.map +1 -1
- package/fesm2015/sd-angular-core-chip.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-comment.js +2 -1
- package/fesm2015/sd-angular-core-comment.js.__ivy_ngcc_bak +118 -0
- package/fesm2015/sd-angular-core-comment.js.map +1 -1
- package/fesm2015/sd-angular-core-comment.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-common.js +2 -1
- package/fesm2015/sd-angular-core-common.js.__ivy_ngcc_bak +562 -0
- package/fesm2015/sd-angular-core-common.js.map +1 -1
- package/fesm2015/sd-angular-core-common.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-confirm.js +2 -1
- package/fesm2015/sd-angular-core-confirm.js.__ivy_ngcc_bak +154 -0
- package/fesm2015/sd-angular-core-confirm.js.map +1 -1
- package/fesm2015/sd-angular-core-confirm.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-date-month.js +2 -1
- package/fesm2015/sd-angular-core-date-month.js.__ivy_ngcc_bak +289 -0
- package/fesm2015/sd-angular-core-date-month.js.map +1 -1
- package/fesm2015/sd-angular-core-date-month.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-date-range.js +2 -1
- package/fesm2015/sd-angular-core-date-range.js.__ivy_ngcc_bak +297 -0
- package/fesm2015/sd-angular-core-date-range.js.map +1 -1
- package/fesm2015/sd-angular-core-date-range.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-date-time.js +2 -1
- package/fesm2015/sd-angular-core-date-time.js.__ivy_ngcc_bak +367 -0
- package/fesm2015/sd-angular-core-date-time.js.map +1 -1
- package/fesm2015/sd-angular-core-date-time.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-db.js +2 -1
- package/fesm2015/sd-angular-core-db.js.__ivy_ngcc_bak +91 -0
- package/fesm2015/sd-angular-core-db.js.map +1 -1
- package/fesm2015/sd-angular-core-db.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-dynamic-report.js +2 -1
- package/fesm2015/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +82 -0
- package/fesm2015/sd-angular-core-dynamic-report.js.map +1 -1
- package/fesm2015/sd-angular-core-dynamic-report.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-editor.js +10 -19
- package/fesm2015/sd-angular-core-editor.js.__ivy_ngcc_bak +576 -0
- package/fesm2015/sd-angular-core-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-editor.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-excel.js +2 -1
- package/fesm2015/sd-angular-core-excel.js.__ivy_ngcc_bak +100 -0
- package/fesm2015/sd-angular-core-excel.js.map +1 -1
- package/fesm2015/sd-angular-core-excel.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-export.js +2 -1
- package/fesm2015/sd-angular-core-export.js.__ivy_ngcc_bak +272 -0
- package/fesm2015/sd-angular-core-export.js.map +1 -1
- package/fesm2015/sd-angular-core-export.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-filter.js +2 -1
- package/fesm2015/sd-angular-core-filter.js.__ivy_ngcc_bak +323 -0
- package/fesm2015/sd-angular-core-filter.js.map +1 -1
- package/fesm2015/sd-angular-core-filter.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-form.js +2 -1
- package/fesm2015/sd-angular-core-form.js.__ivy_ngcc_bak +104 -0
- package/fesm2015/sd-angular-core-form.js.map +1 -1
- package/fesm2015/sd-angular-core-form.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-grid-material.js +2 -1
- package/fesm2015/sd-angular-core-grid-material.js.__ivy_ngcc_bak +3740 -0
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-grid-material.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-grid.js +2 -1
- package/fesm2015/sd-angular-core-grid.js.__ivy_ngcc_bak +3935 -0
- package/fesm2015/sd-angular-core-grid.js.map +1 -1
- package/fesm2015/sd-angular-core-grid.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-group.js +2 -1
- package/fesm2015/sd-angular-core-group.js.__ivy_ngcc_bak +74 -0
- package/fesm2015/sd-angular-core-group.js.map +1 -1
- package/fesm2015/sd-angular-core-group.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-header-title.js +2 -1
- package/fesm2015/sd-angular-core-header-title.js.__ivy_ngcc_bak +45 -0
- package/fesm2015/sd-angular-core-header-title.js.map +1 -1
- package/fesm2015/sd-angular-core-header-title.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-image-preview.js +2 -1
- package/fesm2015/sd-angular-core-image-preview.js.__ivy_ngcc_bak +107 -0
- package/fesm2015/sd-angular-core-image-preview.js.map +1 -1
- package/fesm2015/sd-angular-core-image-preview.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input-currency.js +2 -1
- package/fesm2015/sd-angular-core-input-currency.js.__ivy_ngcc_bak +330 -0
- package/fesm2015/sd-angular-core-input-currency.js.map +1 -1
- package/fesm2015/sd-angular-core-input-currency.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input-dropdown.js +2 -1
- package/fesm2015/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +268 -0
- package/fesm2015/sd-angular-core-input-dropdown.js.map +1 -1
- package/fesm2015/sd-angular-core-input-dropdown.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input-number.js +2 -1
- package/fesm2015/sd-angular-core-input-number.js.__ivy_ngcc_bak +415 -0
- package/fesm2015/sd-angular-core-input-number.js.map +1 -1
- package/fesm2015/sd-angular-core-input-number.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input-upload-file.js +2 -1
- package/fesm2015/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +274 -0
- package/fesm2015/sd-angular-core-input-upload-file.js.map +1 -1
- package/fesm2015/sd-angular-core-input-upload-file.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input.js +2 -1
- package/fesm2015/sd-angular-core-input.js.__ivy_ngcc_bak +398 -0
- package/fesm2015/sd-angular-core-input.js.map +1 -1
- package/fesm2015/sd-angular-core-input.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-json-editor.js +2 -1
- package/fesm2015/sd-angular-core-json-editor.js.__ivy_ngcc_bak +180 -0
- package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-json-editor.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-konva.js +2 -1
- package/fesm2015/sd-angular-core-konva.js.__ivy_ngcc_bak +237 -0
- package/fesm2015/sd-angular-core-konva.js.map +1 -1
- package/fesm2015/sd-angular-core-konva.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-label.js +2 -1
- package/fesm2015/sd-angular-core-label.js.__ivy_ngcc_bak +49 -0
- package/fesm2015/sd-angular-core-label.js.map +1 -1
- package/fesm2015/sd-angular-core-label.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-loading.js +2 -1
- package/fesm2015/sd-angular-core-loading.js.__ivy_ngcc_bak +83 -0
- package/fesm2015/sd-angular-core-loading.js.map +1 -1
- package/fesm2015/sd-angular-core-loading.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-modal-resizable.js +2 -1
- package/fesm2015/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +161 -0
- package/fesm2015/sd-angular-core-modal-resizable.js.map +1 -1
- package/fesm2015/sd-angular-core-modal-resizable.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-modal.js +2 -1
- package/fesm2015/sd-angular-core-modal.js.__ivy_ngcc_bak +284 -0
- package/fesm2015/sd-angular-core-modal.js.map +1 -1
- package/fesm2015/sd-angular-core-modal.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-notify.js +2 -1
- package/fesm2015/sd-angular-core-notify.js.__ivy_ngcc_bak +402 -0
- package/fesm2015/sd-angular-core-notify.js.map +1 -1
- package/fesm2015/sd-angular-core-notify.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-popover.js +2 -1
- package/fesm2015/sd-angular-core-popover.js.__ivy_ngcc_bak +415 -0
- package/fesm2015/sd-angular-core-popover.js.map +1 -1
- package/fesm2015/sd-angular-core-popover.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-quick-action.js +2 -1
- package/fesm2015/sd-angular-core-quick-action.js.__ivy_ngcc_bak +53 -0
- package/fesm2015/sd-angular-core-quick-action.js.map +1 -1
- package/fesm2015/sd-angular-core-quick-action.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-radio.js +2 -1
- package/fesm2015/sd-angular-core-radio.js.__ivy_ngcc_bak +188 -0
- package/fesm2015/sd-angular-core-radio.js.map +1 -1
- package/fesm2015/sd-angular-core-radio.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-select-badge.js +2 -1
- package/fesm2015/sd-angular-core-select-badge.js.__ivy_ngcc_bak +156 -0
- package/fesm2015/sd-angular-core-select-badge.js.map +1 -1
- package/fesm2015/sd-angular-core-select-badge.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-select-editor.js +2 -1
- package/fesm2015/sd-angular-core-select-editor.js.__ivy_ngcc_bak +110 -0
- package/fesm2015/sd-angular-core-select-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-select-editor.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-select.js +2 -1
- package/fesm2015/sd-angular-core-select.js.__ivy_ngcc_bak +487 -0
- package/fesm2015/sd-angular-core-select.js.map +1 -1
- package/fesm2015/sd-angular-core-select.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-service.js +2 -1
- package/fesm2015/sd-angular-core-service.js.__ivy_ngcc_bak +36 -0
- package/fesm2015/sd-angular-core-service.js.map +1 -1
- package/fesm2015/sd-angular-core-service.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-setting.js +2 -1
- package/fesm2015/sd-angular-core-setting.js.__ivy_ngcc_bak +290 -0
- package/fesm2015/sd-angular-core-setting.js.map +1 -1
- package/fesm2015/sd-angular-core-setting.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-side-drawer.js +2 -1
- package/fesm2015/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +115 -0
- package/fesm2015/sd-angular-core-side-drawer.js.map +1 -1
- package/fesm2015/sd-angular-core-side-drawer.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-switch.js +2 -1
- package/fesm2015/sd-angular-core-switch.js.__ivy_ngcc_bak +116 -0
- package/fesm2015/sd-angular-core-switch.js.map +1 -1
- package/fesm2015/sd-angular-core-switch.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-tab-router.js +2 -1
- package/fesm2015/sd-angular-core-tab-router.js.__ivy_ngcc_bak +531 -0
- package/fesm2015/sd-angular-core-tab-router.js.map +1 -1
- package/fesm2015/sd-angular-core-tab-router.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-textarea.js +2 -1
- package/fesm2015/sd-angular-core-textarea.js.__ivy_ngcc_bak +266 -0
- package/fesm2015/sd-angular-core-textarea.js.map +1 -1
- package/fesm2015/sd-angular-core-textarea.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-time.js +2 -1
- package/fesm2015/sd-angular-core-time.js.__ivy_ngcc_bak +143 -0
- package/fesm2015/sd-angular-core-time.js.map +1 -1
- package/fesm2015/sd-angular-core-time.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-timeline.js +2 -1
- package/fesm2015/sd-angular-core-timeline.js.__ivy_ngcc_bak +87 -0
- package/fesm2015/sd-angular-core-timeline.js.map +1 -1
- package/fesm2015/sd-angular-core-timeline.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-translate.js +2 -1
- package/fesm2015/sd-angular-core-translate.js.__ivy_ngcc_bak +101 -0
- package/fesm2015/sd-angular-core-translate.js.map +1 -1
- package/fesm2015/sd-angular-core-translate.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-upload-excel.js +2 -1
- package/fesm2015/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +638 -0
- package/fesm2015/sd-angular-core-upload-excel.js.map +1 -1
- package/fesm2015/sd-angular-core-upload-excel.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-upload-file.js +2 -1
- package/fesm2015/sd-angular-core-upload-file.js.__ivy_ngcc_bak +462 -0
- package/fesm2015/sd-angular-core-upload-file.js.map +1 -1
- package/fesm2015/sd-angular-core-upload-file.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-utility.js +2 -1
- package/fesm2015/sd-angular-core-utility.js.__ivy_ngcc_bak +364 -0
- package/fesm2015/sd-angular-core-utility.js.map +1 -1
- package/fesm2015/sd-angular-core-utility.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-view.js +2 -1
- package/fesm2015/sd-angular-core-view.js.__ivy_ngcc_bak +23 -0
- package/fesm2015/sd-angular-core-view.js.map +1 -1
- package/fesm2015/sd-angular-core-view.js.map.__ivy_ngcc_bak +1 -0
- package/filter/package.json +12 -1
- package/filter/sd-angular-core-filter.d.ts +2 -0
- package/filter/sd-angular-core-filter.d.ts.__ivy_ngcc_bak +7 -0
- package/filter/sd-angular-core-filter.d.ts.map +1 -0
- package/form/package.json +12 -1
- package/form/sd-angular-core-form.d.ts +2 -0
- package/form/sd-angular-core-form.d.ts.__ivy_ngcc_bak +4 -0
- package/form/sd-angular-core-form.d.ts.map +1 -0
- package/grid/package.json +12 -1
- package/grid/sd-angular-core-grid.d.ts +2 -0
- package/grid/sd-angular-core-grid.d.ts.__ivy_ngcc_bak +4 -0
- package/grid/sd-angular-core-grid.d.ts.map +1 -0
- package/grid-material/package.json +12 -1
- package/grid-material/sd-angular-core-grid-material.d.ts +2 -0
- package/grid-material/sd-angular-core-grid-material.d.ts.__ivy_ngcc_bak +46 -0
- package/grid-material/sd-angular-core-grid-material.d.ts.map +1 -0
- package/group/package.json +12 -1
- package/group/sd-angular-core-group.d.ts +2 -0
- package/group/sd-angular-core-group.d.ts.__ivy_ngcc_bak +5 -0
- package/group/sd-angular-core-group.d.ts.map +1 -0
- package/header-title/package.json +12 -1
- package/header-title/sd-angular-core-header-title.d.ts +2 -0
- package/header-title/sd-angular-core-header-title.d.ts.__ivy_ngcc_bak +5 -0
- package/header-title/sd-angular-core-header-title.d.ts.map +1 -0
- package/image-preview/package.json +12 -1
- package/image-preview/sd-angular-core-image-preview.d.ts +2 -0
- package/image-preview/sd-angular-core-image-preview.d.ts.__ivy_ngcc_bak +6 -0
- package/image-preview/sd-angular-core-image-preview.d.ts.map +1 -0
- package/input/package.json +12 -1
- package/input/sd-angular-core-input.d.ts +2 -0
- package/input/sd-angular-core-input.d.ts.__ivy_ngcc_bak +5 -0
- package/input/sd-angular-core-input.d.ts.map +1 -0
- package/input-currency/package.json +12 -1
- package/input-currency/sd-angular-core-input-currency.d.ts +2 -0
- package/input-currency/sd-angular-core-input-currency.d.ts.__ivy_ngcc_bak +4 -0
- package/input-currency/sd-angular-core-input-currency.d.ts.map +1 -0
- package/input-dropdown/package.json +12 -1
- package/input-dropdown/sd-angular-core-input-dropdown.d.ts +2 -0
- package/input-dropdown/sd-angular-core-input-dropdown.d.ts.__ivy_ngcc_bak +4 -0
- package/input-dropdown/sd-angular-core-input-dropdown.d.ts.map +1 -0
- package/input-number/package.json +12 -1
- package/input-number/sd-angular-core-input-number.d.ts +2 -0
- package/input-number/sd-angular-core-input-number.d.ts.__ivy_ngcc_bak +4 -0
- package/input-number/sd-angular-core-input-number.d.ts.map +1 -0
- package/input-upload-file/package.json +12 -1
- package/input-upload-file/sd-angular-core-input-upload-file.d.ts +2 -0
- package/input-upload-file/sd-angular-core-input-upload-file.d.ts.__ivy_ngcc_bak +4 -0
- package/input-upload-file/sd-angular-core-input-upload-file.d.ts.map +1 -0
- package/json-editor/package.json +12 -1
- package/json-editor/sd-angular-core-json-editor.d.ts +2 -0
- package/json-editor/sd-angular-core-json-editor.d.ts.__ivy_ngcc_bak +4 -0
- package/json-editor/sd-angular-core-json-editor.d.ts.map +1 -0
- package/konva/package.json +12 -1
- package/konva/sd-angular-core-konva.d.ts +2 -0
- package/konva/sd-angular-core-konva.d.ts.__ivy_ngcc_bak +4 -0
- package/konva/sd-angular-core-konva.d.ts.map +1 -0
- package/label/package.json +12 -1
- package/label/sd-angular-core-label.d.ts +2 -0
- package/label/sd-angular-core-label.d.ts.__ivy_ngcc_bak +5 -0
- package/label/sd-angular-core-label.d.ts.map +1 -0
- package/loading/package.json +12 -1
- package/loading/sd-angular-core-loading.d.ts +2 -0
- package/loading/sd-angular-core-loading.d.ts.__ivy_ngcc_bak +4 -0
- package/loading/sd-angular-core-loading.d.ts.map +1 -0
- package/modal/package.json +12 -1
- package/modal/sd-angular-core-modal.d.ts +2 -0
- package/modal/sd-angular-core-modal.d.ts.__ivy_ngcc_bak +4 -0
- package/modal/sd-angular-core-modal.d.ts.map +1 -0
- package/modal-resizable/package.json +12 -1
- package/modal-resizable/sd-angular-core-modal-resizable.d.ts +2 -0
- package/modal-resizable/sd-angular-core-modal-resizable.d.ts.__ivy_ngcc_bak +4 -0
- package/modal-resizable/sd-angular-core-modal-resizable.d.ts.map +1 -0
- package/notify/package.json +12 -1
- package/notify/sd-angular-core-notify.d.ts +2 -0
- package/notify/sd-angular-core-notify.d.ts.__ivy_ngcc_bak +4 -0
- package/notify/sd-angular-core-notify.d.ts.map +1 -0
- package/package.json +1 -1
- package/popover/package.json +12 -1
- package/popover/sd-angular-core-popover.d.ts +2 -0
- package/popover/sd-angular-core-popover.d.ts.__ivy_ngcc_bak +4 -0
- package/popover/sd-angular-core-popover.d.ts.map +1 -0
- package/quick-action/package.json +12 -1
- package/quick-action/sd-angular-core-quick-action.d.ts +2 -0
- package/quick-action/sd-angular-core-quick-action.d.ts.__ivy_ngcc_bak +4 -0
- package/quick-action/sd-angular-core-quick-action.d.ts.map +1 -0
- package/radio/package.json +12 -1
- package/radio/sd-angular-core-radio.d.ts +2 -0
- package/radio/sd-angular-core-radio.d.ts.__ivy_ngcc_bak +4 -0
- package/radio/sd-angular-core-radio.d.ts.map +1 -0
- package/sd-angular-core-1.2.97.tgz +0 -0
- package/select/package.json +12 -1
- package/select/sd-angular-core-select.d.ts +2 -0
- package/select/sd-angular-core-select.d.ts.__ivy_ngcc_bak +4 -0
- package/select/sd-angular-core-select.d.ts.map +1 -0
- package/select-badge/package.json +12 -1
- package/select-badge/sd-angular-core-select-badge.d.ts +2 -0
- package/select-badge/sd-angular-core-select-badge.d.ts.__ivy_ngcc_bak +4 -0
- package/select-badge/sd-angular-core-select-badge.d.ts.map +1 -0
- package/select-editor/package.json +12 -1
- package/select-editor/sd-angular-core-select-editor.d.ts +2 -0
- package/select-editor/sd-angular-core-select-editor.d.ts.__ivy_ngcc_bak +4 -0
- package/select-editor/sd-angular-core-select-editor.d.ts.map +1 -0
- package/service/package.json +12 -1
- package/service/sd-angular-core-service.d.ts +2 -0
- package/service/sd-angular-core-service.d.ts.__ivy_ngcc_bak +4 -0
- package/service/sd-angular-core-service.d.ts.map +1 -0
- package/setting/package.json +12 -1
- package/setting/sd-angular-core-setting.d.ts +2 -0
- package/setting/sd-angular-core-setting.d.ts.__ivy_ngcc_bak +4 -0
- package/setting/sd-angular-core-setting.d.ts.map +1 -0
- package/side-drawer/package.json +12 -1
- package/side-drawer/sd-angular-core-side-drawer.d.ts +2 -0
- package/side-drawer/sd-angular-core-side-drawer.d.ts.__ivy_ngcc_bak +4 -0
- package/side-drawer/sd-angular-core-side-drawer.d.ts.map +1 -0
- package/switch/package.json +12 -1
- package/switch/sd-angular-core-switch.d.ts +2 -0
- package/switch/sd-angular-core-switch.d.ts.__ivy_ngcc_bak +4 -0
- package/switch/sd-angular-core-switch.d.ts.map +1 -0
- package/tab-router/package.json +12 -1
- package/tab-router/sd-angular-core-tab-router.d.ts +2 -0
- package/tab-router/sd-angular-core-tab-router.d.ts.__ivy_ngcc_bak +6 -0
- package/tab-router/sd-angular-core-tab-router.d.ts.map +1 -0
- package/textarea/package.json +12 -1
- package/textarea/sd-angular-core-textarea.d.ts +2 -0
- package/textarea/sd-angular-core-textarea.d.ts.__ivy_ngcc_bak +4 -0
- package/textarea/sd-angular-core-textarea.d.ts.map +1 -0
- package/time/package.json +12 -1
- package/time/sd-angular-core-time.d.ts +2 -0
- package/time/sd-angular-core-time.d.ts.__ivy_ngcc_bak +5 -0
- package/time/sd-angular-core-time.d.ts.map +1 -0
- package/timeline/package.json +12 -1
- package/timeline/sd-angular-core-timeline.d.ts +2 -0
- package/timeline/sd-angular-core-timeline.d.ts.__ivy_ngcc_bak +5 -0
- package/timeline/sd-angular-core-timeline.d.ts.map +1 -0
- package/translate/package.json +12 -1
- package/translate/sd-angular-core-translate.d.ts +2 -0
- package/translate/sd-angular-core-translate.d.ts.__ivy_ngcc_bak +4 -0
- package/translate/sd-angular-core-translate.d.ts.map +1 -0
- package/upload-excel/package.json +12 -1
- package/upload-excel/sd-angular-core-upload-excel.d.ts +2 -0
- package/upload-excel/sd-angular-core-upload-excel.d.ts.__ivy_ngcc_bak +6 -0
- package/upload-excel/sd-angular-core-upload-excel.d.ts.map +1 -0
- package/upload-file/package.json +12 -1
- package/upload-file/sd-angular-core-upload-file.d.ts +2 -0
- package/upload-file/sd-angular-core-upload-file.d.ts.__ivy_ngcc_bak +4 -0
- package/upload-file/sd-angular-core-upload-file.d.ts.map +1 -0
- package/utility/package.json +12 -1
- package/utility/sd-angular-core-utility.d.ts +2 -0
- package/utility/sd-angular-core-utility.d.ts.__ivy_ngcc_bak +4 -0
- package/utility/sd-angular-core-utility.d.ts.map +1 -0
- package/view/package.json +12 -1
- package/view/sd-angular-core-view.d.ts +2 -0
- package/view/sd-angular-core-view.d.ts.__ivy_ngcc_bak +4 -0
- package/view/sd-angular-core-view.d.ts.map +1 -0
- package/sd-angular-core-1.2.94.tgz +0 -0
|
@@ -0,0 +1,712 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@sd-angular/core/api'), require('uuid'), require('object-hash'), require('export-to-csv'), require('xlsx'), require('@sd-angular/core/notify'), require('@sd-angular/core/utility')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@sd-angular/core/export', ['exports', '@angular/core', '@sd-angular/core/api', 'uuid', 'object-hash', 'export-to-csv', 'xlsx', '@sd-angular/core/notify', '@sd-angular/core/utility'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['sd-angular'] = global['sd-angular'] || {}, global['sd-angular'].core = global['sd-angular'].core || {}, global['sd-angular'].core.export = {}), global.ng.core, global['sd-angular'].core.api, global.uuid, global['object-hash'], global.exportToCsv, global.XLSX, global['sd-angular'].core.notify, global['sd-angular'].core.utility));
|
|
5
|
+
}(this, (function (exports, i0, i1, uuid, hash, exportToCsv, XLSX, i3, i2) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
var hash__default = /*#__PURE__*/_interopDefaultLegacy(hash);
|
|
10
|
+
|
|
11
|
+
var API = {
|
|
12
|
+
generateTemplate: '/excel/generateTemplate',
|
|
13
|
+
uploadTemplate: '/excel/uploadTemplate',
|
|
14
|
+
generateUploadTemplate: '/excel/generateUploadTemplate',
|
|
15
|
+
export: '/excel/export',
|
|
16
|
+
downloadByTemplate: '/excel/downloadByTemplate',
|
|
17
|
+
filesInFolder: '/excel/filesInFolder',
|
|
18
|
+
removeFile: '/excel/remove',
|
|
19
|
+
sdExport: '/excel/sd-export',
|
|
20
|
+
sdExportByTemplate: '/excel/sd-export-by-template',
|
|
21
|
+
sdMergePDF: '/excel/sd-merge-pdf',
|
|
22
|
+
sdGenerateTemplate: '/excel/sd-generate-template',
|
|
23
|
+
};
|
|
24
|
+
var EXPORT_CONFIG = new i0.InjectionToken('export.configuration');
|
|
25
|
+
|
|
26
|
+
/*! *****************************************************************************
|
|
27
|
+
Copyright (c) Microsoft Corporation.
|
|
28
|
+
|
|
29
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
30
|
+
purpose with or without fee is hereby granted.
|
|
31
|
+
|
|
32
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
33
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
34
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
35
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
36
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
37
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
38
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
39
|
+
***************************************************************************** */
|
|
40
|
+
/* global Reflect, Promise */
|
|
41
|
+
var extendStatics = function (d, b) {
|
|
42
|
+
extendStatics = Object.setPrototypeOf ||
|
|
43
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
44
|
+
function (d, b) { for (var p in b)
|
|
45
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
46
|
+
d[p] = b[p]; };
|
|
47
|
+
return extendStatics(d, b);
|
|
48
|
+
};
|
|
49
|
+
function __extends(d, b) {
|
|
50
|
+
if (typeof b !== "function" && b !== null)
|
|
51
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
52
|
+
extendStatics(d, b);
|
|
53
|
+
function __() { this.constructor = d; }
|
|
54
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
55
|
+
}
|
|
56
|
+
var __assign = function () {
|
|
57
|
+
__assign = Object.assign || function __assign(t) {
|
|
58
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
59
|
+
s = arguments[i];
|
|
60
|
+
for (var p in s)
|
|
61
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
62
|
+
t[p] = s[p];
|
|
63
|
+
}
|
|
64
|
+
return t;
|
|
65
|
+
};
|
|
66
|
+
return __assign.apply(this, arguments);
|
|
67
|
+
};
|
|
68
|
+
function __rest(s, e) {
|
|
69
|
+
var t = {};
|
|
70
|
+
for (var p in s)
|
|
71
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
72
|
+
t[p] = s[p];
|
|
73
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
74
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
75
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
76
|
+
t[p[i]] = s[p[i]];
|
|
77
|
+
}
|
|
78
|
+
return t;
|
|
79
|
+
}
|
|
80
|
+
function __decorate(decorators, target, key, desc) {
|
|
81
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
82
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
83
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
84
|
+
else
|
|
85
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
86
|
+
if (d = decorators[i])
|
|
87
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
88
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
89
|
+
}
|
|
90
|
+
function __param(paramIndex, decorator) {
|
|
91
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
92
|
+
}
|
|
93
|
+
function __metadata(metadataKey, metadataValue) {
|
|
94
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
95
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
96
|
+
}
|
|
97
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
98
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
99
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
100
|
+
function fulfilled(value) { try {
|
|
101
|
+
step(generator.next(value));
|
|
102
|
+
}
|
|
103
|
+
catch (e) {
|
|
104
|
+
reject(e);
|
|
105
|
+
} }
|
|
106
|
+
function rejected(value) { try {
|
|
107
|
+
step(generator["throw"](value));
|
|
108
|
+
}
|
|
109
|
+
catch (e) {
|
|
110
|
+
reject(e);
|
|
111
|
+
} }
|
|
112
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
113
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
function __generator(thisArg, body) {
|
|
117
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
118
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
119
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
120
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
121
|
+
function step(op) {
|
|
122
|
+
if (f)
|
|
123
|
+
throw new TypeError("Generator is already executing.");
|
|
124
|
+
while (_)
|
|
125
|
+
try {
|
|
126
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
127
|
+
return t;
|
|
128
|
+
if (y = 0, t)
|
|
129
|
+
op = [op[0] & 2, t.value];
|
|
130
|
+
switch (op[0]) {
|
|
131
|
+
case 0:
|
|
132
|
+
case 1:
|
|
133
|
+
t = op;
|
|
134
|
+
break;
|
|
135
|
+
case 4:
|
|
136
|
+
_.label++;
|
|
137
|
+
return { value: op[1], done: false };
|
|
138
|
+
case 5:
|
|
139
|
+
_.label++;
|
|
140
|
+
y = op[1];
|
|
141
|
+
op = [0];
|
|
142
|
+
continue;
|
|
143
|
+
case 7:
|
|
144
|
+
op = _.ops.pop();
|
|
145
|
+
_.trys.pop();
|
|
146
|
+
continue;
|
|
147
|
+
default:
|
|
148
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
149
|
+
_ = 0;
|
|
150
|
+
continue;
|
|
151
|
+
}
|
|
152
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
153
|
+
_.label = op[1];
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
157
|
+
_.label = t[1];
|
|
158
|
+
t = op;
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
if (t && _.label < t[2]) {
|
|
162
|
+
_.label = t[2];
|
|
163
|
+
_.ops.push(op);
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
if (t[2])
|
|
167
|
+
_.ops.pop();
|
|
168
|
+
_.trys.pop();
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
op = body.call(thisArg, _);
|
|
172
|
+
}
|
|
173
|
+
catch (e) {
|
|
174
|
+
op = [6, e];
|
|
175
|
+
y = 0;
|
|
176
|
+
}
|
|
177
|
+
finally {
|
|
178
|
+
f = t = 0;
|
|
179
|
+
}
|
|
180
|
+
if (op[0] & 5)
|
|
181
|
+
throw op[1];
|
|
182
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
186
|
+
if (k2 === undefined)
|
|
187
|
+
k2 = k;
|
|
188
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
189
|
+
}) : (function (o, m, k, k2) {
|
|
190
|
+
if (k2 === undefined)
|
|
191
|
+
k2 = k;
|
|
192
|
+
o[k2] = m[k];
|
|
193
|
+
});
|
|
194
|
+
function __exportStar(m, o) {
|
|
195
|
+
for (var p in m)
|
|
196
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
197
|
+
__createBinding(o, m, p);
|
|
198
|
+
}
|
|
199
|
+
function __values(o) {
|
|
200
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
201
|
+
if (m)
|
|
202
|
+
return m.call(o);
|
|
203
|
+
if (o && typeof o.length === "number")
|
|
204
|
+
return {
|
|
205
|
+
next: function () {
|
|
206
|
+
if (o && i >= o.length)
|
|
207
|
+
o = void 0;
|
|
208
|
+
return { value: o && o[i++], done: !o };
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
212
|
+
}
|
|
213
|
+
function __read(o, n) {
|
|
214
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
215
|
+
if (!m)
|
|
216
|
+
return o;
|
|
217
|
+
var i = m.call(o), r, ar = [], e;
|
|
218
|
+
try {
|
|
219
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
220
|
+
ar.push(r.value);
|
|
221
|
+
}
|
|
222
|
+
catch (error) {
|
|
223
|
+
e = { error: error };
|
|
224
|
+
}
|
|
225
|
+
finally {
|
|
226
|
+
try {
|
|
227
|
+
if (r && !r.done && (m = i["return"]))
|
|
228
|
+
m.call(i);
|
|
229
|
+
}
|
|
230
|
+
finally {
|
|
231
|
+
if (e)
|
|
232
|
+
throw e.error;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
return ar;
|
|
236
|
+
}
|
|
237
|
+
/** @deprecated */
|
|
238
|
+
function __spread() {
|
|
239
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
240
|
+
ar = ar.concat(__read(arguments[i]));
|
|
241
|
+
return ar;
|
|
242
|
+
}
|
|
243
|
+
/** @deprecated */
|
|
244
|
+
function __spreadArrays() {
|
|
245
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
246
|
+
s += arguments[i].length;
|
|
247
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
248
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
249
|
+
r[k] = a[j];
|
|
250
|
+
return r;
|
|
251
|
+
}
|
|
252
|
+
function __spreadArray(to, from, pack) {
|
|
253
|
+
if (pack || arguments.length === 2)
|
|
254
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
255
|
+
if (ar || !(i in from)) {
|
|
256
|
+
if (!ar)
|
|
257
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
258
|
+
ar[i] = from[i];
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
262
|
+
}
|
|
263
|
+
function __await(v) {
|
|
264
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
265
|
+
}
|
|
266
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
267
|
+
if (!Symbol.asyncIterator)
|
|
268
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
269
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
270
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
271
|
+
function verb(n) { if (g[n])
|
|
272
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
273
|
+
function resume(n, v) { try {
|
|
274
|
+
step(g[n](v));
|
|
275
|
+
}
|
|
276
|
+
catch (e) {
|
|
277
|
+
settle(q[0][3], e);
|
|
278
|
+
} }
|
|
279
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
280
|
+
function fulfill(value) { resume("next", value); }
|
|
281
|
+
function reject(value) { resume("throw", value); }
|
|
282
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
283
|
+
resume(q[0][0], q[0][1]); }
|
|
284
|
+
}
|
|
285
|
+
function __asyncDelegator(o) {
|
|
286
|
+
var i, p;
|
|
287
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
288
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
289
|
+
}
|
|
290
|
+
function __asyncValues(o) {
|
|
291
|
+
if (!Symbol.asyncIterator)
|
|
292
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
293
|
+
var m = o[Symbol.asyncIterator], i;
|
|
294
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
295
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
296
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
297
|
+
}
|
|
298
|
+
function __makeTemplateObject(cooked, raw) {
|
|
299
|
+
if (Object.defineProperty) {
|
|
300
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
301
|
+
}
|
|
302
|
+
else {
|
|
303
|
+
cooked.raw = raw;
|
|
304
|
+
}
|
|
305
|
+
return cooked;
|
|
306
|
+
}
|
|
307
|
+
;
|
|
308
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
309
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
310
|
+
}) : function (o, v) {
|
|
311
|
+
o["default"] = v;
|
|
312
|
+
};
|
|
313
|
+
function __importStar(mod) {
|
|
314
|
+
if (mod && mod.__esModule)
|
|
315
|
+
return mod;
|
|
316
|
+
var result = {};
|
|
317
|
+
if (mod != null)
|
|
318
|
+
for (var k in mod)
|
|
319
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
320
|
+
__createBinding(result, mod, k);
|
|
321
|
+
__setModuleDefault(result, mod);
|
|
322
|
+
return result;
|
|
323
|
+
}
|
|
324
|
+
function __importDefault(mod) {
|
|
325
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
326
|
+
}
|
|
327
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
328
|
+
if (kind === "a" && !f)
|
|
329
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
330
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
331
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
332
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
333
|
+
}
|
|
334
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
335
|
+
if (kind === "m")
|
|
336
|
+
throw new TypeError("Private method is not writable");
|
|
337
|
+
if (kind === "a" && !f)
|
|
338
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
339
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
340
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
341
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
var _directory, _blobToSaveAs;
|
|
345
|
+
var SdExportService = /** @class */ (function () {
|
|
346
|
+
function SdExportService(apiService, utilityService, notifyService, configuration) {
|
|
347
|
+
var _this = this;
|
|
348
|
+
this.apiService = apiService;
|
|
349
|
+
this.utilityService = utilityService;
|
|
350
|
+
this.notifyService = notifyService;
|
|
351
|
+
this.configuration = configuration;
|
|
352
|
+
_directory.set(this, function (key, group) {
|
|
353
|
+
var hashedFolder = hash__default['default']({
|
|
354
|
+
folder: _this.folder,
|
|
355
|
+
userFolder: _this.userFolder
|
|
356
|
+
});
|
|
357
|
+
if (!group) {
|
|
358
|
+
return "dir1=" + _this.folder + "&dir2=U-" + hashedFolder + "&dir3=" + (key || '');
|
|
359
|
+
}
|
|
360
|
+
hashedFolder = hash__default['default']({
|
|
361
|
+
folder: _this.folder,
|
|
362
|
+
group: group
|
|
363
|
+
});
|
|
364
|
+
return "dir1=" + _this.folder + "&dir2=G-" + hashedFolder + "&dir3=" + (key || '');
|
|
365
|
+
});
|
|
366
|
+
this.generateTemplate = function (template) { return __awaiter(_this, void 0, void 0, function () {
|
|
367
|
+
var firebaseUrl, sdGenerateTemplate, url, buffer, blob;
|
|
368
|
+
return __generator(this, function (_b) {
|
|
369
|
+
switch (_b.label) {
|
|
370
|
+
case 0:
|
|
371
|
+
firebaseUrl = this.configuration.firebaseUrl;
|
|
372
|
+
sdGenerateTemplate = API.sdGenerateTemplate;
|
|
373
|
+
url = "" + firebaseUrl + sdGenerateTemplate;
|
|
374
|
+
return [4 /*yield*/, this.apiService.post(url, template, null, {
|
|
375
|
+
responseType: 'arraybuffer'
|
|
376
|
+
})];
|
|
377
|
+
case 1:
|
|
378
|
+
buffer = _b.sent();
|
|
379
|
+
blob = new Blob([buffer], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,' });
|
|
380
|
+
__classPrivateFieldGet(this, _blobToSaveAs).call(this, blob, template.fileName || 'Template');
|
|
381
|
+
return [2 /*return*/];
|
|
382
|
+
}
|
|
383
|
+
});
|
|
384
|
+
}); };
|
|
385
|
+
this.uploadTemplate = function (args) { return __awaiter(_this, void 0, void 0, function () {
|
|
386
|
+
var key, group, validator, firebaseUrl, uploadTemplate, url, file, _b, filePath, fileName;
|
|
387
|
+
var _this = this;
|
|
388
|
+
return __generator(this, function (_c) {
|
|
389
|
+
switch (_c.label) {
|
|
390
|
+
case 0:
|
|
391
|
+
key = args.key, group = args.group, validator = args.validator;
|
|
392
|
+
firebaseUrl = this.configuration.firebaseUrl;
|
|
393
|
+
uploadTemplate = API.uploadTemplate;
|
|
394
|
+
url = "" + firebaseUrl + uploadTemplate + "?" + __classPrivateFieldGet(this, _directory).call(this, key, group);
|
|
395
|
+
return [4 /*yield*/, this.utilityService.upload({
|
|
396
|
+
extensions: ['xlsx'],
|
|
397
|
+
maxSizeInMb: 0.1,
|
|
398
|
+
validator: validator
|
|
399
|
+
})];
|
|
400
|
+
case 1:
|
|
401
|
+
file = _c.sent();
|
|
402
|
+
if (!file) return [3 /*break*/, 3];
|
|
403
|
+
return [4 /*yield*/, this.apiService.upload(url, file).catch(function (err) {
|
|
404
|
+
_this.notifyService.notify.warning(err === null || err === void 0 ? void 0 : err.message);
|
|
405
|
+
throw err;
|
|
406
|
+
})];
|
|
407
|
+
case 2:
|
|
408
|
+
_b = _c.sent(), filePath = _b.filePath, fileName = _b.fileName;
|
|
409
|
+
return [2 /*return*/, {
|
|
410
|
+
filePath: filePath,
|
|
411
|
+
fileName: fileName,
|
|
412
|
+
}];
|
|
413
|
+
case 3: return [2 /*return*/, null];
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
}); };
|
|
417
|
+
this.generateUploadTemplate = function (args) { return __awaiter(_this, void 0, void 0, function () {
|
|
418
|
+
var key, template, group, firebaseUrl, generateUploadTemplate, url, _b, filePath, fileName;
|
|
419
|
+
return __generator(this, function (_c) {
|
|
420
|
+
switch (_c.label) {
|
|
421
|
+
case 0:
|
|
422
|
+
key = args.key, template = args.template, group = args.group;
|
|
423
|
+
firebaseUrl = this.configuration.firebaseUrl;
|
|
424
|
+
generateUploadTemplate = API.generateUploadTemplate;
|
|
425
|
+
url = "" + firebaseUrl + generateUploadTemplate + "?" + __classPrivateFieldGet(this, _directory).call(this, key, group);
|
|
426
|
+
return [4 /*yield*/, this.apiService.post(url, template)];
|
|
427
|
+
case 1:
|
|
428
|
+
_b = _c.sent(), filePath = _b.filePath, fileName = _b.fileName;
|
|
429
|
+
return [2 /*return*/, { filePath: filePath, fileName: fileName }];
|
|
430
|
+
}
|
|
431
|
+
});
|
|
432
|
+
}); };
|
|
433
|
+
this.removeFile = function (args) { return __awaiter(_this, void 0, void 0, function () {
|
|
434
|
+
var key, group, fileName, firebaseUrl, removeFile, url;
|
|
435
|
+
return __generator(this, function (_b) {
|
|
436
|
+
switch (_b.label) {
|
|
437
|
+
case 0:
|
|
438
|
+
key = args.key, group = args.group, fileName = args.fileName;
|
|
439
|
+
firebaseUrl = this.configuration.firebaseUrl;
|
|
440
|
+
removeFile = API.removeFile;
|
|
441
|
+
url = "" + firebaseUrl + removeFile + "?" + __classPrivateFieldGet(this, _directory).call(this, key, group) + "&name=" + fileName;
|
|
442
|
+
return [4 /*yield*/, this.apiService.post(url)];
|
|
443
|
+
case 1:
|
|
444
|
+
_b.sent();
|
|
445
|
+
return [2 /*return*/];
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
}); };
|
|
449
|
+
this.filesInFolder = function (args) { return __awaiter(_this, void 0, void 0, function () {
|
|
450
|
+
var _a, key, group, firebaseUrl, filesInFolder, url, res;
|
|
451
|
+
return __generator(this, function (_b) {
|
|
452
|
+
switch (_b.label) {
|
|
453
|
+
case 0:
|
|
454
|
+
key = args.key, group = args.group;
|
|
455
|
+
firebaseUrl = this.configuration.firebaseUrl;
|
|
456
|
+
filesInFolder = API.filesInFolder;
|
|
457
|
+
url = "" + firebaseUrl + filesInFolder + "?" + __classPrivateFieldGet(this, _directory).call(this, key, group);
|
|
458
|
+
return [4 /*yield*/, this.apiService.get(url)];
|
|
459
|
+
case 1:
|
|
460
|
+
res = _b.sent();
|
|
461
|
+
return [2 /*return*/, ((_a = res.files) === null || _a === void 0 ? void 0 : _a.map(function (e) { return ({
|
|
462
|
+
filePath: e.publicUrl,
|
|
463
|
+
fileName: e.name
|
|
464
|
+
}); })) || []];
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
}); };
|
|
468
|
+
this.download = function (filePath, fileName) {
|
|
469
|
+
var link = document.createElement('a');
|
|
470
|
+
link.download = (fileName || uuid.v4()) + ".xlsx";
|
|
471
|
+
link.href = filePath;
|
|
472
|
+
document.body.appendChild(link);
|
|
473
|
+
link.click();
|
|
474
|
+
document.body.removeChild(link);
|
|
475
|
+
};
|
|
476
|
+
this.exportByTemplate = function (args) { return __awaiter(_this, void 0, void 0, function () {
|
|
477
|
+
var filePath, columns, items, fileName, firebaseUrl, sdExportByTemplate, url, buffer, blob;
|
|
478
|
+
return __generator(this, function (_b) {
|
|
479
|
+
switch (_b.label) {
|
|
480
|
+
case 0:
|
|
481
|
+
filePath = args.filePath, columns = args.columns, items = args.items, fileName = args.fileName;
|
|
482
|
+
firebaseUrl = this.configuration.firebaseUrl;
|
|
483
|
+
sdExportByTemplate = API.sdExportByTemplate;
|
|
484
|
+
url = "" + firebaseUrl + sdExportByTemplate;
|
|
485
|
+
return [4 /*yield*/, this.apiService.post(url, {
|
|
486
|
+
filePath: filePath,
|
|
487
|
+
columns: columns,
|
|
488
|
+
items: items,
|
|
489
|
+
fileName: fileName
|
|
490
|
+
}, null, {
|
|
491
|
+
responseType: 'arraybuffer'
|
|
492
|
+
})];
|
|
493
|
+
case 1:
|
|
494
|
+
buffer = _b.sent();
|
|
495
|
+
blob = new Blob([buffer], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,' });
|
|
496
|
+
__classPrivateFieldGet(this, _blobToSaveAs).call(this, blob, fileName);
|
|
497
|
+
return [2 /*return*/];
|
|
498
|
+
}
|
|
499
|
+
});
|
|
500
|
+
}); };
|
|
501
|
+
this.export = function (option) { return __awaiter(_this, void 0, void 0, function () {
|
|
502
|
+
var firebaseUrl, sdExport, url, buffer, blob;
|
|
503
|
+
return __generator(this, function (_b) {
|
|
504
|
+
switch (_b.label) {
|
|
505
|
+
case 0:
|
|
506
|
+
firebaseUrl = this.configuration.firebaseUrl;
|
|
507
|
+
sdExport = API.sdExport;
|
|
508
|
+
url = "" + firebaseUrl + sdExport;
|
|
509
|
+
return [4 /*yield*/, this.apiService.post(url, option, null, {
|
|
510
|
+
responseType: 'arraybuffer'
|
|
511
|
+
})];
|
|
512
|
+
case 1:
|
|
513
|
+
buffer = _b.sent();
|
|
514
|
+
blob = new Blob([buffer], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,' });
|
|
515
|
+
__classPrivateFieldGet(this, _blobToSaveAs).call(this, blob, option === null || option === void 0 ? void 0 : option.fileName);
|
|
516
|
+
return [2 /*return*/];
|
|
517
|
+
}
|
|
518
|
+
});
|
|
519
|
+
}); };
|
|
520
|
+
// exportCSV = async (option: IExportOption) => {
|
|
521
|
+
// const { columns, items, fileName } = option;
|
|
522
|
+
// const options = {
|
|
523
|
+
// fieldSeparator: ',',
|
|
524
|
+
// quoteStrings: '"',
|
|
525
|
+
// decimalseparator: '.',
|
|
526
|
+
// showLabels: true,
|
|
527
|
+
// showTitle: false,
|
|
528
|
+
// title: fileName || 'CSV',
|
|
529
|
+
// useBom: true,
|
|
530
|
+
// noDownload: false,
|
|
531
|
+
// useHeader: false,
|
|
532
|
+
// nullToEmptyString: true,
|
|
533
|
+
// };
|
|
534
|
+
// const headerCSV = {};
|
|
535
|
+
// for (const column of columns) {
|
|
536
|
+
// headerCSV[column.field] = column.title;
|
|
537
|
+
// }
|
|
538
|
+
// return new AngularCsv([...[headerCSV], ...items], `${fileName || 'CSV'}_${Date.toFormat(new Date(), 'yyyy-MM-dd-HH-mm-ss')}`, options);
|
|
539
|
+
// }
|
|
540
|
+
this.exportCSV = function (option) { return __awaiter(_this, void 0, void 0, function () {
|
|
541
|
+
var columns, items, fileName, headerCSV, columns_1, columns_1_1, column, csvExporter;
|
|
542
|
+
var e_1, _b;
|
|
543
|
+
return __generator(this, function (_c) {
|
|
544
|
+
columns = option.columns, items = option.items, fileName = option.fileName;
|
|
545
|
+
headerCSV = {};
|
|
546
|
+
try {
|
|
547
|
+
for (columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
|
|
548
|
+
column = columns_1_1.value;
|
|
549
|
+
headerCSV[column.field] = column.title;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
553
|
+
finally {
|
|
554
|
+
try {
|
|
555
|
+
if (columns_1_1 && !columns_1_1.done && (_b = columns_1.return)) _b.call(columns_1);
|
|
556
|
+
}
|
|
557
|
+
finally { if (e_1) throw e_1.error; }
|
|
558
|
+
}
|
|
559
|
+
csvExporter = new exportToCsv.ExportToCsv({
|
|
560
|
+
filename: (fileName || 'CSV') + "_" + Date.toFormat(new Date(), 'yyyy-MM-dd-HH-mm-ss'),
|
|
561
|
+
fieldSeparator: ',',
|
|
562
|
+
quoteStrings: '"',
|
|
563
|
+
decimalSeparator: '.',
|
|
564
|
+
showLabels: true,
|
|
565
|
+
showTitle: false,
|
|
566
|
+
title: fileName || 'CSV',
|
|
567
|
+
useBom: true,
|
|
568
|
+
});
|
|
569
|
+
csvExporter.generateCsv(__spread([headerCSV], items));
|
|
570
|
+
return [2 /*return*/];
|
|
571
|
+
});
|
|
572
|
+
}); };
|
|
573
|
+
this.exportExcelRaw = function (option) { return __awaiter(_this, void 0, void 0, function () {
|
|
574
|
+
var columns, items, fileName, header, columns_2, columns_2_1, column, ws, wb, excelBuffer, blob;
|
|
575
|
+
var e_2, _b;
|
|
576
|
+
return __generator(this, function (_c) {
|
|
577
|
+
columns = option.columns, items = option.items, fileName = option.fileName;
|
|
578
|
+
header = {};
|
|
579
|
+
try {
|
|
580
|
+
for (columns_2 = __values(columns), columns_2_1 = columns_2.next(); !columns_2_1.done; columns_2_1 = columns_2.next()) {
|
|
581
|
+
column = columns_2_1.value;
|
|
582
|
+
header[column.field] = column.title;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
586
|
+
finally {
|
|
587
|
+
try {
|
|
588
|
+
if (columns_2_1 && !columns_2_1.done && (_b = columns_2.return)) _b.call(columns_2);
|
|
589
|
+
}
|
|
590
|
+
finally { if (e_2) throw e_2.error; }
|
|
591
|
+
}
|
|
592
|
+
ws = XLSX.utils.json_to_sheet(__spread([header], items));
|
|
593
|
+
wb = { Sheets: { data: ws }, SheetNames: ['data'] };
|
|
594
|
+
excelBuffer = XLSX.write(wb, { bookType: 'xlsx', type: 'array' });
|
|
595
|
+
blob = new Blob([excelBuffer], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8' });
|
|
596
|
+
__classPrivateFieldGet(this, _blobToSaveAs).call(this, blob, fileName);
|
|
597
|
+
return [2 /*return*/];
|
|
598
|
+
});
|
|
599
|
+
}); };
|
|
600
|
+
this.mergePDF = function (urls) { return __awaiter(_this, void 0, void 0, function () {
|
|
601
|
+
var firebaseUrl, sdMergePDF, url, buffer, blob;
|
|
602
|
+
return __generator(this, function (_b) {
|
|
603
|
+
switch (_b.label) {
|
|
604
|
+
case 0:
|
|
605
|
+
firebaseUrl = this.configuration.firebaseUrl;
|
|
606
|
+
sdMergePDF = API.sdMergePDF;
|
|
607
|
+
url = "" + firebaseUrl + sdMergePDF;
|
|
608
|
+
return [4 /*yield*/, this.apiService.post(url, {
|
|
609
|
+
urls: urls
|
|
610
|
+
}, null, {
|
|
611
|
+
responseType: 'arraybuffer'
|
|
612
|
+
})];
|
|
613
|
+
case 1:
|
|
614
|
+
buffer = _b.sent();
|
|
615
|
+
blob = new Blob([buffer], { type: 'application/pdf' });
|
|
616
|
+
__classPrivateFieldGet(this, _blobToSaveAs).call(this, blob, "" + uuid.v4());
|
|
617
|
+
return [2 /*return*/];
|
|
618
|
+
}
|
|
619
|
+
});
|
|
620
|
+
}); };
|
|
621
|
+
this.loadExportedItems = function (items) { return __awaiter(_this, void 0, void 0, function () {
|
|
622
|
+
return __generator(this, function (_b) {
|
|
623
|
+
return [2 /*return*/];
|
|
624
|
+
});
|
|
625
|
+
}); };
|
|
626
|
+
_blobToSaveAs.set(this, function (blob, fileName) {
|
|
627
|
+
if (fileName === void 0) { fileName = 'Export'; }
|
|
628
|
+
try {
|
|
629
|
+
var url = window.URL.createObjectURL(blob);
|
|
630
|
+
var link = document.createElement('a');
|
|
631
|
+
fileName = fileName.replace(/.xlsx/i, '');
|
|
632
|
+
fileName = fileName.replace(/.pdf/i, '');
|
|
633
|
+
if (link.download !== undefined) { // feature detection
|
|
634
|
+
link.setAttribute('href', url);
|
|
635
|
+
link.setAttribute('download', fileName + "_" + new Date().toFormat('yyyy_MM_dd_HH_mm'));
|
|
636
|
+
link.style.visibility = 'hidden';
|
|
637
|
+
document.body.appendChild(link);
|
|
638
|
+
link.click();
|
|
639
|
+
document.body.removeChild(link);
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
catch (e) {
|
|
643
|
+
console.error('BlobToSaveAs error', e);
|
|
644
|
+
}
|
|
645
|
+
});
|
|
646
|
+
}
|
|
647
|
+
Object.defineProperty(SdExportService.prototype, "hasConfiguration", {
|
|
648
|
+
get: function () {
|
|
649
|
+
var _a;
|
|
650
|
+
return !!((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.firebaseUrl);
|
|
651
|
+
},
|
|
652
|
+
enumerable: false,
|
|
653
|
+
configurable: true
|
|
654
|
+
});
|
|
655
|
+
Object.defineProperty(SdExportService.prototype, "folder", {
|
|
656
|
+
get: function () {
|
|
657
|
+
var folder = this.configuration.folder;
|
|
658
|
+
if (typeof (folder) === 'string') {
|
|
659
|
+
return folder;
|
|
660
|
+
}
|
|
661
|
+
return folder();
|
|
662
|
+
},
|
|
663
|
+
enumerable: false,
|
|
664
|
+
configurable: true
|
|
665
|
+
});
|
|
666
|
+
Object.defineProperty(SdExportService.prototype, "userFolder", {
|
|
667
|
+
get: function () {
|
|
668
|
+
var user = this.configuration.user;
|
|
669
|
+
if (!(user === null || user === void 0 ? void 0 : user.folder)) {
|
|
670
|
+
return;
|
|
671
|
+
}
|
|
672
|
+
var folder = user.folder;
|
|
673
|
+
if (typeof (folder) === 'string') {
|
|
674
|
+
return folder;
|
|
675
|
+
}
|
|
676
|
+
return folder();
|
|
677
|
+
},
|
|
678
|
+
enumerable: false,
|
|
679
|
+
configurable: true
|
|
680
|
+
});
|
|
681
|
+
return SdExportService;
|
|
682
|
+
}());
|
|
683
|
+
_directory = new WeakMap(), _blobToSaveAs = new WeakMap();
|
|
684
|
+
SdExportService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SdExportService_Factory() { return new SdExportService(i0.ɵɵinject(i1.SdApiService), i0.ɵɵinject(i2.SdUtilityService), i0.ɵɵinject(i3.SdNotifyService), i0.ɵɵinject(EXPORT_CONFIG, 8)); }, token: SdExportService, providedIn: "root" });
|
|
685
|
+
SdExportService.decorators = [
|
|
686
|
+
{ type: i0.Injectable, args: [{
|
|
687
|
+
providedIn: 'root'
|
|
688
|
+
},] }
|
|
689
|
+
];
|
|
690
|
+
SdExportService.ctorParameters = function () { return [
|
|
691
|
+
{ type: i1.SdApiService },
|
|
692
|
+
{ type: i2.SdUtilityService },
|
|
693
|
+
{ type: i3.SdNotifyService },
|
|
694
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [EXPORT_CONFIG,] }, { type: i0.Optional }] }
|
|
695
|
+
]; };
|
|
696
|
+
|
|
697
|
+
/*
|
|
698
|
+
* Public API Surface of superdev-angular-core
|
|
699
|
+
*/
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Generated bundle index. Do not edit.
|
|
703
|
+
*/
|
|
704
|
+
|
|
705
|
+
exports.API = API;
|
|
706
|
+
exports.EXPORT_CONFIG = EXPORT_CONFIG;
|
|
707
|
+
exports.SdExportService = SdExportService;
|
|
708
|
+
|
|
709
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
710
|
+
|
|
711
|
+
})));
|
|
712
|
+
//# sourceMappingURL=sd-angular-core-export.umd.js.map
|