@sd-angular/core 1.3.0 → 1.3.2
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 +1 -12
- package/api/sd-angular-core-api.d.ts +0 -2
- package/autocomplete/package.json +1 -12
- package/autocomplete/sd-angular-core-autocomplete.d.ts +0 -2
- package/badge/package.json +1 -12
- package/badge/sd-angular-core-badge.d.ts +0 -2
- package/bundles/sd-angular-core-api.umd.js +1 -2
- package/bundles/sd-angular-core-api.umd.js.map +1 -1
- package/bundles/sd-angular-core-autocomplete.umd.js +1 -2
- package/bundles/sd-angular-core-autocomplete.umd.js.map +1 -1
- package/bundles/sd-angular-core-badge.umd.js +1 -2
- package/bundles/sd-angular-core-badge.umd.js.map +1 -1
- package/bundles/sd-angular-core-button.umd.js +1 -2
- package/bundles/sd-angular-core-button.umd.js.map +1 -1
- package/bundles/sd-angular-core-cache.umd.js +1 -2
- package/bundles/sd-angular-core-cache.umd.js.map +1 -1
- package/bundles/sd-angular-core-chart.umd.js +1 -2
- package/bundles/sd-angular-core-chart.umd.js.map +1 -1
- package/bundles/sd-angular-core-checkbox.umd.js +1 -2
- package/bundles/sd-angular-core-checkbox.umd.js.map +1 -1
- package/bundles/sd-angular-core-chip.umd.js +1 -2
- package/bundles/sd-angular-core-chip.umd.js.map +1 -1
- package/bundles/sd-angular-core-comment.umd.js +1 -2
- package/bundles/sd-angular-core-comment.umd.js.map +1 -1
- package/bundles/sd-angular-core-common.umd.js +1 -2
- package/bundles/sd-angular-core-common.umd.js.map +1 -1
- package/bundles/sd-angular-core-confirm.umd.js +1 -2
- package/bundles/sd-angular-core-confirm.umd.js.map +1 -1
- package/bundles/sd-angular-core-date-month.umd.js +1 -2
- package/bundles/sd-angular-core-date-month.umd.js.map +1 -1
- package/bundles/sd-angular-core-date-range.umd.js +1 -2
- package/bundles/sd-angular-core-date-range.umd.js.map +1 -1
- package/bundles/sd-angular-core-date-time.umd.js +1 -2
- package/bundles/sd-angular-core-date-time.umd.js.map +1 -1
- package/bundles/sd-angular-core-db.umd.js +1 -2
- package/bundles/sd-angular-core-db.umd.js.map +1 -1
- package/bundles/sd-angular-core-dynamic-report.umd.js +1 -2
- package/bundles/sd-angular-core-dynamic-report.umd.js.map +1 -1
- package/bundles/sd-angular-core-editor.umd.js +1 -2
- package/bundles/sd-angular-core-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-excel.umd.js +1 -2
- package/bundles/sd-angular-core-excel.umd.js.map +1 -1
- package/bundles/sd-angular-core-export.umd.js +1 -2
- package/bundles/sd-angular-core-export.umd.js.map +1 -1
- package/bundles/sd-angular-core-filter.umd.js +1 -2
- package/bundles/sd-angular-core-filter.umd.js.map +1 -1
- package/bundles/sd-angular-core-form.umd.js +1 -2
- package/bundles/sd-angular-core-form.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.js +29 -15
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-grid.umd.js +1 -2
- package/bundles/sd-angular-core-grid.umd.js.map +1 -1
- package/bundles/sd-angular-core-group.umd.js +1 -2
- package/bundles/sd-angular-core-group.umd.js.map +1 -1
- package/bundles/sd-angular-core-header-title.umd.js +1 -2
- package/bundles/sd-angular-core-header-title.umd.js.map +1 -1
- package/bundles/sd-angular-core-image-preview.umd.js +1 -2
- package/bundles/sd-angular-core-image-preview.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-currency.umd.js +1 -2
- package/bundles/sd-angular-core-input-currency.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-dropdown.umd.js +1 -2
- package/bundles/sd-angular-core-input-dropdown.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-number.umd.js +1 -2
- package/bundles/sd-angular-core-input-number.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-upload-file.umd.js +1 -2
- package/bundles/sd-angular-core-input-upload-file.umd.js.map +1 -1
- package/bundles/sd-angular-core-input.umd.js +1 -2
- package/bundles/sd-angular-core-input.umd.js.map +1 -1
- package/bundles/sd-angular-core-json-editor.umd.js +1 -2
- package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-konva.umd.js +1 -2
- package/bundles/sd-angular-core-konva.umd.js.map +1 -1
- package/bundles/sd-angular-core-label.umd.js +1 -2
- package/bundles/sd-angular-core-label.umd.js.map +1 -1
- package/bundles/sd-angular-core-loading.umd.js +1 -2
- package/bundles/sd-angular-core-loading.umd.js.map +1 -1
- package/bundles/sd-angular-core-modal-resizable.umd.js +1 -2
- package/bundles/sd-angular-core-modal-resizable.umd.js.map +1 -1
- package/bundles/sd-angular-core-modal.umd.js +1 -2
- package/bundles/sd-angular-core-modal.umd.js.map +1 -1
- package/bundles/sd-angular-core-notify.umd.js +1 -2
- package/bundles/sd-angular-core-notify.umd.js.map +1 -1
- package/bundles/sd-angular-core-popover.umd.js +1 -2
- package/bundles/sd-angular-core-popover.umd.js.map +1 -1
- package/bundles/sd-angular-core-quick-action.umd.js +1 -2
- package/bundles/sd-angular-core-quick-action.umd.js.map +1 -1
- package/bundles/sd-angular-core-radio.umd.js +1 -2
- package/bundles/sd-angular-core-radio.umd.js.map +1 -1
- package/bundles/sd-angular-core-select-badge.umd.js +1 -2
- package/bundles/sd-angular-core-select-badge.umd.js.map +1 -1
- package/bundles/sd-angular-core-select-editor.umd.js +1 -2
- package/bundles/sd-angular-core-select-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.js +1 -2
- package/bundles/sd-angular-core-select.umd.js.map +1 -1
- package/bundles/sd-angular-core-service.umd.js +1 -2
- package/bundles/sd-angular-core-service.umd.js.map +1 -1
- package/bundles/sd-angular-core-setting.umd.js +1 -2
- package/bundles/sd-angular-core-setting.umd.js.map +1 -1
- package/bundles/sd-angular-core-side-drawer.umd.js +1 -2
- package/bundles/sd-angular-core-side-drawer.umd.js.map +1 -1
- package/bundles/sd-angular-core-switch.umd.js +1 -2
- package/bundles/sd-angular-core-switch.umd.js.map +1 -1
- package/bundles/sd-angular-core-tab-router.umd.js +1 -2
- package/bundles/sd-angular-core-tab-router.umd.js.map +1 -1
- package/bundles/sd-angular-core-textarea.umd.js +1 -2
- package/bundles/sd-angular-core-textarea.umd.js.map +1 -1
- package/bundles/sd-angular-core-time.umd.js +1 -2
- package/bundles/sd-angular-core-time.umd.js.map +1 -1
- package/bundles/sd-angular-core-timeline.umd.js +1 -2
- package/bundles/sd-angular-core-timeline.umd.js.map +1 -1
- package/bundles/sd-angular-core-translate.umd.js +1 -2
- package/bundles/sd-angular-core-translate.umd.js.map +1 -1
- package/bundles/sd-angular-core-upload-excel.umd.js +1 -2
- package/bundles/sd-angular-core-upload-excel.umd.js.map +1 -1
- package/bundles/sd-angular-core-upload-file.umd.js +1 -2
- package/bundles/sd-angular-core-upload-file.umd.js.map +1 -1
- package/bundles/sd-angular-core-utility.umd.js +1 -2
- package/bundles/sd-angular-core-utility.umd.js.map +1 -1
- package/bundles/sd-angular-core-view.umd.js +1 -2
- package/bundles/sd-angular-core-view.umd.js.map +1 -1
- package/button/package.json +1 -12
- package/button/sd-angular-core-button.d.ts +0 -2
- package/cache/package.json +1 -12
- package/cache/sd-angular-core-cache.d.ts +0 -2
- package/chart/package.json +1 -12
- package/chart/sd-angular-core-chart.d.ts +0 -2
- package/checkbox/package.json +1 -12
- package/checkbox/sd-angular-core-checkbox.d.ts +0 -2
- package/chip/package.json +1 -12
- package/chip/sd-angular-core-chip.d.ts +0 -2
- package/comment/package.json +1 -12
- package/comment/sd-angular-core-comment.d.ts +0 -2
- package/common/package.json +1 -12
- package/common/sd-angular-core-common.d.ts +0 -2
- package/confirm/package.json +1 -12
- package/confirm/sd-angular-core-confirm.d.ts +0 -2
- package/date-month/package.json +1 -12
- package/date-month/sd-angular-core-date-month.d.ts +0 -2
- package/date-range/package.json +1 -12
- package/date-range/sd-angular-core-date-range.d.ts +0 -2
- package/date-time/package.json +1 -12
- package/date-time/sd-angular-core-date-time.d.ts +0 -2
- package/db/package.json +1 -12
- package/db/sd-angular-core-db.d.ts +0 -2
- package/dynamic-report/package.json +1 -12
- package/dynamic-report/sd-angular-core-dynamic-report.d.ts +0 -2
- package/editor/package.json +1 -12
- package/editor/sd-angular-core-editor.d.ts +0 -2
- package/esm2015/api/sd-angular-core-api.js +1 -1
- package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
- package/esm2015/badge/sd-angular-core-badge.js +1 -1
- package/esm2015/button/sd-angular-core-button.js +1 -1
- package/esm2015/cache/sd-angular-core-cache.js +1 -1
- package/esm2015/chart/sd-angular-core-chart.js +1 -1
- package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
- package/esm2015/chip/sd-angular-core-chip.js +1 -1
- package/esm2015/comment/sd-angular-core-comment.js +1 -1
- package/esm2015/common/sd-angular-core-common.js +1 -1
- package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
- package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
- package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
- package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
- package/esm2015/db/sd-angular-core-db.js +1 -1
- package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
- package/esm2015/editor/sd-angular-core-editor.js +1 -1
- package/esm2015/excel/sd-angular-core-excel.js +1 -1
- package/esm2015/export/sd-angular-core-export.js +1 -1
- package/esm2015/filter/sd-angular-core-filter.js +1 -1
- package/esm2015/form/sd-angular-core-form.js +1 -1
- package/esm2015/grid/sd-angular-core-grid.js +1 -1
- package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
- package/esm2015/grid-material/src/lib/grid-material.component.js +29 -15
- package/esm2015/group/sd-angular-core-group.js +1 -1
- package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
- package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
- package/esm2015/input/sd-angular-core-input.js +1 -1
- package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
- package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
- package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
- package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
- package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
- package/esm2015/konva/sd-angular-core-konva.js +1 -1
- package/esm2015/label/sd-angular-core-label.js +1 -1
- package/esm2015/loading/sd-angular-core-loading.js +1 -1
- package/esm2015/modal/sd-angular-core-modal.js +1 -1
- package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
- package/esm2015/notify/sd-angular-core-notify.js +1 -1
- package/esm2015/popover/sd-angular-core-popover.js +1 -1
- package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
- package/esm2015/radio/sd-angular-core-radio.js +1 -1
- package/esm2015/select/sd-angular-core-select.js +1 -1
- package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
- package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
- package/esm2015/service/sd-angular-core-service.js +1 -1
- package/esm2015/setting/sd-angular-core-setting.js +1 -1
- package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
- package/esm2015/switch/sd-angular-core-switch.js +1 -1
- package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
- package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
- package/esm2015/time/sd-angular-core-time.js +1 -1
- package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
- package/esm2015/translate/sd-angular-core-translate.js +1 -1
- package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
- package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
- package/esm2015/utility/sd-angular-core-utility.js +1 -1
- package/esm2015/view/sd-angular-core-view.js +1 -1
- package/excel/package.json +1 -12
- package/excel/sd-angular-core-excel.d.ts +0 -2
- package/export/package.json +1 -12
- package/export/sd-angular-core-export.d.ts +0 -2
- package/fesm2015/sd-angular-core-api.js +1 -2
- package/fesm2015/sd-angular-core-api.js.map +1 -1
- package/fesm2015/sd-angular-core-autocomplete.js +1 -2
- package/fesm2015/sd-angular-core-autocomplete.js.map +1 -1
- package/fesm2015/sd-angular-core-badge.js +1 -2
- package/fesm2015/sd-angular-core-badge.js.map +1 -1
- package/fesm2015/sd-angular-core-button.js +1 -2
- package/fesm2015/sd-angular-core-button.js.map +1 -1
- package/fesm2015/sd-angular-core-cache.js +1 -2
- package/fesm2015/sd-angular-core-cache.js.map +1 -1
- package/fesm2015/sd-angular-core-chart.js +1 -2
- package/fesm2015/sd-angular-core-chart.js.map +1 -1
- package/fesm2015/sd-angular-core-checkbox.js +1 -2
- package/fesm2015/sd-angular-core-checkbox.js.map +1 -1
- package/fesm2015/sd-angular-core-chip.js +1 -2
- package/fesm2015/sd-angular-core-chip.js.map +1 -1
- package/fesm2015/sd-angular-core-comment.js +1 -2
- package/fesm2015/sd-angular-core-comment.js.map +1 -1
- package/fesm2015/sd-angular-core-common.js +1 -2
- package/fesm2015/sd-angular-core-common.js.map +1 -1
- package/fesm2015/sd-angular-core-confirm.js +1 -2
- package/fesm2015/sd-angular-core-confirm.js.map +1 -1
- package/fesm2015/sd-angular-core-date-month.js +1 -2
- package/fesm2015/sd-angular-core-date-month.js.map +1 -1
- package/fesm2015/sd-angular-core-date-range.js +1 -2
- package/fesm2015/sd-angular-core-date-range.js.map +1 -1
- package/fesm2015/sd-angular-core-date-time.js +1 -2
- package/fesm2015/sd-angular-core-date-time.js.map +1 -1
- package/fesm2015/sd-angular-core-db.js +1 -2
- package/fesm2015/sd-angular-core-db.js.map +1 -1
- package/fesm2015/sd-angular-core-dynamic-report.js +1 -2
- package/fesm2015/sd-angular-core-dynamic-report.js.map +1 -1
- package/fesm2015/sd-angular-core-editor.js +1 -2
- package/fesm2015/sd-angular-core-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-excel.js +1 -2
- package/fesm2015/sd-angular-core-excel.js.map +1 -1
- package/fesm2015/sd-angular-core-export.js +1 -2
- package/fesm2015/sd-angular-core-export.js.map +1 -1
- package/fesm2015/sd-angular-core-filter.js +1 -2
- package/fesm2015/sd-angular-core-filter.js.map +1 -1
- package/fesm2015/sd-angular-core-form.js +1 -2
- package/fesm2015/sd-angular-core-form.js.map +1 -1
- package/fesm2015/sd-angular-core-grid-material.js +29 -16
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-grid.js +1 -2
- package/fesm2015/sd-angular-core-grid.js.map +1 -1
- package/fesm2015/sd-angular-core-group.js +1 -2
- package/fesm2015/sd-angular-core-group.js.map +1 -1
- package/fesm2015/sd-angular-core-header-title.js +1 -2
- package/fesm2015/sd-angular-core-header-title.js.map +1 -1
- package/fesm2015/sd-angular-core-image-preview.js +1 -2
- package/fesm2015/sd-angular-core-image-preview.js.map +1 -1
- package/fesm2015/sd-angular-core-input-currency.js +1 -2
- package/fesm2015/sd-angular-core-input-currency.js.map +1 -1
- package/fesm2015/sd-angular-core-input-dropdown.js +1 -2
- package/fesm2015/sd-angular-core-input-dropdown.js.map +1 -1
- package/fesm2015/sd-angular-core-input-number.js +1 -2
- package/fesm2015/sd-angular-core-input-number.js.map +1 -1
- package/fesm2015/sd-angular-core-input-upload-file.js +1 -2
- package/fesm2015/sd-angular-core-input-upload-file.js.map +1 -1
- package/fesm2015/sd-angular-core-input.js +1 -2
- package/fesm2015/sd-angular-core-input.js.map +1 -1
- package/fesm2015/sd-angular-core-json-editor.js +1 -2
- package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-konva.js +1 -2
- package/fesm2015/sd-angular-core-konva.js.map +1 -1
- package/fesm2015/sd-angular-core-label.js +1 -2
- package/fesm2015/sd-angular-core-label.js.map +1 -1
- package/fesm2015/sd-angular-core-loading.js +1 -2
- package/fesm2015/sd-angular-core-loading.js.map +1 -1
- package/fesm2015/sd-angular-core-modal-resizable.js +1 -2
- package/fesm2015/sd-angular-core-modal-resizable.js.map +1 -1
- package/fesm2015/sd-angular-core-modal.js +1 -2
- package/fesm2015/sd-angular-core-modal.js.map +1 -1
- package/fesm2015/sd-angular-core-notify.js +1 -2
- package/fesm2015/sd-angular-core-notify.js.map +1 -1
- package/fesm2015/sd-angular-core-popover.js +1 -2
- package/fesm2015/sd-angular-core-popover.js.map +1 -1
- package/fesm2015/sd-angular-core-quick-action.js +1 -2
- package/fesm2015/sd-angular-core-quick-action.js.map +1 -1
- package/fesm2015/sd-angular-core-radio.js +1 -2
- package/fesm2015/sd-angular-core-radio.js.map +1 -1
- package/fesm2015/sd-angular-core-select-badge.js +1 -2
- package/fesm2015/sd-angular-core-select-badge.js.map +1 -1
- package/fesm2015/sd-angular-core-select-editor.js +1 -2
- package/fesm2015/sd-angular-core-select-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-select.js +1 -2
- package/fesm2015/sd-angular-core-select.js.map +1 -1
- package/fesm2015/sd-angular-core-service.js +1 -2
- package/fesm2015/sd-angular-core-service.js.map +1 -1
- package/fesm2015/sd-angular-core-setting.js +1 -2
- package/fesm2015/sd-angular-core-setting.js.map +1 -1
- package/fesm2015/sd-angular-core-side-drawer.js +1 -2
- package/fesm2015/sd-angular-core-side-drawer.js.map +1 -1
- package/fesm2015/sd-angular-core-switch.js +1 -2
- package/fesm2015/sd-angular-core-switch.js.map +1 -1
- package/fesm2015/sd-angular-core-tab-router.js +1 -2
- package/fesm2015/sd-angular-core-tab-router.js.map +1 -1
- package/fesm2015/sd-angular-core-textarea.js +1 -2
- package/fesm2015/sd-angular-core-textarea.js.map +1 -1
- package/fesm2015/sd-angular-core-time.js +1 -2
- package/fesm2015/sd-angular-core-time.js.map +1 -1
- package/fesm2015/sd-angular-core-timeline.js +1 -2
- package/fesm2015/sd-angular-core-timeline.js.map +1 -1
- package/fesm2015/sd-angular-core-translate.js +1 -2
- package/fesm2015/sd-angular-core-translate.js.map +1 -1
- package/fesm2015/sd-angular-core-upload-excel.js +1 -2
- package/fesm2015/sd-angular-core-upload-excel.js.map +1 -1
- package/fesm2015/sd-angular-core-upload-file.js +1 -2
- package/fesm2015/sd-angular-core-upload-file.js.map +1 -1
- package/fesm2015/sd-angular-core-utility.js +1 -2
- package/fesm2015/sd-angular-core-utility.js.map +1 -1
- package/fesm2015/sd-angular-core-view.js +1 -2
- package/fesm2015/sd-angular-core-view.js.map +1 -1
- package/filter/package.json +1 -12
- package/filter/sd-angular-core-filter.d.ts +0 -2
- package/form/package.json +1 -12
- package/form/sd-angular-core-form.d.ts +0 -2
- package/grid/package.json +1 -12
- package/grid/sd-angular-core-grid.d.ts +0 -2
- package/grid-material/package.json +1 -12
- package/grid-material/sd-angular-core-grid-material.d.ts +0 -2
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/group/package.json +1 -12
- package/group/sd-angular-core-group.d.ts +0 -2
- package/header-title/package.json +1 -12
- package/header-title/sd-angular-core-header-title.d.ts +0 -2
- package/image-preview/package.json +1 -12
- package/image-preview/sd-angular-core-image-preview.d.ts +0 -2
- package/input/package.json +1 -12
- package/input/sd-angular-core-input.d.ts +0 -2
- package/input-currency/package.json +1 -12
- package/input-currency/sd-angular-core-input-currency.d.ts +0 -2
- package/input-dropdown/package.json +1 -12
- package/input-dropdown/sd-angular-core-input-dropdown.d.ts +0 -2
- package/input-number/package.json +1 -12
- package/input-number/sd-angular-core-input-number.d.ts +0 -2
- package/input-upload-file/package.json +1 -12
- package/input-upload-file/sd-angular-core-input-upload-file.d.ts +0 -2
- package/json-editor/package.json +1 -12
- package/json-editor/sd-angular-core-json-editor.d.ts +0 -2
- package/konva/package.json +1 -12
- package/konva/sd-angular-core-konva.d.ts +0 -2
- package/label/package.json +1 -12
- package/label/sd-angular-core-label.d.ts +0 -2
- package/loading/package.json +1 -12
- package/loading/sd-angular-core-loading.d.ts +0 -2
- package/modal/package.json +1 -12
- package/modal/sd-angular-core-modal.d.ts +0 -2
- package/modal-resizable/package.json +1 -12
- package/modal-resizable/sd-angular-core-modal-resizable.d.ts +0 -2
- package/notify/package.json +1 -12
- package/notify/sd-angular-core-notify.d.ts +0 -2
- package/package.json +1 -1
- package/popover/package.json +1 -12
- package/popover/sd-angular-core-popover.d.ts +0 -2
- package/quick-action/package.json +1 -12
- package/quick-action/sd-angular-core-quick-action.d.ts +0 -2
- package/radio/package.json +1 -12
- package/radio/sd-angular-core-radio.d.ts +0 -2
- package/sd-angular-core-1.3.2.tgz +0 -0
- package/select/package.json +1 -12
- package/select/sd-angular-core-select.d.ts +0 -2
- package/select-badge/package.json +1 -12
- package/select-badge/sd-angular-core-select-badge.d.ts +0 -2
- package/select-editor/package.json +1 -12
- package/select-editor/sd-angular-core-select-editor.d.ts +0 -2
- package/service/package.json +1 -12
- package/service/sd-angular-core-service.d.ts +0 -2
- package/setting/package.json +1 -12
- package/setting/sd-angular-core-setting.d.ts +0 -2
- package/side-drawer/package.json +1 -12
- package/side-drawer/sd-angular-core-side-drawer.d.ts +0 -2
- package/switch/package.json +1 -12
- package/switch/sd-angular-core-switch.d.ts +0 -2
- package/tab-router/package.json +1 -12
- package/tab-router/sd-angular-core-tab-router.d.ts +0 -2
- package/textarea/package.json +1 -12
- package/textarea/sd-angular-core-textarea.d.ts +0 -2
- package/time/package.json +1 -12
- package/time/sd-angular-core-time.d.ts +0 -2
- package/timeline/package.json +1 -12
- package/timeline/sd-angular-core-timeline.d.ts +0 -2
- package/translate/package.json +1 -12
- package/translate/sd-angular-core-translate.d.ts +0 -2
- package/upload-excel/package.json +1 -12
- package/upload-excel/sd-angular-core-upload-excel.d.ts +0 -2
- package/upload-file/package.json +1 -12
- package/upload-file/sd-angular-core-upload-file.d.ts +0 -2
- package/utility/package.json +1 -12
- package/utility/sd-angular-core-utility.d.ts +0 -2
- package/view/package.json +1 -12
- package/view/sd-angular-core-view.d.ts +0 -2
- package/api/sd-angular-core-api.d.ts.__ivy_ngcc_bak +0 -4
- package/api/sd-angular-core-api.d.ts.map +0 -1
- package/autocomplete/sd-angular-core-autocomplete.d.ts.__ivy_ngcc_bak +0 -4
- package/autocomplete/sd-angular-core-autocomplete.d.ts.map +0 -1
- package/badge/sd-angular-core-badge.d.ts.__ivy_ngcc_bak +0 -4
- package/badge/sd-angular-core-badge.d.ts.map +0 -1
- package/bundles/sd-angular-core-api.umd.js.__ivy_ngcc_bak +0 -876
- package/bundles/sd-angular-core-api.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-autocomplete.umd.js.__ivy_ngcc_bak +0 -791
- package/bundles/sd-angular-core-autocomplete.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-badge.umd.js.__ivy_ngcc_bak +0 -89
- package/bundles/sd-angular-core-badge.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-button.umd.js.__ivy_ngcc_bak +0 -447
- package/bundles/sd-angular-core-button.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-cache.umd.js.__ivy_ngcc_bak +0 -623
- package/bundles/sd-angular-core-cache.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-chart.umd.js.__ivy_ngcc_bak +0 -1106
- package/bundles/sd-angular-core-chart.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-checkbox.umd.js.__ivy_ngcc_bak +0 -461
- package/bundles/sd-angular-core-checkbox.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-chip.umd.js.__ivy_ngcc_bak +0 -1051
- package/bundles/sd-angular-core-chip.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-comment.umd.js.__ivy_ngcc_bak +0 -456
- package/bundles/sd-angular-core-comment.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-common.umd.js.__ivy_ngcc_bak +0 -962
- package/bundles/sd-angular-core-common.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-confirm.umd.js.__ivy_ngcc_bak +0 -159
- package/bundles/sd-angular-core-confirm.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-date-month.umd.js.__ivy_ngcc_bak +0 -650
- package/bundles/sd-angular-core-date-month.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-date-range.umd.js.__ivy_ngcc_bak +0 -660
- package/bundles/sd-angular-core-date-range.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-date-time.umd.js.__ivy_ngcc_bak +0 -734
- package/bundles/sd-angular-core-date-time.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-db.umd.js.__ivy_ngcc_bak +0 -475
- package/bundles/sd-angular-core-db.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-dynamic-report.umd.js.__ivy_ngcc_bak +0 -96
- package/bundles/sd-angular-core-dynamic-report.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-editor.umd.js.__ivy_ngcc_bak +0 -943
- package/bundles/sd-angular-core-editor.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-excel.umd.js.__ivy_ngcc_bak +0 -500
- package/bundles/sd-angular-core-excel.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-export.umd.js.__ivy_ngcc_bak +0 -712
- package/bundles/sd-angular-core-export.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-filter.umd.js.__ivy_ngcc_bak +0 -703
- package/bundles/sd-angular-core-filter.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-form.umd.js.__ivy_ngcc_bak +0 -88
- package/bundles/sd-angular-core-form.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-grid-material.umd.js.__ivy_ngcc_bak +0 -5029
- package/bundles/sd-angular-core-grid-material.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-grid.umd.js.__ivy_ngcc_bak +0 -5125
- package/bundles/sd-angular-core-grid.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-group.umd.js.__ivy_ngcc_bak +0 -93
- package/bundles/sd-angular-core-group.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-header-title.umd.js.__ivy_ngcc_bak +0 -56
- package/bundles/sd-angular-core-header-title.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-image-preview.umd.js.__ivy_ngcc_bak +0 -121
- package/bundles/sd-angular-core-image-preview.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-input-currency.umd.js.__ivy_ngcc_bak +0 -737
- package/bundles/sd-angular-core-input-currency.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-input-dropdown.umd.js.__ivy_ngcc_bak +0 -634
- package/bundles/sd-angular-core-input-dropdown.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-input-number.umd.js.__ivy_ngcc_bak +0 -792
- package/bundles/sd-angular-core-input-number.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-input-upload-file.umd.js.__ivy_ngcc_bak +0 -648
- package/bundles/sd-angular-core-input-upload-file.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-input.umd.js.__ivy_ngcc_bak +0 -798
- package/bundles/sd-angular-core-input.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-json-editor.umd.js.__ivy_ngcc_bak +0 -523
- package/bundles/sd-angular-core-json-editor.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-konva.umd.js.__ivy_ngcc_bak +0 -605
- package/bundles/sd-angular-core-konva.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-label.umd.js.__ivy_ngcc_bak +0 -60
- package/bundles/sd-angular-core-label.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-loading.umd.js.__ivy_ngcc_bak +0 -413
- package/bundles/sd-angular-core-loading.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-modal-resizable.umd.js.__ivy_ngcc_bak +0 -487
- package/bundles/sd-angular-core-modal-resizable.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-modal.umd.js.__ivy_ngcc_bak +0 -307
- package/bundles/sd-angular-core-modal.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-notify.umd.js.__ivy_ngcc_bak +0 -719
- package/bundles/sd-angular-core-notify.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-popover.umd.js.__ivy_ngcc_bak +0 -752
- package/bundles/sd-angular-core-popover.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-quick-action.umd.js.__ivy_ngcc_bak +0 -66
- package/bundles/sd-angular-core-quick-action.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-radio.umd.js.__ivy_ngcc_bak +0 -535
- package/bundles/sd-angular-core-radio.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-select-badge.umd.js.__ivy_ngcc_bak +0 -486
- package/bundles/sd-angular-core-select-badge.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-select-editor.umd.js.__ivy_ngcc_bak +0 -431
- package/bundles/sd-angular-core-select-editor.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-select.umd.js.__ivy_ngcc_bak +0 -921
- package/bundles/sd-angular-core-select.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-service.umd.js.__ivy_ngcc_bak +0 -42
- package/bundles/sd-angular-core-service.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-setting.umd.js.__ivy_ngcc_bak +0 -664
- package/bundles/sd-angular-core-setting.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-side-drawer.umd.js.__ivy_ngcc_bak +0 -438
- package/bundles/sd-angular-core-side-drawer.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-switch.umd.js.__ivy_ngcc_bak +0 -454
- package/bundles/sd-angular-core-switch.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-tab-router.umd.js.__ivy_ngcc_bak +0 -941
- package/bundles/sd-angular-core-tab-router.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-textarea.umd.js.__ivy_ngcc_bak +0 -642
- package/bundles/sd-angular-core-textarea.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-time.umd.js.__ivy_ngcc_bak +0 -497
- package/bundles/sd-angular-core-time.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-timeline.umd.js.__ivy_ngcc_bak +0 -102
- package/bundles/sd-angular-core-timeline.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-translate.umd.js.__ivy_ngcc_bak +0 -119
- package/bundles/sd-angular-core-translate.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-upload-excel.umd.js.__ivy_ngcc_bak +0 -1114
- package/bundles/sd-angular-core-upload-excel.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-upload-file.umd.js.__ivy_ngcc_bak +0 -880
- package/bundles/sd-angular-core-upload-file.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-utility.umd.js.__ivy_ngcc_bak +0 -739
- package/bundles/sd-angular-core-utility.umd.js.map.__ivy_ngcc_bak +0 -1
- package/bundles/sd-angular-core-view.umd.js.__ivy_ngcc_bak +0 -32
- package/bundles/sd-angular-core-view.umd.js.map.__ivy_ngcc_bak +0 -1
- package/button/sd-angular-core-button.d.ts.__ivy_ngcc_bak +0 -4
- package/button/sd-angular-core-button.d.ts.map +0 -1
- package/cache/sd-angular-core-cache.d.ts.__ivy_ngcc_bak +0 -4
- package/cache/sd-angular-core-cache.d.ts.map +0 -1
- package/chart/sd-angular-core-chart.d.ts.__ivy_ngcc_bak +0 -4
- package/chart/sd-angular-core-chart.d.ts.map +0 -1
- package/checkbox/sd-angular-core-checkbox.d.ts.__ivy_ngcc_bak +0 -5
- package/checkbox/sd-angular-core-checkbox.d.ts.map +0 -1
- package/chip/sd-angular-core-chip.d.ts.__ivy_ngcc_bak +0 -5
- package/chip/sd-angular-core-chip.d.ts.map +0 -1
- package/comment/sd-angular-core-comment.d.ts.__ivy_ngcc_bak +0 -4
- package/comment/sd-angular-core-comment.d.ts.map +0 -1
- package/common/sd-angular-core-common.d.ts.__ivy_ngcc_bak +0 -4
- package/common/sd-angular-core-common.d.ts.map +0 -1
- package/confirm/sd-angular-core-confirm.d.ts.__ivy_ngcc_bak +0 -4
- package/confirm/sd-angular-core-confirm.d.ts.map +0 -1
- package/date-month/sd-angular-core-date-month.d.ts.__ivy_ngcc_bak +0 -5
- package/date-month/sd-angular-core-date-month.d.ts.map +0 -1
- package/date-range/sd-angular-core-date-range.d.ts.__ivy_ngcc_bak +0 -4
- package/date-range/sd-angular-core-date-range.d.ts.map +0 -1
- package/date-time/sd-angular-core-date-time.d.ts.__ivy_ngcc_bak +0 -4
- package/date-time/sd-angular-core-date-time.d.ts.map +0 -1
- package/db/sd-angular-core-db.d.ts.__ivy_ngcc_bak +0 -4
- package/db/sd-angular-core-db.d.ts.map +0 -1
- package/dynamic-report/sd-angular-core-dynamic-report.d.ts.__ivy_ngcc_bak +0 -4
- package/dynamic-report/sd-angular-core-dynamic-report.d.ts.map +0 -1
- package/editor/sd-angular-core-editor.d.ts.__ivy_ngcc_bak +0 -4
- package/editor/sd-angular-core-editor.d.ts.map +0 -1
- package/esm2015/api/sd-angular-core-api.js.__ivy_ngcc_bak +0 -5
- package/esm2015/autocomplete/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +0 -5
- package/esm2015/badge/sd-angular-core-badge.js.__ivy_ngcc_bak +0 -5
- package/esm2015/button/sd-angular-core-button.js.__ivy_ngcc_bak +0 -5
- package/esm2015/cache/sd-angular-core-cache.js.__ivy_ngcc_bak +0 -5
- package/esm2015/chart/sd-angular-core-chart.js.__ivy_ngcc_bak +0 -5
- package/esm2015/checkbox/sd-angular-core-checkbox.js.__ivy_ngcc_bak +0 -6
- package/esm2015/chip/sd-angular-core-chip.js.__ivy_ngcc_bak +0 -6
- package/esm2015/comment/sd-angular-core-comment.js.__ivy_ngcc_bak +0 -5
- package/esm2015/common/sd-angular-core-common.js.__ivy_ngcc_bak +0 -5
- package/esm2015/confirm/sd-angular-core-confirm.js.__ivy_ngcc_bak +0 -5
- package/esm2015/date-month/sd-angular-core-date-month.js.__ivy_ngcc_bak +0 -6
- package/esm2015/date-range/sd-angular-core-date-range.js.__ivy_ngcc_bak +0 -5
- package/esm2015/date-time/sd-angular-core-date-time.js.__ivy_ngcc_bak +0 -5
- package/esm2015/db/sd-angular-core-db.js.__ivy_ngcc_bak +0 -5
- package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +0 -5
- package/esm2015/editor/sd-angular-core-editor.js.__ivy_ngcc_bak +0 -5
- package/esm2015/excel/sd-angular-core-excel.js.__ivy_ngcc_bak +0 -5
- package/esm2015/export/sd-angular-core-export.js.__ivy_ngcc_bak +0 -5
- package/esm2015/filter/sd-angular-core-filter.js.__ivy_ngcc_bak +0 -8
- package/esm2015/form/sd-angular-core-form.js.__ivy_ngcc_bak +0 -5
- package/esm2015/grid/sd-angular-core-grid.js.__ivy_ngcc_bak +0 -5
- package/esm2015/grid-material/sd-angular-core-grid-material.js.__ivy_ngcc_bak +0 -47
- package/esm2015/group/sd-angular-core-group.js.__ivy_ngcc_bak +0 -6
- package/esm2015/header-title/sd-angular-core-header-title.js.__ivy_ngcc_bak +0 -6
- package/esm2015/image-preview/sd-angular-core-image-preview.js.__ivy_ngcc_bak +0 -7
- package/esm2015/input/sd-angular-core-input.js.__ivy_ngcc_bak +0 -6
- package/esm2015/input-currency/sd-angular-core-input-currency.js.__ivy_ngcc_bak +0 -5
- package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +0 -5
- package/esm2015/input-number/sd-angular-core-input-number.js.__ivy_ngcc_bak +0 -5
- package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +0 -5
- package/esm2015/json-editor/sd-angular-core-json-editor.js.__ivy_ngcc_bak +0 -5
- package/esm2015/konva/sd-angular-core-konva.js.__ivy_ngcc_bak +0 -5
- package/esm2015/label/sd-angular-core-label.js.__ivy_ngcc_bak +0 -6
- package/esm2015/loading/sd-angular-core-loading.js.__ivy_ngcc_bak +0 -5
- package/esm2015/modal/sd-angular-core-modal.js.__ivy_ngcc_bak +0 -5
- package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +0 -5
- package/esm2015/notify/sd-angular-core-notify.js.__ivy_ngcc_bak +0 -5
- package/esm2015/popover/sd-angular-core-popover.js.__ivy_ngcc_bak +0 -5
- package/esm2015/quick-action/sd-angular-core-quick-action.js.__ivy_ngcc_bak +0 -5
- package/esm2015/radio/sd-angular-core-radio.js.__ivy_ngcc_bak +0 -5
- package/esm2015/select/sd-angular-core-select.js.__ivy_ngcc_bak +0 -5
- package/esm2015/select-badge/sd-angular-core-select-badge.js.__ivy_ngcc_bak +0 -5
- package/esm2015/select-editor/sd-angular-core-select-editor.js.__ivy_ngcc_bak +0 -5
- package/esm2015/service/sd-angular-core-service.js.__ivy_ngcc_bak +0 -5
- package/esm2015/setting/sd-angular-core-setting.js.__ivy_ngcc_bak +0 -5
- package/esm2015/side-drawer/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +0 -5
- package/esm2015/switch/sd-angular-core-switch.js.__ivy_ngcc_bak +0 -5
- package/esm2015/tab-router/sd-angular-core-tab-router.js.__ivy_ngcc_bak +0 -7
- package/esm2015/textarea/sd-angular-core-textarea.js.__ivy_ngcc_bak +0 -5
- package/esm2015/time/sd-angular-core-time.js.__ivy_ngcc_bak +0 -6
- package/esm2015/timeline/sd-angular-core-timeline.js.__ivy_ngcc_bak +0 -6
- package/esm2015/translate/sd-angular-core-translate.js.__ivy_ngcc_bak +0 -5
- package/esm2015/upload-excel/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +0 -7
- package/esm2015/upload-file/sd-angular-core-upload-file.js.__ivy_ngcc_bak +0 -5
- package/esm2015/utility/sd-angular-core-utility.js.__ivy_ngcc_bak +0 -5
- package/esm2015/view/sd-angular-core-view.js.__ivy_ngcc_bak +0 -5
- package/excel/sd-angular-core-excel.d.ts.__ivy_ngcc_bak +0 -4
- package/excel/sd-angular-core-excel.d.ts.map +0 -1
- package/export/sd-angular-core-export.d.ts.__ivy_ngcc_bak +0 -4
- package/export/sd-angular-core-export.d.ts.map +0 -1
- package/fesm2015/sd-angular-core-api.js.__ivy_ngcc_bak +0 -496
- package/fesm2015/sd-angular-core-api.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +0 -427
- package/fesm2015/sd-angular-core-autocomplete.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-badge.js.__ivy_ngcc_bak +0 -70
- package/fesm2015/sd-angular-core-badge.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-button.js.__ivy_ngcc_bak +0 -118
- package/fesm2015/sd-angular-core-button.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-cache.js.__ivy_ngcc_bak +0 -259
- package/fesm2015/sd-angular-core-cache.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-chart.js.__ivy_ngcc_bak +0 -727
- package/fesm2015/sd-angular-core-chart.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-checkbox.js.__ivy_ngcc_bak +0 -120
- package/fesm2015/sd-angular-core-checkbox.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-chip.js.__ivy_ngcc_bak +0 -632
- package/fesm2015/sd-angular-core-chip.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-comment.js.__ivy_ngcc_bak +0 -118
- package/fesm2015/sd-angular-core-comment.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-common.js.__ivy_ngcc_bak +0 -562
- package/fesm2015/sd-angular-core-common.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-confirm.js.__ivy_ngcc_bak +0 -154
- package/fesm2015/sd-angular-core-confirm.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-date-month.js.__ivy_ngcc_bak +0 -289
- package/fesm2015/sd-angular-core-date-month.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-date-range.js.__ivy_ngcc_bak +0 -297
- package/fesm2015/sd-angular-core-date-range.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-date-time.js.__ivy_ngcc_bak +0 -367
- package/fesm2015/sd-angular-core-date-time.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-db.js.__ivy_ngcc_bak +0 -102
- package/fesm2015/sd-angular-core-db.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +0 -82
- package/fesm2015/sd-angular-core-dynamic-report.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-editor.js.__ivy_ngcc_bak +0 -576
- package/fesm2015/sd-angular-core-editor.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-excel.js.__ivy_ngcc_bak +0 -100
- package/fesm2015/sd-angular-core-excel.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-export.js.__ivy_ngcc_bak +0 -272
- package/fesm2015/sd-angular-core-export.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-filter.js.__ivy_ngcc_bak +0 -323
- package/fesm2015/sd-angular-core-filter.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-form.js.__ivy_ngcc_bak +0 -104
- package/fesm2015/sd-angular-core-form.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-grid-material.js.__ivy_ngcc_bak +0 -3740
- package/fesm2015/sd-angular-core-grid-material.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-grid.js.__ivy_ngcc_bak +0 -3935
- package/fesm2015/sd-angular-core-grid.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-group.js.__ivy_ngcc_bak +0 -74
- package/fesm2015/sd-angular-core-group.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-header-title.js.__ivy_ngcc_bak +0 -45
- package/fesm2015/sd-angular-core-header-title.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-image-preview.js.__ivy_ngcc_bak +0 -107
- package/fesm2015/sd-angular-core-image-preview.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-input-currency.js.__ivy_ngcc_bak +0 -330
- package/fesm2015/sd-angular-core-input-currency.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +0 -268
- package/fesm2015/sd-angular-core-input-dropdown.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-input-number.js.__ivy_ngcc_bak +0 -415
- package/fesm2015/sd-angular-core-input-number.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +0 -274
- package/fesm2015/sd-angular-core-input-upload-file.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-input.js.__ivy_ngcc_bak +0 -398
- package/fesm2015/sd-angular-core-input.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-json-editor.js.__ivy_ngcc_bak +0 -180
- package/fesm2015/sd-angular-core-json-editor.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-konva.js.__ivy_ngcc_bak +0 -237
- package/fesm2015/sd-angular-core-konva.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-label.js.__ivy_ngcc_bak +0 -49
- package/fesm2015/sd-angular-core-label.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-loading.js.__ivy_ngcc_bak +0 -83
- package/fesm2015/sd-angular-core-loading.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +0 -161
- package/fesm2015/sd-angular-core-modal-resizable.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-modal.js.__ivy_ngcc_bak +0 -284
- package/fesm2015/sd-angular-core-modal.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-notify.js.__ivy_ngcc_bak +0 -402
- package/fesm2015/sd-angular-core-notify.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-popover.js.__ivy_ngcc_bak +0 -415
- package/fesm2015/sd-angular-core-popover.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-quick-action.js.__ivy_ngcc_bak +0 -53
- package/fesm2015/sd-angular-core-quick-action.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-radio.js.__ivy_ngcc_bak +0 -188
- package/fesm2015/sd-angular-core-radio.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-select-badge.js.__ivy_ngcc_bak +0 -156
- package/fesm2015/sd-angular-core-select-badge.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-select-editor.js.__ivy_ngcc_bak +0 -110
- package/fesm2015/sd-angular-core-select-editor.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-select.js.__ivy_ngcc_bak +0 -487
- package/fesm2015/sd-angular-core-select.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-service.js.__ivy_ngcc_bak +0 -36
- package/fesm2015/sd-angular-core-service.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-setting.js.__ivy_ngcc_bak +0 -290
- package/fesm2015/sd-angular-core-setting.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +0 -115
- package/fesm2015/sd-angular-core-side-drawer.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-switch.js.__ivy_ngcc_bak +0 -116
- package/fesm2015/sd-angular-core-switch.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-tab-router.js.__ivy_ngcc_bak +0 -531
- package/fesm2015/sd-angular-core-tab-router.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-textarea.js.__ivy_ngcc_bak +0 -266
- package/fesm2015/sd-angular-core-textarea.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-time.js.__ivy_ngcc_bak +0 -143
- package/fesm2015/sd-angular-core-time.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-timeline.js.__ivy_ngcc_bak +0 -87
- package/fesm2015/sd-angular-core-timeline.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-translate.js.__ivy_ngcc_bak +0 -101
- package/fesm2015/sd-angular-core-translate.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +0 -638
- package/fesm2015/sd-angular-core-upload-excel.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-upload-file.js.__ivy_ngcc_bak +0 -462
- package/fesm2015/sd-angular-core-upload-file.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-utility.js.__ivy_ngcc_bak +0 -384
- package/fesm2015/sd-angular-core-utility.js.map.__ivy_ngcc_bak +0 -1
- package/fesm2015/sd-angular-core-view.js.__ivy_ngcc_bak +0 -23
- package/fesm2015/sd-angular-core-view.js.map.__ivy_ngcc_bak +0 -1
- package/filter/sd-angular-core-filter.d.ts.__ivy_ngcc_bak +0 -7
- package/filter/sd-angular-core-filter.d.ts.map +0 -1
- package/form/sd-angular-core-form.d.ts.__ivy_ngcc_bak +0 -4
- package/form/sd-angular-core-form.d.ts.map +0 -1
- package/grid/sd-angular-core-grid.d.ts.__ivy_ngcc_bak +0 -4
- package/grid/sd-angular-core-grid.d.ts.map +0 -1
- package/grid-material/sd-angular-core-grid-material.d.ts.__ivy_ngcc_bak +0 -46
- package/grid-material/sd-angular-core-grid-material.d.ts.map +0 -1
- package/group/sd-angular-core-group.d.ts.__ivy_ngcc_bak +0 -5
- package/group/sd-angular-core-group.d.ts.map +0 -1
- package/header-title/sd-angular-core-header-title.d.ts.__ivy_ngcc_bak +0 -5
- package/header-title/sd-angular-core-header-title.d.ts.map +0 -1
- package/image-preview/sd-angular-core-image-preview.d.ts.__ivy_ngcc_bak +0 -6
- package/image-preview/sd-angular-core-image-preview.d.ts.map +0 -1
- package/input/sd-angular-core-input.d.ts.__ivy_ngcc_bak +0 -5
- package/input/sd-angular-core-input.d.ts.map +0 -1
- package/input-currency/sd-angular-core-input-currency.d.ts.__ivy_ngcc_bak +0 -4
- package/input-currency/sd-angular-core-input-currency.d.ts.map +0 -1
- package/input-dropdown/sd-angular-core-input-dropdown.d.ts.__ivy_ngcc_bak +0 -4
- package/input-dropdown/sd-angular-core-input-dropdown.d.ts.map +0 -1
- package/input-number/sd-angular-core-input-number.d.ts.__ivy_ngcc_bak +0 -4
- package/input-number/sd-angular-core-input-number.d.ts.map +0 -1
- package/input-upload-file/sd-angular-core-input-upload-file.d.ts.__ivy_ngcc_bak +0 -4
- package/input-upload-file/sd-angular-core-input-upload-file.d.ts.map +0 -1
- package/json-editor/sd-angular-core-json-editor.d.ts.__ivy_ngcc_bak +0 -4
- package/json-editor/sd-angular-core-json-editor.d.ts.map +0 -1
- package/konva/sd-angular-core-konva.d.ts.__ivy_ngcc_bak +0 -4
- package/konva/sd-angular-core-konva.d.ts.map +0 -1
- package/label/sd-angular-core-label.d.ts.__ivy_ngcc_bak +0 -5
- package/label/sd-angular-core-label.d.ts.map +0 -1
- package/loading/sd-angular-core-loading.d.ts.__ivy_ngcc_bak +0 -4
- package/loading/sd-angular-core-loading.d.ts.map +0 -1
- package/modal/sd-angular-core-modal.d.ts.__ivy_ngcc_bak +0 -4
- package/modal/sd-angular-core-modal.d.ts.map +0 -1
- package/modal-resizable/sd-angular-core-modal-resizable.d.ts.__ivy_ngcc_bak +0 -4
- package/modal-resizable/sd-angular-core-modal-resizable.d.ts.map +0 -1
- package/notify/sd-angular-core-notify.d.ts.__ivy_ngcc_bak +0 -4
- package/notify/sd-angular-core-notify.d.ts.map +0 -1
- package/popover/sd-angular-core-popover.d.ts.__ivy_ngcc_bak +0 -4
- package/popover/sd-angular-core-popover.d.ts.map +0 -1
- package/quick-action/sd-angular-core-quick-action.d.ts.__ivy_ngcc_bak +0 -4
- package/quick-action/sd-angular-core-quick-action.d.ts.map +0 -1
- package/radio/sd-angular-core-radio.d.ts.__ivy_ngcc_bak +0 -4
- package/radio/sd-angular-core-radio.d.ts.map +0 -1
- package/sd-angular-core-1.3.0.tgz +0 -0
- package/select/sd-angular-core-select.d.ts.__ivy_ngcc_bak +0 -4
- package/select/sd-angular-core-select.d.ts.map +0 -1
- package/select-badge/sd-angular-core-select-badge.d.ts.__ivy_ngcc_bak +0 -4
- package/select-badge/sd-angular-core-select-badge.d.ts.map +0 -1
- package/select-editor/sd-angular-core-select-editor.d.ts.__ivy_ngcc_bak +0 -4
- package/select-editor/sd-angular-core-select-editor.d.ts.map +0 -1
- package/service/sd-angular-core-service.d.ts.__ivy_ngcc_bak +0 -4
- package/service/sd-angular-core-service.d.ts.map +0 -1
- package/setting/sd-angular-core-setting.d.ts.__ivy_ngcc_bak +0 -4
- package/setting/sd-angular-core-setting.d.ts.map +0 -1
- package/side-drawer/sd-angular-core-side-drawer.d.ts.__ivy_ngcc_bak +0 -4
- package/side-drawer/sd-angular-core-side-drawer.d.ts.map +0 -1
- package/switch/sd-angular-core-switch.d.ts.__ivy_ngcc_bak +0 -4
- package/switch/sd-angular-core-switch.d.ts.map +0 -1
- package/tab-router/sd-angular-core-tab-router.d.ts.__ivy_ngcc_bak +0 -6
- package/tab-router/sd-angular-core-tab-router.d.ts.map +0 -1
- package/textarea/sd-angular-core-textarea.d.ts.__ivy_ngcc_bak +0 -4
- package/textarea/sd-angular-core-textarea.d.ts.map +0 -1
- package/time/sd-angular-core-time.d.ts.__ivy_ngcc_bak +0 -5
- package/time/sd-angular-core-time.d.ts.map +0 -1
- package/timeline/sd-angular-core-timeline.d.ts.__ivy_ngcc_bak +0 -5
- package/timeline/sd-angular-core-timeline.d.ts.map +0 -1
- package/translate/sd-angular-core-translate.d.ts.__ivy_ngcc_bak +0 -4
- package/translate/sd-angular-core-translate.d.ts.map +0 -1
- package/upload-excel/sd-angular-core-upload-excel.d.ts.__ivy_ngcc_bak +0 -6
- package/upload-excel/sd-angular-core-upload-excel.d.ts.map +0 -1
- package/upload-file/sd-angular-core-upload-file.d.ts.__ivy_ngcc_bak +0 -4
- package/upload-file/sd-angular-core-upload-file.d.ts.map +0 -1
- package/utility/sd-angular-core-utility.d.ts.__ivy_ngcc_bak +0 -4
- package/utility/sd-angular-core-utility.d.ts.map +0 -1
- package/view/sd-angular-core-view.d.ts.__ivy_ngcc_bak +0 -4
- package/view/sd-angular-core-view.d.ts.map +0 -1
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, InjectionToken, Injectable, Optional, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { MatDialogRef, MAT_DIALOG_DATA, MatDialog, MatDialogModule } from '@angular/material/dialog';
|
|
4
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
6
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
-
import { MatInputModule } from '@angular/material/input';
|
|
8
|
-
import { FormsModule } from '@angular/forms';
|
|
9
|
-
import { ToastrService, ToastrModule } from 'ngx-toastr';
|
|
10
|
-
import { SdButtonModule } from '@sd-angular/core/button';
|
|
11
|
-
import { __classPrivateFieldGet } from 'tslib';
|
|
12
|
-
import '@sd-angular/core/common';
|
|
13
|
-
import { v4 } from 'uuid';
|
|
14
|
-
import { SdTranslateService } from '@sd-angular/core/translate';
|
|
15
|
-
import { take, takeUntil } from 'rxjs/operators';
|
|
16
|
-
import { timer } from 'rxjs';
|
|
17
|
-
|
|
18
|
-
class DialogConfirmComponent {
|
|
19
|
-
constructor(dialogRef, data) {
|
|
20
|
-
var _a, _b, _c, _d;
|
|
21
|
-
this.dialogRef = dialogRef;
|
|
22
|
-
this.data = data;
|
|
23
|
-
this.required = false;
|
|
24
|
-
this.isString = false;
|
|
25
|
-
this.id = `I${v4()}`;
|
|
26
|
-
this.isString = typeof ((_a = this.data) === null || _a === void 0 ? void 0 : _a.message) === 'string';
|
|
27
|
-
if (data === null || data === void 0 ? void 0 : data.input) {
|
|
28
|
-
this.value = (_c = (_b = data === null || data === void 0 ? void 0 : data.input) === null || _b === void 0 ? void 0 : _b.defaultValue) !== null && _c !== void 0 ? _c : '';
|
|
29
|
-
this.required = ((_d = data === null || data === void 0 ? void 0 : data.input) === null || _d === void 0 ? void 0 : _d.required) || false;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
DialogConfirmComponent.decorators = [
|
|
34
|
-
{ type: Component, args: [{
|
|
35
|
-
selector: 'sd-dialog-confirm',
|
|
36
|
-
template: "<h1 mat-dialog-title class=\"\">\r\n <mat-icon *ngIf=\"data?.icon\" [ngClass]=\"data?.icon\">\r\n {{ data?.icon }}\r\n </mat-icon>\r\n <span [innerHtml]=\"data?.title || 'Confirm'\"></span>\r\n</h1>\r\n<div mat-dialog-content>\r\n <div *ngIf=\"isString\" [innerHtml]=\"data?.message\"></div>\r\n <div *ngIf=\"!isString\" [innerHtml]=\"data?.message | json\"></div>\r\n <div *ngIf=\"data?.input\">\r\n <mat-form-field appearance=\"outline\">\r\n <textarea style=\"width: 100%\" matInput [placeholder]=\"data.input?.placeholder\" [(ngModel)]=\"value\"\r\n autocomplete=\"off\" rows=\"5\" [maxlength]=\"data.input?.maxlength\"></textarea>\r\n </mat-form-field>\r\n </div>\r\n</div>\r\n<div mat-dialog-actions align=\"end\">\r\n <sd-button *ngIf=\"data?.noTitle\" [color]=\"data?.noButtonColor || 'secondary'\" [mat-dialog-close]=\"'CANCEL'\"\r\n [title]=\"data?.noTitle\" size=\"sm\"></sd-button>\r\n <sd-button class=\"ml-12\" *ngIf=\"data?.yesTitle\" [mat-dialog-close]=\"value || 'ACCEPT'\"\r\n [color]=\"data?.yesButtonColor || 'primary'\" [disabled]=\"required && !value\" cdkFocusInitial\r\n [title]=\"data?.yesTitle\" size=\"sm\"></sd-button>\r\n</div>",
|
|
37
|
-
styles: [":host .mat-dialog-content{margin:0 -16px 16px!important}:host .mat-button{background-color:#f5f5f5}:host>>>.mat-dialog-title{align-items:center;display:flex;justify-content:flex-start}:host>>>.mat-dialog-title .mat-icon{margin-right:5px}:host{display:block;padding:12px 16px}:host>>>.mat-dialog-title .mat-icon.info{color:#2962ff}:host>>>.mat-dialog-title .mat-icon.warning{color:#ffc107}:host>>>.mat-dialog-title .mat-icon.done{color:#4caf50}:host>>>.mat-dialog-title .mat-icon.error{color:#d32f2f}"]
|
|
38
|
-
},] }
|
|
39
|
-
];
|
|
40
|
-
DialogConfirmComponent.ctorParameters = () => [
|
|
41
|
-
{ type: MatDialogRef },
|
|
42
|
-
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
43
|
-
];
|
|
44
|
-
|
|
45
|
-
const NOTIFY_CONFIG = new InjectionToken('notify.configuration');
|
|
46
|
-
|
|
47
|
-
var _delayDuration, _warningKey, _errorKey, _cache, _notifyWarning, _notifyError, _buildToastMultiMesssage;
|
|
48
|
-
class SdNotifyService {
|
|
49
|
-
constructor(dialog, toastr, translateService, configuration) {
|
|
50
|
-
this.dialog = dialog;
|
|
51
|
-
this.toastr = toastr;
|
|
52
|
-
this.translateService = translateService;
|
|
53
|
-
this.configuration = configuration;
|
|
54
|
-
_delayDuration.set(this, 500); // Các error/warning message sẽ tự động gộp sau khoảng thời gian trên
|
|
55
|
-
_warningKey.set(this, v4());
|
|
56
|
-
_errorKey.set(this, v4());
|
|
57
|
-
_cache.set(this, {});
|
|
58
|
-
this.alert = {
|
|
59
|
-
info: (message, title, yesTitle, icon) => {
|
|
60
|
-
this.dialog.open(DialogConfirmComponent, {
|
|
61
|
-
width: '400px',
|
|
62
|
-
data: {
|
|
63
|
-
icon: icon || 'info',
|
|
64
|
-
title: title || this.translate('Notice'),
|
|
65
|
-
message: message || 'Done!',
|
|
66
|
-
yesTitle: yesTitle || this.translate('Ok'),
|
|
67
|
-
},
|
|
68
|
-
});
|
|
69
|
-
},
|
|
70
|
-
success: (message, title, yesTitle, icon) => {
|
|
71
|
-
this.dialog.open(DialogConfirmComponent, {
|
|
72
|
-
width: '400px',
|
|
73
|
-
data: {
|
|
74
|
-
icon: icon || 'done',
|
|
75
|
-
title: title || this.translate('Success'),
|
|
76
|
-
message: message || 'Done!',
|
|
77
|
-
yesTitle: yesTitle || this.translate('Ok'),
|
|
78
|
-
},
|
|
79
|
-
});
|
|
80
|
-
},
|
|
81
|
-
warning: (message, title, yesTitle, icon) => {
|
|
82
|
-
this.dialog.open(DialogConfirmComponent, {
|
|
83
|
-
width: '400px',
|
|
84
|
-
data: {
|
|
85
|
-
icon: icon || 'warning',
|
|
86
|
-
title: title || this.translate('Warning'),
|
|
87
|
-
message: message || 'Something went wrong!',
|
|
88
|
-
yesTitle: yesTitle || this.translate('Ok'),
|
|
89
|
-
},
|
|
90
|
-
});
|
|
91
|
-
},
|
|
92
|
-
error: (message, title, yesTitle, icon) => {
|
|
93
|
-
this.dialog.open(DialogConfirmComponent, {
|
|
94
|
-
width: '400px',
|
|
95
|
-
data: {
|
|
96
|
-
icon: icon || 'error',
|
|
97
|
-
title: title || this.translate('Error'),
|
|
98
|
-
message: message || 'Something went wrong!',
|
|
99
|
-
yesTitle: yesTitle || this.translate('Ok'),
|
|
100
|
-
},
|
|
101
|
-
});
|
|
102
|
-
},
|
|
103
|
-
};
|
|
104
|
-
this.notify = {
|
|
105
|
-
success: (message, delay, title) => {
|
|
106
|
-
var _a;
|
|
107
|
-
// tslint:disable-next-line: max-line-length
|
|
108
|
-
// const style = `border-radius: 5px; margin: 0; padding: 12px; z-index: 99999; top: 5px; right: 5px; display: none; position: fixed;color: #4F8A10; background-color: #DFF2BF`;
|
|
109
|
-
// tslint:disable-next-line: max-line-length
|
|
110
|
-
// const html = `<div id='${this.notifyId}' style='${style}'><i class='fa fa-check'></i> ${message || this.translate('Success')}</div>`;
|
|
111
|
-
// this.showNotify(html, delay);
|
|
112
|
-
const content = message || this.translate('Success');
|
|
113
|
-
this.toastr.success(content, title, {
|
|
114
|
-
enableHtml: true,
|
|
115
|
-
timeOut: delay || ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.timeDelay) || 3000,
|
|
116
|
-
closeButton: true,
|
|
117
|
-
});
|
|
118
|
-
},
|
|
119
|
-
warning: (message, delay, title) => {
|
|
120
|
-
if (!__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _warningKey)] || Date.addMiliseconds(__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _warningKey)].createdDate, __classPrivateFieldGet(this, _delayDuration)) < new Date()) {
|
|
121
|
-
__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _warningKey)] = {
|
|
122
|
-
createdDate: new Date(),
|
|
123
|
-
data: {
|
|
124
|
-
title: title,
|
|
125
|
-
messages: [],
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
timer(__classPrivateFieldGet(this, _delayDuration)).pipe(take(1)).subscribe(() => {
|
|
129
|
-
const messages = __classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _warningKey)].data.messages.union(null);
|
|
130
|
-
if (messages.length === 1) {
|
|
131
|
-
__classPrivateFieldGet(this, _notifyWarning).call(this, {
|
|
132
|
-
title: __classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _warningKey)].data.title,
|
|
133
|
-
message: messages[0],
|
|
134
|
-
delay
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
__classPrivateFieldGet(this, _notifyWarning).call(this, {
|
|
139
|
-
title: __classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _warningKey)].data.title,
|
|
140
|
-
message: messages,
|
|
141
|
-
delay
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
if (Array.isArray(message)) {
|
|
147
|
-
__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _warningKey)].data.messages = [...__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _warningKey)].data.messages, ...message];
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _warningKey)].data.messages.push(message);
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
error: (message, delay, title) => {
|
|
154
|
-
if (!__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _errorKey)] || Date.addMiliseconds(__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _errorKey)].createdDate, __classPrivateFieldGet(this, _delayDuration)) < new Date()) {
|
|
155
|
-
__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _errorKey)] = {
|
|
156
|
-
createdDate: new Date(),
|
|
157
|
-
data: {
|
|
158
|
-
title,
|
|
159
|
-
messages: [],
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
timer(__classPrivateFieldGet(this, _delayDuration)).pipe(take(1)).subscribe(() => {
|
|
163
|
-
const messages = __classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _errorKey)].data.messages.union(null);
|
|
164
|
-
if (messages.length === 1) {
|
|
165
|
-
__classPrivateFieldGet(this, _notifyError).call(this, {
|
|
166
|
-
title: __classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _errorKey)].data.title,
|
|
167
|
-
message: messages[0],
|
|
168
|
-
delay
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
__classPrivateFieldGet(this, _notifyError).call(this, {
|
|
173
|
-
title: __classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _errorKey)].data.title,
|
|
174
|
-
message: messages,
|
|
175
|
-
delay
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
if (Array.isArray(message)) {
|
|
181
|
-
__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _errorKey)].data.messages = [...__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _errorKey)].data.messages, ...message];
|
|
182
|
-
}
|
|
183
|
-
else {
|
|
184
|
-
__classPrivateFieldGet(this, _cache)[__classPrivateFieldGet(this, _errorKey)].data.messages.push(message);
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
};
|
|
188
|
-
_notifyWarning.set(this, (args) => {
|
|
189
|
-
var _a;
|
|
190
|
-
const { message, delay, title } = args;
|
|
191
|
-
if (Array.isArray(message)) {
|
|
192
|
-
__classPrivateFieldGet(this, _buildToastMultiMesssage).call(this, 'warning', message, delay, title);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
const content = message || this.translate('Warning');
|
|
196
|
-
this.toastr.warning(content, title, {
|
|
197
|
-
enableHtml: true,
|
|
198
|
-
timeOut: delay || ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.timeDelay) || 3000,
|
|
199
|
-
closeButton: true,
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
_notifyError.set(this, (args) => {
|
|
204
|
-
var _a;
|
|
205
|
-
const { message, delay, title } = args;
|
|
206
|
-
if (Array.isArray(message)) {
|
|
207
|
-
__classPrivateFieldGet(this, _buildToastMultiMesssage).call(this, 'error', message, delay, title);
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
const content = message || this.translate('Error');
|
|
211
|
-
this.toastr.error(content, title, {
|
|
212
|
-
enableHtml: true,
|
|
213
|
-
timeOut: delay || ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.timeDelay) || 3000,
|
|
214
|
-
closeButton: true,
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
_buildToastMultiMesssage.set(this, (type, messages, delay, title) => {
|
|
219
|
-
var _a, _b;
|
|
220
|
-
/** số lượng item hiển thị mặc định */
|
|
221
|
-
const showNum = 2;
|
|
222
|
-
const id = `sd-notify-ckb-${v4()}`;
|
|
223
|
-
const messageLength = messages.length;
|
|
224
|
-
const messageRests = messages.splice(showNum);
|
|
225
|
-
const messageContainer = `<ul class='sd-notify__list'>{0}{1}</ul>`;
|
|
226
|
-
const messageTemp = `<li class='sd-notify__item'>- {0}</li>`;
|
|
227
|
-
let contentRest = '';
|
|
228
|
-
if (messageRests === null || messageRests === void 0 ? void 0 : messageRests.length) {
|
|
229
|
-
contentRest = `<input id='${id}' class='cdk-visually-hidden sd-notify__checkbox' type='checkbox' />
|
|
230
|
-
<label class='sd-notify__text sd-notify__text--show' for='${id}'>${this.translate('Show more')}</label>
|
|
231
|
-
<div class='sd-notify__item--rest'>
|
|
232
|
-
${messageRests.map(m => String.format(messageTemp, m)).join('')}
|
|
233
|
-
</div>
|
|
234
|
-
<label class='sd-notify__text sd-notify__text--less' for='${id}'>${this.translate('Show less')}</label>`;
|
|
235
|
-
}
|
|
236
|
-
const content = String.format(messageContainer, messages.map(m => String.format(messageTemp, m)).join(''), contentRest);
|
|
237
|
-
let toast;
|
|
238
|
-
// khi truyền message html sẽ bị sanitize nên phải truyền innerHTML khi toast hiện lên
|
|
239
|
-
// @see https://github.com/scttcper/ngx-toastr/blob/v12.1.0/src/lib/toastr/toastr.service.ts#L271
|
|
240
|
-
switch (type) {
|
|
241
|
-
case 'error':
|
|
242
|
-
toast = this.toastr.error(content, `${title || this.translate('Error')} (${messageLength})`, {
|
|
243
|
-
enableHtml: true,
|
|
244
|
-
timeOut: delay || ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.timeDelay) || 3000,
|
|
245
|
-
messageClass: `toast-message toast-message-${id}`,
|
|
246
|
-
closeButton: true,
|
|
247
|
-
tapToDismiss: false
|
|
248
|
-
});
|
|
249
|
-
break;
|
|
250
|
-
case 'warning':
|
|
251
|
-
toast = this.toastr.warning(content, `${title || this.translate('Warning')} (${messageLength})`, {
|
|
252
|
-
enableHtml: true,
|
|
253
|
-
timeOut: delay || ((_b = this.configuration) === null || _b === void 0 ? void 0 : _b.timeDelay) || 3000,
|
|
254
|
-
messageClass: `toast-message toast-message-${id}`,
|
|
255
|
-
closeButton: true,
|
|
256
|
-
tapToDismiss: false
|
|
257
|
-
});
|
|
258
|
-
break;
|
|
259
|
-
}
|
|
260
|
-
if (toast) {
|
|
261
|
-
toast.onShown
|
|
262
|
-
.pipe(takeUntil(toast.onHidden))
|
|
263
|
-
.subscribe(() => {
|
|
264
|
-
const messageEle = document.querySelector(`.toast-message-${id}`);
|
|
265
|
-
messageEle.innerHTML = content;
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
this.handle = {
|
|
270
|
-
error: (err) => {
|
|
271
|
-
if (typeof err === 'string') {
|
|
272
|
-
this.notify.warning(err);
|
|
273
|
-
}
|
|
274
|
-
else if (typeof err === 'object') {
|
|
275
|
-
let message = (err === null || err === void 0 ? void 0 : err.error) || (err === null || err === void 0 ? void 0 : err.message) || (err === null || err === void 0 ? void 0 : err.ExceptionMessage) || (err === null || err === void 0 ? void 0 : err.Message) ||
|
|
276
|
-
'Unknown error';
|
|
277
|
-
if (typeof err.json === 'function') {
|
|
278
|
-
err = err.json();
|
|
279
|
-
if (err) {
|
|
280
|
-
message =
|
|
281
|
-
(err === null || err === void 0 ? void 0 : err.error) || (err === null || err === void 0 ? void 0 : err.message) || (err === null || err === void 0 ? void 0 : err.ExceptionMessage) || (err === null || err === void 0 ? void 0 : err.Message) ||
|
|
282
|
-
'Unknown error';
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
this.notify.warning(message);
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
this.notify.warning('Unknown error');
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
};
|
|
292
|
-
this.confirm = (message, option = {}) => {
|
|
293
|
-
const dialogRef = this.dialog.open(DialogConfirmComponent, {
|
|
294
|
-
width: '400px',
|
|
295
|
-
data: {
|
|
296
|
-
title: (option === null || option === void 0 ? void 0 : option.title) || this.translate('Confirm'),
|
|
297
|
-
message,
|
|
298
|
-
yesTitle: (option === null || option === void 0 ? void 0 : option.yesTitle) || this.translate('Yes'),
|
|
299
|
-
noTitle: (option === null || option === void 0 ? void 0 : option.noTitle) || this.translate('No'),
|
|
300
|
-
noButtonColor: (option === null || option === void 0 ? void 0 : option.noButtonColor) || 'secondary',
|
|
301
|
-
yesButtonColor: (option === null || option === void 0 ? void 0 : option.yesButtonColor) || 'primary',
|
|
302
|
-
},
|
|
303
|
-
});
|
|
304
|
-
return new Promise((resolve, reject) => {
|
|
305
|
-
dialogRef.afterClosed().subscribe((result) => {
|
|
306
|
-
if (result) {
|
|
307
|
-
if (result === 'ACCEPT') {
|
|
308
|
-
resolve(null);
|
|
309
|
-
}
|
|
310
|
-
else if (result === 'CANCEL') {
|
|
311
|
-
reject(result);
|
|
312
|
-
}
|
|
313
|
-
else {
|
|
314
|
-
resolve(null);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
});
|
|
318
|
-
});
|
|
319
|
-
};
|
|
320
|
-
this.confirmDelete = () => this.confirm(this.translate('Delete record(s)'));
|
|
321
|
-
this.confirmApprove = () => this.confirm(this.translate('Approve record(s)'));
|
|
322
|
-
this.confirmWithInput = (title, option = {}) => {
|
|
323
|
-
const dialogRef = this.dialog.open(DialogConfirmComponent, {
|
|
324
|
-
width: '400px',
|
|
325
|
-
data: {
|
|
326
|
-
title: title || this.translate('Confirm'),
|
|
327
|
-
message: option === null || option === void 0 ? void 0 : option.message,
|
|
328
|
-
yesTitle: (option === null || option === void 0 ? void 0 : option.yesTitle) || this.translate('Yes'),
|
|
329
|
-
noTitle: (option === null || option === void 0 ? void 0 : option.noTitle) || this.translate('No'),
|
|
330
|
-
noButtonColor: (option === null || option === void 0 ? void 0 : option.noButtonColor) || 'secondary',
|
|
331
|
-
yesButtonColor: (option === null || option === void 0 ? void 0 : option.yesButtonColor) || 'primary',
|
|
332
|
-
input: {
|
|
333
|
-
maxlength: (option === null || option === void 0 ? void 0 : option.maxlength) || 255,
|
|
334
|
-
required: option === null || option === void 0 ? void 0 : option.required,
|
|
335
|
-
defaultValue: (option === null || option === void 0 ? void 0 : option.defaultValue) || ''
|
|
336
|
-
},
|
|
337
|
-
},
|
|
338
|
-
});
|
|
339
|
-
return new Promise((resolve, reject) => {
|
|
340
|
-
dialogRef.afterClosed().subscribe((result) => {
|
|
341
|
-
if (result) {
|
|
342
|
-
if (result === 'ACCEPT') {
|
|
343
|
-
resolve(result);
|
|
344
|
-
}
|
|
345
|
-
else if (result === 'CANCEL') {
|
|
346
|
-
reject(result);
|
|
347
|
-
}
|
|
348
|
-
else {
|
|
349
|
-
resolve(result);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
});
|
|
353
|
-
});
|
|
354
|
-
};
|
|
355
|
-
this.translate = (value) => {
|
|
356
|
-
return this.translateService.translate(value);
|
|
357
|
-
};
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
_delayDuration = new WeakMap(), _warningKey = new WeakMap(), _errorKey = new WeakMap(), _cache = new WeakMap(), _notifyWarning = new WeakMap(), _notifyError = new WeakMap(), _buildToastMultiMesssage = new WeakMap();
|
|
361
|
-
SdNotifyService.decorators = [
|
|
362
|
-
{ type: Injectable }
|
|
363
|
-
];
|
|
364
|
-
SdNotifyService.ctorParameters = () => [
|
|
365
|
-
{ type: MatDialog },
|
|
366
|
-
{ type: ToastrService },
|
|
367
|
-
{ type: SdTranslateService },
|
|
368
|
-
{ type: undefined, decorators: [{ type: Inject, args: [NOTIFY_CONFIG,] }, { type: Optional }] }
|
|
369
|
-
];
|
|
370
|
-
|
|
371
|
-
class SdNotifyModule {
|
|
372
|
-
}
|
|
373
|
-
SdNotifyModule.decorators = [
|
|
374
|
-
{ type: NgModule, args: [{
|
|
375
|
-
imports: [
|
|
376
|
-
CommonModule,
|
|
377
|
-
FormsModule,
|
|
378
|
-
MatFormFieldModule,
|
|
379
|
-
MatInputModule,
|
|
380
|
-
MatIconModule,
|
|
381
|
-
MatButtonModule,
|
|
382
|
-
MatDialogModule,
|
|
383
|
-
ToastrModule.forRoot(),
|
|
384
|
-
SdButtonModule,
|
|
385
|
-
],
|
|
386
|
-
declarations: [DialogConfirmComponent],
|
|
387
|
-
entryComponents: [DialogConfirmComponent],
|
|
388
|
-
exports: [],
|
|
389
|
-
providers: [SdNotifyService],
|
|
390
|
-
},] }
|
|
391
|
-
];
|
|
392
|
-
|
|
393
|
-
/*
|
|
394
|
-
* Public API Surface of superdev-angular-core
|
|
395
|
-
*/
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* Generated bundle index. Do not edit.
|
|
399
|
-
*/
|
|
400
|
-
|
|
401
|
-
export { DialogConfirmComponent, NOTIFY_CONFIG, SdNotifyModule, SdNotifyService };
|
|
402
|
-
//# sourceMappingURL=sd-angular-core-notify.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sd-angular-core-notify.js","sources":["../../../../projects/sd-core/notify/src/lib/components/dialog-confirm/dialog-confirm.component.ts","../../../../projects/sd-core/notify/src/lib/configurations/notify.configuration.ts","../../../../projects/sd-core/notify/src/lib/notify.service.ts","../../../../projects/sd-core/notify/src/lib/notify.module.ts","../../../../projects/sd-core/notify/src/public-api.ts","../../../../projects/sd-core/notify/sd-angular-core-notify.ts"],"sourcesContent":["import { Component, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { SdBadgeColor } from '@sd-angular/core/badge';\r\nimport * as uuid from 'uuid';\r\n\r\nexport interface DialogData {\r\n icon?: string;\r\n title?: string;\r\n message?: string;\r\n yesTitle?: string;\r\n noTitle?: string;\r\n yesButtonColor?: SdBadgeColor;\r\n noButtonColor?: SdBadgeColor;\r\n input?: {\r\n placeholder?: string;\r\n minlength?: number;\r\n maxlength?: number;\r\n required?: boolean;\r\n defaultValue?: string;\r\n };\r\n}\r\n\r\n@Component({\r\n selector: 'sd-dialog-confirm',\r\n templateUrl: 'dialog-confirm.component.html',\r\n styleUrls: ['./dialog-confirm.component.css'],\r\n})\r\nexport class DialogConfirmComponent {\r\n value: any;\r\n required = false;\r\n isString = false;\r\n id = `I${uuid.v4()}`\r\n constructor(\r\n public dialogRef: MatDialogRef<DialogConfirmComponent>,\r\n @Inject(MAT_DIALOG_DATA) public data: DialogData\r\n ) {\r\n this.isString = typeof this.data?.message === 'string';\r\n if (data?.input) {\r\n this.value = data?.input?.defaultValue ?? '';\r\n this.required = data?.input?.required || false;\r\n }\r\n }\r\n}\r\n","import { InjectionToken } from \"@angular/core\";\r\n\r\nexport interface INotifyConfiguration {\r\n timeDelay?: number;\r\n}\r\n\r\nexport const NOTIFY_CONFIG = new InjectionToken<INotifyConfiguration>('notify.configuration');\r\n","import '@sd-angular/core/common';\r\nimport { Inject, Injectable, Optional } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { DialogConfirmComponent } from './components/dialog-confirm/dialog-confirm.component';\r\nimport { ActiveToast, ToastrService } from 'ngx-toastr';\r\nimport { SdTranslateService } from '@sd-angular/core/translate';\r\nimport { take, takeUntil } from 'rxjs/operators';\r\nimport { timer } from 'rxjs';\r\nimport * as uuid from 'uuid';\r\nimport { SdBadgeColor } from '@sd-angular/core/badge';\r\nimport { INotifyConfiguration, NOTIFY_CONFIG } from './configurations/notify.configuration';\r\n\r\n@Injectable()\r\nexport class SdNotifyService {\r\n #delayDuration = 500; // Các error/warning message sẽ tự động gộp sau khoảng thời gian trên\r\n #warningKey = uuid.v4();\r\n #errorKey = uuid.v4();\r\n #cache: {\r\n [key: string]: {\r\n createdDate: Date;\r\n data?: {\r\n title: string,\r\n messages: string[]\r\n }\r\n }\r\n } = {};\r\n constructor(\r\n private dialog: MatDialog,\r\n private toastr: ToastrService,\r\n private translateService: SdTranslateService,\r\n @Inject(NOTIFY_CONFIG) @Optional() private configuration: INotifyConfiguration\r\n ) { }\r\n\r\n alert = {\r\n info: (\r\n message?: string,\r\n title?: string,\r\n yesTitle?: string,\r\n icon?: string\r\n ) => {\r\n this.dialog.open(DialogConfirmComponent, {\r\n width: '400px',\r\n data: {\r\n icon: icon || 'info',\r\n title: title || this.translate('Notice'),\r\n message: message || 'Done!',\r\n yesTitle: yesTitle || this.translate('Ok'),\r\n },\r\n });\r\n },\r\n success: (\r\n message?: string,\r\n title?: string,\r\n yesTitle?: string,\r\n icon?: string\r\n ) => {\r\n this.dialog.open(DialogConfirmComponent, {\r\n width: '400px',\r\n data: {\r\n icon: icon || 'done',\r\n title: title || this.translate('Success'),\r\n message: message || 'Done!',\r\n yesTitle: yesTitle || this.translate('Ok'),\r\n },\r\n });\r\n },\r\n warning: (\r\n message?: string,\r\n title?: string,\r\n yesTitle?: string,\r\n icon?: string\r\n ) => {\r\n this.dialog.open(DialogConfirmComponent, {\r\n width: '400px',\r\n data: {\r\n icon: icon || 'warning',\r\n title: title || this.translate('Warning'),\r\n message: message || 'Something went wrong!',\r\n yesTitle: yesTitle || this.translate('Ok'),\r\n },\r\n });\r\n },\r\n error: (\r\n message?: string,\r\n title?: string,\r\n yesTitle?: string,\r\n icon?: string\r\n ) => {\r\n this.dialog.open(DialogConfirmComponent, {\r\n width: '400px',\r\n data: {\r\n icon: icon || 'error',\r\n title: title || this.translate('Error'),\r\n message: message || 'Something went wrong!',\r\n yesTitle: yesTitle || this.translate('Ok'),\r\n },\r\n });\r\n },\r\n };\r\n\r\n notify = {\r\n success: (message?: string, delay?: number, title?: string) => {\r\n // tslint:disable-next-line: max-line-length\r\n // const style = `border-radius: 5px; margin: 0; padding: 12px; z-index: 99999; top: 5px; right: 5px; display: none; position: fixed;color: #4F8A10; background-color: #DFF2BF`;\r\n // tslint:disable-next-line: max-line-length\r\n // const html = `<div id='${this.notifyId}' style='${style}'><i class='fa fa-check'></i> ${message || this.translate('Success')}</div>`;\r\n // this.showNotify(html, delay);\r\n const content = message || this.translate('Success');\r\n this.toastr.success(content, title, {\r\n enableHtml: true,\r\n timeOut: delay || this.configuration?.timeDelay || 3000,\r\n closeButton: true,\r\n });\r\n },\r\n warning: (message?: string | string[], delay?: number, title?: string) => {\r\n if (!this.#cache[this.#warningKey] || Date.addMiliseconds(this.#cache[this.#warningKey].createdDate, this.#delayDuration) < new Date()) {\r\n this.#cache[this.#warningKey] = {\r\n createdDate: new Date(),\r\n data: {\r\n title: title,\r\n messages: [],\r\n }\r\n };\r\n timer(this.#delayDuration).pipe(take(1)).subscribe(() => {\r\n const messages = this.#cache[this.#warningKey].data.messages.union(null);\r\n if (messages.length === 1) {\r\n this.#notifyWarning({\r\n title: this.#cache[this.#warningKey].data.title,\r\n message: messages[0],\r\n delay\r\n });\r\n } else {\r\n this.#notifyWarning({\r\n title: this.#cache[this.#warningKey].data.title,\r\n message: messages,\r\n delay\r\n });\r\n }\r\n });\r\n }\r\n if (Array.isArray(message)) {\r\n this.#cache[this.#warningKey].data.messages = [...this.#cache[this.#warningKey].data.messages, ...message];\r\n } else {\r\n this.#cache[this.#warningKey].data.messages.push(message);\r\n }\r\n },\r\n error: (message?: string | string[], delay?: number, title?: string) => {\r\n if (!this.#cache[this.#errorKey] || Date.addMiliseconds(this.#cache[this.#errorKey].createdDate, this.#delayDuration) < new Date()) {\r\n this.#cache[this.#errorKey] = {\r\n createdDate: new Date(),\r\n data: {\r\n title,\r\n messages: [],\r\n }\r\n };\r\n timer(this.#delayDuration).pipe(take(1)).subscribe(() => {\r\n const messages = this.#cache[this.#errorKey].data.messages.union(null);\r\n if (messages.length === 1) {\r\n this.#notifyError({\r\n title: this.#cache[this.#errorKey].data.title,\r\n message: messages[0],\r\n delay\r\n });\r\n } else {\r\n this.#notifyError({\r\n title: this.#cache[this.#errorKey].data.title,\r\n message: messages,\r\n delay\r\n });\r\n }\r\n });\r\n }\r\n if (Array.isArray(message)) {\r\n this.#cache[this.#errorKey].data.messages = [...this.#cache[this.#errorKey].data.messages, ...message];\r\n } else {\r\n this.#cache[this.#errorKey].data.messages.push(message);\r\n }\r\n },\r\n };\r\n\r\n #notifyWarning = (args: {\r\n message?: string | string[],\r\n delay?: number,\r\n title?: string\r\n }) => {\r\n const { message, delay, title } = args;\r\n if (Array.isArray(message)) {\r\n this.#buildToastMultiMesssage('warning', message, delay, title);\r\n }\r\n else {\r\n const content = message || this.translate('Warning');\r\n this.toastr.warning(content, title, {\r\n enableHtml: true,\r\n timeOut: delay || this.configuration?.timeDelay || 3000,\r\n closeButton: true,\r\n });\r\n }\r\n }\r\n\r\n #notifyError = (args: {\r\n message?: string | string[],\r\n delay?: number,\r\n title?: string\r\n }) => {\r\n const { message, delay, title } = args;\r\n if (Array.isArray(message)) {\r\n this.#buildToastMultiMesssage('error', message, delay, title);\r\n }\r\n else {\r\n const content = message || this.translate('Error');\r\n this.toastr.error(content, title, {\r\n enableHtml: true,\r\n timeOut: delay || this.configuration?.timeDelay || 3000,\r\n closeButton: true,\r\n });\r\n }\r\n }\r\n\r\n #buildToastMultiMesssage = (type: 'warning' | 'error', messages: string[], delay?: number, title?: string) => {\r\n /** số lượng item hiển thị mặc định */\r\n const showNum = 2;\r\n const id = `sd-notify-ckb-${uuid.v4()}`;\r\n const messageLength = messages.length;\r\n const messageRests = messages.splice(showNum);\r\n const messageContainer = `<ul class='sd-notify__list'>{0}{1}</ul>`;\r\n const messageTemp = `<li class='sd-notify__item'>- {0}</li>`;\r\n let contentRest = '';\r\n if (messageRests?.length) {\r\n contentRest = `<input id='${id}' class='cdk-visually-hidden sd-notify__checkbox' type='checkbox' />\r\n <label class='sd-notify__text sd-notify__text--show' for='${id}'>${this.translate('Show more')}</label>\r\n <div class='sd-notify__item--rest'>\r\n ${messageRests.map(m => String.format(messageTemp, m)).join('')}\r\n </div>\r\n <label class='sd-notify__text sd-notify__text--less' for='${id}'>${this.translate('Show less')}</label>`;\r\n }\r\n const content = String.format(messageContainer, messages.map(m => String.format(messageTemp, m)).join(''), contentRest);\r\n let toast: ActiveToast<any>;\r\n // khi truyền message html sẽ bị sanitize nên phải truyền innerHTML khi toast hiện lên\r\n // @see https://github.com/scttcper/ngx-toastr/blob/v12.1.0/src/lib/toastr/toastr.service.ts#L271\r\n switch (type) {\r\n case 'error':\r\n toast = this.toastr.error(content, `${title || this.translate('Error')} (${messageLength})`, {\r\n enableHtml: true,\r\n timeOut: delay || this.configuration?.timeDelay || 3000,\r\n messageClass: `toast-message toast-message-${id}`,\r\n closeButton: true,\r\n tapToDismiss: false\r\n });\r\n break;\r\n case 'warning':\r\n toast = this.toastr.warning(content, `${title || this.translate('Warning')} (${messageLength})`, {\r\n enableHtml: true,\r\n timeOut: delay || this.configuration?.timeDelay || 3000,\r\n messageClass: `toast-message toast-message-${id}`,\r\n closeButton: true,\r\n tapToDismiss: false\r\n });\r\n break;\r\n }\r\n\r\n if (toast) {\r\n toast.onShown\r\n .pipe(\r\n takeUntil(toast.onHidden)\r\n )\r\n .subscribe(() => {\r\n const messageEle: HTMLDivElement = document.querySelector(`.toast-message-${id}`);\r\n messageEle.innerHTML = content;\r\n })\r\n }\r\n }\r\n\r\n handle = {\r\n error: (err: any) => {\r\n if (typeof err === 'string') {\r\n this.notify.warning(err);\r\n } else if (typeof err === 'object') {\r\n let message =\r\n err?.error ||\r\n err?.message ||\r\n err?.ExceptionMessage ||\r\n err?.Message ||\r\n 'Unknown error';\r\n if (typeof err.json === 'function') {\r\n err = err.json();\r\n if (err) {\r\n message =\r\n err?.error ||\r\n err?.message ||\r\n err?.ExceptionMessage ||\r\n err?.Message ||\r\n 'Unknown error';\r\n }\r\n }\r\n this.notify.warning(message);\r\n } else {\r\n this.notify.warning('Unknown error');\r\n }\r\n },\r\n };\r\n\r\n confirm = (\r\n message: string,\r\n option: {\r\n title?: string;\r\n yesTitle?: string;\r\n noTitle?: string;\r\n yesButtonColor?: SdBadgeColor;\r\n noButtonColor?: SdBadgeColor;\r\n } = {}\r\n ) => {\r\n const dialogRef = this.dialog.open(DialogConfirmComponent, {\r\n width: '400px',\r\n data: {\r\n title: option?.title || this.translate('Confirm'),\r\n message,\r\n yesTitle: option?.yesTitle || this.translate('Yes'),\r\n noTitle: option?.noTitle || this.translate('No'),\r\n noButtonColor: option?.noButtonColor || 'secondary',\r\n yesButtonColor: option?.yesButtonColor || 'primary',\r\n },\r\n });\r\n return new Promise((resolve, reject) => {\r\n dialogRef.afterClosed().subscribe((result) => {\r\n if (result) {\r\n if (result === 'ACCEPT') {\r\n resolve(null);\r\n } else if (result === 'CANCEL') {\r\n reject(result);\r\n } else {\r\n resolve(null);\r\n }\r\n }\r\n });\r\n });\r\n };\r\n\r\n confirmDelete = () => this.confirm(this.translate('Delete record(s)'));\r\n\r\n confirmApprove = () => this.confirm(this.translate('Approve record(s)'));\r\n\r\n confirmWithInput = (\r\n title: string,\r\n option: {\r\n message?: string;\r\n yesTitle?: string;\r\n noTitle?: string;\r\n required?: boolean;\r\n maxlength?: number;\r\n yesButtonColor?: SdBadgeColor;\r\n noButtonColor?: SdBadgeColor;\r\n defaultValue?: string;\r\n } = {}\r\n ): Promise<string> => {\r\n const dialogRef = this.dialog.open(DialogConfirmComponent, {\r\n width: '400px',\r\n data: {\r\n title: title || this.translate('Confirm'),\r\n message: option?.message,\r\n yesTitle: option?.yesTitle || this.translate('Yes'),\r\n noTitle: option?.noTitle || this.translate('No'),\r\n noButtonColor: option?.noButtonColor || 'secondary',\r\n yesButtonColor: option?.yesButtonColor || 'primary',\r\n input: {\r\n maxlength: option?.maxlength || 255,\r\n required: option?.required,\r\n defaultValue: option?.defaultValue || ''\r\n },\r\n },\r\n });\r\n return new Promise((resolve, reject) => {\r\n dialogRef.afterClosed().subscribe((result) => {\r\n if (result) {\r\n if (result === 'ACCEPT') {\r\n resolve(result);\r\n } else if (result === 'CANCEL') {\r\n reject(result);\r\n } else {\r\n resolve(result);\r\n }\r\n }\r\n });\r\n });\r\n };\r\n\r\n private translate = (value: string): string => {\r\n return this.translateService.translate(value);\r\n };\r\n}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { MatDialogModule } from \"@angular/material/dialog\";\r\nimport { MatIconModule } from \"@angular/material/icon\";\r\nimport { MatButtonModule } from \"@angular/material/button\";\r\nimport { MatFormFieldModule } from \"@angular/material/form-field\";\r\nimport { MatInputModule } from \"@angular/material/input\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { ToastrModule } from \"ngx-toastr\";\r\nimport { SdButtonModule } from \"@sd-angular/core/button\";\r\n\r\nimport { SdNotifyService } from \"./notify.service\";\r\nimport { DialogConfirmComponent } from \"./components/dialog-confirm/dialog-confirm.component\";\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n ToastrModule.forRoot(),\r\n SdButtonModule,\r\n ],\r\n declarations: [DialogConfirmComponent],\r\n entryComponents: [DialogConfirmComponent],\r\n exports: [],\r\n providers: [SdNotifyService],\r\n})\r\nexport class SdNotifyModule {}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdNotifyModule } from './lib/notify.module';\r\nexport * from './lib/notify.service';\r\nexport * from './lib/components/dialog-confirm/dialog-confirm.component';\r\nexport * from './lib/configurations/notify.configuration';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["uuid.v4"],"mappings":";;;;;;;;;;;;;;;;;MA2Ba,sBAAsB;IAKjC,YACS,SAA+C,EACtB,IAAgB;;QADzC,cAAS,GAAT,SAAS,CAAsC;QACtB,SAAI,GAAJ,IAAI,CAAY;QALlD,aAAQ,GAAG,KAAK,CAAC;QACjB,aAAQ,GAAG,KAAK,CAAC;QACjB,OAAE,GAAG,IAAIA,EAAO,EAAE,EAAE,CAAA;QAKlB,IAAI,CAAC,QAAQ,GAAG,cAAO,IAAI,CAAC,IAAI,0CAAE,OAAO,CAAA,KAAK,QAAQ,CAAC;QACvD,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAE;YACf,IAAI,CAAC,KAAK,eAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,0CAAE,YAAY,mCAAI,EAAE,CAAC;YAC7C,IAAI,CAAC,QAAQ,GAAG,OAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,0CAAE,QAAQ,KAAI,KAAK,CAAC;SAChD;KACF;;;YAnBF,SAAS,SAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,urCAA4C;;aAE7C;;;YAzBQ,YAAY;4CAiChB,MAAM,SAAC,eAAe;;;MC5Bd,aAAa,GAAG,IAAI,cAAc,CAAuB,sBAAsB;;;MCO/E,eAAe;IAa1B,YACU,MAAiB,EACjB,MAAqB,EACrB,gBAAoC,EACD,aAAmC;QAHtE,WAAM,GAAN,MAAM,CAAW;QACjB,WAAM,GAAN,MAAM,CAAe;QACrB,qBAAgB,GAAhB,gBAAgB,CAAoB;QACD,kBAAa,GAAb,aAAa,CAAsB;QAhBhF,yBAAiB,GAAG,EAAC;QACrB,sBAAcA,EAAO,EAAE,EAAC;QACxB,oBAAYA,EAAO,EAAE,EAAC;Q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