@ng-atomic/common 18.12.0 → 18.13.0-preview-v19e.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
|
@@ -15,10 +15,10 @@ class ResolveColumnsPipe {
|
|
|
15
15
|
});
|
|
16
16
|
return data;
|
|
17
17
|
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResolveColumnsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
19
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: ResolveColumnsPipe, isStandalone: true, name: "resolveColumns" }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResolveColumnsPipe, decorators: [{
|
|
22
22
|
type: Pipe,
|
|
23
23
|
args: [{ name: 'resolveColumns', standalone: true, pure: true }]
|
|
24
24
|
}] });
|
|
@@ -9,10 +9,10 @@ class SecretPipe {
|
|
|
9
9
|
transform(value) {
|
|
10
10
|
return this.secret.isSecret() ? value.replace(/./g, '*') : value;
|
|
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: SecretPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: SecretPipe, isStandalone: true, name: "secret" }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SecretPipe, decorators: [{
|
|
16
16
|
type: Pipe,
|
|
17
17
|
args: [{
|
|
18
18
|
name: 'secret',
|
|
@@ -11,10 +11,10 @@ class SelectIdPipe {
|
|
|
11
11
|
transform(entity) {
|
|
12
12
|
return this.selectId(entity);
|
|
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: SelectIdPipe, deps: [{ token: SELECT_ID, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
15
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: SelectIdPipe, isStandalone: true, name: "selectId" }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SelectIdPipe, decorators: [{
|
|
18
18
|
type: Pipe,
|
|
19
19
|
args: [{
|
|
20
20
|
name: 'selectId',
|
|
@@ -14,10 +14,10 @@ class SignalPipe {
|
|
|
14
14
|
transform(obj) {
|
|
15
15
|
return resolveSignal(obj);
|
|
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: SignalPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
18
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: SignalPipe, isStandalone: true, name: "signal", pure: false }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SignalPipe, decorators: [{
|
|
21
21
|
type: Pipe,
|
|
22
22
|
args: [{ standalone: true, name: 'signal', pure: false }]
|
|
23
23
|
}] });
|
|
@@ -26,10 +26,10 @@ class SmartFieldPipe {
|
|
|
26
26
|
transform(key, map = this.map) {
|
|
27
27
|
return get(map, key) ?? { type: 'text' };
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SmartFieldPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
30
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: SmartFieldPipe, isStandalone: true, name: "smartField" }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SmartFieldPipe, decorators: [{
|
|
33
33
|
type: Pipe,
|
|
34
34
|
args: [{ name: 'smartField', standalone: true, pure: true }]
|
|
35
35
|
}] });
|
|
@@ -23,10 +23,10 @@ class SortByPipe {
|
|
|
23
23
|
transform(items, params = {}) {
|
|
24
24
|
return this.transformer(items, params);
|
|
25
25
|
}
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SortByPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
27
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: SortByPipe, isStandalone: true, name: "sortBy" }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SortByPipe, decorators: [{
|
|
30
30
|
type: Pipe,
|
|
31
31
|
args: [{ name: 'sortBy', standalone: true, pure: true }]
|
|
32
32
|
}] });
|
|
@@ -5,10 +5,10 @@ class SortPipe {
|
|
|
5
5
|
transform(column, sort) {
|
|
6
6
|
return sort.key === column.name ? sort.order : 'none';
|
|
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: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: SortPipe, isStandalone: true, name: "sort" }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SortPipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{ name: 'sort', standalone: true, pure: true }]
|
|
14
14
|
}] });
|
|
@@ -32,10 +32,10 @@ class StylePipe {
|
|
|
32
32
|
transform(value, context) {
|
|
33
33
|
return this.transformer(value, context);
|
|
34
34
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: StylePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
36
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: StylePipe, isStandalone: true, name: "style" }); }
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: StylePipe, decorators: [{
|
|
39
39
|
type: Pipe,
|
|
40
40
|
args: [{ standalone: true, name: 'style', pure: true }]
|
|
41
41
|
}] });
|
|
@@ -8,10 +8,10 @@ class YenPipe {
|
|
|
8
8
|
return '';
|
|
9
9
|
return yenTransform(value, _unit);
|
|
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: YenPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
12
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: YenPipe, isStandalone: true, name: "yen" }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: YenPipe, decorators: [{
|
|
15
15
|
type: Pipe,
|
|
16
16
|
args: [{
|
|
17
17
|
standalone: true,
|
|
@@ -44,10 +44,10 @@ class HistoryInjectorService {
|
|
|
44
44
|
return skip !== 'true';
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: HistoryInjectorService, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
48
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: HistoryInjectorService, providedIn: 'root' }); }
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: HistoryInjectorService, decorators: [{
|
|
51
51
|
type: Injectable,
|
|
52
52
|
args: [{
|
|
53
53
|
providedIn: 'root',
|
|
@@ -67,10 +67,10 @@ class AppService {
|
|
|
67
67
|
this.clipboard = inject(Clipboard);
|
|
68
68
|
this.navigationInterceptor = inject(HistoryInjectorService);
|
|
69
69
|
}
|
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AppService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
71
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AppService, providedIn: 'root' }); }
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AppService, decorators: [{
|
|
74
74
|
type: Injectable,
|
|
75
75
|
args: [{
|
|
76
76
|
providedIn: 'root'
|
|
@@ -34,10 +34,10 @@ class AuthService {
|
|
|
34
34
|
signOut() {
|
|
35
35
|
return signOut(this.#auth);
|
|
36
36
|
}
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
38
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuthService, providedIn: 'root' }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuthService, decorators: [{
|
|
41
41
|
type: Injectable,
|
|
42
42
|
args: [{
|
|
43
43
|
providedIn: 'root'
|
|
@@ -48,10 +48,10 @@ class BreakpointService {
|
|
|
48
48
|
return 'web';
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: BreakpointService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
52
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: BreakpointService, providedIn: 'root' }); }
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: BreakpointService, decorators: [{
|
|
55
55
|
type: Injectable,
|
|
56
56
|
args: [{ providedIn: 'root' }]
|
|
57
57
|
}] });
|
|
@@ -21,10 +21,10 @@ class ChipsManager {
|
|
|
21
21
|
get chips() {
|
|
22
22
|
return this._chips;
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ChipsManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
25
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ChipsManager }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ChipsManager, decorators: [{
|
|
28
28
|
type: Injectable
|
|
29
29
|
}] });
|
|
30
30
|
|
|
@@ -14,10 +14,10 @@ class CsvService {
|
|
|
14
14
|
element.click();
|
|
15
15
|
document.body.removeChild(element);
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
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: CsvService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CsvService, providedIn: 'root' }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CsvService, decorators: [{
|
|
21
21
|
type: Injectable,
|
|
22
22
|
args: [{
|
|
23
23
|
providedIn: 'root'
|
|
@@ -35,10 +35,10 @@ class FabService {
|
|
|
35
35
|
toggle() {
|
|
36
36
|
this.hidden.update(hidden => !hidden);
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FabService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
39
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FabService, providedIn: 'root' }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FabService, decorators: [{
|
|
42
42
|
type: Injectable,
|
|
43
43
|
args: [{
|
|
44
44
|
providedIn: 'root'
|
|
@@ -24,10 +24,10 @@ class IndexFormBuilder {
|
|
|
24
24
|
columns: this.columns.build(columns),
|
|
25
25
|
}));
|
|
26
26
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IndexFormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
28
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IndexFormBuilder, providedIn: 'root' }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IndexFormBuilder, decorators: [{
|
|
31
31
|
type: Injectable,
|
|
32
32
|
args: [{ providedIn: 'root' }]
|
|
33
33
|
}] });
|
|
@@ -69,10 +69,10 @@ class ColumnsFormBuilder {
|
|
|
69
69
|
throw new Error(`Unknown column type: ${column.type}`);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
73
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
72
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ColumnsFormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
73
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ColumnsFormBuilder, providedIn: 'root' }); }
|
|
74
74
|
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ColumnsFormBuilder, decorators: [{
|
|
76
76
|
type: Injectable,
|
|
77
77
|
args: [{ providedIn: 'root' }]
|
|
78
78
|
}] });
|
|
@@ -216,10 +216,10 @@ class JsonSchemaFormService {
|
|
|
216
216
|
buildFieldMap(schema, options = {}) {
|
|
217
217
|
return JsonSchemaFormUtils.buildFormFieldMapByJsonSchema(schema, options);
|
|
218
218
|
}
|
|
219
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
220
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
219
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: JsonSchemaFormService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
220
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: JsonSchemaFormService, providedIn: 'root' }); }
|
|
221
221
|
}
|
|
222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: JsonSchemaFormService, decorators: [{
|
|
223
223
|
type: Injectable,
|
|
224
224
|
args: [{ providedIn: 'root' }]
|
|
225
225
|
}] });
|
|
@@ -13,10 +13,10 @@ class PaginationService {
|
|
|
13
13
|
length: [length],
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PaginationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PaginationService, providedIn: 'root' }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PaginationService, decorators: [{
|
|
20
20
|
type: Injectable,
|
|
21
21
|
args: [{
|
|
22
22
|
providedIn: 'root'
|
|
@@ -21,10 +21,10 @@ class SortService {
|
|
|
21
21
|
form.get('key').setValue(name);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SortService, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
25
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SortService, providedIn: 'root' }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SortService, decorators: [{
|
|
28
28
|
type: Injectable,
|
|
29
29
|
args: [{
|
|
30
30
|
providedIn: 'root'
|
|
@@ -32,10 +32,10 @@ function makeInitializerConfig(klass) {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
class InitializerService {
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: InitializerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
36
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: InitializerService, providedIn: 'root' }); }
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: InitializerService, decorators: [{
|
|
39
39
|
type: Injectable,
|
|
40
40
|
args: [{
|
|
41
41
|
providedIn: 'root'
|
|
@@ -30,10 +30,10 @@ class LanguageService {
|
|
|
30
30
|
}
|
|
31
31
|
return map[input] ?? input;
|
|
32
32
|
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: LanguageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
34
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: LanguageService, providedIn: 'any' }); }
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: LanguageService, decorators: [{
|
|
37
37
|
type: Injectable,
|
|
38
38
|
args: [{ providedIn: 'any' }]
|
|
39
39
|
}] });
|
|
@@ -34,10 +34,10 @@ class LoadingService {
|
|
|
34
34
|
switchMap(project, domain = 'default', key = randomStr(16)) {
|
|
35
35
|
return (source) => source.pipe(tap(() => this.start(key, domain)), switchMap(project), tap(() => this.end(key, domain)));
|
|
36
36
|
}
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
38
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: LoadingService, providedIn: 'root' }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: LoadingService, decorators: [{
|
|
41
41
|
type: Injectable,
|
|
42
42
|
args: [{
|
|
43
43
|
providedIn: 'root',
|
|
@@ -48,10 +48,10 @@ class NoopLoadingService extends LoadingService {
|
|
|
48
48
|
super(...arguments);
|
|
49
49
|
this.isLoading$ = of(false);
|
|
50
50
|
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NoopLoadingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
52
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NoopLoadingService }); }
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NoopLoadingService, decorators: [{
|
|
55
55
|
type: Injectable
|
|
56
56
|
}] });
|
|
57
57
|
function provideNoopLoadingService() {
|
|
@@ -41,10 +41,10 @@ class NavigationHistoryService {
|
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NavigationHistoryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
45
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NavigationHistoryService, providedIn: 'root' }); }
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NavigationHistoryService, decorators: [{
|
|
48
48
|
type: Injectable,
|
|
49
49
|
args: [{ providedIn: 'root' }]
|
|
50
50
|
}], ctorParameters: () => [] });
|
|
@@ -21,10 +21,10 @@ class QueryParserService {
|
|
|
21
21
|
return { key: '*', operator: ':', value: str, not };
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: QueryParserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
25
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: QueryParserService, providedIn: 'any' }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: QueryParserService, decorators: [{
|
|
28
28
|
type: Injectable,
|
|
29
29
|
args: [{ providedIn: 'any' }]
|
|
30
30
|
}] });
|
|
@@ -59,10 +59,10 @@ class QueryResolverService {
|
|
|
59
59
|
const flattenObj = flattenExcludeDayjs(toObject(item));
|
|
60
60
|
return Object.keys(flattenObj).some((key) => this.operateByKey(item, operator, { ...query, key }));
|
|
61
61
|
}
|
|
62
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
63
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
62
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: QueryResolverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
63
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: QueryResolverService, providedIn: 'any' }); }
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: QueryResolverService, decorators: [{
|
|
66
66
|
type: Injectable,
|
|
67
67
|
args: [{ providedIn: 'any' }]
|
|
68
68
|
}] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, PLATFORM_ID, effect, Injectable, ElementRef, Directive,
|
|
2
|
+
import { inject, PLATFORM_ID, effect, Injectable, ElementRef, Directive, provideEnvironmentInitializer } from '@angular/core';
|
|
3
3
|
import { MaterialCssVarsService, provideMaterialCssVars } from 'angular-material-css-vars';
|
|
4
4
|
import { isPlatformBrowser, isPlatformServer } from '@angular/common';
|
|
5
5
|
import { toObservable } from '@angular/core/rxjs-interop';
|
|
@@ -123,10 +123,10 @@ class RootPropertyService {
|
|
|
123
123
|
this.matCssVar.setDarkTheme(false);
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
127
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
126
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RootPropertyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
127
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RootPropertyService, providedIn: 'root' }); }
|
|
128
128
|
}
|
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RootPropertyService, decorators: [{
|
|
130
130
|
type: Injectable,
|
|
131
131
|
args: [{ providedIn: 'root' }]
|
|
132
132
|
}], ctorParameters: () => [] });
|
|
@@ -142,10 +142,10 @@ class NgAtomicStyleDirective {
|
|
|
142
142
|
}
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
146
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicStyleDirective, deps: [{ token: RootPropertyService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
146
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: NgAtomicStyleDirective, isStandalone: true, selector: "[atomicStyle]", ngImport: i0 }); }
|
|
147
147
|
}
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicStyleDirective, decorators: [{
|
|
149
149
|
type: Directive,
|
|
150
150
|
args: [{ standalone: true, selector: '[atomicStyle]' }]
|
|
151
151
|
}], ctorParameters: () => [{ type: RootPropertyService }] });
|
|
@@ -160,21 +160,20 @@ class RootPropertyGuard {
|
|
|
160
160
|
return of(null);
|
|
161
161
|
return this.properties$.pipe(filter(properties => properties['--background-color'] === '#f0f0f0'), delay(500), map(() => true));
|
|
162
162
|
}
|
|
163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
164
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RootPropertyGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
164
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RootPropertyGuard, providedIn: 'root' }); }
|
|
165
165
|
}
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RootPropertyGuard, decorators: [{
|
|
167
167
|
type: Injectable,
|
|
168
168
|
args: [{ providedIn: 'root' }]
|
|
169
169
|
}] });
|
|
170
170
|
|
|
171
171
|
function provideRootProperty() {
|
|
172
172
|
return [
|
|
173
|
-
{
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
},
|
|
173
|
+
provideEnvironmentInitializer(() => {
|
|
174
|
+
const initializerFn = (() => () => inject(RootPropertyService))();
|
|
175
|
+
return initializerFn();
|
|
176
|
+
}),
|
|
178
177
|
provideMaterialCssVars({}),
|
|
179
178
|
RootPropertyService.provideColorSchemaA(),
|
|
180
179
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-common-services-root-property.mjs","sources":["../../../../../packages/@ng-atomic/common/src/lib/services/root-property/root-property.service.ts","../../../../../packages/@ng-atomic/common/src/lib/services/root-property/root-property.di.ts","../../../../../packages/@ng-atomic/common/src/lib/services/root-property/ng-atomic-common-services-root-property.ts"],"sourcesContent":["import { isPlatformBrowser, isPlatformServer } from '@angular/common';\nimport { Directive, ElementRef, Injectable, PLATFORM_ID, effect, inject } from '@angular/core';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { makeConfig, UIContext } from '@ng-atomic/common/services/ui';\nimport { MaterialCssVarsService } from 'angular-material-css-vars';\nimport { Observable, delay, filter, map, of } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class RootPropertyService {\n static readonly Config = makeConfig(() => {\n return (context) => {\n switch (context.breakpoint) {\n case 'xSmall': return {\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--surface-color': '#fff',\n '--on-surface-color': '#404040',\n '--background-color': '#fff',\n '--menu-width': '220px',\n '--page-width-lv1': '100vw',\n '--page-width-lv2': '100vw',\n '--page-width-lv3': '100vw',\n '--page-width-lv4': '100vw',\n '--page-height-lv1': '100vh',\n };\n case 'small':\n case 'medium': return {\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--surface-color': '#fff',\n '--on-surface-color': '#404040',\n '--background-color': '#fff',\n '--menu-width': '64px',\n '--page-width-lv1': '360px',\n '--page-width-lv2': 'max(calc(min(100vw, 1600px) - 360px - var(--menu-width)), 360px)',\n '--page-width-lv3': 'max(calc(min(100vw, 1600px) - var(--menu-width)), 360px)',\n '--page-width-lv4': '100vw',\n '--page-height-lv1': '100vh',\n };\n case 'large': return {\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--surface-color': '#fff',\n '--on-surface-color': '#404040',\n '--background-color': '#fff',\n '--menu-width': '220px',\n '--page-width-lv1': '360px',\n '--page-width-lv2': 'max(calc(min(100vw, 1600px) - var(--page-width-lv1) - var(--menu-width)), var(--page-width-lv1))',\n '--page-width-lv3': 'max(calc(min(100vw, 1600px) - var(--menu-width)), var(--page-width-lv1))',\n '--page-width-lv4': '100vw',\n '--page-height-lv1': '100vh',\n };\n case 'xLarge': return {\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--surface-color': '#fff',\n '--on-surface-color': '#404040',\n '--background-color': '#fff',\n '--menu-width': '220px',\n '--page-width-lv1': '360px',\n '--page-width-lv2': 'max(calc(min(100vw) - var(--page-width-lv1) - var(--menu-width)), var(--page-width-lv1))',\n '--page-width-lv3': 'max(calc(min(100vw) - var(--menu-width)), var(--page-width-lv1))',\n '--page-width-lv4': '100vw',\n '--page-height-lv1': '100vh',\n };\n }\n };\n }, ['root', 'properties']);\n static provideColorSchemaA() {\n return RootPropertyService.Config.provide(() => {\n return (config) => ({\n ...config,\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--accent-color': '#d8ab12',\n '--background-color': '#ffffff',\n '--on-background-color': '#404040',\n '--menu-background-color': '#404040',\n '--menu-on-background-color': '#f0f0f0',\n '--navigator-background-color': '#404040',\n '--navigator-on-background-color': '#f0f0f0',\n '--loading-primary-color': 'var(--accent-color)',\n '--background-primary-color': 'var(--primary-color)',\n '--background-on-primary-color': 'var(--on-primary-color)',\n '--table-background-color': 'var(--background-color)',\n '--table-on-background-color': 'var(--on-background-color)',\n '--selection-color': 'var(--background-color)',\n '--selection-background-color': 'var(--on-background-color)',\n });\n });\n }\n\n static provideColorSchema1 = RootPropertyService.provideColorSchemaA;\n static provideMenuWidthForIconButtonMenu() {\n return RootPropertyService.Config.provide(() => {\n const getMenuWidth = (context: UIContext) => {\n switch (context.breakpoint) {\n case 'xSmall': return '220px';\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge': return '64px';\n }\n }\n return (config, context) => ({\n ...config,\n '--menu-width': getMenuWidth(context),\n });\n });\n }\n\n readonly config = RootPropertyService.Config.inject();\n\n readonly platformId = inject(PLATFORM_ID);\n readonly matCssVar = inject(MaterialCssVarsService);\n\n constructor() {\n effect(() => {\n if (isPlatformBrowser(this.platformId)) {\n for (const [key, value] of Object.entries(this.config?.() ?? {})) {\n document.documentElement.style.setProperty(key, value);\n }\n }\n this.matCssVar.setPrimaryColor(this.config()['--primary-color']);\n this.matCssVar.setAccentColor(this.config()['--accent-color']);\n this.matCssVar.setWarnColor(this.config()['--warn-color']);\n this.matCssVar.setDarkTheme(false);\n });\n }\n}\n\n@Directive({ standalone: true, selector: '[atomicStyle]' })\nexport class NgAtomicStyleDirective {\n readonly #el = inject(ElementRef);\n readonly platformId = inject(PLATFORM_ID);\n\n constructor(private rootPropertyService: RootPropertyService) {\n effect(() => {\n for (const [key, value] of Object.entries(this.rootPropertyService.config?.() ?? {})) {\n this.#el.nativeElement.style.setProperty(key, value);\n }\n });\n }\n}\n\n@Injectable({providedIn: 'root'})\nexport class RootPropertyGuard {\n\treadonly properties = RootPropertyService.Config.inject();\n\treadonly properties$ = toObservable(this.properties);\n\treadonly platformId = inject(PLATFORM_ID);\n\n\tcanActivate(): Observable<boolean> {\n\t\tif (isPlatformServer(this.platformId)) return of(null);\t\n\t\treturn this.properties$.pipe(\n\t\t\tfilter(properties => properties['--background-color'] === '#f0f0f0'),\n\t\t\tdelay(500),\n\t\t\tmap(() => true),\n\t\t);\n\t}\n}\n","import { ENVIRONMENT_INITIALIZER, inject } from \"@angular/core\";\nimport { provideMaterialCssVars } from \"angular-material-css-vars\";\nimport { RootPropertyService } from \"./root-property.service\";\n\nexport function provideRootProperty() {\n return [\n {\n provide: ENVIRONMENT_INITIALIZER,\n useFactory: () => () => inject(RootPropertyService),\n multi: true,\n },\n provideMaterialCssVars({}),\n RootPropertyService.provideCol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BAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,cADL,MAAM,EAAA,CAAA,CAAA;;2FAClB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAD7B,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;SC7IhB,mBAAmB,GAAA;IACjC,OAAO;AACL,QAAA;AACE,YAAA,OAAO,EAAE,uBAAuB;YAChC,UAAU,EAAE,MAAM,MAAM,MAAM,CAAC,mBAAmB,CAAC;AACnD,YAAA,KAAK,EAAE,IAAI;AACZ,SAAA;QACD,sBAAsB,CAAC,EAAE,CAAC;QAC1B,mBAAmB,CAAC,mBAAmB,EAAE;KAC1C;AACH;;ACdA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-services-root-property.mjs","sources":["../../../../../packages/@ng-atomic/common/src/lib/services/root-property/root-property.service.ts","../../../../../packages/@ng-atomic/common/src/lib/services/root-property/root-property.di.ts","../../../../../packages/@ng-atomic/common/src/lib/services/root-property/ng-atomic-common-services-root-property.ts"],"sourcesContent":["import { isPlatformBrowser, isPlatformServer } from '@angular/common';\nimport { Directive, ElementRef, Injectable, PLATFORM_ID, effect, inject } from '@angular/core';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { makeConfig, UIContext } from '@ng-atomic/common/services/ui';\nimport { MaterialCssVarsService } from 'angular-material-css-vars';\nimport { Observable, delay, filter, map, of } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class RootPropertyService {\n static readonly Config = makeConfig(() => {\n return (context) => {\n switch (context.breakpoint) {\n case 'xSmall': return {\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--surface-color': '#fff',\n '--on-surface-color': '#404040',\n '--background-color': '#fff',\n '--menu-width': '220px',\n '--page-width-lv1': '100vw',\n '--page-width-lv2': '100vw',\n '--page-width-lv3': '100vw',\n '--page-width-lv4': '100vw',\n '--page-height-lv1': '100vh',\n };\n case 'small':\n case 'medium': return {\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--surface-color': '#fff',\n '--on-surface-color': '#404040',\n '--background-color': '#fff',\n '--menu-width': '64px',\n '--page-width-lv1': '360px',\n '--page-width-lv2': 'max(calc(min(100vw, 1600px) - 360px - var(--menu-width)), 360px)',\n '--page-width-lv3': 'max(calc(min(100vw, 1600px) - var(--menu-width)), 360px)',\n '--page-width-lv4': '100vw',\n '--page-height-lv1': '100vh',\n };\n case 'large': return {\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--surface-color': '#fff',\n '--on-surface-color': '#404040',\n '--background-color': '#fff',\n '--menu-width': '220px',\n '--page-width-lv1': '360px',\n '--page-width-lv2': 'max(calc(min(100vw, 1600px) - var(--page-width-lv1) - var(--menu-width)), var(--page-width-lv1))',\n '--page-width-lv3': 'max(calc(min(100vw, 1600px) - var(--menu-width)), var(--page-width-lv1))',\n '--page-width-lv4': '100vw',\n '--page-height-lv1': '100vh',\n };\n case 'xLarge': return {\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--surface-color': '#fff',\n '--on-surface-color': '#404040',\n '--background-color': '#fff',\n '--menu-width': '220px',\n '--page-width-lv1': '360px',\n '--page-width-lv2': 'max(calc(min(100vw) - var(--page-width-lv1) - var(--menu-width)), var(--page-width-lv1))',\n '--page-width-lv3': 'max(calc(min(100vw) - var(--menu-width)), var(--page-width-lv1))',\n '--page-width-lv4': '100vw',\n '--page-height-lv1': '100vh',\n };\n }\n };\n }, ['root', 'properties']);\n static provideColorSchemaA() {\n return RootPropertyService.Config.provide(() => {\n return (config) => ({\n ...config,\n '--primary-color': '#404040',\n '--on-primary-color': '#f0f0f0',\n '--accent-color': '#d8ab12',\n '--background-color': '#ffffff',\n '--on-background-color': '#404040',\n '--menu-background-color': '#404040',\n '--menu-on-background-color': '#f0f0f0',\n '--navigator-background-color': '#404040',\n '--navigator-on-background-color': '#f0f0f0',\n '--loading-primary-color': 'var(--accent-color)',\n '--background-primary-color': 'var(--primary-color)',\n '--background-on-primary-color': 'var(--on-primary-color)',\n '--table-background-color': 'var(--background-color)',\n '--table-on-background-color': 'var(--on-background-color)',\n '--selection-color': 'var(--background-color)',\n '--selection-background-color': 'var(--on-background-color)',\n });\n });\n }\n\n static provideColorSchema1 = RootPropertyService.provideColorSchemaA;\n static provideMenuWidthForIconButtonMenu() {\n return RootPropertyService.Config.provide(() => {\n const getMenuWidth = (context: UIContext) => {\n switch (context.breakpoint) {\n case 'xSmall': return '220px';\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge': return '64px';\n }\n }\n return (config, context) => ({\n ...config,\n '--menu-width': getMenuWidth(context),\n });\n });\n }\n\n readonly config = RootPropertyService.Config.inject();\n\n readonly platformId = inject(PLATFORM_ID);\n readonly matCssVar = inject(MaterialCssVarsService);\n\n constructor() {\n effect(() => {\n if (isPlatformBrowser(this.platformId)) {\n for (const [key, value] of Object.entries(this.config?.() ?? {})) {\n document.documentElement.style.setProperty(key, value);\n }\n }\n this.matCssVar.setPrimaryColor(this.config()['--primary-color']);\n this.matCssVar.setAccentColor(this.config()['--accent-color']);\n this.matCssVar.setWarnColor(this.config()['--warn-color']);\n this.matCssVar.setDarkTheme(false);\n });\n }\n}\n\n@Directive({ standalone: true, selector: '[atomicStyle]' })\nexport class NgAtomicStyleDirective {\n readonly #el = inject(ElementRef);\n readonly platformId = inject(PLATFORM_ID);\n\n constructor(private rootPropertyService: RootPropertyService) {\n effect(() => {\n for (const [key, value] of Object.entries(this.rootPropertyService.config?.() ?? {})) {\n this.#el.nativeElement.style.setProperty(key, value);\n }\n });\n }\n}\n\n@Injectable({providedIn: 'root'})\nexport class RootPropertyGuard {\n\treadonly properties = RootPropertyService.Config.inject();\n\treadonly properties$ = toObservable(this.properties);\n\treadonly platformId = inject(PLATFORM_ID);\n\n\tcanActivate(): Observable<boolean> {\n\t\tif (isPlatformServer(this.platformId)) return of(null);\t\n\t\treturn this.properties$.pipe(\n\t\t\tfilter(properties => properties['--background-color'] === '#f0f0f0'),\n\t\t\tdelay(500),\n\t\t\tmap(() => true),\n\t\t);\n\t}\n}\n","import { inject, provideEnvironmentInitializer } from \"@angular/core\";\nimport { provideMaterialCssVars } from \"angular-material-css-vars\";\nimport { RootPropertyService } from \"./root-property.service\";\n\nexport function provideRootProperty() {\n return [\n provideEnvironmentInitializer(() => {\n const initializerFn = (() => () => inject(RootPropertyService))();\n return initializerFn();\n }),\n provideMaterialCssVars({}),\n RootPropertyService.provideColorSchemaA(),\n ]\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAQa,mBAAmB,CAAA;AACd,IAAA,SAAA,IAAA,CAAA,MAAM,GAAG,UAAU,CAAC,MAAK;QACvC,OAAO,CAAC,OAAO,KAAI;AACjB,YAAA,QAAQ,OAAO,CAAC,UAAU;gBACxB,KAAK,QAAQ,EAAE,OAAO;AACpB,oBAAA,iBAAiB,EAAE,SAAS;AAC5B,oBAAA,oBAAoB,EAAE,SAAS;AAC/B,oBAAA,iBAAiB,EAAE,MAAM;AACzB,oBAAA,oBAAoB,EAAE,SAAS;AAC/B,oBAAA,oBAAoB,EAAE,MAAM;AAC5B,oBAAA,cAAc,EAAE,OAAO;AACvB,oBAAA,kBAAkB,EAAE,OAAO;AAC3B,oBAAA,kBAAkB,EAAE,OAAO;AAC3B,oBAAA,kBAAkB,EAAE,OAAO;AAC3B,oBAAA,kBAAkB,EAAE,OAAO;AAC3B,oBAAA,mBAAmB,EAAE,OAAO;iBAC7B;AACD,gBAAA,KAAK,OAAO;gBACZ,KAAK,QAAQ,EAAE,OAAO;AACpB,oBAAA,i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|
back() {
|
|
17
17
|
history.back();
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
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: RouterService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RouterService, providedIn: 'root' }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RouterService, decorators: [{
|
|
23
23
|
type: Injectable,
|
|
24
24
|
args: [{ providedIn: 'root' }]
|
|
25
25
|
}] });
|