@sd-angular/core 1.3.89 → 1.3.91
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/assets/img/file-types/eps/001-file.eps +143 -143
- package/assets/img/file-types/eps/002-file-1.eps +136 -136
- package/assets/img/file-types/eps/003-file-2.eps +130 -130
- package/assets/img/file-types/eps/004-file-3.eps +127 -127
- package/assets/img/file-types/eps/005-file-4.eps +120 -120
- package/assets/img/file-types/eps/006-file-5.eps +133 -133
- package/assets/img/file-types/eps/007-file-6.eps +133 -133
- package/assets/img/file-types/eps/008-file-7.eps +144 -144
- package/assets/img/file-types/eps/009-file-8.eps +150 -150
- package/assets/img/file-types/eps/010-file-9.eps +155 -155
- package/assets/img/file-types/eps/011-file-10.eps +124 -124
- package/assets/img/file-types/eps/012-file-11.eps +147 -147
- package/assets/img/file-types/eps/013-file-12.eps +125 -125
- package/assets/img/file-types/eps/014-file-13.eps +129 -129
- package/assets/img/file-types/eps/015-file-14.eps +143 -143
- package/assets/img/file-types/eps/016-file-15.eps +130 -130
- package/assets/img/file-types/eps/017-file-16.eps +197 -197
- package/assets/img/file-types/eps/018-file-17.eps +146 -146
- package/assets/img/file-types/eps/019-file-18.eps +131 -131
- package/assets/img/file-types/eps/020-file-19.eps +137 -137
- package/assets/img/file-types/eps/021-file-20.eps +134 -134
- package/assets/img/file-types/eps/022-file-21.eps +130 -130
- package/assets/img/file-types/eps/023-file-22.eps +161 -161
- package/assets/img/file-types/eps/024-file-23.eps +144 -144
- package/assets/img/file-types/eps/025-file-24.eps +164 -164
- package/assets/img/file-types/eps/026-file-25.eps +135 -135
- package/assets/img/file-types/eps/027-file-26.eps +124 -124
- package/assets/img/file-types/eps/028-file-27.eps +120 -120
- package/assets/img/file-types/eps/029-file-28.eps +141 -141
- package/assets/img/file-types/eps/030-file-29.eps +130 -130
- package/assets/img/file-types/eps/031-file-30.eps +157 -157
- package/assets/img/file-types/eps/032-file-31.eps +139 -139
- package/assets/img/file-types/eps/033-file-32.eps +139 -139
- package/assets/img/file-types/eps/034-file-33.eps +189 -189
- package/assets/img/file-types/eps/035-file-34.eps +162 -162
- package/assets/img/file-types/eps/036-file-35.eps +142 -142
- package/assets/img/file-types/eps/037-file-36.eps +123 -123
- package/assets/img/file-types/eps/038-file-37.eps +127 -127
- package/assets/img/file-types/eps/039-file-38.eps +146 -146
- package/assets/img/file-types/eps/040-file-39.eps +126 -126
- package/assets/img/file-types/eps/041-file-40.eps +117 -117
- package/assets/img/file-types/eps/042-file-41.eps +156 -156
- package/assets/img/file-types/eps/043-file-42.eps +118 -118
- package/assets/img/file-types/eps/044-file-43.eps +172 -172
- package/assets/img/file-types/eps/045-file-44.eps +201 -201
- package/assets/img/file-types/eps/046-file-45.eps +94 -94
- package/assets/img/file-types/eps/047-file-46.eps +176 -176
- package/assets/img/file-types/eps/048-file-47.eps +238 -238
- package/assets/img/file-types/eps/049-file-48.eps +187 -187
- package/assets/img/file-types/eps/050-file-49.eps +137 -137
- package/bundles/sd-angular-core-grid-material.umd.js +134 -132
- 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-upload-excel.umd.js +1 -1
- package/bundles/sd-angular-core-upload-excel.umd.min.js +1 -1
- package/bundles/sd-angular-core-upload-excel.umd.min.js.map +1 -1
- package/esm2015/api/index.js +1 -1
- package/esm2015/api/sd-angular-core-api.js +1 -1
- package/esm2015/api/src/lib/api.model.js +1 -1
- package/esm2015/api/src/lib/api.module.js +1 -1
- package/esm2015/api/src/lib/api.service.js +1 -1
- package/esm2015/api/src/lib/http.interceptor.js +1 -1
- package/esm2015/api/src/lib/http.service.js +1 -1
- package/esm2015/api/src/lib/token.service.js +1 -1
- package/esm2015/api/src/public-api.js +1 -1
- package/esm2015/autocomplete/index.js +1 -1
- package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
- package/esm2015/autocomplete/src/lib/autocomplete-display-def.directive.js +1 -1
- package/esm2015/autocomplete/src/lib/autocomplete.component.js +1 -1
- package/esm2015/autocomplete/src/lib/autocomplete.module.js +1 -1
- package/esm2015/autocomplete/src/public-api.js +1 -1
- package/esm2015/badge/index.js +1 -1
- package/esm2015/badge/sd-angular-core-badge.js +1 -1
- package/esm2015/badge/src/lib/badge.component.js +1 -1
- package/esm2015/badge/src/lib/badge.module.js +1 -1
- package/esm2015/badge/src/public-api.js +1 -1
- package/esm2015/button/index.js +1 -1
- package/esm2015/button/sd-angular-core-button.js +1 -1
- package/esm2015/button/src/lib/button.component.js +1 -1
- package/esm2015/button/src/lib/button.module.js +1 -1
- package/esm2015/button/src/public-api.js +1 -1
- package/esm2015/cache/index.js +1 -1
- package/esm2015/cache/sd-angular-core-cache.js +1 -1
- package/esm2015/cache/src/lib/cache.model.js +1 -1
- package/esm2015/cache/src/lib/cache.service.js +1 -1
- package/esm2015/cache/src/public-api.js +1 -1
- package/esm2015/chart/index.js +1 -1
- package/esm2015/chart/sd-angular-core-chart.js +1 -1
- package/esm2015/chart/src/lib/chart.component.js +1 -1
- package/esm2015/chart/src/lib/chart.model.js +1 -1
- package/esm2015/chart/src/lib/chart.module.js +1 -1
- package/esm2015/chart/src/public-api.js +1 -1
- package/esm2015/checkbox/index.js +1 -1
- package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
- package/esm2015/checkbox/src/lib/checkbox.component.js +1 -1
- package/esm2015/checkbox/src/lib/checkbox.module.js +1 -1
- package/esm2015/checkbox/src/public-api.js +1 -1
- package/esm2015/chip/index.js +1 -1
- package/esm2015/chip/sd-angular-core-chip.js +1 -1
- package/esm2015/chip/src/lib/chip.component.js +1 -1
- package/esm2015/chip/src/lib/chip.model.js +1 -1
- package/esm2015/chip/src/lib/chip.module.js +1 -1
- package/esm2015/chip/src/lib/directives/sd-chip-display-def.directive.js +1 -1
- package/esm2015/chip/src/lib/pipes/removable-chip.pipe.js +1 -1
- package/esm2015/chip/src/public-api.js +1 -1
- package/esm2015/comment/index.js +1 -1
- package/esm2015/comment/sd-angular-core-comment.js +1 -1
- package/esm2015/comment/src/lib/comment.component.js +1 -1
- package/esm2015/comment/src/lib/comment.model.js +1 -1
- package/esm2015/comment/src/lib/comment.module.js +1 -1
- package/esm2015/comment/src/public-api.js +1 -1
- package/esm2015/common/index.js +1 -1
- package/esm2015/common/sd-angular-core-common.js +1 -1
- package/esm2015/common/src/lib/common.module.js +1 -1
- package/esm2015/common/src/lib/configurations/firebase.configuration.js +1 -1
- package/esm2015/common/src/lib/configurations/form.configuration.js +1 -1
- package/esm2015/common/src/lib/directives/sd-lable.directive.js +1 -1
- package/esm2015/common/src/lib/directives/sd-let.directive.js +1 -1
- package/esm2015/common/src/lib/directives/sd-scroll.directive.js +1 -1
- package/esm2015/common/src/lib/directives/sd-suffix.directive.js +1 -1
- package/esm2015/common/src/lib/directives/view-def.directive.js +1 -1
- package/esm2015/common/src/lib/models/sd-form-control.js +1 -1
- package/esm2015/common/src/lib/services/browser.service.js +1 -1
- package/esm2015/common/src/lib/typings/array.extension.js +1 -1
- package/esm2015/common/src/lib/typings/date.extension.js +1 -1
- package/esm2015/common/src/lib/typings/index.js +1 -1
- package/esm2015/common/src/lib/typings/number.extension.js +1 -1
- package/esm2015/common/src/lib/typings/string.extension.js +1 -1
- package/esm2015/common/src/lib/typings/utility.extension.js +1 -1
- package/esm2015/common/src/public-api.js +1 -1
- package/esm2015/confirm/index.js +1 -1
- package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
- package/esm2015/confirm/src/lib/components/dialog-confirm/dialog-confirm.component.js +1 -1
- package/esm2015/confirm/src/lib/confirm.module.js +1 -1
- package/esm2015/confirm/src/lib/confirm.service.js +1 -1
- package/esm2015/confirm/src/public-api.js +1 -1
- package/esm2015/date-month/index.js +1 -1
- package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
- package/esm2015/date-month/src/lib/date-month.component.js +1 -1
- package/esm2015/date-month/src/lib/date-month.module.js +1 -1
- package/esm2015/date-month/src/public-api.js +1 -1
- package/esm2015/date-range/index.js +1 -1
- package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
- package/esm2015/date-range/src/lib/date-range.component.js +1 -1
- package/esm2015/date-range/src/lib/date-range.module.js +1 -1
- package/esm2015/date-range/src/public-api.js +1 -1
- package/esm2015/date-time/index.js +1 -1
- package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
- package/esm2015/date-time/src/lib/date-time.component.js +1 -1
- package/esm2015/date-time/src/lib/date-time.module.js +1 -1
- package/esm2015/date-time/src/public-api.js +1 -1
- package/esm2015/db/index.js +1 -1
- package/esm2015/db/sd-angular-core-db.js +1 -1
- package/esm2015/db/src/lib/db.model.js +1 -1
- package/esm2015/db/src/lib/db.service.js +1 -1
- package/esm2015/db/src/public-api.js +1 -1
- package/esm2015/dynamic-report/index.js +1 -1
- package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
- package/esm2015/dynamic-report/src/lib/dynamic-report.component.js +1 -1
- package/esm2015/dynamic-report/src/lib/dynamic-report.module.js +1 -1
- package/esm2015/dynamic-report/src/public-api.js +1 -1
- package/esm2015/editor/index.js +1 -1
- package/esm2015/editor/sd-angular-core-editor.js +1 -1
- package/esm2015/editor/src/lib/constant.js +1 -1
- package/esm2015/editor/src/lib/editor.component.js +1 -1
- package/esm2015/editor/src/lib/editor.model.js +1 -1
- package/esm2015/editor/src/lib/editor.module.js +1 -1
- package/esm2015/editor/src/public-api.js +1 -1
- package/esm2015/export/index.js +1 -1
- package/esm2015/export/sd-angular-core-export.js +1 -1
- package/esm2015/export/src/lib/excel.model.js +1 -1
- package/esm2015/export/src/lib/export.model.js +1 -1
- package/esm2015/export/src/lib/export.service.js +1 -1
- package/esm2015/export/src/public-api.js +1 -1
- package/esm2015/filter/index.js +1 -1
- package/esm2015/filter/sd-angular-core-filter.js +1 -1
- package/esm2015/filter/src/lib/directives/sd-filter-def.directive.js +1 -1
- package/esm2015/filter/src/lib/filter.component.js +1 -1
- package/esm2015/filter/src/lib/filter.model.js +1 -1
- package/esm2015/filter/src/lib/filter.module.js +1 -1
- package/esm2015/filter/src/lib/filter.service.js +1 -1
- package/esm2015/filter/src/lib/pipes/values-local.pipe.js +1 -1
- package/esm2015/filter/src/lib/pipes/values-server.pipe.js +1 -1
- package/esm2015/filter/src/public-api.js +1 -1
- package/esm2015/form/index.js +1 -1
- package/esm2015/form/sd-angular-core-form.js +1 -1
- package/esm2015/form/src/lib/form.module.js +1 -1
- package/esm2015/form/src/public-api.js +1 -1
- package/esm2015/grid/index.js +1 -1
- package/esm2015/grid/sd-angular-core-grid.js +1 -1
- package/esm2015/grid/src/lib/components/grid-config/grid-config.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-config/grid-config.model.js +1 -1
- package/esm2015/grid/src/lib/components/grid-desktop-column-children-view/grid-desktop-column-children-view.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-desktop-column-edit/grid-desktop-column-edit.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-desktop-column-view/grid-desktop-column-view.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-desktop-inline-filter/grid-desktop-inline-filter.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-import-excel/grid-import-excel.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-mobile-item-view/grid-mobile-item-view.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-popup-editor/grid-popup-editor.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.model.js +1 -1
- package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.model.js +1 -1
- package/esm2015/grid/src/lib/components/grid-popup-quick-filter-detail/grid-popup-quick-filter-detail.component.js +1 -1
- package/esm2015/grid/src/lib/components/grid-sub-information/grid-sub-information.component.js +1 -1
- package/esm2015/grid/src/lib/directives/cell-def.directive.js +1 -1
- package/esm2015/grid/src/lib/directives/cell-editor-def.directive.js +1 -1
- package/esm2015/grid/src/lib/directives/cell-footer-def.directive.js +1 -1
- package/esm2015/grid/src/lib/directives/sub-information-header-def.directive.js +1 -1
- package/esm2015/grid/src/lib/grid.component.js +1 -1
- package/esm2015/grid/src/lib/grid.model.js +1 -1
- package/esm2015/grid/src/lib/grid.module.js +1 -1
- package/esm2015/grid/src/lib/models/filter-info.model.js +1 -1
- package/esm2015/grid/src/lib/models/grid-configuration.model.js +1 -1
- package/esm2015/grid/src/lib/models/handler-dotnet.js +1 -1
- package/esm2015/grid/src/lib/models/handler-local.js +1 -1
- package/esm2015/grid/src/lib/models/handler.js +1 -1
- package/esm2015/grid/src/lib/pipes/cell-desktop-class-name.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/cell-mobile-class-name.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/column-command-filter.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/column-html-template.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/column-title.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/column-values.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/command-disabled.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/command-filter.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/command-hidden.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/command-icon.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/command-title.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/dynamic-items.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/editor-dynamic-item.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/editor-handler.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/editor-popup-visible.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/editor-sub-information-handler.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/editor-validate.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/filter-mobile.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/mobile-command-filter.js +1 -1
- package/esm2015/grid/src/lib/pipes/mobile-view-html-template.pipe.js +1 -1
- package/esm2015/grid/src/lib/pipes/value-transform.pipe.js +1 -1
- package/esm2015/grid/src/public-api.js +1 -1
- package/esm2015/grid-material/index.js +1 -1
- package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
- package/esm2015/grid-material/src/lib/components/column-inline-filter/column-inline-filter.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/desktop-cell-children-view/desktop-cell-children-view.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/desktop-command/desktop-command.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/desktop-editor-validation/desktop-editor-validation.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/dynamic-column/dynamic-column.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/grid-filter/grid-filter.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/popup-export/popup-export.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/popup-filter/popup-filter.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.js +1 -1
- package/esm2015/grid-material/src/lib/components/quick-action/quick-action.component.js +1 -1
- package/esm2015/grid-material/src/lib/directives/sd-material-cell-def.directive.js +1 -1
- package/esm2015/grid-material/src/lib/directives/sd-material-empty-data-def.directive.js +1 -1
- package/esm2015/grid-material/src/lib/directives/sd-material-filter-def.directive.js +1 -1
- package/esm2015/grid-material/src/lib/directives/sd-material-footer-def.directive.js +1 -1
- package/esm2015/grid-material/src/lib/directives/sd-material-sub-information-def.directive.js +1 -1
- package/esm2015/grid-material/src/lib/functions/calculate-sd-id.js +1 -1
- package/esm2015/grid-material/src/lib/grid-material.component.js +12 -11
- package/esm2015/grid-material/src/lib/grid-material.module.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-action.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-cell.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-command.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-config.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-configuration.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-editor.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-export.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-filter.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-group.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-option.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-reload.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-selection.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-style.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-sub-information.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/cell-view.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/column-badge.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/column-children-filter.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/column-html-template.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/column-title.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/column-tooltip.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/column-transform.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/column-values.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/command-disable.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/command-filter.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/command-icon.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/command-title.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-row.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-validate.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/filter-column.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/filter-external.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/grid-configuration-result.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/sd-group.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/selection-action-filter.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/selection-disable.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/selection-visible-select-all.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/selection-visible.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/style-row-css.pipe.js +1 -1
- package/esm2015/grid-material/src/lib/services/generated-column/generated-column.model.js +1 -1
- package/esm2015/grid-material/src/lib/services/generated-column/generated-column.service.js +1 -1
- package/esm2015/grid-material/src/lib/services/grid-configuration.service.js +1 -1
- package/esm2015/grid-material/src/lib/services/grid-filter.service.js +1 -1
- package/esm2015/grid-material/src/public-api.js +1 -1
- package/esm2015/group/index.js +1 -1
- package/esm2015/group/sd-angular-core-group.js +1 -1
- package/esm2015/group/src/lib/group.component.js +1 -1
- package/esm2015/group/src/lib/group.module.js +1 -1
- package/esm2015/group/src/public-api.js +1 -1
- package/esm2015/header-title/index.js +1 -1
- package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
- package/esm2015/header-title/src/lib/header-title.component.js +1 -1
- package/esm2015/header-title/src/lib/header-title.module.js +1 -1
- package/esm2015/header-title/src/public-api.js +1 -1
- package/esm2015/image-preview/index.js +1 -1
- package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
- package/esm2015/image-preview/src/lib/directives/image-preview.directive.js +1 -1
- package/esm2015/image-preview/src/lib/image-preview/image-preview-sdmodal.component.js +1 -1
- package/esm2015/image-preview/src/lib/image-preview/image-preview.component.js +1 -1
- package/esm2015/image-preview/src/lib/image-preview/image-preview.module.js +1 -1
- package/esm2015/image-preview/src/lib/models/image-preview.model.js +1 -1
- package/esm2015/image-preview/src/public-api.js +1 -1
- package/esm2015/input/index.js +1 -1
- package/esm2015/input/sd-angular-core-input.js +1 -1
- package/esm2015/input/src/lib/directives/input-suffix.directive.js +1 -1
- package/esm2015/input/src/lib/directives/touch.directive.js +1 -1
- package/esm2015/input/src/lib/input-tooltip.pipe.js +1 -1
- package/esm2015/input/src/lib/input.component.js +1 -1
- package/esm2015/input/src/lib/input.module.js +1 -1
- package/esm2015/input/src/public-api.js +1 -1
- package/esm2015/input-currency/index.js +1 -1
- package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
- package/esm2015/input-currency/src/lib/input-currency-tooltip.pipe.js +1 -1
- package/esm2015/input-currency/src/lib/input-currency.component.js +1 -1
- package/esm2015/input-currency/src/lib/input-currency.module.js +1 -1
- package/esm2015/input-currency/src/public-api.js +1 -1
- package/esm2015/input-dropdown/index.js +1 -1
- package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
- package/esm2015/input-dropdown/src/lib/input-tooltip.pipe.js +1 -1
- package/esm2015/input-dropdown/src/lib/input.component.js +1 -1
- package/esm2015/input-dropdown/src/lib/input.module.js +1 -1
- package/esm2015/input-dropdown/src/public-api.js +1 -1
- package/esm2015/input-number/index.js +1 -1
- package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
- package/esm2015/input-number/src/lib/input-number.component.js +1 -1
- package/esm2015/input-number/src/lib/input-number.module.js +1 -1
- package/esm2015/input-number/src/public-api.js +1 -1
- package/esm2015/input-upload-file/index.js +1 -1
- package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
- package/esm2015/input-upload-file/src/lib/input-upload-file.component.js +1 -1
- package/esm2015/input-upload-file/src/lib/input-upload-file.module.js +1 -1
- package/esm2015/input-upload-file/src/public-api.js +1 -1
- package/esm2015/json-editor/index.js +1 -1
- package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
- package/esm2015/json-editor/src/lib/json-editor.component.js +1 -1
- package/esm2015/json-editor/src/lib/json-editor.module.js +1 -1
- package/esm2015/json-editor/src/public-api.js +1 -1
- package/esm2015/konva/index.js +1 -1
- package/esm2015/konva/sd-angular-core-konva.js +1 -1
- package/esm2015/konva/src/lib/konva.module.js +1 -1
- package/esm2015/konva/src/lib/merge-images/merge-images.component.js +1 -1
- package/esm2015/konva/src/public-api.js +1 -1
- package/esm2015/label/index.js +1 -1
- package/esm2015/label/sd-angular-core-label.js +1 -1
- package/esm2015/label/src/lib/label.component.js +1 -1
- package/esm2015/label/src/lib/label.module.js +1 -1
- package/esm2015/label/src/public-api.js +1 -1
- package/esm2015/lib/core.module.js +1 -1
- package/esm2015/lib/material.module.js +1 -1
- package/esm2015/loading/index.js +1 -1
- package/esm2015/loading/sd-angular-core-loading.js +1 -1
- package/esm2015/loading/src/lib/loading.service.js +1 -1
- package/esm2015/loading/src/public-api.js +1 -1
- package/esm2015/modal/index.js +1 -1
- package/esm2015/modal/sd-angular-core-modal.js +1 -1
- package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-body/bottom-sheet-body.component.js +1 -1
- package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-footer/bottom-sheet-footer.component.js +1 -1
- package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-header/bottom-sheet-header.component.js +1 -1
- package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet.component.js +1 -1
- package/esm2015/modal/src/lib/modal/modal-body/modal-body.component.js +1 -1
- package/esm2015/modal/src/lib/modal/modal-footer/modal-footer.component.js +1 -1
- package/esm2015/modal/src/lib/modal/modal-header/modal-header.component.js +1 -1
- package/esm2015/modal/src/lib/modal/modal.component.js +1 -1
- package/esm2015/modal/src/lib/modal.module.js +1 -1
- package/esm2015/modal/src/public-api.js +1 -1
- package/esm2015/modal-resizable/index.js +1 -1
- package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
- package/esm2015/modal-resizable/src/lib/modal-resizable/modal-resizable.component.js +1 -1
- package/esm2015/modal-resizable/src/lib/modal-resizable.module.js +1 -1
- package/esm2015/modal-resizable/src/public-api.js +1 -1
- package/esm2015/notify/index.js +1 -1
- package/esm2015/notify/sd-angular-core-notify.js +1 -1
- package/esm2015/notify/src/lib/components/dialog-confirm/dialog-confirm.component.js +1 -1
- package/esm2015/notify/src/lib/configurations/notify.configuration.js +1 -1
- package/esm2015/notify/src/lib/notify.module.js +1 -1
- package/esm2015/notify/src/lib/notify.service.js +1 -1
- package/esm2015/notify/src/public-api.js +1 -1
- package/esm2015/pdf/index.js +1 -1
- package/esm2015/pdf/sd-angular-core-pdf.js +1 -1
- package/esm2015/pdf/src/lib/pdf.module.js +1 -1
- package/esm2015/pdf/src/lib/pdf.service.js +1 -1
- package/esm2015/pdf/src/public-api.js +1 -1
- package/esm2015/popover/index.js +1 -1
- package/esm2015/popover/sd-angular-core-popover.js +1 -1
- package/esm2015/popover/src/lib/directives/popover-content.directive.js +1 -1
- package/esm2015/popover/src/lib/directives/popover-trigger.directive.js +1 -1
- package/esm2015/popover/src/lib/popover/popover.component.js +1 -1
- package/esm2015/popover/src/lib/popover.model.js +1 -1
- package/esm2015/popover/src/lib/popover.module.js +1 -1
- package/esm2015/popover/src/public-api.js +1 -1
- package/esm2015/print/index.js +1 -1
- package/esm2015/print/sd-angular-core-print.js +1 -1
- package/esm2015/print/src/lib/fonts/times/bold-italic.js +1 -1
- package/esm2015/print/src/lib/fonts/times/bold.js +1 -1
- package/esm2015/print/src/lib/fonts/times/italic.js +1 -1
- package/esm2015/print/src/lib/fonts/times/normal.js +1 -1
- package/esm2015/print/src/lib/print.component.js +1 -1
- package/esm2015/print/src/lib/print.module.js +1 -1
- package/esm2015/print/src/public-api.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/esm2015/quick-action/index.js +1 -1
- package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
- package/esm2015/quick-action/src/lib/quick-action.component.js +1 -1
- package/esm2015/quick-action/src/lib/quick-action.module.js +1 -1
- package/esm2015/quick-action/src/public-api.js +1 -1
- package/esm2015/radio/index.js +1 -1
- package/esm2015/radio/sd-angular-core-radio.js +1 -1
- package/esm2015/radio/src/lib/radio.component.js +1 -1
- package/esm2015/radio/src/lib/radio.module.js +1 -1
- package/esm2015/radio/src/public-api.js +1 -1
- package/esm2015/sd-angular-core.js +1 -1
- package/esm2015/select/index.js +1 -1
- package/esm2015/select/sd-angular-core-select.js +1 -1
- package/esm2015/select/src/lib/select-display-def.directive.js +1 -1
- package/esm2015/select/src/lib/select.component.js +1 -1
- package/esm2015/select/src/lib/select.module.js +1 -1
- package/esm2015/select/src/public-api.js +1 -1
- package/esm2015/select-badge/index.js +1 -1
- package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
- package/esm2015/select-badge/src/lib/select-badge-display-def.directive.js +1 -1
- package/esm2015/select-badge/src/lib/select-badge.component.js +1 -1
- package/esm2015/select-badge/src/lib/select-badge.module.js +1 -1
- package/esm2015/select-badge/src/public-api.js +1 -1
- package/esm2015/select-editor/index.js +1 -1
- package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
- package/esm2015/select-editor/src/lib/select-editor.component.js +1 -1
- package/esm2015/select-editor/src/lib/select-editor.module.js +1 -1
- package/esm2015/select-editor/src/public-api.js +1 -1
- package/esm2015/service/index.js +1 -1
- package/esm2015/service/sd-angular-core-service.js +1 -1
- package/esm2015/service/src/lib/service.module.js +1 -1
- package/esm2015/service/src/public-api.js +1 -1
- package/esm2015/setting/index.js +1 -1
- package/esm2015/setting/sd-angular-core-setting.js +1 -1
- package/esm2015/setting/src/lib/setting.model.js +1 -1
- package/esm2015/setting/src/lib/setting.service.js +1 -1
- package/esm2015/setting/src/public-api.js +1 -1
- package/esm2015/side-drawer/index.js +1 -1
- package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
- package/esm2015/side-drawer/src/lib/side-drawer/side-drawer.component.js +1 -1
- package/esm2015/side-drawer/src/lib/side-drawer.module.js +1 -1
- package/esm2015/side-drawer/src/public-api.js +1 -1
- package/esm2015/switch/index.js +1 -1
- package/esm2015/switch/sd-angular-core-switch.js +1 -1
- package/esm2015/switch/src/lib/switch.component.js +1 -1
- package/esm2015/switch/src/lib/switch.module.js +1 -1
- package/esm2015/switch/src/public-api.js +1 -1
- package/esm2015/tab-router/index.js +1 -1
- package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
- package/esm2015/tab-router/src/lib/actions/tab-router.action.js +1 -1
- package/esm2015/tab-router/src/lib/components/tab-router-item/tab-router-item.component.js +1 -1
- package/esm2015/tab-router/src/lib/components/tab-router-nav/tab-router-nav.component.js +1 -1
- package/esm2015/tab-router/src/lib/components/tab-router-outlet/tab-router-outlet.component.js +1 -1
- package/esm2015/tab-router/src/lib/decorators/tab.decorator.js +1 -1
- package/esm2015/tab-router/src/lib/directives/router-link-mouse-down.directive.js +1 -1
- package/esm2015/tab-router/src/lib/events/tab-router.event.js +1 -1
- package/esm2015/tab-router/src/lib/models/tab-router.model.js +1 -1
- package/esm2015/tab-router/src/lib/pipes/tab-info.pipe.js +1 -1
- package/esm2015/tab-router/src/lib/services/tab-decorator.service.js +1 -1
- package/esm2015/tab-router/src/lib/services/tab-router.service.js +1 -1
- package/esm2015/tab-router/src/lib/tab-router.module.js +1 -1
- package/esm2015/tab-router/src/public-api.js +1 -1
- package/esm2015/textarea/index.js +1 -1
- package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
- package/esm2015/textarea/src/lib/textarea.component.js +1 -1
- package/esm2015/textarea/src/lib/textarea.module.js +1 -1
- package/esm2015/textarea/src/public-api.js +1 -1
- package/esm2015/time/index.js +1 -1
- package/esm2015/time/sd-angular-core-time.js +1 -1
- package/esm2015/time/src/lib/time.component.js +1 -1
- package/esm2015/time/src/lib/time.module.js +1 -1
- package/esm2015/time/src/public-api.js +1 -1
- package/esm2015/timeline/index.js +1 -1
- package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
- package/esm2015/timeline/src/lib/components/timeline.component.js +1 -1
- package/esm2015/timeline/src/lib/directives/timeline-def.directive.js +1 -1
- package/esm2015/timeline/src/lib/timeline.module.js +1 -1
- package/esm2015/timeline/src/public-api.js +1 -1
- package/esm2015/translate/index.js +1 -1
- package/esm2015/translate/sd-angular-core-translate.js +1 -1
- package/esm2015/translate/src/lib/translate.model.js +1 -1
- package/esm2015/translate/src/lib/translate.module.js +1 -1
- package/esm2015/translate/src/lib/translate.pipe.js +1 -1
- package/esm2015/translate/src/lib/translate.service.js +1 -1
- package/esm2015/upload-excel/index.js +1 -1
- package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
- package/esm2015/upload-excel/src/lib/pipes/columm-hidden.pipe.js +1 -1
- package/esm2015/upload-excel/src/lib/pipes/column-transform.pipe.js +1 -1
- package/esm2015/upload-excel/src/lib/upload-excel.component.js +1 -1
- package/esm2015/upload-excel/src/lib/upload-excel.model.js +1 -1
- package/esm2015/upload-excel/src/lib/upload-excel.module.js +1 -1
- package/esm2015/upload-excel/src/public-api.js +1 -1
- package/esm2015/upload-file/index.js +1 -1
- package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
- package/esm2015/upload-file/src/lib/upload-file.component.js +1 -1
- package/esm2015/upload-file/src/lib/upload-file.module.js +1 -1
- package/esm2015/upload-file/src/public-api.js +1 -1
- package/esm2015/utility/index.js +1 -1
- package/esm2015/utility/sd-angular-core-utility.js +1 -1
- package/esm2015/utility/src/lib/directives/desktop.directive.js +1 -1
- package/esm2015/utility/src/lib/directives/mobile-tablet.directive.js +1 -1
- package/esm2015/utility/src/lib/directives/mobile.directive.js +1 -1
- package/esm2015/utility/src/lib/directives/tablet.directive.js +1 -1
- package/esm2015/utility/src/lib/pipes/currency.pipe.js +1 -1
- package/esm2015/utility/src/lib/pipes/safe-html.pipe.js +1 -1
- package/esm2015/utility/src/lib/pipes/time-different.pipe.js +1 -1
- package/esm2015/utility/src/lib/utility.module.js +1 -1
- package/esm2015/utility/src/lib/utility.service.js +1 -1
- package/esm2015/utility/src/public-api.js +1 -1
- package/esm2015/view/index.js +1 -1
- package/esm2015/view/sd-angular-core-view.js +1 -1
- package/esm2015/view/src/lib/view.module.js +1 -1
- package/esm2015/view/src/public-api.js +1 -1
- package/esm2015/zip/index.js +1 -1
- package/esm2015/zip/sd-angular-core-zip.js +1 -1
- package/esm2015/zip/src/lib/zip.module.js +1 -1
- package/esm2015/zip/src/lib/zip.service.js +1 -1
- package/esm2015/zip/src/public-api.js +1 -1
- package/fesm2015/sd-angular-core-grid-material.js +11 -10
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-1.3.89.tgz → sd-angular-core-1.3.91.tgz} +0 -0
- package/utility/src/lib/utility.service.d.ts +1 -1
|
@@ -1872,11 +1872,11 @@
|
|
|
1872
1872
|
this.exportTitle = 'Export';
|
|
1873
1873
|
_loadCompleted.set(this, false);
|
|
1874
1874
|
_initCellDef.set(this, function () {
|
|
1875
|
-
var e_1,
|
|
1875
|
+
var e_1, _3;
|
|
1876
1876
|
_this.cellDef = {};
|
|
1877
1877
|
try {
|
|
1878
|
-
for (var
|
|
1879
|
-
var cellDef =
|
|
1878
|
+
for (var _4 = __values(_this.sdCellDefs), _5 = _4.next(); !_5.done; _5 = _4.next()) {
|
|
1879
|
+
var cellDef = _5.value;
|
|
1880
1880
|
if (cellDef.sdMaterialCellDef) {
|
|
1881
1881
|
_this.cellDef[cellDef.sdMaterialCellDef] = cellDef;
|
|
1882
1882
|
}
|
|
@@ -1885,35 +1885,35 @@
|
|
|
1885
1885
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1886
1886
|
finally {
|
|
1887
1887
|
try {
|
|
1888
|
-
if (
|
|
1888
|
+
if (_5 && !_5.done && (_3 = _4.return)) _3.call(_4);
|
|
1889
1889
|
}
|
|
1890
1890
|
finally { if (e_1) throw e_1.error; }
|
|
1891
1891
|
}
|
|
1892
1892
|
});
|
|
1893
1893
|
_initFilterDef.set(this, function () {
|
|
1894
|
-
var e_2,
|
|
1894
|
+
var e_2, _3;
|
|
1895
1895
|
_this.filterDefs = [];
|
|
1896
1896
|
try {
|
|
1897
|
-
for (var
|
|
1898
|
-
var filterDef =
|
|
1897
|
+
for (var _4 = __values(_this.sdFilterDefs), _5 = _4.next(); !_5.done; _5 = _4.next()) {
|
|
1898
|
+
var filterDef = _5.value;
|
|
1899
1899
|
_this.filterDefs.push(filterDef);
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
1902
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1903
1903
|
finally {
|
|
1904
1904
|
try {
|
|
1905
|
-
if (
|
|
1905
|
+
if (_5 && !_5.done && (_3 = _4.return)) _3.call(_4);
|
|
1906
1906
|
}
|
|
1907
1907
|
finally { if (e_2) throw e_2.error; }
|
|
1908
1908
|
}
|
|
1909
1909
|
});
|
|
1910
1910
|
_initFooterDef.set(this, function () {
|
|
1911
|
-
var e_3,
|
|
1911
|
+
var e_3, _3;
|
|
1912
1912
|
_this.footerDef = {};
|
|
1913
1913
|
_this.hasFooter = false;
|
|
1914
1914
|
try {
|
|
1915
|
-
for (var
|
|
1916
|
-
var footerDef =
|
|
1915
|
+
for (var _4 = __values(_this.sdFooterDefs), _5 = _4.next(); !_5.done; _5 = _4.next()) {
|
|
1916
|
+
var footerDef = _5.value;
|
|
1917
1917
|
if (footerDef.sdMaterialFooterDef) {
|
|
1918
1918
|
_this.hasFooter = true;
|
|
1919
1919
|
_this.footerDef[footerDef.sdMaterialFooterDef] = footerDef;
|
|
@@ -1923,7 +1923,7 @@
|
|
|
1923
1923
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
1924
1924
|
finally {
|
|
1925
1925
|
try {
|
|
1926
|
-
if (
|
|
1926
|
+
if (_5 && !_5.done && (_3 = _4.return)) _3.call(_4);
|
|
1927
1927
|
}
|
|
1928
1928
|
finally { if (e_3) throw e_3.error; }
|
|
1929
1929
|
}
|
|
@@ -1955,7 +1955,7 @@
|
|
|
1955
1955
|
var columns = _this.gridOption.columns;
|
|
1956
1956
|
var rawColumnFilter = filterInfo.rawColumnFilter, orderBy = filterInfo.orderBy, orderDirection = filterInfo.orderDirection, pageSize = filterInfo.pageSize, pageNumber = filterInfo.pageNumber;
|
|
1957
1957
|
var items = localItems.filter(function (item) {
|
|
1958
|
-
var e_4,
|
|
1958
|
+
var e_4, _3;
|
|
1959
1959
|
var _a, _b, _c, _d;
|
|
1960
1960
|
try {
|
|
1961
1961
|
for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
|
|
@@ -2035,7 +2035,7 @@
|
|
|
2035
2035
|
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
2036
2036
|
finally {
|
|
2037
2037
|
try {
|
|
2038
|
-
if (columns_1_1 && !columns_1_1.done && (
|
|
2038
|
+
if (columns_1_1 && !columns_1_1.done && (_3 = columns_1.return)) _3.call(columns_1);
|
|
2039
2039
|
}
|
|
2040
2040
|
finally { if (e_4) throw e_4.error; }
|
|
2041
2041
|
}
|
|
@@ -2093,28 +2093,28 @@
|
|
|
2093
2093
|
_load$1.set(this, function (filterReq, force) {
|
|
2094
2094
|
if (force === void 0) { force = true; }
|
|
2095
2095
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2096
|
-
var result, data, error_1, results,
|
|
2097
|
-
return __generator(this, function (
|
|
2098
|
-
switch (
|
|
2096
|
+
var result, data, error_1, results, _3, _4, error_2;
|
|
2097
|
+
return __generator(this, function (_5) {
|
|
2098
|
+
switch (_5.label) {
|
|
2099
2099
|
case 0:
|
|
2100
2100
|
this.isLoading = true;
|
|
2101
2101
|
if (!(this.gridOption.type === 'server')) return [3 /*break*/, 6];
|
|
2102
|
-
|
|
2102
|
+
_5.label = 1;
|
|
2103
2103
|
case 1:
|
|
2104
|
-
|
|
2104
|
+
_5.trys.push([1, 3, 4, 5]);
|
|
2105
2105
|
result = this.gridOption.items(filterReq);
|
|
2106
2106
|
if (rxjs.isObservable(result)) {
|
|
2107
2107
|
result = result.toPromise();
|
|
2108
2108
|
}
|
|
2109
2109
|
return [4 /*yield*/, result];
|
|
2110
2110
|
case 2:
|
|
2111
|
-
data =
|
|
2111
|
+
data = _5.sent();
|
|
2112
2112
|
return [2 /*return*/, {
|
|
2113
2113
|
items: (data === null || data === void 0 ? void 0 : data.items) || [],
|
|
2114
2114
|
total: (data === null || data === void 0 ? void 0 : data.total) || 0
|
|
2115
2115
|
}];
|
|
2116
2116
|
case 3:
|
|
2117
|
-
error_1 =
|
|
2117
|
+
error_1 = _5.sent();
|
|
2118
2118
|
console.error(error_1);
|
|
2119
2119
|
this.notifyService.notify.warning('Có lỗi xảy ra');
|
|
2120
2120
|
return [2 /*return*/, {
|
|
@@ -2128,20 +2128,20 @@
|
|
|
2128
2128
|
case 5: return [3 /*break*/, 14];
|
|
2129
2129
|
case 6:
|
|
2130
2130
|
if (!force) return [3 /*break*/, 13];
|
|
2131
|
-
|
|
2131
|
+
_5.label = 7;
|
|
2132
2132
|
case 7:
|
|
2133
|
-
|
|
2133
|
+
_5.trys.push([7, 11, 12, 13]);
|
|
2134
2134
|
results = this.gridOption.items();
|
|
2135
2135
|
if (!(results instanceof Promise)) return [3 /*break*/, 9];
|
|
2136
|
-
|
|
2137
|
-
|
|
2136
|
+
_3 = __classPrivateFieldSet;
|
|
2137
|
+
_4 = [this, _localItems];
|
|
2138
2138
|
return [4 /*yield*/, results];
|
|
2139
2139
|
case 8:
|
|
2140
|
-
|
|
2140
|
+
_3.apply(void 0, _4.concat([(_5.sent()) || []]));
|
|
2141
2141
|
return [3 /*break*/, 10];
|
|
2142
2142
|
case 9:
|
|
2143
2143
|
__classPrivateFieldSet(this, _localItems, results || []);
|
|
2144
|
-
|
|
2144
|
+
_5.label = 10;
|
|
2145
2145
|
case 10:
|
|
2146
2146
|
if (!Array.isArray(__classPrivateFieldGet(this, _localItems))) {
|
|
2147
2147
|
this.notifyService.notify.warning('Dữ liệu không phải là một mảng');
|
|
@@ -2149,7 +2149,7 @@
|
|
|
2149
2149
|
}
|
|
2150
2150
|
return [3 /*break*/, 13];
|
|
2151
2151
|
case 11:
|
|
2152
|
-
error_2 =
|
|
2152
|
+
error_2 = _5.sent();
|
|
2153
2153
|
console.error(error_2);
|
|
2154
2154
|
this.notifyService.notify.warning('Có lỗi xảy ra');
|
|
2155
2155
|
__classPrivateFieldSet(this, _localItems, []);
|
|
@@ -2169,8 +2169,8 @@
|
|
|
2169
2169
|
});
|
|
2170
2170
|
_render.set(this, function (args) { return __awaiter(_this, void 0, void 0, function () {
|
|
2171
2171
|
var _a, _b, _c, _d;
|
|
2172
|
-
return __generator(this, function (
|
|
2173
|
-
switch (
|
|
2172
|
+
return __generator(this, function (_3) {
|
|
2173
|
+
switch (_3.label) {
|
|
2174
2174
|
case 0:
|
|
2175
2175
|
(_a = this.sdScroll) === null || _a === void 0 ? void 0 : _a.scrollTop();
|
|
2176
2176
|
this.items = (args === null || args === void 0 ? void 0 : args.items) || [];
|
|
@@ -2181,7 +2181,7 @@
|
|
|
2181
2181
|
});
|
|
2182
2182
|
return [4 /*yield*/, ((_d = (_c = (_b = this.gridOption) === null || _b === void 0 ? void 0 : _b.reload) === null || _c === void 0 ? void 0 : _c.onReload) === null || _d === void 0 ? void 0 : _d.call(_c, this.items))];
|
|
2183
2183
|
case 1:
|
|
2184
|
-
|
|
2184
|
+
_3.sent();
|
|
2185
2185
|
this.isSelectAll = this.items.every(function (e) { return e.isSelected; });
|
|
2186
2186
|
__classPrivateFieldGet(this, _updateSelectedItems).call(this);
|
|
2187
2187
|
return [2 /*return*/];
|
|
@@ -2192,11 +2192,11 @@
|
|
|
2192
2192
|
if (force === void 0) { force = true; }
|
|
2193
2193
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2194
2194
|
var data;
|
|
2195
|
-
return __generator(this, function (
|
|
2196
|
-
switch (
|
|
2195
|
+
return __generator(this, function (_3) {
|
|
2196
|
+
switch (_3.label) {
|
|
2197
2197
|
case 0: return [4 /*yield*/, __classPrivateFieldGet(this, _load$1).call(this, __classPrivateFieldGet(this, _getFilter).call(this), force)];
|
|
2198
2198
|
case 1:
|
|
2199
|
-
data =
|
|
2199
|
+
data = _3.sent();
|
|
2200
2200
|
__classPrivateFieldGet(this, _render).call(this, data);
|
|
2201
2201
|
return [2 /*return*/];
|
|
2202
2202
|
}
|
|
@@ -2208,8 +2208,8 @@
|
|
|
2208
2208
|
if (pageSize === void 0) { pageSize = 10000; }
|
|
2209
2209
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2210
2210
|
var _e, _f, result, filterInfo, result, exportedItems, results;
|
|
2211
|
-
return __generator(this, function (
|
|
2212
|
-
switch (
|
|
2211
|
+
return __generator(this, function (_3) {
|
|
2212
|
+
switch (_3.label) {
|
|
2213
2213
|
case 0:
|
|
2214
2214
|
if (!((_e = this.gridOption.export) === null || _e === void 0 ? void 0 : _e.items)) return [3 /*break*/, 2];
|
|
2215
2215
|
result = (_f = this.gridOption.export) === null || _f === void 0 ? void 0 : _f.items(__classPrivateFieldGet(this, _filterExportInfo).call(this, pageNumber, pageSize));
|
|
@@ -2223,7 +2223,7 @@
|
|
|
2223
2223
|
result = result.toPromise();
|
|
2224
2224
|
}
|
|
2225
2225
|
return [4 /*yield*/, result];
|
|
2226
|
-
case 1: return [2 /*return*/,
|
|
2226
|
+
case 1: return [2 /*return*/, _3.sent()];
|
|
2227
2227
|
case 2:
|
|
2228
2228
|
filterInfo = __classPrivateFieldGet(this, _filterExportInfo).call(this, pageNumber, pageSize);
|
|
2229
2229
|
if (!(this.gridOption.type === 'server')) return [3 /*break*/, 4];
|
|
@@ -2232,7 +2232,7 @@
|
|
|
2232
2232
|
result = result.toPromise();
|
|
2233
2233
|
}
|
|
2234
2234
|
return [4 /*yield*/, result];
|
|
2235
|
-
case 3: return [2 /*return*/,
|
|
2235
|
+
case 3: return [2 /*return*/, _3.sent()];
|
|
2236
2236
|
case 4:
|
|
2237
2237
|
exportedItems = [];
|
|
2238
2238
|
if (!(typeof (this.gridOption.items) === 'function')) return [3 /*break*/, 8];
|
|
@@ -2240,15 +2240,15 @@
|
|
|
2240
2240
|
if (!(results instanceof Promise)) return [3 /*break*/, 6];
|
|
2241
2241
|
return [4 /*yield*/, results];
|
|
2242
2242
|
case 5:
|
|
2243
|
-
exportedItems =
|
|
2243
|
+
exportedItems = _3.sent();
|
|
2244
2244
|
return [3 /*break*/, 7];
|
|
2245
2245
|
case 6:
|
|
2246
2246
|
exportedItems = results;
|
|
2247
|
-
|
|
2247
|
+
_3.label = 7;
|
|
2248
2248
|
case 7: return [3 /*break*/, 9];
|
|
2249
2249
|
case 8:
|
|
2250
2250
|
exportedItems = this.gridOption.items;
|
|
2251
|
-
|
|
2251
|
+
_3.label = 9;
|
|
2252
2252
|
case 9: return [2 /*return*/, __classPrivateFieldGet(this, _filterLocal).call(this, exportedItems, filterInfo)];
|
|
2253
2253
|
}
|
|
2254
2254
|
});
|
|
@@ -2288,13 +2288,13 @@
|
|
|
2288
2288
|
return ((_b = (_a = _this.gridOption.export) === null || _a === void 0 ? void 0 : _a.columns) === null || _b === void 0 ? void 0 : _b.filter(function (e) { var _a; return !((_a = e.export) === null || _a === void 0 ? void 0 : _a.disabled); })) || [];
|
|
2289
2289
|
});
|
|
2290
2290
|
_onExport.set(this, function (args) { return __awaiter(_this, void 0, void 0, function () {
|
|
2291
|
-
var _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, file, isCSV, columns_2, pageSize_1, batch, total_1, pageNumber_1, exportItems_1, items_1, promises_1, handleData, sheets,
|
|
2292
|
-
var e_5,
|
|
2291
|
+
var _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, file, isCSV, columns_2, pageSize_1, batch, total_1, pageNumber_1, exportItems_1, items_1, promises_1, handleData, sheets, _3, _4, sheet, _5, _6, _7, e_5_1;
|
|
2292
|
+
var e_5, _8;
|
|
2293
2293
|
var _this = this;
|
|
2294
|
-
return __generator(this, function (
|
|
2295
|
-
switch (
|
|
2294
|
+
return __generator(this, function (_9) {
|
|
2295
|
+
switch (_9.label) {
|
|
2296
2296
|
case 0:
|
|
2297
|
-
|
|
2297
|
+
_9.trys.push([0, , 20, 21]);
|
|
2298
2298
|
file = args.file, isCSV = args.isCSV;
|
|
2299
2299
|
columns_2 = args.columns;
|
|
2300
2300
|
pageSize_1 = ((_h = (_g = this.gridOption) === null || _g === void 0 ? void 0 : _g.export) === null || _h === void 0 ? void 0 : _h.maxItemsPerRequest) || 1000;
|
|
@@ -2307,13 +2307,13 @@
|
|
|
2307
2307
|
promises_1 = [];
|
|
2308
2308
|
handleData = function () { return __awaiter(_this, void 0, void 0, function () {
|
|
2309
2309
|
var _s, results, results_1, results_1_1, result, results_2, totalPage, percent, allColumns, allExportedColumns, _loop_1, exportItems_2, exportItems_2_1, item, e_6_1;
|
|
2310
|
-
var e_7,
|
|
2310
|
+
var e_7, _3, e_6, _4;
|
|
2311
2311
|
var _this = this;
|
|
2312
|
-
return __generator(this, function (
|
|
2313
|
-
switch (
|
|
2312
|
+
return __generator(this, function (_5) {
|
|
2313
|
+
switch (_5.label) {
|
|
2314
2314
|
case 0: return [4 /*yield*/, Promise.all(promises_1)];
|
|
2315
2315
|
case 1:
|
|
2316
|
-
results =
|
|
2316
|
+
results = _5.sent();
|
|
2317
2317
|
promises_1 = [];
|
|
2318
2318
|
exportItems_1 = [];
|
|
2319
2319
|
try {
|
|
@@ -2331,7 +2331,7 @@
|
|
|
2331
2331
|
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
2332
2332
|
finally {
|
|
2333
2333
|
try {
|
|
2334
|
-
if (results_1_1 && !results_1_1.done && (
|
|
2334
|
+
if (results_1_1 && !results_1_1.done && (_3 = results_1.return)) _3.call(results_1);
|
|
2335
2335
|
}
|
|
2336
2336
|
finally { if (e_7) throw e_7.error; }
|
|
2337
2337
|
}
|
|
@@ -2340,11 +2340,11 @@
|
|
|
2340
2340
|
if (!(results_2 instanceof Promise)) return [3 /*break*/, 3];
|
|
2341
2341
|
return [4 /*yield*/, results_2];
|
|
2342
2342
|
case 2:
|
|
2343
|
-
exportItems_1 =
|
|
2343
|
+
exportItems_1 = _5.sent();
|
|
2344
2344
|
return [3 /*break*/, 4];
|
|
2345
2345
|
case 3:
|
|
2346
2346
|
exportItems_1 = results_2;
|
|
2347
|
-
|
|
2347
|
+
_5.label = 4;
|
|
2348
2348
|
case 4:
|
|
2349
2349
|
totalPage = total_1 / pageSize_1;
|
|
2350
2350
|
percent = Math.round((pageNumber_1 - 1) * 100.0 / totalPage);
|
|
@@ -2353,15 +2353,15 @@
|
|
|
2353
2353
|
allExportedColumns = __classPrivateFieldGet(this, _allExportedColumns).call(this);
|
|
2354
2354
|
_loop_1 = function (item) {
|
|
2355
2355
|
var obj, handle, columns_3, columns_3_1, exportColumn, e_8_1;
|
|
2356
|
-
var e_8,
|
|
2357
|
-
return __generator(this, function (
|
|
2358
|
-
switch (
|
|
2356
|
+
var e_8, _3;
|
|
2357
|
+
return __generator(this, function (_4) {
|
|
2358
|
+
switch (_4.label) {
|
|
2359
2359
|
case 0:
|
|
2360
2360
|
obj = {};
|
|
2361
2361
|
handle = function (exportColumn) { return __awaiter(_this, void 0, void 0, function () {
|
|
2362
|
-
var _t, _u, column, exportedColumn, transform,
|
|
2363
|
-
return __generator(this, function (
|
|
2364
|
-
switch (
|
|
2362
|
+
var _t, _u, _v, column, exportedColumn, transform, _3, _4, date, transformDate, date, transformDate, date, transformDate, _5, _6;
|
|
2363
|
+
return __generator(this, function (_7) {
|
|
2364
|
+
switch (_7.label) {
|
|
2365
2365
|
case 0:
|
|
2366
2366
|
obj[exportColumn.field] = item[exportColumn.field];
|
|
2367
2367
|
column = allColumns.find(function (e) { return e.field === exportColumn.field; });
|
|
@@ -2385,16 +2385,18 @@
|
|
|
2385
2385
|
isExport: true
|
|
2386
2386
|
});
|
|
2387
2387
|
if (!(transform instanceof Promise)) return [3 /*break*/, 2];
|
|
2388
|
-
|
|
2389
|
-
|
|
2388
|
+
_3 = obj;
|
|
2389
|
+
_4 = column.field;
|
|
2390
2390
|
return [4 /*yield*/, transform];
|
|
2391
2391
|
case 1:
|
|
2392
|
-
|
|
2392
|
+
_3[_4] = _7.sent();
|
|
2393
2393
|
return [3 /*break*/, 3];
|
|
2394
2394
|
case 2:
|
|
2395
2395
|
obj[column.field] = transform;
|
|
2396
|
-
|
|
2397
|
-
case 3:
|
|
2396
|
+
_7.label = 3;
|
|
2397
|
+
case 3:
|
|
2398
|
+
obj[column.field] = (_t = obj[column.field]) !== null && _t !== void 0 ? _t : '';
|
|
2399
|
+
return [3 /*break*/, 13];
|
|
2398
2400
|
case 4:
|
|
2399
2401
|
if (!(item[column.field] === undefined || item[column.field] === null || item[column.field] === '')) return [3 /*break*/, 5];
|
|
2400
2402
|
obj[column.field] = '';
|
|
@@ -2408,10 +2410,10 @@
|
|
|
2408
2410
|
if (!(column.type === 'bool')) return [3 /*break*/, 7];
|
|
2409
2411
|
// Nếu là bool thì gán bằng giá trị trueValue và falseValue (nếu có), mặc định là TRUE/FALSE
|
|
2410
2412
|
if (item[column.field]) {
|
|
2411
|
-
obj[column.field] = ((
|
|
2413
|
+
obj[column.field] = ((_u = column.option) === null || _u === void 0 ? void 0 : _u.displayOnTrue) || 'True';
|
|
2412
2414
|
}
|
|
2413
2415
|
else if (obj[column.field] !== undefined && obj[column.field] !== null) {
|
|
2414
|
-
obj[column.field] = ((
|
|
2416
|
+
obj[column.field] = ((_v = column.option) === null || _v === void 0 ? void 0 : _v.displayOnFalse) || 'False';
|
|
2415
2417
|
}
|
|
2416
2418
|
return [3 /*break*/, 13];
|
|
2417
2419
|
case 7:
|
|
@@ -2447,43 +2449,43 @@
|
|
|
2447
2449
|
case 10:
|
|
2448
2450
|
if (!(column.type === 'values')) return [3 /*break*/, 12];
|
|
2449
2451
|
// Nếu là values thì lấy giá trị của value được chọn
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
+
_5 = obj;
|
|
2453
|
+
_6 = column.field;
|
|
2452
2454
|
return [4 /*yield*/, this.columnValuesPipe.transform(item[column.field], column)];
|
|
2453
2455
|
case 11:
|
|
2454
2456
|
// Nếu là values thì lấy giá trị của value được chọn
|
|
2455
|
-
|
|
2457
|
+
_5[_6] = _7.sent();
|
|
2456
2458
|
return [3 /*break*/, 13];
|
|
2457
2459
|
case 12:
|
|
2458
2460
|
obj[column.field] = item[column.field];
|
|
2459
|
-
|
|
2461
|
+
_7.label = 13;
|
|
2460
2462
|
case 13: return [2 /*return*/];
|
|
2461
2463
|
}
|
|
2462
2464
|
});
|
|
2463
2465
|
}); };
|
|
2464
|
-
|
|
2466
|
+
_4.label = 1;
|
|
2465
2467
|
case 1:
|
|
2466
|
-
|
|
2468
|
+
_4.trys.push([1, 6, 7, 8]);
|
|
2467
2469
|
columns_3 = (e_8 = void 0, __values(columns_2)), columns_3_1 = columns_3.next();
|
|
2468
|
-
|
|
2470
|
+
_4.label = 2;
|
|
2469
2471
|
case 2:
|
|
2470
2472
|
if (!!columns_3_1.done) return [3 /*break*/, 5];
|
|
2471
2473
|
exportColumn = columns_3_1.value;
|
|
2472
2474
|
return [4 /*yield*/, handle(exportColumn)];
|
|
2473
2475
|
case 3:
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
+
_4.sent();
|
|
2477
|
+
_4.label = 4;
|
|
2476
2478
|
case 4:
|
|
2477
2479
|
columns_3_1 = columns_3.next();
|
|
2478
2480
|
return [3 /*break*/, 2];
|
|
2479
2481
|
case 5: return [3 /*break*/, 8];
|
|
2480
2482
|
case 6:
|
|
2481
|
-
e_8_1 =
|
|
2483
|
+
e_8_1 = _4.sent();
|
|
2482
2484
|
e_8 = { error: e_8_1 };
|
|
2483
2485
|
return [3 /*break*/, 8];
|
|
2484
2486
|
case 7:
|
|
2485
2487
|
try {
|
|
2486
|
-
if (columns_3_1 && !columns_3_1.done && (
|
|
2488
|
+
if (columns_3_1 && !columns_3_1.done && (_3 = columns_3.return)) _3.call(columns_3);
|
|
2487
2489
|
}
|
|
2488
2490
|
finally { if (e_8) throw e_8.error; }
|
|
2489
2491
|
return [7 /*endfinally*/];
|
|
@@ -2493,29 +2495,29 @@
|
|
|
2493
2495
|
}
|
|
2494
2496
|
});
|
|
2495
2497
|
};
|
|
2496
|
-
|
|
2498
|
+
_5.label = 5;
|
|
2497
2499
|
case 5:
|
|
2498
|
-
|
|
2500
|
+
_5.trys.push([5, 10, 11, 12]);
|
|
2499
2501
|
exportItems_2 = __values(exportItems_1), exportItems_2_1 = exportItems_2.next();
|
|
2500
|
-
|
|
2502
|
+
_5.label = 6;
|
|
2501
2503
|
case 6:
|
|
2502
2504
|
if (!!exportItems_2_1.done) return [3 /*break*/, 9];
|
|
2503
2505
|
item = exportItems_2_1.value;
|
|
2504
2506
|
return [5 /*yield**/, _loop_1(item)];
|
|
2505
2507
|
case 7:
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
+
_5.sent();
|
|
2509
|
+
_5.label = 8;
|
|
2508
2510
|
case 8:
|
|
2509
2511
|
exportItems_2_1 = exportItems_2.next();
|
|
2510
2512
|
return [3 /*break*/, 6];
|
|
2511
2513
|
case 9: return [3 /*break*/, 12];
|
|
2512
2514
|
case 10:
|
|
2513
|
-
e_6_1 =
|
|
2515
|
+
e_6_1 = _5.sent();
|
|
2514
2516
|
e_6 = { error: e_6_1 };
|
|
2515
2517
|
return [3 /*break*/, 12];
|
|
2516
2518
|
case 11:
|
|
2517
2519
|
try {
|
|
2518
|
-
if (exportItems_2_1 && !exportItems_2_1.done && (
|
|
2520
|
+
if (exportItems_2_1 && !exportItems_2_1.done && (_4 = exportItems_2.return)) _4.call(exportItems_2);
|
|
2519
2521
|
}
|
|
2520
2522
|
finally { if (e_6) throw e_6.error; }
|
|
2521
2523
|
return [7 /*endfinally*/];
|
|
@@ -2523,7 +2525,7 @@
|
|
|
2523
2525
|
}
|
|
2524
2526
|
});
|
|
2525
2527
|
}); };
|
|
2526
|
-
|
|
2528
|
+
_9.label = 1;
|
|
2527
2529
|
case 1:
|
|
2528
2530
|
if (!(pageNumber_1 * pageSize_1 < total_1)) return [3 /*break*/, 3];
|
|
2529
2531
|
promises_1.push(__classPrivateFieldGet(this, _exportedItems).call(this, pageNumber_1, pageSize_1));
|
|
@@ -2533,14 +2535,14 @@
|
|
|
2533
2535
|
}
|
|
2534
2536
|
return [4 /*yield*/, handleData()];
|
|
2535
2537
|
case 2:
|
|
2536
|
-
|
|
2538
|
+
_9.sent();
|
|
2537
2539
|
return [3 /*break*/, 1];
|
|
2538
2540
|
case 3:
|
|
2539
2541
|
if (!(promises_1.length > 0)) return [3 /*break*/, 5];
|
|
2540
2542
|
return [4 /*yield*/, handleData()];
|
|
2541
2543
|
case 4:
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
+
_9.sent();
|
|
2545
|
+
_9.label = 5;
|
|
2544
2546
|
case 5:
|
|
2545
2547
|
if (!!(file === null || file === void 0 ? void 0 : file.filePath)) return [3 /*break*/, 18];
|
|
2546
2548
|
if (!isCSV) return [3 /*break*/, 7];
|
|
@@ -2550,19 +2552,19 @@
|
|
|
2550
2552
|
fileName: (_m = (_l = this.gridOption) === null || _l === void 0 ? void 0 : _l.export) === null || _m === void 0 ? void 0 : _m.fileName
|
|
2551
2553
|
})];
|
|
2552
2554
|
case 6:
|
|
2553
|
-
|
|
2555
|
+
_9.sent();
|
|
2554
2556
|
return [2 /*return*/];
|
|
2555
2557
|
case 7:
|
|
2556
2558
|
sheets = [];
|
|
2557
2559
|
if (!Array.isArray((_p = (_o = this.gridOption) === null || _o === void 0 ? void 0 : _o.export) === null || _p === void 0 ? void 0 : _p.sheets)) return [3 /*break*/, 16];
|
|
2558
|
-
|
|
2560
|
+
_9.label = 8;
|
|
2559
2561
|
case 8:
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2562
|
+
_9.trys.push([8, 14, 15, 16]);
|
|
2563
|
+
_3 = __values(this.gridOption.export.sheets), _4 = _3.next();
|
|
2564
|
+
_9.label = 9;
|
|
2563
2565
|
case 9:
|
|
2564
|
-
if (!!
|
|
2565
|
-
sheet =
|
|
2566
|
+
if (!!_4.done) return [3 /*break*/, 13];
|
|
2567
|
+
sheet = _4.value;
|
|
2566
2568
|
if (!(sheet.name && sheet.items && sheet.fields)) return [3 /*break*/, 12];
|
|
2567
2569
|
if (!Array.isArray(sheet.items)) return [3 /*break*/, 10];
|
|
2568
2570
|
sheets.push({
|
|
@@ -2572,27 +2574,27 @@
|
|
|
2572
2574
|
});
|
|
2573
2575
|
return [3 /*break*/, 12];
|
|
2574
2576
|
case 10:
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
+
_6 = (_5 = sheets).push;
|
|
2578
|
+
_7 = {
|
|
2577
2579
|
name: sheet.name
|
|
2578
2580
|
};
|
|
2579
2581
|
return [4 /*yield*/, sheet.items()];
|
|
2580
2582
|
case 11:
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2583
|
+
_6.apply(_5, [(_7.items = _9.sent(),
|
|
2584
|
+
_7.fields = sheet.fields,
|
|
2585
|
+
_7)]);
|
|
2586
|
+
_9.label = 12;
|
|
2585
2587
|
case 12:
|
|
2586
|
-
|
|
2588
|
+
_4 = _3.next();
|
|
2587
2589
|
return [3 /*break*/, 9];
|
|
2588
2590
|
case 13: return [3 /*break*/, 16];
|
|
2589
2591
|
case 14:
|
|
2590
|
-
e_5_1 =
|
|
2592
|
+
e_5_1 = _9.sent();
|
|
2591
2593
|
e_5 = { error: e_5_1 };
|
|
2592
2594
|
return [3 /*break*/, 16];
|
|
2593
2595
|
case 15:
|
|
2594
2596
|
try {
|
|
2595
|
-
if (
|
|
2597
|
+
if (_4 && !_4.done && (_8 = _3.return)) _8.call(_3);
|
|
2596
2598
|
}
|
|
2597
2599
|
finally { if (e_5) throw e_5.error; }
|
|
2598
2600
|
return [7 /*endfinally*/];
|
|
@@ -2603,7 +2605,7 @@
|
|
|
2603
2605
|
sheets: sheets
|
|
2604
2606
|
})];
|
|
2605
2607
|
case 17:
|
|
2606
|
-
|
|
2608
|
+
_9.sent();
|
|
2607
2609
|
return [2 /*return*/];
|
|
2608
2610
|
case 18: return [4 /*yield*/, this.exportService.exportByTemplate({
|
|
2609
2611
|
filePath: file.filePath,
|
|
@@ -2612,7 +2614,7 @@
|
|
|
2612
2614
|
items: items_1
|
|
2613
2615
|
})];
|
|
2614
2616
|
case 19:
|
|
2615
|
-
|
|
2617
|
+
_9.sent();
|
|
2616
2618
|
return [3 /*break*/, 21];
|
|
2617
2619
|
case 20:
|
|
2618
2620
|
this.isExporting = false;
|
|
@@ -2624,7 +2626,7 @@
|
|
|
2624
2626
|
});
|
|
2625
2627
|
}); });
|
|
2626
2628
|
this.onExport = function (args) { return __awaiter(_this, void 0, void 0, function () {
|
|
2627
|
-
return __generator(this, function (
|
|
2629
|
+
return __generator(this, function (_3) {
|
|
2628
2630
|
__classPrivateFieldGet(this, _onExport).call(this, args);
|
|
2629
2631
|
return [2 /*return*/];
|
|
2630
2632
|
});
|
|
@@ -2634,9 +2636,9 @@
|
|
|
2634
2636
|
_this.reload(false);
|
|
2635
2637
|
};
|
|
2636
2638
|
this.onExpand = function (rowData) { return __awaiter(_this, void 0, void 0, function () {
|
|
2637
|
-
var
|
|
2638
|
-
return __generator(this, function (
|
|
2639
|
-
if ((
|
|
2639
|
+
var _w, _x, _y, _z, _0, data;
|
|
2640
|
+
return __generator(this, function (_3) {
|
|
2641
|
+
if ((_w = this.gridOption.subInformation) === null || _w === void 0 ? void 0 : _w.always) {
|
|
2640
2642
|
return [2 /*return*/];
|
|
2641
2643
|
}
|
|
2642
2644
|
if (rowData.isExpanding) {
|
|
@@ -2646,8 +2648,8 @@
|
|
|
2646
2648
|
rowData.isExpanded = false;
|
|
2647
2649
|
return [2 /*return*/];
|
|
2648
2650
|
}
|
|
2649
|
-
data = (
|
|
2650
|
-
if (!((
|
|
2651
|
+
data = (_z = (_y = (_x = this.gridOption) === null || _x === void 0 ? void 0 : _x.subInformation) === null || _y === void 0 ? void 0 : _y.onExpand) === null || _z === void 0 ? void 0 : _z.call(_y, rowData);
|
|
2652
|
+
if (!((_0 = this.gridOption.subInformation) === null || _0 === void 0 ? void 0 : _0.multiple)) {
|
|
2651
2653
|
this.items.forEach(function (item) { return item.isExpanding = item.isExpanded = false; });
|
|
2652
2654
|
}
|
|
2653
2655
|
if (data instanceof Promise) {
|
|
@@ -2726,7 +2728,7 @@
|
|
|
2726
2728
|
};
|
|
2727
2729
|
this.onCreate = function () {
|
|
2728
2730
|
var _a, _b;
|
|
2729
|
-
var
|
|
2731
|
+
var _3 = _this.gridOption, type = _3.type, editor = _3.editor, columns = _3.columns;
|
|
2730
2732
|
if (!(editor === null || editor === void 0 ? void 0 : editor.addable)) {
|
|
2731
2733
|
return;
|
|
2732
2734
|
}
|
|
@@ -2782,23 +2784,23 @@
|
|
|
2782
2784
|
};
|
|
2783
2785
|
this.onSave = function (item) { return __awaiter(_this, void 0, void 0, function () {
|
|
2784
2786
|
var editor, result, message, result, err_1;
|
|
2785
|
-
return __generator(this, function (
|
|
2786
|
-
switch (
|
|
2787
|
+
return __generator(this, function (_3) {
|
|
2788
|
+
switch (_3.label) {
|
|
2787
2789
|
case 0:
|
|
2788
2790
|
if (item.editorHandlerRow.saving) {
|
|
2789
2791
|
return [2 /*return*/];
|
|
2790
2792
|
}
|
|
2791
2793
|
editor = this.gridOption.editor;
|
|
2792
|
-
|
|
2794
|
+
_3.label = 1;
|
|
2793
2795
|
case 1:
|
|
2794
|
-
|
|
2796
|
+
_3.trys.push([1, 7, 8, 9]);
|
|
2795
2797
|
item.editorHandlerRow.saving = true;
|
|
2796
2798
|
if (!editor.validate) return [3 /*break*/, 4];
|
|
2797
2799
|
result = editor.validate(item, this.items.indexOf(item));
|
|
2798
2800
|
if (!(result instanceof Promise)) return [3 /*break*/, 3];
|
|
2799
2801
|
return [4 /*yield*/, result];
|
|
2800
2802
|
case 2:
|
|
2801
|
-
message =
|
|
2803
|
+
message = _3.sent();
|
|
2802
2804
|
if (message) {
|
|
2803
2805
|
throw message;
|
|
2804
2806
|
}
|
|
@@ -2807,15 +2809,15 @@
|
|
|
2807
2809
|
if (result) {
|
|
2808
2810
|
throw result;
|
|
2809
2811
|
}
|
|
2810
|
-
|
|
2812
|
+
_3.label = 4;
|
|
2811
2813
|
case 4:
|
|
2812
2814
|
if (!editor.onSave) return [3 /*break*/, 6];
|
|
2813
2815
|
result = editor.onSave(item);
|
|
2814
2816
|
if (!(result instanceof Promise)) return [3 /*break*/, 6];
|
|
2815
2817
|
return [4 /*yield*/, result];
|
|
2816
2818
|
case 5:
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
+
_3.sent();
|
|
2820
|
+
_3.label = 6;
|
|
2819
2821
|
case 6:
|
|
2820
2822
|
if (item.editorStatus === 'create' && editor.type === 'popup') {
|
|
2821
2823
|
if (this.gridOption.type === 'local') {
|
|
@@ -2826,7 +2828,7 @@
|
|
|
2826
2828
|
item.editorStatus = undefined;
|
|
2827
2829
|
return [3 /*break*/, 9];
|
|
2828
2830
|
case 7:
|
|
2829
|
-
err_1 =
|
|
2831
|
+
err_1 = _3.sent();
|
|
2830
2832
|
this.notifyService.notify.warning(err_1);
|
|
2831
2833
|
return [3 /*break*/, 9];
|
|
2832
2834
|
case 8:
|
|
@@ -2877,9 +2879,9 @@
|
|
|
2877
2879
|
_this.ref.detectChanges();
|
|
2878
2880
|
};
|
|
2879
2881
|
this.onRemove = function (item) { return __awaiter(_this, void 0, void 0, function () {
|
|
2880
|
-
var
|
|
2881
|
-
return __generator(this, function (
|
|
2882
|
-
switch (
|
|
2882
|
+
var _1, _2, editor, beforeRemove, result, idx2, idx1;
|
|
2883
|
+
return __generator(this, function (_3) {
|
|
2884
|
+
switch (_3.label) {
|
|
2883
2885
|
case 0:
|
|
2884
2886
|
editor = this.gridOption.editor;
|
|
2885
2887
|
if (!(editor === null || editor === void 0 ? void 0 : editor.beforeRemove)) return [3 /*break*/, 3];
|
|
@@ -2887,7 +2889,7 @@
|
|
|
2887
2889
|
if (!(beforeRemove instanceof Promise)) return [3 /*break*/, 2];
|
|
2888
2890
|
return [4 /*yield*/, beforeRemove];
|
|
2889
2891
|
case 1:
|
|
2890
|
-
result =
|
|
2892
|
+
result = _3.sent();
|
|
2891
2893
|
if (!result) {
|
|
2892
2894
|
return [2 /*return*/];
|
|
2893
2895
|
}
|
|
@@ -2896,7 +2898,7 @@
|
|
|
2896
2898
|
if (!beforeRemove) {
|
|
2897
2899
|
return [2 /*return*/];
|
|
2898
2900
|
}
|
|
2899
|
-
|
|
2901
|
+
_3.label = 3;
|
|
2900
2902
|
case 3:
|
|
2901
2903
|
if (editor.type === 'inline') {
|
|
2902
2904
|
if (this.gridOption.type === 'local') {
|
|
@@ -2908,10 +2910,10 @@
|
|
|
2908
2910
|
this.items.splice(idx1, 1);
|
|
2909
2911
|
this.items = __spread(this.items);
|
|
2910
2912
|
if (this.gridOption.type === 'local') {
|
|
2911
|
-
(
|
|
2913
|
+
(_1 = editor === null || editor === void 0 ? void 0 : editor.onRemove) === null || _1 === void 0 ? void 0 : _1.call(editor, item, __classPrivateFieldGet(this, _localItems));
|
|
2912
2914
|
}
|
|
2913
2915
|
else {
|
|
2914
|
-
(
|
|
2916
|
+
(_2 = editor === null || editor === void 0 ? void 0 : editor.onRemove) === null || _2 === void 0 ? void 0 : _2.call(editor, item, this.items);
|
|
2915
2917
|
}
|
|
2916
2918
|
this.ref.detectChanges();
|
|
2917
2919
|
return [2 /*return*/];
|
|
@@ -3038,13 +3040,13 @@
|
|
|
3038
3040
|
return data.source === 'INITIALIZE';
|
|
3039
3041
|
}), operators.switchMap(function (data) { return __awaiter(_this, void 0, void 0, function () {
|
|
3040
3042
|
var filterInfo, result;
|
|
3041
|
-
return __generator(this, function (
|
|
3042
|
-
switch (
|
|
3043
|
+
return __generator(this, function (_3) {
|
|
3044
|
+
switch (_3.label) {
|
|
3043
3045
|
case 0:
|
|
3044
3046
|
filterInfo = __classPrivateFieldGet(this, _getFilter).call(this);
|
|
3045
3047
|
return [4 /*yield*/, __classPrivateFieldGet(this, _load$1).call(this, filterInfo, !__classPrivateFieldGet(this, _loadCompleted) || data.force)];
|
|
3046
3048
|
case 1:
|
|
3047
|
-
result =
|
|
3049
|
+
result = _3.sent();
|
|
3048
3050
|
__classPrivateFieldSet(this, _loadCompleted, true);
|
|
3049
3051
|
return [2 /*return*/, result];
|
|
3050
3052
|
}
|