@ng-atomic/common 18.12.0 → 18.13.0-preview-v19f.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/directives/molecules/column/column.molecule.d.ts +2 -1
- package/fesm2022/ng-atomic-common-directives-fallback-src.mjs +3 -3
- package/fesm2022/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +9 -8
- package/fesm2022/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-directives-molecules-column.mjs +18 -12
- package/fesm2022/ng-atomic-common-directives-molecules-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-directives-resize-column.mjs +6 -6
- package/fesm2022/ng-atomic-common-interceptors-authorization.mjs +3 -4
- package/fesm2022/ng-atomic-common-interceptors-authorization.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-interceptors-throttle.mjs +6 -6
- package/fesm2022/ng-atomic-common-interceptors-token.mjs +3 -3
- package/fesm2022/ng-atomic-common-interceptors.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-actions.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-auto-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-data-accessor.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-domain.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-error.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-expression.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-grouped-by.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-index-length.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-index.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-keys.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-map.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-page.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-pagination.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-query.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-resolve-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-secret.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-select-id.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-signal.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-smart-field.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-sort-by.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-style.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-yen.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-app.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-auth.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-breakpoint.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-chips-manager.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-csv.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-fab.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-_index.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-json-schema.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-pagination.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-initializer.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-language.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-loading.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-navigation-history.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-query-resolver.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-root-property.mjs +14 -15
- package/fesm2022/ng-atomic-common-services-root-property.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-router.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-secret.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-sheets-actions.mjs +4 -4
- package/fesm2022/ng-atomic-common-services-sheets-actions.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-sheets.mjs +7 -7
- package/fesm2022/ng-atomic-common-services-side-app.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-side-nav-mode.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-snack-bar.mjs +7 -7
- package/fesm2022/ng-atomic-common-services-spreadsheet.mjs +31 -31
- package/fesm2022/ng-atomic-common-services-spreadsheet.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-ui.mjs +5 -5
- package/fesm2022/ng-atomic-common-services-ui.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-stores-entities.mjs +9 -9
- package/fesm2022/ng-atomic-common-stores-pagination.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-query.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-selection.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-utils.mjs +7 -7
- package/fesm2022/ng-atomic-common.mjs +11 -11
- package/package.json +54 -178
- package/pipes/index/index.pipe.d.ts +1 -1
- package/pipes/index-length/index-length.pipe.d.ts +1 -1
- package/services/spreadsheet/directives/grid-cell.directive.d.ts +3 -3
- package/services/ui/ui.helpers.d.ts +1 -1
- package/esm2022/common.module.mjs +0 -34
- package/esm2022/directives/fallback-src/fallback-src.directive.mjs +0 -25
- package/esm2022/directives/fallback-src/index.mjs +0 -2
- package/esm2022/directives/fallback-src/ng-atomic-common-directives-fallback-src.mjs +0 -5
- package/esm2022/directives/ios-safari-scroll-buggyfill/index.mjs +0 -3
- package/esm2022/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.mjs +0 -24
- package/esm2022/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.mjs +0 -24
- package/esm2022/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +0 -5
- package/esm2022/directives/molecules/column/column.molecule.mjs +0 -112
- package/esm2022/directives/molecules/column/index.mjs +0 -2
- package/esm2022/directives/molecules/column/ng-atomic-common-directives-molecules-column.mjs +0 -5
- package/esm2022/directives/resize-column/index.mjs +0 -2
- package/esm2022/directives/resize-column/ng-atomic-common-directives-resize-column.mjs +0 -5
- package/esm2022/directives/resize-column/resize-column.directive.mjs +0 -62
- package/esm2022/directives/resize-column/resize-handle.component.mjs +0 -13
- package/esm2022/index.mjs +0 -2
- package/esm2022/interceptors/authorization/authorization.interceptor.mjs +0 -39
- package/esm2022/interceptors/authorization/index.mjs +0 -2
- package/esm2022/interceptors/authorization/ng-atomic-common-interceptors-authorization.mjs +0 -5
- package/esm2022/interceptors/index.mjs +0 -2
- package/esm2022/interceptors/interceptors.module.mjs +0 -44
- package/esm2022/interceptors/ng-atomic-common-interceptors.mjs +0 -5
- package/esm2022/interceptors/throttle/index.mjs +0 -2
- package/esm2022/interceptors/throttle/ng-atomic-common-interceptors-throttle.mjs +0 -5
- package/esm2022/interceptors/throttle/throttle.interceptor.mjs +0 -63
- package/esm2022/interceptors/token/authorization.interceptor.mjs +0 -26
- package/esm2022/interceptors/token/index.mjs +0 -2
- package/esm2022/interceptors/token/ng-atomic-common-interceptors-token.mjs +0 -5
- package/esm2022/models/index.mjs +0 -2
- package/esm2022/models/menu-item.mjs +0 -2
- package/esm2022/models/ng-atomic-common-models.mjs +0 -5
- package/esm2022/ng-atomic-common.mjs +0 -5
- package/esm2022/pipes/actions/actions.pipe.mjs +0 -19
- package/esm2022/pipes/actions/index.mjs +0 -2
- package/esm2022/pipes/actions/ng-atomic-common-pipes-actions.mjs +0 -5
- package/esm2022/pipes/auto-columns/auto-columns.pipe.mjs +0 -20
- package/esm2022/pipes/auto-columns/index.mjs +0 -2
- package/esm2022/pipes/auto-columns/ng-atomic-common-pipes-auto-columns.mjs +0 -5
- package/esm2022/pipes/columns/columns.pipe.mjs +0 -18
- package/esm2022/pipes/columns/index.mjs +0 -2
- package/esm2022/pipes/columns/ng-atomic-common-pipes-columns.mjs +0 -5
- package/esm2022/pipes/data-accessor/data-accessor.pipe.mjs +0 -46
- package/esm2022/pipes/data-accessor/index.mjs +0 -2
- package/esm2022/pipes/data-accessor/ng-atomic-common-pipes-data-accessor.mjs +0 -5
- package/esm2022/pipes/domain/domain.pipe.mjs +0 -71
- package/esm2022/pipes/domain/index.mjs +0 -2
- package/esm2022/pipes/domain/ng-atomic-common-pipes-domain.mjs +0 -5
- package/esm2022/pipes/error/error.pipe.mjs +0 -46
- package/esm2022/pipes/error/index.mjs +0 -2
- package/esm2022/pipes/error/ng-atomic-common-pipes-error.mjs +0 -5
- package/esm2022/pipes/expression/expression.pipe.mjs +0 -18
- package/esm2022/pipes/expression/index.mjs +0 -2
- package/esm2022/pipes/expression/ng-atomic-common-pipes-expression.mjs +0 -5
- package/esm2022/pipes/grouped-by/grouped-by.pipe.mjs +0 -29
- package/esm2022/pipes/grouped-by/index.mjs +0 -2
- package/esm2022/pipes/grouped-by/ng-atomic-common-pipes-grouped-by.mjs +0 -5
- package/esm2022/pipes/index/index.mjs +0 -2
- package/esm2022/pipes/index/index.pipe.mjs +0 -29
- package/esm2022/pipes/index/ng-atomic-common-pipes-index.mjs +0 -5
- package/esm2022/pipes/index-length/index-length.pipe.mjs +0 -22
- package/esm2022/pipes/index-length/index.mjs +0 -2
- package/esm2022/pipes/index-length/ng-atomic-common-pipes-index-length.mjs +0 -5
- package/esm2022/pipes/keys/index.mjs +0 -2
- package/esm2022/pipes/keys/keys.pipe.mjs +0 -18
- package/esm2022/pipes/keys/ng-atomic-common-pipes-keys.mjs +0 -5
- package/esm2022/pipes/map/index.mjs +0 -2
- package/esm2022/pipes/map/map.pipe.mjs +0 -17
- package/esm2022/pipes/map/ng-atomic-common-pipes-map.mjs +0 -5
- package/esm2022/pipes/page/index.mjs +0 -2
- package/esm2022/pipes/page/ng-atomic-common-pipes-page.mjs +0 -5
- package/esm2022/pipes/page/page.pipe.mjs +0 -25
- package/esm2022/pipes/pagination/index.mjs +0 -2
- package/esm2022/pipes/pagination/ng-atomic-common-pipes-pagination.mjs +0 -5
- package/esm2022/pipes/pagination/pagination.pipe.mjs +0 -32
- package/esm2022/pipes/query/index.mjs +0 -2
- package/esm2022/pipes/query/ng-atomic-common-pipes-query.mjs +0 -5
- package/esm2022/pipes/query/query.pipe.mjs +0 -33
- package/esm2022/pipes/resolve-columns/index.mjs +0 -2
- package/esm2022/pipes/resolve-columns/ng-atomic-common-pipes-resolve-columns.mjs +0 -5
- package/esm2022/pipes/resolve-columns/resolve-columns.pipe.mjs +0 -24
- package/esm2022/pipes/secret/index.mjs +0 -2
- package/esm2022/pipes/secret/ng-atomic-common-pipes-secret.mjs +0 -5
- package/esm2022/pipes/secret/secret.pipe.mjs +0 -21
- package/esm2022/pipes/select-id/index.mjs +0 -2
- package/esm2022/pipes/select-id/ng-atomic-common-pipes-select-id.mjs +0 -5
- package/esm2022/pipes/select-id/select-id.pipe.mjs +0 -29
- package/esm2022/pipes/signal/index.mjs +0 -2
- package/esm2022/pipes/signal/ng-atomic-common-pipes-signal.mjs +0 -5
- package/esm2022/pipes/signal/signal.pipe.mjs +0 -23
- package/esm2022/pipes/smart-field/index.mjs +0 -2
- package/esm2022/pipes/smart-field/ng-atomic-common-pipes-smart-field.mjs +0 -5
- package/esm2022/pipes/smart-field/smart-field.pipe.mjs +0 -44
- package/esm2022/pipes/sort/index.mjs +0 -2
- package/esm2022/pipes/sort/ng-atomic-common-pipes-sort.mjs +0 -5
- package/esm2022/pipes/sort/sort.pipe.mjs +0 -14
- package/esm2022/pipes/sort-by/index.mjs +0 -2
- package/esm2022/pipes/sort-by/ng-atomic-common-pipes-sort-by.mjs +0 -5
- package/esm2022/pipes/sort-by/sort-by.pipe.mjs +0 -32
- package/esm2022/pipes/style/index.mjs +0 -2
- package/esm2022/pipes/style/ng-atomic-common-pipes-style.mjs +0 -5
- package/esm2022/pipes/style/style.pipe.mjs +0 -41
- package/esm2022/pipes/yen/index.mjs +0 -2
- package/esm2022/pipes/yen/ng-atomic-common-pipes-yen.mjs +0 -5
- package/esm2022/pipes/yen/yen.pipe.mjs +0 -20
- package/esm2022/services/app/app.service.mjs +0 -78
- package/esm2022/services/app/index.mjs +0 -2
- package/esm2022/services/app/ng-atomic-common-services-app.mjs +0 -5
- package/esm2022/services/auth/auth.service.mjs +0 -66
- package/esm2022/services/auth/index.mjs +0 -2
- package/esm2022/services/auth/ng-atomic-common-services-auth.mjs +0 -5
- package/esm2022/services/breakpoint/breakpoint.service.mjs +0 -57
- package/esm2022/services/breakpoint/index.mjs +0 -2
- package/esm2022/services/breakpoint/ng-atomic-common-services-breakpoint.mjs +0 -5
- package/esm2022/services/chips-manager/chips.manager.mjs +0 -29
- package/esm2022/services/chips-manager/index.mjs +0 -2
- package/esm2022/services/chips-manager/ng-atomic-common-services-chips-manager.mjs +0 -5
- package/esm2022/services/csv/csv.service.mjs +0 -25
- package/esm2022/services/csv/index.mjs +0 -2
- package/esm2022/services/csv/ng-atomic-common-services-csv.mjs +0 -5
- package/esm2022/services/fab/fab.service.mjs +0 -46
- package/esm2022/services/fab/index.mjs +0 -2
- package/esm2022/services/fab/ng-atomic-common-services-fab.mjs +0 -5
- package/esm2022/services/form/_index/index.mjs +0 -2
- package/esm2022/services/form/_index/index.service.mjs +0 -51
- package/esm2022/services/form/_index/ng-atomic-common-services-form-_index.mjs +0 -5
- package/esm2022/services/form/columns/columns.service.mjs +0 -145
- package/esm2022/services/form/columns/index.mjs +0 -2
- package/esm2022/services/form/columns/ng-atomic-common-services-form-columns.mjs +0 -5
- package/esm2022/services/form/form.service.mjs +0 -38
- package/esm2022/services/form/index.mjs +0 -2
- package/esm2022/services/form/json-schema/index.mjs +0 -2
- package/esm2022/services/form/json-schema/json-schema.mjs +0 -51
- package/esm2022/services/form/json-schema/json-schema.service.mjs +0 -178
- package/esm2022/services/form/json-schema/ng-atomic-common-services-form-json-schema.mjs +0 -5
- package/esm2022/services/form/ng-atomic-common-services-form.mjs +0 -5
- package/esm2022/services/form/pagination/index.mjs +0 -2
- package/esm2022/services/form/pagination/ng-atomic-common-services-form-pagination.mjs +0 -5
- package/esm2022/services/form/pagination/pagination.service.mjs +0 -24
- package/esm2022/services/form/sort/index.mjs +0 -2
- package/esm2022/services/form/sort/ng-atomic-common-services-form-sort.mjs +0 -5
- package/esm2022/services/form/sort/sort.service.mjs +0 -33
- package/esm2022/services/initializer/index.mjs +0 -2
- package/esm2022/services/initializer/initializer.service.mjs +0 -44
- package/esm2022/services/initializer/ng-atomic-common-services-initializer.mjs +0 -5
- package/esm2022/services/language/index.mjs +0 -2
- package/esm2022/services/language/language.service.mjs +0 -39
- package/esm2022/services/language/ng-atomic-common-services-language.mjs +0 -5
- package/esm2022/services/loading/index.mjs +0 -2
- package/esm2022/services/loading/loading.service.mjs +0 -62
- package/esm2022/services/loading/ng-atomic-common-services-loading.mjs +0 -5
- package/esm2022/services/navigation-history/index.mjs +0 -2
- package/esm2022/services/navigation-history/navigation-history.service.mjs +0 -50
- package/esm2022/services/navigation-history/ng-atomic-common-services-navigation-history.mjs +0 -5
- package/esm2022/services/query-resolver/index.mjs +0 -2
- package/esm2022/services/query-resolver/ng-atomic-common-services-query-resolver.mjs +0 -5
- package/esm2022/services/query-resolver/query-resolver.service.mjs +0 -94
- package/esm2022/services/root-property/index.mjs +0 -3
- package/esm2022/services/root-property/ng-atomic-common-services-root-property.mjs +0 -5
- package/esm2022/services/root-property/root-property.di.mjs +0 -15
- package/esm2022/services/root-property/root-property.service.mjs +0 -169
- package/esm2022/services/router/index.mjs +0 -2
- package/esm2022/services/router/ng-atomic-common-services-router.mjs +0 -5
- package/esm2022/services/router/router.service.mjs +0 -25
- package/esm2022/services/secret/index.mjs +0 -2
- package/esm2022/services/secret/ng-atomic-common-services-secret.mjs +0 -5
- package/esm2022/services/secret/secret.service.mjs +0 -16
- package/esm2022/services/sheets/actions/actions.sheet.mjs +0 -45
- package/esm2022/services/sheets/actions/index.mjs +0 -2
- package/esm2022/services/sheets/actions/ng-atomic-common-services-sheets-actions.mjs +0 -5
- package/esm2022/services/sheets/index.mjs +0 -3
- package/esm2022/services/sheets/ng-atomic-common-services-sheets.mjs +0 -5
- package/esm2022/services/sheets/sheets.module.mjs +0 -25
- package/esm2022/services/sheets/sheets.service.mjs +0 -22
- package/esm2022/services/side-app/index.mjs +0 -2
- package/esm2022/services/side-app/ng-atomic-common-services-side-app.mjs +0 -5
- package/esm2022/services/side-app/side-app.service.mjs +0 -55
- package/esm2022/services/side-nav-mode/index.mjs +0 -2
- package/esm2022/services/side-nav-mode/ng-atomic-common-services-side-nav-mode.mjs +0 -5
- package/esm2022/services/side-nav-mode/side-nav-mode.service.mjs +0 -27
- package/esm2022/services/snack-bar/index.mjs +0 -3
- package/esm2022/services/snack-bar/ng-atomic-common-services-snack-bar.mjs +0 -5
- package/esm2022/services/snack-bar/snack-bar.module.mjs +0 -22
- package/esm2022/services/snack-bar/snack-bar.service.mjs +0 -41
- package/esm2022/services/spreadsheet/directives/grid-cell.directive.mjs +0 -124
- package/esm2022/services/spreadsheet/directives/index.mjs +0 -2
- package/esm2022/services/spreadsheet/features/clipboard.service.mjs +0 -71
- package/esm2022/services/spreadsheet/features/data.service.mjs +0 -63
- package/esm2022/services/spreadsheet/features/editor.service.mjs +0 -65
- package/esm2022/services/spreadsheet/features/grid.service.mjs +0 -54
- package/esm2022/services/spreadsheet/features/index.mjs +0 -8
- package/esm2022/services/spreadsheet/features/navigation.service.mjs +0 -71
- package/esm2022/services/spreadsheet/features/protection.service.mjs +0 -25
- package/esm2022/services/spreadsheet/features/selection.service.mjs +0 -129
- package/esm2022/services/spreadsheet/index.mjs +0 -5
- package/esm2022/services/spreadsheet/models/cell.model.mjs +0 -2
- package/esm2022/services/spreadsheet/models/index.mjs +0 -2
- package/esm2022/services/spreadsheet/ng-atomic-common-services-spreadsheet.mjs +0 -5
- package/esm2022/services/spreadsheet/spreadsheet.service.mjs +0 -183
- package/esm2022/services/ui/index.mjs +0 -3
- package/esm2022/services/ui/ng-atomic-common-services-ui.mjs +0 -5
- package/esm2022/services/ui/ui.helpers.mjs +0 -241
- package/esm2022/services/ui/ui.service.mjs +0 -30
- package/esm2022/stores/entities/di.mjs +0 -64
- package/esm2022/stores/entities/entity-store-adapter.mjs +0 -34
- package/esm2022/stores/entities/entity-store-manager.mjs +0 -25
- package/esm2022/stores/entities/entity-store.mjs +0 -121
- package/esm2022/stores/entities/index.mjs +0 -7
- package/esm2022/stores/entities/ng-atomic-common-stores-entities.mjs +0 -5
- package/esm2022/stores/entities/proxy-id.service.mjs +0 -29
- package/esm2022/stores/entities/task-composer.mjs +0 -71
- package/esm2022/stores/entity/entity.store.mjs +0 -34
- package/esm2022/stores/entity/index.mjs +0 -2
- package/esm2022/stores/entity/ng-atomic-common-stores-entity.mjs +0 -5
- package/esm2022/stores/pagination/index.mjs +0 -2
- package/esm2022/stores/pagination/ng-atomic-common-stores-pagination.mjs +0 -5
- package/esm2022/stores/pagination/pagination.store.mjs +0 -23
- package/esm2022/stores/query/index.mjs +0 -2
- package/esm2022/stores/query/ng-atomic-common-stores-query.mjs +0 -5
- package/esm2022/stores/query/query.store.mjs +0 -31
- package/esm2022/stores/selection/index.mjs +0 -2
- package/esm2022/stores/selection/ng-atomic-common-stores-selection.mjs +0 -5
- package/esm2022/stores/selection/selection.store.mjs +0 -29
- package/esm2022/stores/sort/index.mjs +0 -2
- package/esm2022/stores/sort/ng-atomic-common-stores-sort.mjs +0 -5
- package/esm2022/stores/sort/sort.store.mjs +0 -27
- package/esm2022/utils/comma/comma.mjs +0 -4
- package/esm2022/utils/comma/index.mjs +0 -2
- package/esm2022/utils/compare-by-id/compare-by-id.mjs +0 -5
- package/esm2022/utils/compare-by-id/index.mjs +0 -2
- package/esm2022/utils/date-utils/date-utils.mjs +0 -13
- package/esm2022/utils/date-utils/index.mjs +0 -2
- package/esm2022/utils/diff/diff.mjs +0 -7
- package/esm2022/utils/diff/index.mjs +0 -2
- package/esm2022/utils/expression/expression.transformer.mjs +0 -38
- package/esm2022/utils/expression/index.mjs +0 -2
- package/esm2022/utils/form/form.mjs +0 -26
- package/esm2022/utils/form/index.mjs +0 -2
- package/esm2022/utils/get/get.mjs +0 -6
- package/esm2022/utils/get/index.mjs +0 -2
- package/esm2022/utils/index.mjs +0 -15
- package/esm2022/utils/inject/index.mjs +0 -2
- package/esm2022/utils/inject/inject.mjs +0 -177
- package/esm2022/utils/mat-dayjs-date/dayjs-date.adapter.mjs +0 -191
- package/esm2022/utils/mat-dayjs-date/dayjs-date.formats.mjs +0 -15
- package/esm2022/utils/mat-dayjs-date/dayjs-date.module.mjs +0 -37
- package/esm2022/utils/mat-dayjs-date/dayjs-jp-providers.mjs +0 -20
- package/esm2022/utils/mat-dayjs-date/index.mjs +0 -5
- package/esm2022/utils/ng-atomic-common-utils.mjs +0 -5
- package/esm2022/utils/page/index.mjs +0 -2
- package/esm2022/utils/page/page.mjs +0 -20
- package/esm2022/utils/router/index.mjs +0 -2
- package/esm2022/utils/router/router.mjs +0 -54
- package/esm2022/utils/time.mjs +0 -8
- package/esm2022/utils/to-object/index.mjs +0 -2
- package/esm2022/utils/to-object/to-object.mjs +0 -10
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
1
2
|
import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef } from '@angular/cdk/table';
|
|
2
3
|
import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
|
|
3
4
|
import { SpreadSheetService } from '@ng-atomic/common/services/spreadsheet';
|
|
@@ -49,7 +50,7 @@ export declare abstract class NgAtomicColumnMoleculeStore extends InjectableComp
|
|
|
49
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgAtomicColumnMoleculeStore, never>;
|
|
50
51
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NgAtomicColumnMoleculeStore, never, never, { "column": { "alias": "column"; "required": true; "isSignal": true; }; "index": { "alias": "index"; "required": true; "isSignal": true; }; "clickCopy": { "alias": "clickCopy"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
51
52
|
}
|
|
52
|
-
export declare abstract class NgAtomicColumnMolecule extends NgAtomicComponent {
|
|
53
|
+
export declare abstract class NgAtomicColumnMolecule extends NgAtomicComponent implements OnInit, OnDestroy {
|
|
53
54
|
#private;
|
|
54
55
|
protected ss: SpreadSheetService;
|
|
55
56
|
readonly columnDef: import("@angular/core").Signal<CdkColumnDef>;
|
|
@@ -10,10 +10,10 @@ class FallbackSrcDirective {
|
|
|
10
10
|
const element = this.el.nativeElement;
|
|
11
11
|
element.src = this.fallbackSrc();
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FallbackSrcDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: FallbackSrcDirective, isStandalone: true, selector: "[fallbackSrc]", host: { listeners: { "error": "onError()" } }, ngImport: i0 }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FallbackSrcDirective, decorators: [{
|
|
17
17
|
type: Directive,
|
|
18
18
|
args: [{
|
|
19
19
|
standalone: true,
|
|
@@ -11,13 +11,14 @@ class IosSafariScrollBuggyfillDirective {
|
|
|
11
11
|
onTouchmove(event) {
|
|
12
12
|
event.preventDefault();
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IosSafariScrollBuggyfillDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
15
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: IosSafariScrollBuggyfillDirective, isStandalone: false, selector: "[iosSafariScrollBuggyfill]", host: { listeners: { "touchmove": "onTouchmove($event)" } }, ngImport: i0 }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IosSafariScrollBuggyfillDirective, decorators: [{
|
|
18
18
|
type: Directive,
|
|
19
19
|
args: [{
|
|
20
|
-
selector: '[iosSafariScrollBuggyfill]'
|
|
20
|
+
selector: '[iosSafariScrollBuggyfill]',
|
|
21
|
+
standalone: false
|
|
21
22
|
}]
|
|
22
23
|
}], propDecorators: { onTouchmove: [{
|
|
23
24
|
type: HostListener,
|
|
@@ -25,11 +26,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
25
26
|
}] } });
|
|
26
27
|
|
|
27
28
|
class IosSafariScrollBuggyfillModule {
|
|
28
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
30
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IosSafariScrollBuggyfillModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
30
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: IosSafariScrollBuggyfillModule, declarations: [IosSafariScrollBuggyfillDirective], imports: [CommonModule], exports: [IosSafariScrollBuggyfillDirective] }); }
|
|
31
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IosSafariScrollBuggyfillModule, imports: [CommonModule] }); }
|
|
31
32
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IosSafariScrollBuggyfillModule, decorators: [{
|
|
33
34
|
type: NgModule,
|
|
34
35
|
args: [{
|
|
35
36
|
declarations: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs","sources":["../../../../../packages/@ng-atomic/common/src/lib/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.ts","../../../../../packages/@ng-atomic/common/src/lib/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.ts","../../../../../packages/@ng-atomic/common/src/lib/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.ts"],"sourcesContent":["import { AfterViewInit, Directive, HostListener } from '@angular/core';\n\n@Directive({\n
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs","sources":["../../../../../packages/@ng-atomic/common/src/lib/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.ts","../../../../../packages/@ng-atomic/common/src/lib/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.ts","../../../../../packages/@ng-atomic/common/src/lib/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.ts"],"sourcesContent":["import { AfterViewInit, Directive, HostListener } from '@angular/core';\n\n@Directive({\n selector: '[iosSafariScrollBuggyfill]',\n standalone: false\n})\nexport class IosSafariScrollBuggyfillDirective implements AfterViewInit {\n\n ngAfterViewInit(): void {\n // this.el.nativeElement.addEventListener('touchmove', (e: Event) => {\n // e.preventDefault();\n // }, {passive: false});\n }\n\n @HostListener('touchmove', ['$event'])\n onTouchmove(event: Event) {\n event.preventDefault();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IosSafariScrollBuggyfillDirective } from './ios-safari-scroll-buggyfill.directive';\n\n\n\n@NgModule({\n declarations: [\n IosSafariScrollBuggyfillDirective,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n IosSafariScrollBuggyfillDirective,\n ]\n})\nexport class IosSafariScrollBuggyfillModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,iCAAiC,CAAA;IAE5C,eAAe,GAAA;;;;;AAOf,IAAA,WAAW,CAAC,KAAY,EAAA;QACtB,KAAK,CAAC,cAAc,EAAE;;8GAVb,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjC,iCAAiC,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,WAAA,EAAA,qBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAJ7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,UAAU,EAAE;AACf,iBAAA;8BAUC,WAAW,EAAA,CAAA;sBADV,YAAY;uBAAC,WAAW,EAAE,CAAC,QAAQ,CAAC;;;MCG1B,8BAA8B,CAAA;8GAA9B,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,EATvC,YAAA,EAAA,CAAA,iCAAiC,CAGjC,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,iCAAiC,CAAA,EAAA,CAAA,CAAA;AAGxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,YANvC,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAMH,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAX1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iCAAiC;AAClC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iCAAiC;AAClC;AACF,iBAAA;;;AChBD;;AAEG;;;;"}
|
|
@@ -50,11 +50,11 @@ class NgAtomicColumnMoleculeStore extends InjectableComponent {
|
|
|
50
50
|
});
|
|
51
51
|
}, ['@ng-atomic/common', 'molecules', 'column']); }
|
|
52
52
|
#config;
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicColumnMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
54
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: NgAtomicColumnMoleculeStore, isStandalone: true, inputs: { column: { classPropertyName: "column", publicName: "column", isSignal: true, isRequired: true, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: true, transformFunction: null }, clickCopy: { classPropertyName: "clickCopy", publicName: "clickCopy", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
55
55
|
}
|
|
56
56
|
_a = NgAtomicColumnMoleculeStore;
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicColumnMoleculeStore, decorators: [{
|
|
58
58
|
type: Directive,
|
|
59
59
|
args: [{ standalone: true }]
|
|
60
60
|
}] });
|
|
@@ -76,14 +76,20 @@ class NgAtomicColumnMolecule extends NgAtomicComponent {
|
|
|
76
76
|
if (this.columnDef())
|
|
77
77
|
this.columnDef().name = name;
|
|
78
78
|
});
|
|
79
|
+
effect(() => {
|
|
80
|
+
const columnDef = this.columnDef();
|
|
81
|
+
const name = this.#store.name();
|
|
82
|
+
const cell = this.cell();
|
|
83
|
+
const headerCell = this.headerCell();
|
|
84
|
+
if (this.#table) {
|
|
85
|
+
this.columnDef().name = name;
|
|
86
|
+
this.columnDef().cell = cell;
|
|
87
|
+
this.columnDef().headerCell = headerCell;
|
|
88
|
+
this.#table.addColumnDef(this.columnDef());
|
|
89
|
+
}
|
|
90
|
+
});
|
|
79
91
|
}
|
|
80
92
|
ngOnInit() {
|
|
81
|
-
if (this.#table) {
|
|
82
|
-
this.columnDef().name = this.#store.name();
|
|
83
|
-
this.columnDef().cell = this.cell();
|
|
84
|
-
this.columnDef().headerCell = this.headerCell();
|
|
85
|
-
this.#table.addColumnDef(this.columnDef());
|
|
86
|
-
}
|
|
87
93
|
}
|
|
88
94
|
ngOnDestroy() {
|
|
89
95
|
if (this.#table) {
|
|
@@ -103,10 +109,10 @@ class NgAtomicColumnMolecule extends NgAtomicComponent {
|
|
|
103
109
|
onResize(index, width) {
|
|
104
110
|
this.dispatch({ id: ActionId.CHANGE_WIDTH, payload: { index, width } });
|
|
105
111
|
}
|
|
106
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
107
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicColumnMolecule, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
113
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "19.1.4", type: NgAtomicColumnMolecule, isStandalone: true, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, isSignal: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, isSignal: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 }); }
|
|
108
114
|
}
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicColumnMolecule, decorators: [{
|
|
110
116
|
type: Directive,
|
|
111
117
|
args: [{ standalone: true }]
|
|
112
118
|
}], ctorParameters: () => [] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-common-directives-molecules-column.mjs","sources":["../../../../../packages/@ng-atomic/common/src/lib/directives/molecules/column/column.molecule.ts","../../../../../packages/@ng-atomic/common/src/lib/directives/molecules/column/ng-atomic-common-directives-molecules-column.ts"],"sourcesContent":["import { computed, Directive, effect, inject, input, signal, viewChild } from '@angular/core';\nimport { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { _computed, InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';\nimport { Clipboard } from '@angular/cdk/clipboard';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { SpreadSheetService } from '@ng-atomic/common/services/spreadsheet';\nimport { Column } from '@ng-atomic/common/models';\n\nenum ActionId {\n CHANGE_WIDTH = '[@ng-atomic/common/directives/molecules/column] change width',\n}\n\n@Directive({ standalone: true })\nexport abstract class NgAtomicColumnMoleculeStore extends InjectableComponent {\n static readonly _ActionId = ActionId;\n static readonly _Config = makeConfig(() => {\n return () => ({\n index: 0,\n sort: 'none' as 'asc' | 'desc' | 'none',\n sticky: false,\n stickyEnd: false,\n name: '',\n editable: false,\n clickCopy: false,\n });\n }, ['@ng-atomic/common', 'molecules', 'column']);\n\n readonly #config = NgAtomicColumnMoleculeStore._Config.inject();\n readonly column = input.required<Column>();\n readonly index = input.required<number>();\n readonly tooltipText = signal<string | null>(null);\n readonly clickCopy = input(_computed(() => this.#config().clickCopy));\n readonly editable = input(_computed(() => this.#config().editable));\n\n readonly sticky = computed(() => this.column().sticky);\n readonly stickyEnd = computed(() => this.column().stickyEnd);\n readonly stickyLeft = computed(() => this.column().stickyLeft);\n readonly sort = computed(() => this.column().sort);\n readonly name = computed(() => this.column().name);\n readonly width = computed(() => this.column().width);\n readonly columnStyle = computed(() => {\n const stickyLeft = `${this.stickyLeft()}px`;\n const left = this.column().sticky ? stickyLeft : 'auto';\n return ({\n width: `${this.width()}px`,\n minWidth: `${this.width()}px`,\n maxWidth: `${this.width()}px`,\n left,\n });\n });\n}\n\n@Directive({ standalone: true })\nexport abstract class NgAtomicColumnMolecule extends NgAtomicComponent {\n readonly #store = inject(NgAtomicColumnMoleculeStore);\n readonly #table = inject(CdkTable, {optional: true});\n readonly #clipboard = inject(Clipboard);\n protected ss = inject(SpreadSheetService);\n\n\n readonly columnDef = viewChild.required(CdkColumnDef);\n readonly cell = viewChild.required(CdkCellDef);\n readonly headerCell = viewChild.required(CdkHeaderCellDef);\n\n constructor() {\n super();\n effect(() => {\n const name = this.#store.name();\n if (this.columnDef()) this.columnDef().name = name;\n })
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-directives-molecules-column.mjs","sources":["../../../../../packages/@ng-atomic/common/src/lib/directives/molecules/column/column.molecule.ts","../../../../../packages/@ng-atomic/common/src/lib/directives/molecules/column/ng-atomic-common-directives-molecules-column.ts"],"sourcesContent":["import { computed, Directive, effect, inject, input, signal, viewChild, OnInit, OnDestroy } from '@angular/core';\nimport { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { _computed, InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';\nimport { Clipboard } from '@angular/cdk/clipboard';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { SpreadSheetService } from '@ng-atomic/common/services/spreadsheet';\nimport { Column } from '@ng-atomic/common/models';\n\nenum ActionId {\n CHANGE_WIDTH = '[@ng-atomic/common/directives/molecules/column] change width',\n}\n\n@Directive({ standalone: true })\nexport abstract class NgAtomicColumnMoleculeStore extends InjectableComponent {\n static readonly _ActionId = ActionId;\n static readonly _Config = makeConfig(() => {\n return () => ({\n index: 0,\n sort: 'none' as 'asc' | 'desc' | 'none',\n sticky: false,\n stickyEnd: false,\n name: '',\n editable: false,\n clickCopy: false,\n });\n }, ['@ng-atomic/common', 'molecules', 'column']);\n\n readonly #config = NgAtomicColumnMoleculeStore._Config.inject();\n readonly column = input.required<Column>();\n readonly index = input.required<number>();\n readonly tooltipText = signal<string | null>(null);\n readonly clickCopy = input(_computed(() => this.#config().clickCopy));\n readonly editable = input(_computed(() => this.#config().editable));\n\n readonly sticky = computed(() => this.column().sticky);\n readonly stickyEnd = computed(() => this.column().stickyEnd);\n readonly stickyLeft = computed(() => this.column().stickyLeft);\n readonly sort = computed(() => this.column().sort);\n readonly name = computed(() => this.column().name);\n readonly width = computed(() => this.column().width);\n readonly columnStyle = computed(() => {\n const stickyLeft = `${this.stickyLeft()}px`;\n const left = this.column().sticky ? stickyLeft : 'auto';\n return ({\n width: `${this.width()}px`,\n minWidth: `${this.width()}px`,\n maxWidth: `${this.width()}px`,\n left,\n });\n });\n}\n\n@Directive({ standalone: true })\nexport abstract class NgAtomicColumnMolecule extends NgAtomicComponent implements OnInit, OnDestroy {\n readonly #store = inject(NgAtomicColumnMoleculeStore);\n readonly #table = inject(CdkTable, {optional: true});\n readonly #clipboard = inject(Clipboard);\n protected ss = inject(SpreadSheetService);\n\n\n readonly columnDef = viewChild.required(CdkColumnDef);\n readonly cell = viewChild.required(CdkCellDef);\n readonly headerCell = viewChild.required(CdkHeaderCellDef);\n\n constructor() {\n super();\n effect(() => {\n const name = this.#store.name();\n if (this.columnDef()) this.columnDef().name = name;\n });\n\n effect(() => {\n const columnDef = this.columnDef();\n const name = this.#store.name();\n const cell = this.cell();\n const headerCell = this.headerCell();\n if (this.#table) {\n this.columnDef().name = name;\n this.columnDef().cell = cell;\n this.columnDef().headerCell = headerCell;\n this.#table.addColumnDef(this.columnDef());\n }\n })\n }\n\n ngOnInit() {\n\n }\n\n ngOnDestroy() {\n if (this.#table) {\n this.#table.removeColumnDef(this.columnDef());\n }\n }\n\n protected copy(text: string, $event: Event) {\n if (!this.#store.clickCopy()) {\n $event.preventDefault();\n $event.stopPropagation();\n return;\n }\n this.#clipboard.copy(text);\n this.#store.tooltipText.set('コピーしました!');\n setTimeout(() => this.#store.tooltipText.set(null), 1000);\n }\n\n protected onResize(index: number, width: number) {\n this.dispatch({ id: ActionId.CHANGE_WIDTH, payload: { index, width } });\n }\n}\n","/**\n * Generated bundle index. Do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EG;;;;"}
|
|
@@ -2,11 +2,11 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component, input, output, inject, ViewContainerRef, ElementRef, Renderer2, Directive } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class ResizeHandle {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeHandle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: ResizeHandle, isStandalone: true, selector: "resize-handle", ngImport: i0, template: `
|
|
7
7
|
`, isInline: true, styles: [":host.resize-handle{position:absolute;right:-4px;top:0;bottom:0;width:8px;cursor:col-resize;z-index:1}:host.resize-handle:hover{background-color:#ddd}:host.resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}:host.resizing :host.resize-handle{background-color:#999}\n"] }); }
|
|
8
8
|
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeHandle, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{ standalone: true, selector: 'resize-handle', template: `
|
|
12
12
|
`, styles: [":host.resize-handle{position:absolute;right:-4px;top:0;bottom:0;width:8px;cursor:col-resize;z-index:1}:host.resize-handle:hover{background-color:#ddd}:host.resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}:host.resizing :host.resize-handle{background-color:#999}\n"] }]
|
|
@@ -60,10 +60,10 @@ class ResizeColumnDirective {
|
|
|
60
60
|
document.removeEventListener('mouseup', stopHandler);
|
|
61
61
|
document.body.classList.remove('resizing');
|
|
62
62
|
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
64
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
64
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: ResizeColumnDirective, isStandalone: true, selector: "[resizeColumn]", inputs: { width: { classPropertyName: "width", publicName: "resizeColumnWidth", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { resize: "resize" }, ngImport: i0 }); }
|
|
65
65
|
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeColumnDirective, decorators: [{
|
|
67
67
|
type: Directive,
|
|
68
68
|
args: [{
|
|
69
69
|
selector: '[resizeColumn]',
|
|
@@ -19,10 +19,10 @@ class AuthorizationInterceptor {
|
|
|
19
19
|
getRequestWithToken(req, token) {
|
|
20
20
|
return req.clone({ setHeaders: { Authorization: token } });
|
|
21
21
|
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuthorizationInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
23
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuthorizationInterceptor }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuthorizationInterceptor, decorators: [{
|
|
26
26
|
type: Injectable
|
|
27
27
|
}] });
|
|
28
28
|
function authorizationInterceptor(isAuthorizedRequest = req => req.url.startsWith('/api')) {
|
|
@@ -33,7 +33,6 @@ function authorizationInterceptor(isAuthorizedRequest = req => req.url.startsWit
|
|
|
33
33
|
return from(getAuth()).pipe(take(1), mergeMap(token => next(token ? req.clone({ setHeaders: { Authorization: token } }) : req)));
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
;
|
|
37
36
|
function provideAuthorization(useFactory) {
|
|
38
37
|
return { provide: AUTHORIZATION, useFactory };
|
|
39
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-common-interceptors-authorization.mjs","sources":["../../../../../packages/@ng-atomic/common/src/lib/interceptors/authorization/authorization.interceptor.ts","../../../../../packages/@ng-atomic/common/src/lib/interceptors/authorization/ng-atomic-common-interceptors-authorization.ts"],"sourcesContent":["import { Injectable, InjectionToken, Provider, inject } from '@angular/core';\nimport { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor, HttpInterceptorFn } from '@angular/common/http';\nimport { from, Observable } from 'rxjs';\nimport { mergeMap, take } from 'rxjs/operators';\n\nexport type GetAuthorization = () => Promise<string | null> | Observable<string | null>;\nexport const AUTHORIZATION = new InjectionToken<GetAuthorization>('[@ng-atomic/common] AUTHORIZATION');\n\n/** @deprecated use `authorizationInterceptor` instead. */\n@Injectable()\nexport class AuthorizationInterceptor implements HttpInterceptor {\n\n private getAuth = inject(AUTHORIZATION);\n\n intercept(req: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> {\n if (!req.url.startsWith('/api')) return next.handle(req);\n\n return from(this.getAuth())\n .pipe(take(1))\n .pipe(mergeMap(idToken => next.handle(idToken ? this.getRequestWithToken(req, idToken) : req)));\n }\n\n private getRequestWithToken(req: HttpRequest<unknown>, token: string) {\n return req.clone({ setHeaders: {Authorization: token} });\n }\n}\n\nexport function authorizationInterceptor(\n isAuthorizedRequest: (req: HttpRequest<unknown>) => boolean = req => req.url.startsWith('/api')\n): HttpInterceptorFn {\n return (req, next) => {\n if (!isAuthorizedRequest(req)) return next(req);\n const getAuth = inject(AUTHORIZATION, { optional: true }) ?? null;\n return from(getAuth()).pipe(\n take(1),\n mergeMap(token => next(token ? req.clone({ setHeaders: {Authorization: token} }) : req)),\n );\n };\n}
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-interceptors-authorization.mjs","sources":["../../../../../packages/@ng-atomic/common/src/lib/interceptors/authorization/authorization.interceptor.ts","../../../../../packages/@ng-atomic/common/src/lib/interceptors/authorization/ng-atomic-common-interceptors-authorization.ts"],"sourcesContent":["import { Injectable, InjectionToken, Provider, inject } from '@angular/core';\nimport { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor, HttpInterceptorFn } from '@angular/common/http';\nimport { from, Observable } from 'rxjs';\nimport { mergeMap, take } from 'rxjs/operators';\n\nexport type GetAuthorization = () => Promise<string | null> | Observable<string | null>;\nexport const AUTHORIZATION = new InjectionToken<GetAuthorization>('[@ng-atomic/common] AUTHORIZATION');\n\n/** @deprecated use `authorizationInterceptor` instead. */\n@Injectable()\nexport class AuthorizationInterceptor implements HttpInterceptor {\n\n private getAuth = inject(AUTHORIZATION);\n\n intercept(req: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> {\n if (!req.url.startsWith('/api')) return next.handle(req);\n\n return from(this.getAuth())\n .pipe(take(1))\n .pipe(mergeMap(idToken => next.handle(idToken ? this.getRequestWithToken(req, idToken) : req)));\n }\n\n private getRequestWithToken(req: HttpRequest<unknown>, token: string) {\n return req.clone({ setHeaders: {Authorization: token} });\n }\n}\n\nexport function authorizationInterceptor(\n isAuthorizedRequest: (req: HttpRequest<unknown>) => boolean = req => req.url.startsWith('/api')\n): HttpInterceptorFn {\n return (req, next) => {\n if (!isAuthorizedRequest(req)) return next(req);\n const getAuth = inject(AUTHORIZATION, { optional: true }) ?? null;\n return from(getAuth()).pipe(\n take(1),\n mergeMap(token => next(token ? req.clone({ setHeaders: {Authorization: token} }) : req)),\n );\n };\n}\n\nexport function provideAuthorization(useFactory: () => GetAuthorization): Provider {\n return { provide: AUTHORIZATION, useFactory };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAMa,aAAa,GAAG,IAAI,cAAc,CAAmB,mCAAmC;AAErG;MAEa,wBAAwB,CAAA;AADrC,IAAA,WAAA,GAAA;AAGU,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,aAAa,CAAC;AAaxC;IAXC,SAAS,CAAC,GAAyB,EAAE,IAAiB,EAAA;QACpD,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC;AAAE,YAAA,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;AAExD,QAAA,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;AACvB,aAAA,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACZ,aAAA,IAAI,CAAC,QAAQ,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC,mBAAmB,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;;IAG3F,mBAAmB,CAAC,GAAyB,EAAE,KAAa,EAAA;AAClE,QAAA,OAAO,GAAG,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,EAAC,aAAa,EAAE,KAAK,EAAC,EAAE,CAAC;;8GAb/C,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAxB,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;AAkBe,SAAA,wBAAwB,CACtC,mBAAA,GAA8D,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,EAAA;AAE/F,IAAA,OAAO,CAAC,GAAG,EAAE,IAAI,KAAI;AACnB,QAAA,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC;AAAE,YAAA,OAAO,IAAI,CAAC,GAAG,CAAC;AAC/C,QAAA,MAAM,OAAO,GAAG,MAAM,CAAC,aAAa,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,IAAI;QACjE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,IAAI,CACzB,IAAI,CAAC,CAAC,CAAC,EACP,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,EAAC,aAAa,EAAE,KAAK,EAAC,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CACzF;AACH,KAAC;AACH;AAEM,SAAU,oBAAoB,CAAC,UAAkC,EAAA;AACrE,IAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE;AAC/C;;AC1CA;;AAEG;;;;"}
|
|
@@ -23,10 +23,10 @@ class IcedCacheService {
|
|
|
23
23
|
remove(key) {
|
|
24
24
|
delete this.cache?.[key];
|
|
25
25
|
}
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IcedCacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
27
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IcedCacheService, providedIn: 'root' }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IcedCacheService, decorators: [{
|
|
30
30
|
type: Injectable,
|
|
31
31
|
args: [{
|
|
32
32
|
providedIn: 'root'
|
|
@@ -55,10 +55,10 @@ class ThrottleInterceptor {
|
|
|
55
55
|
buildKey(req) {
|
|
56
56
|
return `${req.url}`;
|
|
57
57
|
}
|
|
58
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
59
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ThrottleInterceptor, deps: [{ token: IcedCacheService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
59
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ThrottleInterceptor }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ThrottleInterceptor, decorators: [{
|
|
62
62
|
type: Injectable
|
|
63
63
|
}], ctorParameters: () => [{ type: IcedCacheService }] });
|
|
64
64
|
|
|
@@ -18,10 +18,10 @@ class AuthorizationInterceptor {
|
|
|
18
18
|
getRequestWithToken(req, token) {
|
|
19
19
|
return req.clone({ setHeaders: { Authorization: token } });
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuthorizationInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
22
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuthorizationInterceptor }); }
|
|
23
23
|
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuthorizationInterceptor, decorators: [{
|
|
25
25
|
type: Injectable
|
|
26
26
|
}] });
|
|
27
27
|
|
|
@@ -6,9 +6,9 @@ import { AuthorizationInterceptor } from '@ng-atomic/common/interceptors/authori
|
|
|
6
6
|
import { ThrottleInterceptor } from '@ng-atomic/common/interceptors/throttle';
|
|
7
7
|
|
|
8
8
|
class InterceptorsModule {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: InterceptorsModule, imports: [CommonModule] }); }
|
|
11
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: InterceptorsModule, providers: [
|
|
12
12
|
{
|
|
13
13
|
provide: HTTP_INTERCEPTORS,
|
|
14
14
|
useClass: AuthorizationInterceptor,
|
|
@@ -21,7 +21,7 @@ class InterceptorsModule {
|
|
|
21
21
|
},
|
|
22
22
|
], imports: [CommonModule] }); }
|
|
23
23
|
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: InterceptorsModule, decorators: [{
|
|
25
25
|
type: NgModule,
|
|
26
26
|
args: [{
|
|
27
27
|
declarations: [],
|
|
@@ -6,10 +6,10 @@ class ActionsPipe {
|
|
|
6
6
|
transform(value, ...args) {
|
|
7
7
|
return resolveActions(value, ...args);
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ActionsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
10
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: ActionsPipe, isStandalone: true, name: "resolveActions" }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ActionsPipe, decorators: [{
|
|
13
13
|
type: Pipe,
|
|
14
14
|
args: [{
|
|
15
15
|
standalone: true,
|
|
@@ -11,10 +11,10 @@ class AutoColumnsPipe {
|
|
|
11
11
|
});
|
|
12
12
|
return [...keys, '__actions'];
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AutoColumnsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
15
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: AutoColumnsPipe, isStandalone: true, name: "autoColumns" }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AutoColumnsPipe, decorators: [{
|
|
18
18
|
type: Pipe,
|
|
19
19
|
args: [{ name: 'autoColumns', standalone: true, pure: true }]
|
|
20
20
|
}] });
|
|
@@ -9,10 +9,10 @@ class ColumnsPipe {
|
|
|
9
9
|
name: ['checkbox', 'actions'].includes(column.type) ? column.name : column.name,
|
|
10
10
|
}));
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ColumnsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: ColumnsPipe, isStandalone: true, name: "columns" }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ColumnsPipe, decorators: [{
|
|
16
16
|
type: Pipe,
|
|
17
17
|
args: [{ name: 'columns', standalone: true, pure: true }]
|
|
18
18
|
}] });
|
|
@@ -33,10 +33,10 @@ class DataAccessorPipe {
|
|
|
33
33
|
transform(data, key, index) {
|
|
34
34
|
return this.dataAccessor(data, key, index);
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DataAccessorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
37
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: DataAccessorPipe, isStandalone: true, name: "dataAccessor" }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DataAccessorPipe, decorators: [{
|
|
40
40
|
type: Pipe,
|
|
41
41
|
args: [{
|
|
42
42
|
name: 'dataAccessor',
|
|
@@ -14,10 +14,10 @@ class DomainPipe {
|
|
|
14
14
|
transform(input, map) {
|
|
15
15
|
return this.language.transform(input, map);
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DomainPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
18
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: DomainPipe, isStandalone: true, name: "domain" }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DomainPipe, decorators: [{
|
|
21
21
|
type: Pipe,
|
|
22
22
|
args: [{
|
|
23
23
|
standalone: true,
|
|
@@ -33,10 +33,10 @@ class ErrorPipe {
|
|
|
33
33
|
console.debug('error:', error?.length);
|
|
34
34
|
return error;
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ErrorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
37
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: ErrorPipe, isStandalone: true, name: "error" }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ErrorPipe, decorators: [{
|
|
40
40
|
type: Pipe,
|
|
41
41
|
args: [{
|
|
42
42
|
standalone: true,
|
|
@@ -9,10 +9,10 @@ class ExpressionPipe {
|
|
|
9
9
|
transform(input, key) {
|
|
10
10
|
return this.transformer(input, key);
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ExpressionPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: ExpressionPipe, isStandalone: true, name: "expression" }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ExpressionPipe, decorators: [{
|
|
16
16
|
type: Pipe,
|
|
17
17
|
args: [{ standalone: true, name: 'expression', pure: true }]
|
|
18
18
|
}] });
|
|
@@ -16,10 +16,10 @@ class GroupedByPipe {
|
|
|
16
16
|
return acc;
|
|
17
17
|
}, {});
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: GroupedByPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
20
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: GroupedByPipe, isStandalone: true, name: "groupedBy" }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: GroupedByPipe, decorators: [{
|
|
23
23
|
type: Pipe,
|
|
24
24
|
args: [{
|
|
25
25
|
name: 'groupedBy',
|
|
@@ -13,10 +13,10 @@ class IndexLengthPipe {
|
|
|
13
13
|
items = this.sortBy(items, prams?.sort);
|
|
14
14
|
return items.length;
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IndexLengthPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
17
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: IndexLengthPipe, isStandalone: true, name: "indexLength" }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IndexLengthPipe, decorators: [{
|
|
20
20
|
type: Pipe,
|
|
21
21
|
args: [{ name: 'indexLength', standalone: true, pure: true }]
|
|
22
22
|
}] });
|
|
@@ -16,10 +16,10 @@ class IndexPipe {
|
|
|
16
16
|
items = this.page(items, params?.page);
|
|
17
17
|
return items;
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IndexPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
20
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: IndexPipe, isStandalone: true, name: "index" }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IndexPipe, decorators: [{
|
|
23
23
|
type: Pipe,
|
|
24
24
|
args: [{
|
|
25
25
|
name: 'index',
|
|
@@ -5,10 +5,10 @@ class KeysPipe {
|
|
|
5
5
|
transform(obj) {
|
|
6
6
|
return Object.keys(obj);
|
|
7
7
|
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: KeysPipe, isStandalone: true, name: "keys" }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: KeysPipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{
|
|
14
14
|
name: 'keys',
|
|
@@ -8,10 +8,10 @@ class MapPipe {
|
|
|
8
8
|
return itemOrItems.map(item => get(item, path));
|
|
9
9
|
return get(itemOrItems, path);
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: MapPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
12
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: MapPipe, isStandalone: true, name: "map" }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: MapPipe, decorators: [{
|
|
15
15
|
type: Pipe,
|
|
16
16
|
args: [{ name: 'map', standalone: true, pure: true }]
|
|
17
17
|
}] });
|
|
@@ -16,10 +16,10 @@ class PagePipe {
|
|
|
16
16
|
transform(items, params = {}) {
|
|
17
17
|
return this.transformer(items, params);
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
20
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: PagePipe, isStandalone: true, name: "page" }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PagePipe, decorators: [{
|
|
23
23
|
type: Pipe,
|
|
24
24
|
args: [{ name: 'page', standalone: true, pure: true }]
|
|
25
25
|
}] });
|
|
@@ -14,11 +14,11 @@ class PaginationPipe {
|
|
|
14
14
|
transform(items, { sortKey = null, sortOrder = 'asc', start = 0, end = 0 } = {}) {
|
|
15
15
|
return this.transformer(items, { key: sortKey, order: sortOrder, start, end });
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
19
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PaginationPipe, deps: [{ token: PAGINATION_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
18
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: PaginationPipe, isStandalone: true, name: "pagination" }); }
|
|
19
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PaginationPipe, providedIn: 'root' }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PaginationPipe, decorators: [{
|
|
22
22
|
type: Injectable,
|
|
23
23
|
args: [{ providedIn: 'root' }]
|
|
24
24
|
}, {
|
|
@@ -16,11 +16,11 @@ class QueryPipe {
|
|
|
16
16
|
transform(items, query) {
|
|
17
17
|
return this.transformer(items, query);
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
21
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: QueryPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
20
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: QueryPipe, isStandalone: true, name: "query" }); }
|
|
21
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: QueryPipe, providedIn: 'any' }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: QueryPipe, decorators: [{
|
|
24
24
|
type: Injectable,
|
|
25
25
|
args: [{ providedIn: 'any' }]
|
|
26
26
|
}, {
|