@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,1051 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/material/icon'), require('@angular/material/tooltip'), require('@angular/material/progress-spinner'), require('@angular/cdk/keycodes'), require('rxjs/operators'), require('uuid'), require('object-hash'), require('@angular/forms'), require('rxjs'), require('@angular/material/autocomplete'), require('@sd-angular/core/common'), require('@angular/material/input'), require('@angular/material/form-field'), require('@sd-angular/core/translate'), require('@angular/material/chips')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@sd-angular/core/chip', ['exports', '@angular/core', '@angular/common', '@angular/material/icon', '@angular/material/tooltip', '@angular/material/progress-spinner', '@angular/cdk/keycodes', 'rxjs/operators', 'uuid', 'object-hash', '@angular/forms', 'rxjs', '@angular/material/autocomplete', '@sd-angular/core/common', '@angular/material/input', '@angular/material/form-field', '@sd-angular/core/translate', '@angular/material/chips'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['sd-angular'] = global['sd-angular'] || {}, global['sd-angular'].core = global['sd-angular'].core || {}, global['sd-angular'].core.chip = {}), global.ng.core, global.ng.common, global.ng.material.icon, global.ng.material.tooltip, global.ng.material.progressSpinner, global.ng.cdk.keycodes, global.rxjs.operators, global.uuid, global.hash, global.ng.forms, global.rxjs, global.ng.material.autocomplete, global['sd-angular'].core.common, global.ng.material.input, global.ng.material.formField, global['sd-angular'].core.translate, global.ng.material.chips));
|
|
5
|
-
}(this, (function (exports, core, common$1, icon, tooltip, progressSpinner, keycodes, operators, uuid, hash, forms, rxjs, autocomplete, common, input, formField, translate, chips) { 'use strict';
|
|
6
|
-
|
|
7
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
-
|
|
9
|
-
var hash__default = /*#__PURE__*/_interopDefaultLegacy(hash);
|
|
10
|
-
|
|
11
|
-
/*! *****************************************************************************
|
|
12
|
-
Copyright (c) Microsoft Corporation.
|
|
13
|
-
|
|
14
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
15
|
-
purpose with or without fee is hereby granted.
|
|
16
|
-
|
|
17
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
18
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
19
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
20
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
21
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
22
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
23
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
24
|
-
***************************************************************************** */
|
|
25
|
-
/* global Reflect, Promise */
|
|
26
|
-
var extendStatics = function (d, b) {
|
|
27
|
-
extendStatics = Object.setPrototypeOf ||
|
|
28
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
29
|
-
function (d, b) { for (var p in b)
|
|
30
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
31
|
-
d[p] = b[p]; };
|
|
32
|
-
return extendStatics(d, b);
|
|
33
|
-
};
|
|
34
|
-
function __extends(d, b) {
|
|
35
|
-
if (typeof b !== "function" && b !== null)
|
|
36
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
37
|
-
extendStatics(d, b);
|
|
38
|
-
function __() { this.constructor = d; }
|
|
39
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40
|
-
}
|
|
41
|
-
var __assign = function () {
|
|
42
|
-
__assign = Object.assign || function __assign(t) {
|
|
43
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
44
|
-
s = arguments[i];
|
|
45
|
-
for (var p in s)
|
|
46
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
47
|
-
t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
function __rest(s, e) {
|
|
54
|
-
var t = {};
|
|
55
|
-
for (var p in s)
|
|
56
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
57
|
-
t[p] = s[p];
|
|
58
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
59
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
60
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
61
|
-
t[p[i]] = s[p[i]];
|
|
62
|
-
}
|
|
63
|
-
return t;
|
|
64
|
-
}
|
|
65
|
-
function __decorate(decorators, target, key, desc) {
|
|
66
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
67
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
68
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
69
|
-
else
|
|
70
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
71
|
-
if (d = decorators[i])
|
|
72
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
73
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
74
|
-
}
|
|
75
|
-
function __param(paramIndex, decorator) {
|
|
76
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
77
|
-
}
|
|
78
|
-
function __metadata(metadataKey, metadataValue) {
|
|
79
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
80
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
81
|
-
}
|
|
82
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
83
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
84
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
85
|
-
function fulfilled(value) { try {
|
|
86
|
-
step(generator.next(value));
|
|
87
|
-
}
|
|
88
|
-
catch (e) {
|
|
89
|
-
reject(e);
|
|
90
|
-
} }
|
|
91
|
-
function rejected(value) { try {
|
|
92
|
-
step(generator["throw"](value));
|
|
93
|
-
}
|
|
94
|
-
catch (e) {
|
|
95
|
-
reject(e);
|
|
96
|
-
} }
|
|
97
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
98
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
function __generator(thisArg, body) {
|
|
102
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
103
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
104
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
105
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
106
|
-
function step(op) {
|
|
107
|
-
if (f)
|
|
108
|
-
throw new TypeError("Generator is already executing.");
|
|
109
|
-
while (_)
|
|
110
|
-
try {
|
|
111
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
112
|
-
return t;
|
|
113
|
-
if (y = 0, t)
|
|
114
|
-
op = [op[0] & 2, t.value];
|
|
115
|
-
switch (op[0]) {
|
|
116
|
-
case 0:
|
|
117
|
-
case 1:
|
|
118
|
-
t = op;
|
|
119
|
-
break;
|
|
120
|
-
case 4:
|
|
121
|
-
_.label++;
|
|
122
|
-
return { value: op[1], done: false };
|
|
123
|
-
case 5:
|
|
124
|
-
_.label++;
|
|
125
|
-
y = op[1];
|
|
126
|
-
op = [0];
|
|
127
|
-
continue;
|
|
128
|
-
case 7:
|
|
129
|
-
op = _.ops.pop();
|
|
130
|
-
_.trys.pop();
|
|
131
|
-
continue;
|
|
132
|
-
default:
|
|
133
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
134
|
-
_ = 0;
|
|
135
|
-
continue;
|
|
136
|
-
}
|
|
137
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
138
|
-
_.label = op[1];
|
|
139
|
-
break;
|
|
140
|
-
}
|
|
141
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
142
|
-
_.label = t[1];
|
|
143
|
-
t = op;
|
|
144
|
-
break;
|
|
145
|
-
}
|
|
146
|
-
if (t && _.label < t[2]) {
|
|
147
|
-
_.label = t[2];
|
|
148
|
-
_.ops.push(op);
|
|
149
|
-
break;
|
|
150
|
-
}
|
|
151
|
-
if (t[2])
|
|
152
|
-
_.ops.pop();
|
|
153
|
-
_.trys.pop();
|
|
154
|
-
continue;
|
|
155
|
-
}
|
|
156
|
-
op = body.call(thisArg, _);
|
|
157
|
-
}
|
|
158
|
-
catch (e) {
|
|
159
|
-
op = [6, e];
|
|
160
|
-
y = 0;
|
|
161
|
-
}
|
|
162
|
-
finally {
|
|
163
|
-
f = t = 0;
|
|
164
|
-
}
|
|
165
|
-
if (op[0] & 5)
|
|
166
|
-
throw op[1];
|
|
167
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
171
|
-
if (k2 === undefined)
|
|
172
|
-
k2 = k;
|
|
173
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
174
|
-
}) : (function (o, m, k, k2) {
|
|
175
|
-
if (k2 === undefined)
|
|
176
|
-
k2 = k;
|
|
177
|
-
o[k2] = m[k];
|
|
178
|
-
});
|
|
179
|
-
function __exportStar(m, o) {
|
|
180
|
-
for (var p in m)
|
|
181
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
182
|
-
__createBinding(o, m, p);
|
|
183
|
-
}
|
|
184
|
-
function __values(o) {
|
|
185
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
186
|
-
if (m)
|
|
187
|
-
return m.call(o);
|
|
188
|
-
if (o && typeof o.length === "number")
|
|
189
|
-
return {
|
|
190
|
-
next: function () {
|
|
191
|
-
if (o && i >= o.length)
|
|
192
|
-
o = void 0;
|
|
193
|
-
return { value: o && o[i++], done: !o };
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
197
|
-
}
|
|
198
|
-
function __read(o, n) {
|
|
199
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
200
|
-
if (!m)
|
|
201
|
-
return o;
|
|
202
|
-
var i = m.call(o), r, ar = [], e;
|
|
203
|
-
try {
|
|
204
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
205
|
-
ar.push(r.value);
|
|
206
|
-
}
|
|
207
|
-
catch (error) {
|
|
208
|
-
e = { error: error };
|
|
209
|
-
}
|
|
210
|
-
finally {
|
|
211
|
-
try {
|
|
212
|
-
if (r && !r.done && (m = i["return"]))
|
|
213
|
-
m.call(i);
|
|
214
|
-
}
|
|
215
|
-
finally {
|
|
216
|
-
if (e)
|
|
217
|
-
throw e.error;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
return ar;
|
|
221
|
-
}
|
|
222
|
-
/** @deprecated */
|
|
223
|
-
function __spread() {
|
|
224
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
225
|
-
ar = ar.concat(__read(arguments[i]));
|
|
226
|
-
return ar;
|
|
227
|
-
}
|
|
228
|
-
/** @deprecated */
|
|
229
|
-
function __spreadArrays() {
|
|
230
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
231
|
-
s += arguments[i].length;
|
|
232
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
233
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
234
|
-
r[k] = a[j];
|
|
235
|
-
return r;
|
|
236
|
-
}
|
|
237
|
-
function __spreadArray(to, from, pack) {
|
|
238
|
-
if (pack || arguments.length === 2)
|
|
239
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
240
|
-
if (ar || !(i in from)) {
|
|
241
|
-
if (!ar)
|
|
242
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
243
|
-
ar[i] = from[i];
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
247
|
-
}
|
|
248
|
-
function __await(v) {
|
|
249
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
250
|
-
}
|
|
251
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
252
|
-
if (!Symbol.asyncIterator)
|
|
253
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
254
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
255
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
256
|
-
function verb(n) { if (g[n])
|
|
257
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
258
|
-
function resume(n, v) { try {
|
|
259
|
-
step(g[n](v));
|
|
260
|
-
}
|
|
261
|
-
catch (e) {
|
|
262
|
-
settle(q[0][3], e);
|
|
263
|
-
} }
|
|
264
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
265
|
-
function fulfill(value) { resume("next", value); }
|
|
266
|
-
function reject(value) { resume("throw", value); }
|
|
267
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
268
|
-
resume(q[0][0], q[0][1]); }
|
|
269
|
-
}
|
|
270
|
-
function __asyncDelegator(o) {
|
|
271
|
-
var i, p;
|
|
272
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
273
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
274
|
-
}
|
|
275
|
-
function __asyncValues(o) {
|
|
276
|
-
if (!Symbol.asyncIterator)
|
|
277
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
278
|
-
var m = o[Symbol.asyncIterator], i;
|
|
279
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
280
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
281
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
282
|
-
}
|
|
283
|
-
function __makeTemplateObject(cooked, raw) {
|
|
284
|
-
if (Object.defineProperty) {
|
|
285
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
cooked.raw = raw;
|
|
289
|
-
}
|
|
290
|
-
return cooked;
|
|
291
|
-
}
|
|
292
|
-
;
|
|
293
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
294
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
295
|
-
}) : function (o, v) {
|
|
296
|
-
o["default"] = v;
|
|
297
|
-
};
|
|
298
|
-
function __importStar(mod) {
|
|
299
|
-
if (mod && mod.__esModule)
|
|
300
|
-
return mod;
|
|
301
|
-
var result = {};
|
|
302
|
-
if (mod != null)
|
|
303
|
-
for (var k in mod)
|
|
304
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
305
|
-
__createBinding(result, mod, k);
|
|
306
|
-
__setModuleDefault(result, mod);
|
|
307
|
-
return result;
|
|
308
|
-
}
|
|
309
|
-
function __importDefault(mod) {
|
|
310
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
311
|
-
}
|
|
312
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
313
|
-
if (kind === "a" && !f)
|
|
314
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
315
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
316
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
317
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
318
|
-
}
|
|
319
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
320
|
-
if (kind === "m")
|
|
321
|
-
throw new TypeError("Private method is not writable");
|
|
322
|
-
if (kind === "a" && !f)
|
|
323
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
324
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
325
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
326
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
var SdChipDisplayDef = /** @class */ (function () {
|
|
330
|
-
function SdChipDisplayDef(templateRef) {
|
|
331
|
-
this.templateRef = templateRef;
|
|
332
|
-
}
|
|
333
|
-
return SdChipDisplayDef;
|
|
334
|
-
}());
|
|
335
|
-
SdChipDisplayDef.decorators = [
|
|
336
|
-
{ type: core.Directive, args: [{
|
|
337
|
-
selector: '[sdChipDisplayDef]'
|
|
338
|
-
},] }
|
|
339
|
-
];
|
|
340
|
-
SdChipDisplayDef.ctorParameters = function () { return [
|
|
341
|
-
{ type: core.TemplateRef }
|
|
342
|
-
]; };
|
|
343
|
-
|
|
344
|
-
var _name, _form, _addable, _allItems, _allItem, _cache, _delay, _itemsChanges, _selectedItems, _filteredItems, _subscription, _updateValidator, _loadItems, _loadSelectedItems;
|
|
345
|
-
var SdChipErrotStateMatcher = /** @class */ (function () {
|
|
346
|
-
function SdChipErrotStateMatcher(formControl) {
|
|
347
|
-
this.formControl = formControl;
|
|
348
|
-
}
|
|
349
|
-
SdChipErrotStateMatcher.prototype.isErrorState = function (control, form) {
|
|
350
|
-
var _a, _b, _c;
|
|
351
|
-
var isSubmitted = form && form.submitted;
|
|
352
|
-
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));
|
|
353
|
-
};
|
|
354
|
-
return SdChipErrotStateMatcher;
|
|
355
|
-
}());
|
|
356
|
-
var SdChip = /** @class */ (function () {
|
|
357
|
-
function SdChip(ref, formConfig) {
|
|
358
|
-
var _this = this;
|
|
359
|
-
this.ref = ref;
|
|
360
|
-
this.formConfig = formConfig;
|
|
361
|
-
_name.set(this, uuid.v4());
|
|
362
|
-
this.separatorKeysCodes = [keycodes.ENTER, keycodes.COMMA];
|
|
363
|
-
this.selectable = true;
|
|
364
|
-
_form.set(this, void 0);
|
|
365
|
-
_addable.set(this, void 0);
|
|
366
|
-
this.removable = true;
|
|
367
|
-
this.disableErrorMessage = false;
|
|
368
|
-
// Server search
|
|
369
|
-
this.loading = false;
|
|
370
|
-
_allItems.set(this, void 0);
|
|
371
|
-
_allItem.set(this, {});
|
|
372
|
-
_cache.set(this, {});
|
|
373
|
-
_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
|
|
374
|
-
_itemsChanges.set(this, new rxjs.BehaviorSubject([]));
|
|
375
|
-
this.limit = 50;
|
|
376
|
-
_selectedItems.set(this, []);
|
|
377
|
-
_filteredItems.set(this, void 0);
|
|
378
|
-
// Validator
|
|
379
|
-
this.required = false;
|
|
380
|
-
this.modelChange = new core.EventEmitter();
|
|
381
|
-
this.sdChange = new core.EventEmitter();
|
|
382
|
-
this.sdUpdate = new core.EventEmitter();
|
|
383
|
-
this.chipSelected = new core.EventEmitter();
|
|
384
|
-
this.isBluring = false;
|
|
385
|
-
this.isFocused = false;
|
|
386
|
-
this.inputControl = new forms.FormControl();
|
|
387
|
-
this.formControl = new common.SdFormControl();
|
|
388
|
-
this.matcher = new SdChipErrotStateMatcher(this.formControl);
|
|
389
|
-
_subscription.set(this, new rxjs.Subscription());
|
|
390
|
-
_updateValidator.set(this, function () {
|
|
391
|
-
_this.formControl.clearValidators();
|
|
392
|
-
_this.formControl.clearAsyncValidators();
|
|
393
|
-
var validators = [];
|
|
394
|
-
var asyncValidators = [];
|
|
395
|
-
if (_this.required) {
|
|
396
|
-
validators.push(forms.Validators.required);
|
|
397
|
-
}
|
|
398
|
-
if (_this.min > 0) {
|
|
399
|
-
validators.push(forms.Validators.minLength(_this.min));
|
|
400
|
-
}
|
|
401
|
-
if (_this.max > 0) {
|
|
402
|
-
validators.push(forms.Validators.maxLength(_this.max));
|
|
403
|
-
}
|
|
404
|
-
_this.formControl.setValidators(validators);
|
|
405
|
-
_this.formControl.setAsyncValidators(asyncValidators);
|
|
406
|
-
_this.formControl.updateValueAndValidity();
|
|
407
|
-
});
|
|
408
|
-
_loadItems.set(this, function (searchText, items) { return __awaiter(_this, void 0, void 0, function () {
|
|
409
|
-
var key, results, objItem, selectedItems;
|
|
410
|
-
var _this = this;
|
|
411
|
-
return __generator(this, function (_f) {
|
|
412
|
-
switch (_f.label) {
|
|
413
|
-
case 0:
|
|
414
|
-
searchText = (searchText === null || searchText === void 0 ? void 0 : searchText.toString()) || '';
|
|
415
|
-
key = hash__default['default']({
|
|
416
|
-
checksum: this.cacheChecksum || null,
|
|
417
|
-
searchText: searchText
|
|
418
|
-
});
|
|
419
|
-
if (!(__classPrivateFieldGet(this, _cache)[key] === undefined)) return [3 /*break*/, 2];
|
|
420
|
-
this.loading = true;
|
|
421
|
-
return [4 /*yield*/, items(searchText).catch(function () { return []; }).finally(function () { return _this.loading = false; })];
|
|
422
|
-
case 1:
|
|
423
|
-
results = _f.sent();
|
|
424
|
-
objItem = Array.toObject(results, this.valueField);
|
|
425
|
-
__classPrivateFieldSet(this, _allItem, Object.assign(Object.assign({}, __classPrivateFieldGet(this, _allItem)), objItem));
|
|
426
|
-
__classPrivateFieldGet(this, _cache)[key] = results.union(this.valueField);
|
|
427
|
-
_f.label = 2;
|
|
428
|
-
case 2: return [4 /*yield*/, __classPrivateFieldGet(this, _loadSelectedItems).call(this, this.formControl.value, items)];
|
|
429
|
-
case 3:
|
|
430
|
-
selectedItems = _f.sent();
|
|
431
|
-
// Đưa những selectedItems lên đầu nếu không mat-select-trigger sẽ không work
|
|
432
|
-
return [2 /*return*/, __spread(selectedItems, __classPrivateFieldGet(this, _cache)[key]).union(this.valueField)];
|
|
433
|
-
}
|
|
434
|
-
});
|
|
435
|
-
}); });
|
|
436
|
-
_loadSelectedItems.set(this, function (value, items) { return __awaiter(_this, void 0, void 0, function () {
|
|
437
|
-
var values, results, objItem, objValue;
|
|
438
|
-
var _this = this;
|
|
439
|
-
return __generator(this, function (_f) {
|
|
440
|
-
switch (_f.label) {
|
|
441
|
-
case 0:
|
|
442
|
-
if (!(value === null || value === void 0 ? void 0 : value.toString())) {
|
|
443
|
-
return [2 /*return*/, []];
|
|
444
|
-
}
|
|
445
|
-
values = Array.isArray(value) ? value : [value];
|
|
446
|
-
if (!this.valueField && !this.displayField) {
|
|
447
|
-
return [2 /*return*/, values];
|
|
448
|
-
}
|
|
449
|
-
this.loading = true;
|
|
450
|
-
if (!values.some(function (val) { return __classPrivateFieldGet(_this, _allItem)[val] === undefined; })) return [3 /*break*/, 2];
|
|
451
|
-
return [4 /*yield*/, items(value, true).catch(function () { return []; }).finally(function () { return _this.loading = false; })];
|
|
452
|
-
case 1:
|
|
453
|
-
results = _f.sent();
|
|
454
|
-
objItem = Array.toObject(results, this.valueField);
|
|
455
|
-
objValue = Array.toObject(values.map(function (val) {
|
|
456
|
-
var _f, _g;
|
|
457
|
-
return (_f = {}, _f[val === null || val === void 0 ? void 0 : val.toString()] = (_g = {}, _g[_this.valueField] = val, _g[_this.displayField] = val, _g), _f);
|
|
458
|
-
}), this.valueField);
|
|
459
|
-
__classPrivateFieldSet(this, _allItem, Object.assign(Object.assign(Object.assign({}, objValue), __classPrivateFieldGet(this, _allItem)), objItem));
|
|
460
|
-
_f.label = 2;
|
|
461
|
-
case 2: return [2 /*return*/, values.map(function (val) {
|
|
462
|
-
var _f;
|
|
463
|
-
var _a;
|
|
464
|
-
return (_a = __classPrivateFieldGet(_this, _allItem)[val === null || val === void 0 ? void 0 : val.toString()]) !== null && _a !== void 0 ? _a : (_f = {}, _f[_this.valueField] = val, _f[_this.displayField] = val, _f);
|
|
465
|
-
})];
|
|
466
|
-
}
|
|
467
|
-
});
|
|
468
|
-
}); });
|
|
469
|
-
this.onAdd = function (event) {
|
|
470
|
-
var _a, _b, _c, _d, _e;
|
|
471
|
-
// Add item only when MatAutocomplete is not open
|
|
472
|
-
// To make sure this does not conflict with OptionSelected Event
|
|
473
|
-
// if (!this.matAutocomplete.isOpen) {
|
|
474
|
-
// const value = (event.value ?? '').toString().trim();
|
|
475
|
-
// if (value) {
|
|
476
|
-
// if (this.valueField && this.displayField) {
|
|
477
|
-
// const item = this.#filteredItems.find(e => e[this.displayField] === value);
|
|
478
|
-
// if (item) {
|
|
479
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
480
|
-
// values.push(item[this.valueField]);
|
|
481
|
-
// this.formControl.setValue(values);
|
|
482
|
-
// } else if (this.#addable) {
|
|
483
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
484
|
-
// values.push(value);
|
|
485
|
-
// this.formControl.setValue(values);
|
|
486
|
-
// }
|
|
487
|
-
// } else {
|
|
488
|
-
// console.log(value);
|
|
489
|
-
// console.log(this.#filteredItems);
|
|
490
|
-
// const item = this.#filteredItems.find(item => item === value);
|
|
491
|
-
// if (item) {
|
|
492
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
493
|
-
// values.push(item);
|
|
494
|
-
// this.formControl.setValue(values);
|
|
495
|
-
// } else if (this.#addable) {
|
|
496
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
497
|
-
// values.push(value);
|
|
498
|
-
// this.formControl.setValue(values);
|
|
499
|
-
// }
|
|
500
|
-
// }
|
|
501
|
-
// }
|
|
502
|
-
// this.inputControl.setValue('');
|
|
503
|
-
// }
|
|
504
|
-
var value = ((_a = event.value) !== null && _a !== void 0 ? _a : '').toString().trim();
|
|
505
|
-
if (value) {
|
|
506
|
-
if (_this.valueField && _this.displayField) {
|
|
507
|
-
var item = __classPrivateFieldGet(_this, _filteredItems).find(function (e) { return e[_this.displayField] === value; });
|
|
508
|
-
if (item) {
|
|
509
|
-
var values = (_b = _this.formControl.value) !== null && _b !== void 0 ? _b : [];
|
|
510
|
-
values.push(item[_this.valueField]);
|
|
511
|
-
_this.formControl.setValue(values);
|
|
512
|
-
_this.modelChange.emit(_this.formControl.value);
|
|
513
|
-
_this.sdChange.emit(_this.formControl.value);
|
|
514
|
-
}
|
|
515
|
-
else if (__classPrivateFieldGet(_this, _addable)) {
|
|
516
|
-
var values = (_c = _this.formControl.value) !== null && _c !== void 0 ? _c : [];
|
|
517
|
-
values.push(value);
|
|
518
|
-
_this.formControl.setValue(values);
|
|
519
|
-
_this.modelChange.emit(_this.formControl.value);
|
|
520
|
-
_this.sdChange.emit(_this.formControl.value);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
else {
|
|
524
|
-
var item = __classPrivateFieldGet(_this, _filteredItems).find(function (item) { return item === value; });
|
|
525
|
-
if (item) {
|
|
526
|
-
var values = (_d = _this.formControl.value) !== null && _d !== void 0 ? _d : [];
|
|
527
|
-
values.push(item);
|
|
528
|
-
_this.formControl.setValue(values);
|
|
529
|
-
_this.modelChange.emit(_this.formControl.value);
|
|
530
|
-
_this.sdChange.emit(_this.formControl.value);
|
|
531
|
-
}
|
|
532
|
-
else if (__classPrivateFieldGet(_this, _addable)) {
|
|
533
|
-
var values = (_e = _this.formControl.value) !== null && _e !== void 0 ? _e : [];
|
|
534
|
-
values.push(value);
|
|
535
|
-
_this.formControl.setValue(values);
|
|
536
|
-
_this.modelChange.emit(_this.formControl.value);
|
|
537
|
-
_this.sdChange.emit(_this.formControl.value);
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
_this.input.nativeElement.value = '';
|
|
542
|
-
_this.inputControl.setValue('');
|
|
543
|
-
};
|
|
544
|
-
// andn1 viết để xử lý tạm us B2B1D-18289 ở S69
|
|
545
|
-
this.onAdd2 = function (event) {
|
|
546
|
-
var _a, _b;
|
|
547
|
-
var value = ((_a = event.value) !== null && _a !== void 0 ? _a : '').toString().toLowerCase().trim();
|
|
548
|
-
if (value) {
|
|
549
|
-
var item = __classPrivateFieldGet(_this, _filteredItems).find(function (e) { return e[_this.valueField]
|
|
550
|
-
&& e[_this.valueField].toString().toLowerCase().trim() === value; });
|
|
551
|
-
if (item) {
|
|
552
|
-
var values = (_b = _this.formControl.value) !== null && _b !== void 0 ? _b : [];
|
|
553
|
-
if (!values.includes(item[_this.valueField])) {
|
|
554
|
-
values.push(item[_this.valueField]);
|
|
555
|
-
}
|
|
556
|
-
_this.formControl.setValue(values);
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
_this.inputControl.setValue('');
|
|
560
|
-
};
|
|
561
|
-
this.onClickChip = function ($event, item) {
|
|
562
|
-
$event.stopPropagation();
|
|
563
|
-
$event.stopImmediatePropagation();
|
|
564
|
-
item.isSelected = !item.isSelected;
|
|
565
|
-
_this.focus();
|
|
566
|
-
};
|
|
567
|
-
this.onRemove = function (item) {
|
|
568
|
-
var _a;
|
|
569
|
-
var values = (_a = _this.formControl.value) !== null && _a !== void 0 ? _a : [];
|
|
570
|
-
if (typeof (item) === 'string' || typeof (item) === 'number') {
|
|
571
|
-
_this.formControl.setValue(values.filter(function (value) { return item !== value; }));
|
|
572
|
-
_this.modelChange.emit(_this.formControl.value);
|
|
573
|
-
_this.sdChange.emit(_this.formControl.value);
|
|
574
|
-
}
|
|
575
|
-
else if (_this.valueField) {
|
|
576
|
-
_this.formControl.setValue(values.filter(function (value) { return (item === null || item === void 0 ? void 0 : item[_this.valueField]) !== value; }));
|
|
577
|
-
_this.modelChange.emit(_this.formControl.value);
|
|
578
|
-
_this.sdChange.emit(_this.formControl.value);
|
|
579
|
-
}
|
|
580
|
-
_this.inputControl.setValue('');
|
|
581
|
-
_this.focus();
|
|
582
|
-
};
|
|
583
|
-
this.select = function (item) {
|
|
584
|
-
_this.chipSelected.emit(item);
|
|
585
|
-
_this.focus();
|
|
586
|
-
};
|
|
587
|
-
// onSelect = (event: MatAutocompleteSelectedEvent) => {
|
|
588
|
-
// const value = (event.option.value?.[this.valueField] ?? '').toString().trim();
|
|
589
|
-
// if (value) {
|
|
590
|
-
// const item = this.#items.find(e => e[this.valueField]
|
|
591
|
-
// && e[this.valueField].toString().trim() === value);
|
|
592
|
-
// if (item) {
|
|
593
|
-
// const values: (string | number)[] = this.formControl.value ?? [];
|
|
594
|
-
// values.push(item[this.valueField]);
|
|
595
|
-
// this.formControl.setValue(values);
|
|
596
|
-
// this.input.nativeElement.value = '';
|
|
597
|
-
// this.inputControl.setValue('');
|
|
598
|
-
// setTimeout(() => {
|
|
599
|
-
// this.autocompleteTrigger?.openPanel();
|
|
600
|
-
// }, 0);
|
|
601
|
-
// }
|
|
602
|
-
// }
|
|
603
|
-
// }
|
|
604
|
-
this.onSelect = function (event) {
|
|
605
|
-
var _a;
|
|
606
|
-
var item = event.option.value;
|
|
607
|
-
var values = (_a = _this.formControl.value) !== null && _a !== void 0 ? _a : [];
|
|
608
|
-
if (item) {
|
|
609
|
-
if (typeof (item) === 'string' || typeof (item) === 'number') {
|
|
610
|
-
if (!values.includes(item)) {
|
|
611
|
-
values.push(item);
|
|
612
|
-
_this.formControl.setValue(values);
|
|
613
|
-
_this.modelChange.emit(_this.formControl.value);
|
|
614
|
-
_this.sdChange.emit(_this.formControl.value);
|
|
615
|
-
setTimeout(function () {
|
|
616
|
-
var _a;
|
|
617
|
-
(_a = _this.autocompleteTrigger) === null || _a === void 0 ? void 0 : _a.openPanel();
|
|
618
|
-
}, 0);
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
else if (_this.valueField) {
|
|
622
|
-
var val = (item === null || item === void 0 ? void 0 : item[_this.valueField]) || null;
|
|
623
|
-
if (!values.includes(val)) {
|
|
624
|
-
values.push(val);
|
|
625
|
-
_this.formControl.setValue(values);
|
|
626
|
-
_this.modelChange.emit(_this.formControl.value);
|
|
627
|
-
_this.sdChange.emit(_this.formControl.value);
|
|
628
|
-
setTimeout(function () {
|
|
629
|
-
var _a;
|
|
630
|
-
(_a = _this.autocompleteTrigger) === null || _a === void 0 ? void 0 : _a.openPanel();
|
|
631
|
-
}, 0);
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
_this.input.nativeElement.value = '';
|
|
635
|
-
_this.inputControl.setValue('', {
|
|
636
|
-
emitEvent: false
|
|
637
|
-
});
|
|
638
|
-
}
|
|
639
|
-
};
|
|
640
|
-
// displayFn = (value: string | { [key: string]: string }): string | undefined => {
|
|
641
|
-
// if (typeof value === 'string') {
|
|
642
|
-
// if (!this.#items) {
|
|
643
|
-
// return undefined;
|
|
644
|
-
// }
|
|
645
|
-
// const selectedItem = this.#items.find(item => item[this.valueField] === value);
|
|
646
|
-
// if (selectedItem) {
|
|
647
|
-
// return selectedItem[this.displayField];
|
|
648
|
-
// }
|
|
649
|
-
// if (this.#items.some(item => item[this.displayField].toLowerCase().indexOf(value.toLowerCase()) !== -1)) {
|
|
650
|
-
// return value;
|
|
651
|
-
// } else {
|
|
652
|
-
// return undefined;
|
|
653
|
-
// }
|
|
654
|
-
// } else {
|
|
655
|
-
// return value ? value[this.displayField] : undefined;
|
|
656
|
-
// }
|
|
657
|
-
// }
|
|
658
|
-
this.onFocus = function () {
|
|
659
|
-
_this.isFocused = true;
|
|
660
|
-
_this.isBluring = false;
|
|
661
|
-
_this.inputControl.setValue('');
|
|
662
|
-
// this.inputControl.updateValueAndValidity();
|
|
663
|
-
};
|
|
664
|
-
this.onBlur = function () {
|
|
665
|
-
_this.isBluring = true;
|
|
666
|
-
setTimeout(function () {
|
|
667
|
-
if (_this.isBluring) {
|
|
668
|
-
_this.isFocused = false;
|
|
669
|
-
_this.inputControl.setValue('', {
|
|
670
|
-
emitEvent: false
|
|
671
|
-
});
|
|
672
|
-
}
|
|
673
|
-
}, 100);
|
|
674
|
-
};
|
|
675
|
-
this.onClick = function () {
|
|
676
|
-
var _a;
|
|
677
|
-
if ((_a = _this.sdView) === null || _a === void 0 ? void 0 : _a.templateRef) {
|
|
678
|
-
if (!_this.formControl.disabled && !_this.isFocused) {
|
|
679
|
-
_this.focus();
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
};
|
|
683
|
-
this.focus = function () {
|
|
684
|
-
_this.isFocused = true;
|
|
685
|
-
_this.isBluring = false;
|
|
686
|
-
setTimeout(function () {
|
|
687
|
-
var _a, _b, _c;
|
|
688
|
-
(_a = _this.autocompleteTrigger) === null || _a === void 0 ? void 0 : _a.openPanel();
|
|
689
|
-
(_c = (_b = _this.input) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.focus();
|
|
690
|
-
}, 100);
|
|
691
|
-
};
|
|
692
|
-
this.onClear = function ($event) {
|
|
693
|
-
var _a;
|
|
694
|
-
$event === null || $event === void 0 ? void 0 : $event.stopPropagation();
|
|
695
|
-
_this.inputControl.setValue('');
|
|
696
|
-
_this.formControl.setValue([]);
|
|
697
|
-
_this.modelChange.emit(_this.formControl.value);
|
|
698
|
-
_this.sdChange.emit(_this.formControl.value);
|
|
699
|
-
(_a = _this.autocompleteTrigger) === null || _a === void 0 ? void 0 : _a.openPanel();
|
|
700
|
-
_this.ref.detectChanges();
|
|
701
|
-
};
|
|
702
|
-
this.getSelectedItems = function () { return __classPrivateFieldGet(_this, _selectedItems); };
|
|
703
|
-
}
|
|
704
|
-
Object.defineProperty(SdChip.prototype, "name", {
|
|
705
|
-
set: function (val) {
|
|
706
|
-
if (val) {
|
|
707
|
-
__classPrivateFieldSet(this, _name, val);
|
|
708
|
-
}
|
|
709
|
-
},
|
|
710
|
-
enumerable: false,
|
|
711
|
-
configurable: true
|
|
712
|
-
});
|
|
713
|
-
Object.defineProperty(SdChip.prototype, "form", {
|
|
714
|
-
set: function (val) {
|
|
715
|
-
if (val) {
|
|
716
|
-
if (val instanceof forms.NgForm) {
|
|
717
|
-
__classPrivateFieldSet(this, _form, val.form);
|
|
718
|
-
}
|
|
719
|
-
else {
|
|
720
|
-
__classPrivateFieldSet(this, _form, val);
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
},
|
|
724
|
-
enumerable: false,
|
|
725
|
-
configurable: true
|
|
726
|
-
});
|
|
727
|
-
Object.defineProperty(SdChip.prototype, "addable", {
|
|
728
|
-
set: function (val) {
|
|
729
|
-
__classPrivateFieldSet(this, _addable, (val === '') || val);
|
|
730
|
-
},
|
|
731
|
-
enumerable: false,
|
|
732
|
-
configurable: true
|
|
733
|
-
});
|
|
734
|
-
Object.defineProperty(SdChip.prototype, "_removable", {
|
|
735
|
-
set: function (val) {
|
|
736
|
-
this.removable = (val === '') || val;
|
|
737
|
-
},
|
|
738
|
-
enumerable: false,
|
|
739
|
-
configurable: true
|
|
740
|
-
});
|
|
741
|
-
Object.defineProperty(SdChip.prototype, "_disableErrorMessage", {
|
|
742
|
-
set: function (val) {
|
|
743
|
-
this.disableErrorMessage = (val === '') || val;
|
|
744
|
-
},
|
|
745
|
-
enumerable: false,
|
|
746
|
-
configurable: true
|
|
747
|
-
});
|
|
748
|
-
Object.defineProperty(SdChip.prototype, "items", {
|
|
749
|
-
set: function (items) {
|
|
750
|
-
__classPrivateFieldSet(this, _delay, 0);
|
|
751
|
-
if (!items) {
|
|
752
|
-
__classPrivateFieldGet(this, _itemsChanges).next([]);
|
|
753
|
-
}
|
|
754
|
-
else if (Array.isArray(items)) {
|
|
755
|
-
__classPrivateFieldGet(this, _itemsChanges).next(items.filter(function (e) { return e !== null && e !== undefined; }));
|
|
756
|
-
}
|
|
757
|
-
else {
|
|
758
|
-
__classPrivateFieldSet(this, _delay, 500);
|
|
759
|
-
__classPrivateFieldGet(this, _itemsChanges).next(items);
|
|
760
|
-
}
|
|
761
|
-
this.formControl.updateValueAndValidity();
|
|
762
|
-
},
|
|
763
|
-
enumerable: false,
|
|
764
|
-
configurable: true
|
|
765
|
-
});
|
|
766
|
-
Object.defineProperty(SdChip.prototype, "model", {
|
|
767
|
-
// model
|
|
768
|
-
set: function (values) {
|
|
769
|
-
if (!Array.isArray(values)) {
|
|
770
|
-
values = [];
|
|
771
|
-
}
|
|
772
|
-
this.formControl.setValue(values);
|
|
773
|
-
},
|
|
774
|
-
enumerable: false,
|
|
775
|
-
configurable: true
|
|
776
|
-
});
|
|
777
|
-
Object.defineProperty(SdChip.prototype, "_required", {
|
|
778
|
-
set: function (val) {
|
|
779
|
-
this.required = (val === '') || val;
|
|
780
|
-
__classPrivateFieldGet(this, _updateValidator).call(this);
|
|
781
|
-
},
|
|
782
|
-
enumerable: false,
|
|
783
|
-
configurable: true
|
|
784
|
-
});
|
|
785
|
-
Object.defineProperty(SdChip.prototype, "pMin", {
|
|
786
|
-
set: function (val) {
|
|
787
|
-
this.min = +val || 0;
|
|
788
|
-
__classPrivateFieldGet(this, _updateValidator).call(this);
|
|
789
|
-
},
|
|
790
|
-
enumerable: false,
|
|
791
|
-
configurable: true
|
|
792
|
-
});
|
|
793
|
-
Object.defineProperty(SdChip.prototype, "pMax", {
|
|
794
|
-
set: function (val) {
|
|
795
|
-
this.max = +val || 0;
|
|
796
|
-
__classPrivateFieldGet(this, _updateValidator).call(this);
|
|
797
|
-
},
|
|
798
|
-
enumerable: false,
|
|
799
|
-
configurable: true
|
|
800
|
-
});
|
|
801
|
-
Object.defineProperty(SdChip.prototype, "disabled", {
|
|
802
|
-
// Optional
|
|
803
|
-
set: function (val) {
|
|
804
|
-
val = (val === '') || val;
|
|
805
|
-
if (val) {
|
|
806
|
-
this.formControl.disable();
|
|
807
|
-
this.inputControl.disable();
|
|
808
|
-
}
|
|
809
|
-
else {
|
|
810
|
-
this.formControl.enable();
|
|
811
|
-
this.inputControl.enable();
|
|
812
|
-
}
|
|
813
|
-
},
|
|
814
|
-
enumerable: false,
|
|
815
|
-
configurable: true
|
|
816
|
-
});
|
|
817
|
-
SdChip.prototype.ngOnInit = function () {
|
|
818
|
-
var _a;
|
|
819
|
-
this.appearance = this.appearance || ((_a = this.formConfig) === null || _a === void 0 ? void 0 : _a.appearance);
|
|
820
|
-
};
|
|
821
|
-
SdChip.prototype.ngAfterViewInit = function () {
|
|
822
|
-
var _this = this;
|
|
823
|
-
var _a;
|
|
824
|
-
__classPrivateFieldGet(this, _subscription).add(this.formControl.sdChanges.subscribe(function () {
|
|
825
|
-
_this.ref.markForCheck();
|
|
826
|
-
}));
|
|
827
|
-
__classPrivateFieldSet(this, _allItems, rxjs.combineLatest([
|
|
828
|
-
__classPrivateFieldGet(this, _itemsChanges).asObservable(),
|
|
829
|
-
this.inputControl.valueChanges.pipe(operators.startWith(''), operators.debounceTime(__classPrivateFieldGet(this, _delay))),
|
|
830
|
-
this.formControl.valueChanges.pipe(operators.startWith(this.formControl.value))
|
|
831
|
-
]).pipe(operators.switchMap(function (_f) {
|
|
832
|
-
var _g = __read(_f, 1), items = _g[0];
|
|
833
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
834
|
-
var val, values, hasFields;
|
|
835
|
-
var _this = this;
|
|
836
|
-
return __generator(this, function (_f) {
|
|
837
|
-
switch (_f.label) {
|
|
838
|
-
case 0:
|
|
839
|
-
val = this.inputControl.value;
|
|
840
|
-
values = this.formControl.value || [];
|
|
841
|
-
if (!(typeof (items) === 'function')) return [3 /*break*/, 2];
|
|
842
|
-
return [4 /*yield*/, __classPrivateFieldGet(this, _loadItems).call(this, val, items)];
|
|
843
|
-
case 1: return [2 /*return*/, _f.sent()];
|
|
844
|
-
case 2:
|
|
845
|
-
__classPrivateFieldSet(this, _allItem, items.toObject(this.valueField));
|
|
846
|
-
hasFields = !!this.valueField && !!this.displayField;
|
|
847
|
-
__classPrivateFieldSet(this, _filteredItems, items.filter(function (item) {
|
|
848
|
-
var value = hasFields ? item[_this.valueField] : item;
|
|
849
|
-
var display = hasFields ? item[_this.displayField] : item;
|
|
850
|
-
if (String.aliasIncludes(value, val) || String.aliasIncludes(display, val)) {
|
|
851
|
-
return true;
|
|
852
|
-
}
|
|
853
|
-
return values.some(function (e) { return e === value; });
|
|
854
|
-
}));
|
|
855
|
-
return [2 /*return*/, __classPrivateFieldGet(this, _filteredItems)];
|
|
856
|
-
}
|
|
857
|
-
});
|
|
858
|
-
});
|
|
859
|
-
})));
|
|
860
|
-
this.selectedItems = rxjs.combineLatest([
|
|
861
|
-
__classPrivateFieldGet(this, _itemsChanges).asObservable(),
|
|
862
|
-
this.formControl.valueChanges.pipe(operators.startWith(this.formControl.value))
|
|
863
|
-
])
|
|
864
|
-
.pipe(operators.switchMap(function (_f) {
|
|
865
|
-
var _g = __read(_f, 2), items = _g[0], val = _g[1];
|
|
866
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
867
|
-
var _b, _f, _g;
|
|
868
|
-
var _this = this;
|
|
869
|
-
return __generator(this, function (_h) {
|
|
870
|
-
switch (_h.label) {
|
|
871
|
-
case 0:
|
|
872
|
-
// 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
|
|
873
|
-
// Nhưng formControl.value vẫn có giá trị đúng nên thực hiện gán val = this.formControl.value;
|
|
874
|
-
val = this.formControl.value;
|
|
875
|
-
if (!this.valueField) {
|
|
876
|
-
__classPrivateFieldSet(this, _selectedItems, this.formControl.value);
|
|
877
|
-
return [2 /*return*/, __classPrivateFieldGet(this, _selectedItems)];
|
|
878
|
-
}
|
|
879
|
-
if (!(typeof (items) === 'function')) return [3 /*break*/, 2];
|
|
880
|
-
_f = __classPrivateFieldSet;
|
|
881
|
-
_g = [this, _selectedItems];
|
|
882
|
-
return [4 /*yield*/, __classPrivateFieldGet(this, _loadSelectedItems).call(this, val, items)];
|
|
883
|
-
case 1:
|
|
884
|
-
_f.apply(void 0, _g.concat([_h.sent()]));
|
|
885
|
-
return [2 /*return*/, __classPrivateFieldGet(this, _selectedItems)];
|
|
886
|
-
case 2:
|
|
887
|
-
__classPrivateFieldSet(this, _selectedItems, (_b = (this.formControl.value || [])) === null || _b === void 0 ? void 0 : _b.map(function (value) {
|
|
888
|
-
var _f;
|
|
889
|
-
return (items === null || items === void 0 ? void 0 : items.find(function (item) { return item[_this.valueField] === value; })) || (_f = {},
|
|
890
|
-
_f[_this.valueField] = value,
|
|
891
|
-
_f[_this.displayField] = value,
|
|
892
|
-
_f);
|
|
893
|
-
}));
|
|
894
|
-
return [2 /*return*/, __classPrivateFieldGet(this, _selectedItems)];
|
|
895
|
-
}
|
|
896
|
-
});
|
|
897
|
-
});
|
|
898
|
-
}));
|
|
899
|
-
this.filteredItems = __classPrivateFieldGet(this, _allItems).pipe(operators.map(function (allItems) { return allItems.filter(function (item) {
|
|
900
|
-
var values = _this.formControl.value || [];
|
|
901
|
-
if (_this.valueField) {
|
|
902
|
-
return !values.includes(item === null || item === void 0 ? void 0 : item[_this.valueField]);
|
|
903
|
-
}
|
|
904
|
-
return !values.includes(item);
|
|
905
|
-
}).paging(_this.limit); }));
|
|
906
|
-
// this.display = this.selectedItems.pipe(
|
|
907
|
-
// map(selectedItems => selectedItems?.map(item => this.displayField ? item[this.displayField] : item)?.join(', ')));
|
|
908
|
-
// this.#subscription.add(this.formControl.valueChanges.subscribe(() => {
|
|
909
|
-
// const values: (string | number)[] = this.formControl.value || [];
|
|
910
|
-
// this.selectedItems = this.#items.filter(item => values.findIndex(value => value === item?.[this.valueField]) !== -1);
|
|
911
|
-
// this.modelChange.emit(values);
|
|
912
|
-
// this.sdChange.emit(values);
|
|
913
|
-
// setTimeout(() => {
|
|
914
|
-
// this.#form?.markAsDirty();
|
|
915
|
-
// }, 0);
|
|
916
|
-
// }));
|
|
917
|
-
// this.#subscription.add(this.#itemChanges.pipe(startWith(this.#items)).subscribe(() => {
|
|
918
|
-
// const values: (string | number)[] = this.formControl.value || [];
|
|
919
|
-
// this.selectedItems = [];
|
|
920
|
-
// for (const value of values) {
|
|
921
|
-
// const item = this.#items.find(e => e?.[this.valueField] === value) || {};
|
|
922
|
-
// this.selectedItems.push({
|
|
923
|
-
// ...item,
|
|
924
|
-
// [this.valueField]: value
|
|
925
|
-
// });
|
|
926
|
-
// }
|
|
927
|
-
// }));
|
|
928
|
-
(_a = __classPrivateFieldGet(this, _form)) === null || _a === void 0 ? void 0 : _a.addControl(__classPrivateFieldGet(this, _name), this.formControl);
|
|
929
|
-
};
|
|
930
|
-
SdChip.prototype.ngOnDestroy = function () {
|
|
931
|
-
var _a;
|
|
932
|
-
(_a = __classPrivateFieldGet(this, _form)) === null || _a === void 0 ? void 0 : _a.removeControl(__classPrivateFieldGet(this, _name));
|
|
933
|
-
__classPrivateFieldGet(this, _subscription).unsubscribe();
|
|
934
|
-
};
|
|
935
|
-
return SdChip;
|
|
936
|
-
}());
|
|
937
|
-
_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();
|
|
938
|
-
SdChip.decorators = [
|
|
939
|
-
{ type: core.Component, args: [{
|
|
940
|
-
selector: 'sd-chip',
|
|
941
|
-
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>",
|
|
942
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
943
|
-
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}"]
|
|
944
|
-
},] }
|
|
945
|
-
];
|
|
946
|
-
SdChip.ctorParameters = function () { return [
|
|
947
|
-
{ type: core.ChangeDetectorRef },
|
|
948
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [common.FORM_CONFIG,] }, { type: core.Optional }] }
|
|
949
|
-
]; };
|
|
950
|
-
SdChip.propDecorators = {
|
|
951
|
-
name: [{ type: core.Input }],
|
|
952
|
-
appearance: [{ type: core.Input }],
|
|
953
|
-
size: [{ type: core.Input }],
|
|
954
|
-
form: [{ type: core.Input }],
|
|
955
|
-
addable: [{ type: core.Input }],
|
|
956
|
-
label: [{ type: core.Input }],
|
|
957
|
-
valueField: [{ type: core.Input }],
|
|
958
|
-
displayField: [{ type: core.Input }],
|
|
959
|
-
placeholder: [{ type: core.Input }],
|
|
960
|
-
_removable: [{ type: core.Input, args: ['removable',] }],
|
|
961
|
-
_disableErrorMessage: [{ type: core.Input, args: ['disableErrorMessage',] }],
|
|
962
|
-
items: [{ type: core.Input }],
|
|
963
|
-
limit: [{ type: core.Input }],
|
|
964
|
-
cacheChecksum: [{ type: core.Input }],
|
|
965
|
-
model: [{ type: core.Input }],
|
|
966
|
-
_required: [{ type: core.Input, args: ['required',] }],
|
|
967
|
-
pMin: [{ type: core.Input, args: ['min',] }],
|
|
968
|
-
pMax: [{ type: core.Input, args: ['max',] }],
|
|
969
|
-
modelChange: [{ type: core.Output }],
|
|
970
|
-
disabled: [{ type: core.Input }],
|
|
971
|
-
sdChange: [{ type: core.Output }],
|
|
972
|
-
sdUpdate: [{ type: core.Output }],
|
|
973
|
-
chipSelected: [{ type: core.Output }],
|
|
974
|
-
input: [{ type: core.ViewChild, args: ['input',] }],
|
|
975
|
-
matAutocomplete: [{ type: core.ViewChild, args: ['auto',] }],
|
|
976
|
-
chipList: [{ type: core.ViewChild, args: ['chipList', { static: true },] }],
|
|
977
|
-
autocompleteTrigger: [{ type: core.ViewChild, args: [autocomplete.MatAutocompleteTrigger, { read: autocomplete.MatAutocompleteTrigger },] }],
|
|
978
|
-
sdView: [{ type: core.ContentChild, args: [common.SdViewDefDirective,] }],
|
|
979
|
-
sdChipDisplay: [{ type: core.ContentChild, args: [SdChipDisplayDef,] }],
|
|
980
|
-
sdLabelDef: [{ type: core.ContentChild, args: [common.SdLabelDefDirective,] }]
|
|
981
|
-
};
|
|
982
|
-
|
|
983
|
-
var SdRemovableChipPipe = /** @class */ (function () {
|
|
984
|
-
function SdRemovableChipPipe() {
|
|
985
|
-
}
|
|
986
|
-
SdRemovableChipPipe.prototype.transform = function (item, removable) {
|
|
987
|
-
if (typeof (removable) === 'boolean') {
|
|
988
|
-
return removable;
|
|
989
|
-
}
|
|
990
|
-
return removable(item);
|
|
991
|
-
};
|
|
992
|
-
return SdRemovableChipPipe;
|
|
993
|
-
}());
|
|
994
|
-
SdRemovableChipPipe.decorators = [
|
|
995
|
-
{ type: core.Pipe, args: [{
|
|
996
|
-
name: 'sdRemovableChip'
|
|
997
|
-
},] }
|
|
998
|
-
];
|
|
999
|
-
SdRemovableChipPipe.ctorParameters = function () { return []; };
|
|
1000
|
-
|
|
1001
|
-
var SdChipModule = /** @class */ (function () {
|
|
1002
|
-
function SdChipModule() {
|
|
1003
|
-
}
|
|
1004
|
-
return SdChipModule;
|
|
1005
|
-
}());
|
|
1006
|
-
SdChipModule.decorators = [
|
|
1007
|
-
{ type: core.NgModule, args: [{
|
|
1008
|
-
imports: [
|
|
1009
|
-
common$1.CommonModule,
|
|
1010
|
-
forms.FormsModule,
|
|
1011
|
-
forms.ReactiveFormsModule,
|
|
1012
|
-
input.MatInputModule,
|
|
1013
|
-
tooltip.MatTooltipModule,
|
|
1014
|
-
formField.MatFormFieldModule,
|
|
1015
|
-
autocomplete.MatAutocompleteModule,
|
|
1016
|
-
icon.MatIconModule,
|
|
1017
|
-
progressSpinner.MatProgressSpinnerModule,
|
|
1018
|
-
chips.MatChipsModule,
|
|
1019
|
-
translate.SdTranslateModule,
|
|
1020
|
-
common.SdCommonModule
|
|
1021
|
-
],
|
|
1022
|
-
declarations: [
|
|
1023
|
-
SdChip,
|
|
1024
|
-
SdChipDisplayDef,
|
|
1025
|
-
SdRemovableChipPipe
|
|
1026
|
-
],
|
|
1027
|
-
exports: [
|
|
1028
|
-
common.SdCommonModule,
|
|
1029
|
-
SdChip,
|
|
1030
|
-
SdChipDisplayDef,
|
|
1031
|
-
]
|
|
1032
|
-
},] }
|
|
1033
|
-
];
|
|
1034
|
-
|
|
1035
|
-
/*
|
|
1036
|
-
* Public API Surface of superdev-angular-core
|
|
1037
|
-
*/
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* Generated bundle index. Do not edit.
|
|
1041
|
-
*/
|
|
1042
|
-
|
|
1043
|
-
exports.SdChip = SdChip;
|
|
1044
|
-
exports.SdChipDisplayDef = SdChipDisplayDef;
|
|
1045
|
-
exports.SdChipModule = SdChipModule;
|
|
1046
|
-
exports.ɵa = SdRemovableChipPipe;
|
|
1047
|
-
|
|
1048
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1049
|
-
|
|
1050
|
-
})));
|
|
1051
|
-
//# sourceMappingURL=sd-angular-core-chip.umd.js.map
|