@sd-angular/core 1.3.0 → 1.3.1
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 +19 -17
- 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 +44 -40
- 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 +44 -41
- 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.1.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,632 +0,0 @@
|
|
|
1
|
-
import { Directive, TemplateRef, EventEmitter, Component, ChangeDetectionStrategy, ChangeDetectorRef, Inject, Optional, Input, Output, ViewChild, ContentChild, Pipe, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
4
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
5
|
-
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
6
|
-
import { __awaiter, __classPrivateFieldGet, __classPrivateFieldSet } from 'tslib';
|
|
7
|
-
import { ENTER, COMMA } from '@angular/cdk/keycodes';
|
|
8
|
-
import { startWith, debounceTime, switchMap, map } from 'rxjs/operators';
|
|
9
|
-
import { v4 } from 'uuid';
|
|
10
|
-
import hash from 'object-hash';
|
|
11
|
-
import { FormControl, Validators, NgForm, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
12
|
-
import { BehaviorSubject, Subscription, combineLatest } from 'rxjs';
|
|
13
|
-
import { MatAutocompleteTrigger, MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
14
|
-
import { SdFormControl, FORM_CONFIG, SdViewDefDirective, SdLabelDefDirective, SdCommonModule } from '@sd-angular/core/common';
|
|
15
|
-
import { MatInputModule } from '@angular/material/input';
|
|
16
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
17
|
-
import { SdTranslateModule } from '@sd-angular/core/translate';
|
|
18
|
-
import { MatChipsModule } from '@angular/material/chips';
|
|
19
|
-
|
|
20
|
-
class SdChipDisplayDef {
|
|
21
|
-
constructor(templateRef) {
|
|
22
|
-
this.templateRef = templateRef;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
SdChipDisplayDef.decorators = [
|
|
26
|
-
{ type: Directive, args: [{
|
|
27
|
-
selector: '[sdChipDisplayDef]'
|
|
28
|
-
},] }
|
|
29
|
-
];
|
|
30
|
-
SdChipDisplayDef.ctorParameters = () => [
|
|
31
|
-
{ type: TemplateRef }
|
|
32
|
-
];
|
|
33
|
-
|
|
34
|
-
var _name, _form, _addable, _allItems, _allItem, _cache, _delay, _itemsChanges, _selectedItems, _filteredItems, _subscription, _updateValidator, _loadItems, _loadSelectedItems;
|
|
35
|
-
class SdChipErrotStateMatcher {
|
|
36
|
-
constructor(formControl) {
|
|
37
|
-
this.formControl = formControl;
|
|
38
|
-
}
|
|
39
|
-
isErrorState(control, form) {
|
|
40
|
-
var _a, _b, _c;
|
|
41
|
-
const isSubmitted = form && form.submitted;
|
|
42
|
-
return !!(((_a = this.formControl) === null || _a === void 0 ? void 0 : _a.invalid) && (((_b = this.formControl) === null || _b === void 0 ? void 0 : _b.dirty) || ((_c = this.formControl) === null || _c === void 0 ? void 0 : _c.touched) || isSubmitted));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
class SdChip {
|
|
46
|
-
constructor(ref, formConfig) {
|
|
47
|
-
this.ref = ref;
|
|
48
|
-
this.formConfig = formConfig;
|
|
49
|
-
_name.set(this, v4());
|
|
50
|
-
this.separatorKeysCodes = [ENTER, COMMA];
|
|
51
|
-
this.selectable = true;
|
|
52
|
-
_form.set(this, void 0);
|
|
53
|
-
_addable.set(this, void 0);
|
|
54
|
-
this.removable = true;
|
|
55
|
-
this.disableErrorMessage = false;
|
|
56
|
-
// Server search
|
|
57
|
-
this.loading = false;
|
|
58
|
-
_allItems.set(this, void 0);
|
|
59
|
-
_allItem.set(this, {});
|
|
60
|
-
_cache.set(this, {});
|
|
61
|
-
_delay.set(this, 200); // Sau khoảng thời gian delay nếu không có thay đổi thì thì mới bắt đầu thực hiện gọi hàm
|
|
62
|
-
_itemsChanges.set(this, new BehaviorSubject([]));
|
|
63
|
-
this.limit = 50;
|
|
64
|
-
_selectedItems.set(this, []);
|
|
65
|
-
_filteredItems.set(this, void 0);
|
|
66
|
-
// Validator
|
|
67
|
-
this.required = false;
|
|
68
|
-
this.modelChange = new EventEmitter();
|
|
69
|
-
this.sdChange = new EventEmitter();
|
|
70
|
-
this.sdUpdate = new EventEmitter();
|
|
71
|
-
this.chipSelected = new EventEmitter();
|
|
72
|
-
this.isBluring = false;
|
|
73
|
-
this.isFocused = false;
|
|
74
|
-
this.inputControl = new FormControl();
|
|
75
|
-
this.formControl = new SdFormControl();
|
|
76
|
-
this.matcher = new SdChipErrotStateMatcher(this.formControl);
|
|
77
|
-
_subscription.set(this, new Subscription());
|
|
78
|
-
_updateValidator.set(this, () => {
|
|
79
|
-
this.formControl.clearValidators();
|
|
80
|
-
this.formControl.clearAsyncValidators();
|
|
81
|
-
const validators = [];
|
|
82
|
-
const asyncValidators = [];
|
|
83
|
-
if (this.required) {
|
|
84
|
-
validators.push(Validators.required);
|
|
85
|
-
}
|
|
86
|
-
if (this.min > 0) {
|
|
87
|
-
validators.push(Validators.minLength(this.min));
|
|
88
|
-
}
|
|
89
|
-
if (this.max > 0) {
|
|
90
|
-
validators.push(Validators.maxLength(this.max));
|
|
91
|
-
}
|
|
92
|
-
this.formControl.setValidators(validators);
|
|
93
|
-
this.formControl.setAsyncValidators(asyncValidators);
|
|
94
|
-
this.formControl.updateValueAndValidity();
|
|
95
|
-
});
|
|
96
|
-
_loadItems.set(this, (searchText, items) => __awaiter(this, void 0, void 0, function* () {
|
|
97
|
-
searchText = (searchText === null || searchText === void 0 ? void 0 : searchText.toString()) || '';
|
|
98
|
-
const key = hash({
|
|
99
|
-
checksum: this.cacheChecksum || null,
|
|
100
|
-
searchText
|
|
101
|
-
});
|
|
102
|
-
if (__classPrivateFieldGet(this, _cache)[key] === undefined) {
|
|
103
|
-
this.loading = true;
|
|
104
|
-
const results = yield items(searchText).catch(() => []).finally(() => this.loading = false);
|
|
105
|
-
const objItem = Array.toObject(results, this.valueField);
|
|
106
|
-
__classPrivateFieldSet(this, _allItem, Object.assign(Object.assign({}, __classPrivateFieldGet(this, _allItem)), objItem));
|
|
107
|
-
__classPrivateFieldGet(this, _cache)[key] = results.union(this.valueField);
|
|
108
|
-
}
|
|
109
|
-
// if (!this.multiple) {
|
|
110
|
-
// return this.#cache[searchText];
|
|
111
|
-
// }
|
|
112
|
-
const selectedItems = yield __classPrivateFieldGet(this, _loadSelectedItems).call(this, this.formControl.value, items);
|
|
113
|
-
// Đưa những selectedItems lên đầu nếu không mat-select-trigger sẽ không work
|
|
114
|
-
return [...selectedItems, ...__classPrivateFieldGet(this, _cache)[key]].union(this.valueField);
|
|
115
|
-
}));
|
|
116
|
-
_loadSelectedItems.set(this, (value, items) => __awaiter(this, void 0, void 0, function* () {
|
|
117
|
-
if (!(value === null || value === void 0 ? void 0 : value.toString())) {
|
|
118
|
-
return [];
|
|
119
|
-
}
|
|
120
|
-
const values = Array.isArray(value) ? value : [value];
|
|
121
|
-
if (!this.valueField && !this.displayField) {
|
|
122
|
-
return values;
|
|
123
|
-
}
|
|
124
|
-
this.loading = true;
|
|
125
|
-
if (values.some(val => __classPrivateFieldGet(this, _allItem)[val] === undefined)) {
|
|
126
|
-
const results = yield items(value, true).catch(() => []).finally(() => this.loading = false);
|
|
127
|
-
const objItem = Array.toObject(results, this.valueField);
|
|
128
|
-
const objValue = Array.toObject(values.map(val => ({ [val === null || val === void 0 ? void 0 : val.toString()]: { [this.valueField]: val, [this.displayField]: val } })), this.valueField);
|
|
129
|
-
__classPrivateFieldSet(this, _allItem, Object.assign(Object.assign(Object.assign({}, objValue), __classPrivateFieldGet(this, _allItem)), objItem));
|
|
130
|
-
}
|
|
131
|
-
return values.map(val => { var _a; return (_a = __classPrivateFieldGet(this, _allItem)[val === null || val === void 0 ? void 0 : val.toString()]) !== null && _a !== void 0 ? _a : { [this.valueField]: val, [this.displayField]: val }; });
|
|
132
|
-
}));
|
|
133
|
-
this.onAdd = (event) => {
|
|
134
|
-
var _a, _b, _c, _d, _e;
|
|
135
|
-
// Add item only when MatAutocomplete is not open
|
|
136
|
-
// To make sure this does not conflict with OptionSelected Event
|
|
137
|
-
// if (!this.matAutocomplete.isOpen) {
|
|
138
|
-
// const value = (event.value ?? '').toString().trim();
|
|
139
|
-
// if (value) {
|
|
140
|
-
// if (this.valueField && this.displayField) {
|
|
141
|
-
// const item = this.#filteredItems.find(e => e[this.displayField] === value);
|
|
142
|
-
// if (item) {
|
|
143
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
144
|
-
// values.push(item[this.valueField]);
|
|
145
|
-
// this.formControl.setValue(values);
|
|
146
|
-
// } else if (this.#addable) {
|
|
147
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
148
|
-
// values.push(value);
|
|
149
|
-
// this.formControl.setValue(values);
|
|
150
|
-
// }
|
|
151
|
-
// } else {
|
|
152
|
-
// console.log(value);
|
|
153
|
-
// console.log(this.#filteredItems);
|
|
154
|
-
// const item = this.#filteredItems.find(item => item === value);
|
|
155
|
-
// if (item) {
|
|
156
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
157
|
-
// values.push(item);
|
|
158
|
-
// this.formControl.setValue(values);
|
|
159
|
-
// } else if (this.#addable) {
|
|
160
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
161
|
-
// values.push(value);
|
|
162
|
-
// this.formControl.setValue(values);
|
|
163
|
-
// }
|
|
164
|
-
// }
|
|
165
|
-
// }
|
|
166
|
-
// this.inputControl.setValue('');
|
|
167
|
-
// }
|
|
168
|
-
const value = ((_a = event.value) !== null && _a !== void 0 ? _a : '').toString().trim();
|
|
169
|
-
if (value) {
|
|
170
|
-
if (this.valueField && this.displayField) {
|
|
171
|
-
const item = __classPrivateFieldGet(this, _filteredItems).find(e => e[this.displayField] === value);
|
|
172
|
-
if (item) {
|
|
173
|
-
const values = (_b = this.formControl.value) !== null && _b !== void 0 ? _b : [];
|
|
174
|
-
values.push(item[this.valueField]);
|
|
175
|
-
this.formControl.setValue(values);
|
|
176
|
-
this.modelChange.emit(this.formControl.value);
|
|
177
|
-
this.sdChange.emit(this.formControl.value);
|
|
178
|
-
}
|
|
179
|
-
else if (__classPrivateFieldGet(this, _addable)) {
|
|
180
|
-
const values = (_c = this.formControl.value) !== null && _c !== void 0 ? _c : [];
|
|
181
|
-
values.push(value);
|
|
182
|
-
this.formControl.setValue(values);
|
|
183
|
-
this.modelChange.emit(this.formControl.value);
|
|
184
|
-
this.sdChange.emit(this.formControl.value);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
const item = __classPrivateFieldGet(this, _filteredItems).find(item => item === value);
|
|
189
|
-
if (item) {
|
|
190
|
-
const values = (_d = this.formControl.value) !== null && _d !== void 0 ? _d : [];
|
|
191
|
-
values.push(item);
|
|
192
|
-
this.formControl.setValue(values);
|
|
193
|
-
this.modelChange.emit(this.formControl.value);
|
|
194
|
-
this.sdChange.emit(this.formControl.value);
|
|
195
|
-
}
|
|
196
|
-
else if (__classPrivateFieldGet(this, _addable)) {
|
|
197
|
-
const values = (_e = this.formControl.value) !== null && _e !== void 0 ? _e : [];
|
|
198
|
-
values.push(value);
|
|
199
|
-
this.formControl.setValue(values);
|
|
200
|
-
this.modelChange.emit(this.formControl.value);
|
|
201
|
-
this.sdChange.emit(this.formControl.value);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
this.input.nativeElement.value = '';
|
|
206
|
-
this.inputControl.setValue('');
|
|
207
|
-
};
|
|
208
|
-
// andn1 viết để xử lý tạm us B2B1D-18289 ở S69
|
|
209
|
-
this.onAdd2 = (event) => {
|
|
210
|
-
var _a, _b;
|
|
211
|
-
const value = ((_a = event.value) !== null && _a !== void 0 ? _a : '').toString().toLowerCase().trim();
|
|
212
|
-
if (value) {
|
|
213
|
-
const item = __classPrivateFieldGet(this, _filteredItems).find(e => e[this.valueField]
|
|
214
|
-
&& e[this.valueField].toString().toLowerCase().trim() === value);
|
|
215
|
-
if (item) {
|
|
216
|
-
const values = (_b = this.formControl.value) !== null && _b !== void 0 ? _b : [];
|
|
217
|
-
if (!values.includes(item[this.valueField])) {
|
|
218
|
-
values.push(item[this.valueField]);
|
|
219
|
-
}
|
|
220
|
-
this.formControl.setValue(values);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
this.inputControl.setValue('');
|
|
224
|
-
};
|
|
225
|
-
this.onClickChip = ($event, item) => {
|
|
226
|
-
$event.stopPropagation();
|
|
227
|
-
$event.stopImmediatePropagation();
|
|
228
|
-
item.isSelected = !item.isSelected;
|
|
229
|
-
this.focus();
|
|
230
|
-
};
|
|
231
|
-
this.onRemove = (item) => {
|
|
232
|
-
var _a;
|
|
233
|
-
const values = (_a = this.formControl.value) !== null && _a !== void 0 ? _a : [];
|
|
234
|
-
if (typeof (item) === 'string' || typeof (item) === 'number') {
|
|
235
|
-
this.formControl.setValue(values.filter(value => item !== value));
|
|
236
|
-
this.modelChange.emit(this.formControl.value);
|
|
237
|
-
this.sdChange.emit(this.formControl.value);
|
|
238
|
-
}
|
|
239
|
-
else if (this.valueField) {
|
|
240
|
-
this.formControl.setValue(values.filter(value => (item === null || item === void 0 ? void 0 : item[this.valueField]) !== value));
|
|
241
|
-
this.modelChange.emit(this.formControl.value);
|
|
242
|
-
this.sdChange.emit(this.formControl.value);
|
|
243
|
-
}
|
|
244
|
-
this.inputControl.setValue('');
|
|
245
|
-
this.focus();
|
|
246
|
-
};
|
|
247
|
-
this.select = (item) => {
|
|
248
|
-
this.chipSelected.emit(item);
|
|
249
|
-
this.focus();
|
|
250
|
-
};
|
|
251
|
-
// onSelect = (event: MatAutocompleteSelectedEvent) => {
|
|
252
|
-
// const value = (event.option.value?.[this.valueField] ?? '').toString().trim();
|
|
253
|
-
// if (value) {
|
|
254
|
-
// const item = this.#items.find(e => e[this.valueField]
|
|
255
|
-
// && e[this.valueField].toString().trim() === value);
|
|
256
|
-
// if (item) {
|
|
257
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
258
|
-
// values.push(item[this.valueField]);
|
|
259
|
-
// this.formControl.setValue(values);
|
|
260
|
-
// this.input.nativeElement.value = '';
|
|
261
|
-
// this.inputControl.setValue('');
|
|
262
|
-
// setTimeout(() => {
|
|
263
|
-
// this.autocompleteTrigger?.openPanel();
|
|
264
|
-
// }, 0);
|
|
265
|
-
// }
|
|
266
|
-
// }
|
|
267
|
-
// }
|
|
268
|
-
this.onSelect = (event) => {
|
|
269
|
-
var _a;
|
|
270
|
-
const item = event.option.value;
|
|
271
|
-
const values = (_a = this.formControl.value) !== null && _a !== void 0 ? _a : [];
|
|
272
|
-
if (item) {
|
|
273
|
-
if (typeof (item) === 'string' || typeof (item) === 'number') {
|
|
274
|
-
if (!values.includes(item)) {
|
|
275
|
-
values.push(item);
|
|
276
|
-
this.formControl.setValue(values);
|
|
277
|
-
this.modelChange.emit(this.formControl.value);
|
|
278
|
-
this.sdChange.emit(this.formControl.value);
|
|
279
|
-
setTimeout(() => {
|
|
280
|
-
var _a;
|
|
281
|
-
(_a = this.autocompleteTrigger) === null || _a === void 0 ? void 0 : _a.openPanel();
|
|
282
|
-
}, 0);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
else if (this.valueField) {
|
|
286
|
-
const val = (item === null || item === void 0 ? void 0 : item[this.valueField]) || null;
|
|
287
|
-
if (!values.includes(val)) {
|
|
288
|
-
values.push(val);
|
|
289
|
-
this.formControl.setValue(values);
|
|
290
|
-
this.modelChange.emit(this.formControl.value);
|
|
291
|
-
this.sdChange.emit(this.formControl.value);
|
|
292
|
-
setTimeout(() => {
|
|
293
|
-
var _a;
|
|
294
|
-
(_a = this.autocompleteTrigger) === null || _a === void 0 ? void 0 : _a.openPanel();
|
|
295
|
-
}, 0);
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
this.input.nativeElement.value = '';
|
|
299
|
-
this.inputControl.setValue('', {
|
|
300
|
-
emitEvent: false
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
};
|
|
304
|
-
// displayFn = (value: string | { [key: string]: string }): string | undefined => {
|
|
305
|
-
// if (typeof value === 'string') {
|
|
306
|
-
// if (!this.#items) {
|
|
307
|
-
// return undefined;
|
|
308
|
-
// }
|
|
309
|
-
// const selectedItem = this.#items.find(item => item[this.valueField] === value);
|
|
310
|
-
// if (selectedItem) {
|
|
311
|
-
// return selectedItem[this.displayField];
|
|
312
|
-
// }
|
|
313
|
-
// if (this.#items.some(item => item[this.displayField].toLowerCase().indexOf(value.toLowerCase()) !== -1)) {
|
|
314
|
-
// return value;
|
|
315
|
-
// } else {
|
|
316
|
-
// return undefined;
|
|
317
|
-
// }
|
|
318
|
-
// } else {
|
|
319
|
-
// return value ? value[this.displayField] : undefined;
|
|
320
|
-
// }
|
|
321
|
-
// }
|
|
322
|
-
this.onFocus = () => {
|
|
323
|
-
this.isFocused = true;
|
|
324
|
-
this.isBluring = false;
|
|
325
|
-
this.inputControl.setValue('');
|
|
326
|
-
// this.inputControl.updateValueAndValidity();
|
|
327
|
-
};
|
|
328
|
-
this.onBlur = () => {
|
|
329
|
-
this.isBluring = true;
|
|
330
|
-
setTimeout(() => {
|
|
331
|
-
if (this.isBluring) {
|
|
332
|
-
this.isFocused = false;
|
|
333
|
-
this.inputControl.setValue('', {
|
|
334
|
-
emitEvent: false
|
|
335
|
-
});
|
|
336
|
-
}
|
|
337
|
-
}, 100);
|
|
338
|
-
};
|
|
339
|
-
this.onClick = () => {
|
|
340
|
-
var _a;
|
|
341
|
-
if ((_a = this.sdView) === null || _a === void 0 ? void 0 : _a.templateRef) {
|
|
342
|
-
if (!this.formControl.disabled && !this.isFocused) {
|
|
343
|
-
this.focus();
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
this.focus = () => {
|
|
348
|
-
this.isFocused = true;
|
|
349
|
-
this.isBluring = false;
|
|
350
|
-
setTimeout(() => {
|
|
351
|
-
var _a, _b, _c;
|
|
352
|
-
(_a = this.autocompleteTrigger) === null || _a === void 0 ? void 0 : _a.openPanel();
|
|
353
|
-
(_c = (_b = this.input) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.focus();
|
|
354
|
-
}, 100);
|
|
355
|
-
};
|
|
356
|
-
this.onClear = ($event) => {
|
|
357
|
-
var _a;
|
|
358
|
-
$event === null || $event === void 0 ? void 0 : $event.stopPropagation();
|
|
359
|
-
this.inputControl.setValue('');
|
|
360
|
-
this.formControl.setValue([]);
|
|
361
|
-
this.modelChange.emit(this.formControl.value);
|
|
362
|
-
this.sdChange.emit(this.formControl.value);
|
|
363
|
-
(_a = this.autocompleteTrigger) === null || _a === void 0 ? void 0 : _a.openPanel();
|
|
364
|
-
this.ref.detectChanges();
|
|
365
|
-
};
|
|
366
|
-
this.getSelectedItems = () => __classPrivateFieldGet(this, _selectedItems);
|
|
367
|
-
}
|
|
368
|
-
set name(val) {
|
|
369
|
-
if (val) {
|
|
370
|
-
__classPrivateFieldSet(this, _name, val);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
set form(val) {
|
|
374
|
-
if (val) {
|
|
375
|
-
if (val instanceof NgForm) {
|
|
376
|
-
__classPrivateFieldSet(this, _form, val.form);
|
|
377
|
-
}
|
|
378
|
-
else {
|
|
379
|
-
__classPrivateFieldSet(this, _form, val);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
set addable(val) {
|
|
384
|
-
__classPrivateFieldSet(this, _addable, (val === '') || val);
|
|
385
|
-
}
|
|
386
|
-
set _removable(val) {
|
|
387
|
-
this.removable = (val === '') || val;
|
|
388
|
-
}
|
|
389
|
-
set _disableErrorMessage(val) {
|
|
390
|
-
this.disableErrorMessage = (val === '') || val;
|
|
391
|
-
}
|
|
392
|
-
set items(items) {
|
|
393
|
-
__classPrivateFieldSet(this, _delay, 0);
|
|
394
|
-
if (!items) {
|
|
395
|
-
__classPrivateFieldGet(this, _itemsChanges).next([]);
|
|
396
|
-
}
|
|
397
|
-
else if (Array.isArray(items)) {
|
|
398
|
-
__classPrivateFieldGet(this, _itemsChanges).next(items.filter(e => e !== null && e !== undefined));
|
|
399
|
-
}
|
|
400
|
-
else {
|
|
401
|
-
__classPrivateFieldSet(this, _delay, 500);
|
|
402
|
-
__classPrivateFieldGet(this, _itemsChanges).next(items);
|
|
403
|
-
}
|
|
404
|
-
this.formControl.updateValueAndValidity();
|
|
405
|
-
}
|
|
406
|
-
// model
|
|
407
|
-
set model(values) {
|
|
408
|
-
if (!Array.isArray(values)) {
|
|
409
|
-
values = [];
|
|
410
|
-
}
|
|
411
|
-
this.formControl.setValue(values);
|
|
412
|
-
}
|
|
413
|
-
set _required(val) {
|
|
414
|
-
this.required = (val === '') || val;
|
|
415
|
-
__classPrivateFieldGet(this, _updateValidator).call(this);
|
|
416
|
-
}
|
|
417
|
-
set pMin(val) {
|
|
418
|
-
this.min = +val || 0;
|
|
419
|
-
__classPrivateFieldGet(this, _updateValidator).call(this);
|
|
420
|
-
}
|
|
421
|
-
set pMax(val) {
|
|
422
|
-
this.max = +val || 0;
|
|
423
|
-
__classPrivateFieldGet(this, _updateValidator).call(this);
|
|
424
|
-
}
|
|
425
|
-
// Optional
|
|
426
|
-
set disabled(val) {
|
|
427
|
-
val = (val === '') || val;
|
|
428
|
-
if (val) {
|
|
429
|
-
this.formControl.disable();
|
|
430
|
-
this.inputControl.disable();
|
|
431
|
-
}
|
|
432
|
-
else {
|
|
433
|
-
this.formControl.enable();
|
|
434
|
-
this.inputControl.enable();
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
ngOnInit() {
|
|
438
|
-
var _a;
|
|
439
|
-
this.appearance = this.appearance || ((_a = this.formConfig) === null || _a === void 0 ? void 0 : _a.appearance);
|
|
440
|
-
}
|
|
441
|
-
ngAfterViewInit() {
|
|
442
|
-
var _a;
|
|
443
|
-
__classPrivateFieldGet(this, _subscription).add(this.formControl.sdChanges.subscribe(() => {
|
|
444
|
-
this.ref.markForCheck();
|
|
445
|
-
}));
|
|
446
|
-
__classPrivateFieldSet(this, _allItems, combineLatest([
|
|
447
|
-
__classPrivateFieldGet(this, _itemsChanges).asObservable(),
|
|
448
|
-
this.inputControl.valueChanges.pipe(startWith(''), debounceTime(__classPrivateFieldGet(this, _delay))),
|
|
449
|
-
this.formControl.valueChanges.pipe(startWith(this.formControl.value))
|
|
450
|
-
]).pipe(switchMap(([items]) => __awaiter(this, void 0, void 0, function* () {
|
|
451
|
-
const val = this.inputControl.value;
|
|
452
|
-
const values = this.formControl.value || [];
|
|
453
|
-
if (typeof (items) === 'function') {
|
|
454
|
-
return yield __classPrivateFieldGet(this, _loadItems).call(this, val, items);
|
|
455
|
-
}
|
|
456
|
-
__classPrivateFieldSet(this, _allItem, items.toObject(this.valueField));
|
|
457
|
-
const hasFields = !!this.valueField && !!this.displayField;
|
|
458
|
-
__classPrivateFieldSet(this, _filteredItems, items.filter(item => {
|
|
459
|
-
const value = hasFields ? item[this.valueField] : item;
|
|
460
|
-
const display = hasFields ? item[this.displayField] : item;
|
|
461
|
-
if (String.aliasIncludes(value, val) || String.aliasIncludes(display, val)) {
|
|
462
|
-
return true;
|
|
463
|
-
}
|
|
464
|
-
return values.some(e => e === value);
|
|
465
|
-
}));
|
|
466
|
-
return __classPrivateFieldGet(this, _filteredItems);
|
|
467
|
-
}))));
|
|
468
|
-
this.selectedItems = combineLatest([
|
|
469
|
-
__classPrivateFieldGet(this, _itemsChanges).asObservable(),
|
|
470
|
-
this.formControl.valueChanges.pipe(startWith(this.formControl.value))
|
|
471
|
-
])
|
|
472
|
-
.pipe(switchMap(([items, val]) => __awaiter(this, void 0, void 0, function* () {
|
|
473
|
-
var _b;
|
|
474
|
-
// Vì một số lý do chưa xác định mà khi sử dụng sdViewDef thì khi chuyển sang dạng view sẽ trigger val = null
|
|
475
|
-
// Nhưng formControl.value vẫn có giá trị đúng nên thực hiện gán val = this.formControl.value;
|
|
476
|
-
val = this.formControl.value;
|
|
477
|
-
if (!this.valueField) {
|
|
478
|
-
__classPrivateFieldSet(this, _selectedItems, this.formControl.value);
|
|
479
|
-
return __classPrivateFieldGet(this, _selectedItems);
|
|
480
|
-
}
|
|
481
|
-
if (typeof (items) === 'function') {
|
|
482
|
-
__classPrivateFieldSet(this, _selectedItems, yield __classPrivateFieldGet(this, _loadSelectedItems).call(this, val, items));
|
|
483
|
-
return __classPrivateFieldGet(this, _selectedItems);
|
|
484
|
-
}
|
|
485
|
-
__classPrivateFieldSet(this, _selectedItems, (_b = (this.formControl.value || [])) === null || _b === void 0 ? void 0 : _b.map(value => {
|
|
486
|
-
return (items === null || items === void 0 ? void 0 : items.find(item => item[this.valueField] === value)) || {
|
|
487
|
-
[this.valueField]: value,
|
|
488
|
-
[this.displayField]: value
|
|
489
|
-
};
|
|
490
|
-
}));
|
|
491
|
-
return __classPrivateFieldGet(this, _selectedItems);
|
|
492
|
-
})));
|
|
493
|
-
this.filteredItems = __classPrivateFieldGet(this, _allItems).pipe(map(allItems => allItems.filter(item => {
|
|
494
|
-
const values = this.formControl.value || [];
|
|
495
|
-
if (this.valueField) {
|
|
496
|
-
return !values.includes(item === null || item === void 0 ? void 0 : item[this.valueField]);
|
|
497
|
-
}
|
|
498
|
-
return !values.includes(item);
|
|
499
|
-
}).paging(this.limit)));
|
|
500
|
-
// this.display = this.selectedItems.pipe(
|
|
501
|
-
// map(selectedItems => selectedItems?.map(item => this.displayField ? item[this.displayField] : item)?.join(', ')));
|
|
502
|
-
// this.#subscription.add(this.formControl.valueChanges.subscribe(() => {
|
|
503
|
-
// const values: (string | number)[] = this.formControl.value || [];
|
|
504
|
-
// this.selectedItems = this.#items.filter(item => values.findIndex(value => value === item?.[this.valueField]) !== -1);
|
|
505
|
-
// this.modelChange.emit(values);
|
|
506
|
-
// this.sdChange.emit(values);
|
|
507
|
-
// setTimeout(() => {
|
|
508
|
-
// this.#form?.markAsDirty();
|
|
509
|
-
// }, 0);
|
|
510
|
-
// }));
|
|
511
|
-
// this.#subscription.add(this.#itemChanges.pipe(startWith(this.#items)).subscribe(() => {
|
|
512
|
-
// const values: (string | number)[] = this.formControl.value || [];
|
|
513
|
-
// this.selectedItems = [];
|
|
514
|
-
// for (const value of values) {
|
|
515
|
-
// const item = this.#items.find(e => e?.[this.valueField] === value) || {};
|
|
516
|
-
// this.selectedItems.push({
|
|
517
|
-
// ...item,
|
|
518
|
-
// [this.valueField]: value
|
|
519
|
-
// });
|
|
520
|
-
// }
|
|
521
|
-
// }));
|
|
522
|
-
(_a = __classPrivateFieldGet(this, _form)) === null || _a === void 0 ? void 0 : _a.addControl(__classPrivateFieldGet(this, _name), this.formControl);
|
|
523
|
-
}
|
|
524
|
-
ngOnDestroy() {
|
|
525
|
-
var _a;
|
|
526
|
-
(_a = __classPrivateFieldGet(this, _form)) === null || _a === void 0 ? void 0 : _a.removeControl(__classPrivateFieldGet(this, _name));
|
|
527
|
-
__classPrivateFieldGet(this, _subscription).unsubscribe();
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
_name = new WeakMap(), _form = new WeakMap(), _addable = new WeakMap(), _allItems = new WeakMap(), _allItem = new WeakMap(), _cache = new WeakMap(), _delay = new WeakMap(), _itemsChanges = new WeakMap(), _selectedItems = new WeakMap(), _filteredItems = new WeakMap(), _subscription = new WeakMap(), _updateValidator = new WeakMap(), _loadItems = new WeakMap(), _loadSelectedItems = new WeakMap();
|
|
531
|
-
SdChip.decorators = [
|
|
532
|
-
{ type: Component, args: [{
|
|
533
|
-
selector: 'sd-chip',
|
|
534
|
-
template: "<label *ngIf=\"!appearance && label && !sdLabelDef?.templateRef\" class=\"d-block mb-0 T14M\">{{label}} <span class=\"text-danger mb-2\"\r\n *ngIf=\"required\">*</span></label>\r\n<ng-container *ngIf=\"sdLabelDef?.templateRef\" matSuffix>\r\n <ng-container *ngTemplateOutlet=\"sdLabelDef.templateRef\">\r\n </ng-container>\r\n</ng-container>\r\n<div class=\"d-flex align-items-center\" [class.sd-view]=\"sdView?.templateRef\" [class.c-focused]=\"isFocused\"\r\n [class.c-disabled]=\"formControl.disabled\" (click)=\"onClick()\">\r\n <ng-container *ngIf=\"sdView?.templateRef && !autocompleteTrigger?.panelOpen && !isFocused; else default\">\r\n <ng-container *ngTemplateOutlet=\"sdView.templateRef;context: { value: formControl.value}\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #default>\r\n <mat-form-field class=\"c-md\" [ngClass]=\"{'c-sm': size === 'sm', 'no-padding-wrapper': disableErrorMessage}\"\r\n [appearance]=\"appearance || 'outline'\">\r\n <mat-label *ngIf=\"appearance && label\">{{ label }}</mat-label>\r\n <mat-chip-list [formControl]=\"formControl\" #chipList>\r\n <ng-container *ngFor=\"let item of selectedItems | async\">\r\n <mat-chip *ngIf=\"item\" [selectable]=\"selectable\" [removable]=\"removable\" (removed)=\"onRemove(item)\"\r\n [selected]=\"item.isSelected\" (selectionChange)=\"select(item)\" [disabled]=\"inputControl.disabled\"\r\n (click)=\"onClickChip($event, item)\">\r\n <span>{{item[displayField] || item[valueField] || item}}</span>\r\n <mat-icon *ngIf=\"!inputControl.disabled && item | sdRemovableChip:removable\" matChipRemove>cancel</mat-icon>\r\n </mat-chip>\r\n </ng-container>\r\n <input #autocompleteTrigger [formControl]=\"inputControl\" [placeholder]=\"placeholder || (appearance ? label : '')\"\r\n [matAutocomplete]=\"auto\" [matChipInputFor]=\"chipList\" [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\r\n (matChipInputTokenEnd)=\"onAdd($event)\" autocomplete=\"off\" [errorStateMatcher]=\"matcher\" (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\" [required]=\"required\" matInput #input>\r\n </mat-chip-list>\r\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"onSelect($event)\">\r\n <mat-option *ngFor=\"let item of filteredItems | async\" [value]=\"item\" matTooltipPosition=\"above\"\r\n [matTooltip]=\"displayField ? item[displayField] : item\">\r\n <ng-container *ngIf=\"sdChipDisplay?.templateRef\">\r\n <ng-container *ngTemplateOutlet=\"sdChipDisplay.templateRef;context:{item: item}\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"!sdChipDisplay?.templateRef\">\r\n {{ displayField ? item[displayField] : item }}\r\n </ng-container>\r\n </mat-option>\r\n </mat-autocomplete>\r\n </mat-form-field>\r\n </ng-template>\r\n</div>",
|
|
535
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
536
|
-
styles: [":host{display:block;padding-top:5px}:host ::ng-deep .mat-form-field.no-padding-wrapper .mat-form-field-wrapper{padding-bottom:0}:host ::ng-deep mat-form-field.c-md .mat-form-field-infix{min-height:43.5px;padding:2px 0}:host ::ng-deep mat-form-field.c-md .mat-standard-chip{min-height:26px;padding:7px 10px}:host ::ng-deep mat-form-field.c-md .mat-standard-chip.mat-chip-with-trailing-icon{padding:7px 7px 7px 10px}.sd-view:not(.c-focused):not(.c-disabled):hover{background-color:#ebecf0}"]
|
|
537
|
-
},] }
|
|
538
|
-
];
|
|
539
|
-
SdChip.ctorParameters = () => [
|
|
540
|
-
{ type: ChangeDetectorRef },
|
|
541
|
-
{ type: undefined, decorators: [{ type: Inject, args: [FORM_CONFIG,] }, { type: Optional }] }
|
|
542
|
-
];
|
|
543
|
-
SdChip.propDecorators = {
|
|
544
|
-
name: [{ type: Input }],
|
|
545
|
-
appearance: [{ type: Input }],
|
|
546
|
-
size: [{ type: Input }],
|
|
547
|
-
form: [{ type: Input }],
|
|
548
|
-
addable: [{ type: Input }],
|
|
549
|
-
label: [{ type: Input }],
|
|
550
|
-
valueField: [{ type: Input }],
|
|
551
|
-
displayField: [{ type: Input }],
|
|
552
|
-
placeholder: [{ type: Input }],
|
|
553
|
-
_removable: [{ type: Input, args: ['removable',] }],
|
|
554
|
-
_disableErrorMessage: [{ type: Input, args: ['disableErrorMessage',] }],
|
|
555
|
-
items: [{ type: Input }],
|
|
556
|
-
limit: [{ type: Input }],
|
|
557
|
-
cacheChecksum: [{ type: Input }],
|
|
558
|
-
model: [{ type: Input }],
|
|
559
|
-
_required: [{ type: Input, args: ['required',] }],
|
|
560
|
-
pMin: [{ type: Input, args: ['min',] }],
|
|
561
|
-
pMax: [{ type: Input, args: ['max',] }],
|
|
562
|
-
modelChange: [{ type: Output }],
|
|
563
|
-
disabled: [{ type: Input }],
|
|
564
|
-
sdChange: [{ type: Output }],
|
|
565
|
-
sdUpdate: [{ type: Output }],
|
|
566
|
-
chipSelected: [{ type: Output }],
|
|
567
|
-
input: [{ type: ViewChild, args: ['input',] }],
|
|
568
|
-
matAutocomplete: [{ type: ViewChild, args: ['auto',] }],
|
|
569
|
-
chipList: [{ type: ViewChild, args: ['chipList', { static: true },] }],
|
|
570
|
-
autocompleteTrigger: [{ type: ViewChild, args: [MatAutocompleteTrigger, { read: MatAutocompleteTrigger },] }],
|
|
571
|
-
sdView: [{ type: ContentChild, args: [SdViewDefDirective,] }],
|
|
572
|
-
sdChipDisplay: [{ type: ContentChild, args: [SdChipDisplayDef,] }],
|
|
573
|
-
sdLabelDef: [{ type: ContentChild, args: [SdLabelDefDirective,] }]
|
|
574
|
-
};
|
|
575
|
-
|
|
576
|
-
class SdRemovableChipPipe {
|
|
577
|
-
constructor() { }
|
|
578
|
-
transform(item, removable) {
|
|
579
|
-
if (typeof (removable) === 'boolean') {
|
|
580
|
-
return removable;
|
|
581
|
-
}
|
|
582
|
-
return removable(item);
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
SdRemovableChipPipe.decorators = [
|
|
586
|
-
{ type: Pipe, args: [{
|
|
587
|
-
name: 'sdRemovableChip'
|
|
588
|
-
},] }
|
|
589
|
-
];
|
|
590
|
-
SdRemovableChipPipe.ctorParameters = () => [];
|
|
591
|
-
|
|
592
|
-
class SdChipModule {
|
|
593
|
-
}
|
|
594
|
-
SdChipModule.decorators = [
|
|
595
|
-
{ type: NgModule, args: [{
|
|
596
|
-
imports: [
|
|
597
|
-
CommonModule,
|
|
598
|
-
FormsModule,
|
|
599
|
-
ReactiveFormsModule,
|
|
600
|
-
MatInputModule,
|
|
601
|
-
MatTooltipModule,
|
|
602
|
-
MatFormFieldModule,
|
|
603
|
-
MatAutocompleteModule,
|
|
604
|
-
MatIconModule,
|
|
605
|
-
MatProgressSpinnerModule,
|
|
606
|
-
MatChipsModule,
|
|
607
|
-
SdTranslateModule,
|
|
608
|
-
SdCommonModule
|
|
609
|
-
],
|
|
610
|
-
declarations: [
|
|
611
|
-
SdChip,
|
|
612
|
-
SdChipDisplayDef,
|
|
613
|
-
SdRemovableChipPipe
|
|
614
|
-
],
|
|
615
|
-
exports: [
|
|
616
|
-
SdCommonModule,
|
|
617
|
-
SdChip,
|
|
618
|
-
SdChipDisplayDef,
|
|
619
|
-
]
|
|
620
|
-
},] }
|
|
621
|
-
];
|
|
622
|
-
|
|
623
|
-
/*
|
|
624
|
-
* Public API Surface of superdev-angular-core
|
|
625
|
-
*/
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Generated bundle index. Do not edit.
|
|
629
|
-
*/
|
|
630
|
-
|
|
631
|
-
export { SdChip, SdChipDisplayDef, SdChipModule, SdRemovableChipPipe as ɵa };
|
|
632
|
-
//# sourceMappingURL=sd-angular-core-chip.js.map
|