@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,20 +0,0 @@
|
|
|
1
|
-
import { MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
3
|
-
import 'dayjs/locale/ja';
|
|
4
|
-
dayjs.locale('ja');
|
|
5
|
-
export const MAT_DAYJS_DATE_FORMATS_FOR_JP = {
|
|
6
|
-
parse: {
|
|
7
|
-
dateInput: 'YYYY/MM/DD',
|
|
8
|
-
},
|
|
9
|
-
display: {
|
|
10
|
-
dateInput: 'YYYY/MM/DD',
|
|
11
|
-
monthYearLabel: 'MMM YYYY',
|
|
12
|
-
dateA11yLabel: 'LL',
|
|
13
|
-
monthYearA11yLabel: 'MMMM YYYY',
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
export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USxFQUFFLDZCQUE2QixFQUFFO0NBQ3ZFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBNYXREYXRlRm9ybWF0cywgTUFUX0RBVEVfRk9STUFUUywgTUFUX0RBVEVfTE9DQUxFIH0gZnJvbSAnQGFuZ3VsYXIvbWF0ZXJpYWwvY29yZSc7XG5pbXBvcnQgZGF5anMgZnJvbSAnZGF5anMnO1xuaW1wb3J0ICdkYXlqcy9sb2NhbGUvamEnXG5kYXlqcy5sb2NhbGUoJ2phJyk7XG5cbmV4cG9ydCBjb25zdCBNQVRfREFZSlNfREFURV9GT1JNQVRTX0ZPUl9KUDogTWF0RGF0ZUZvcm1hdHMgPSB7XG4gIHBhcnNlOiB7XG4gICAgZGF0ZUlucHV0OiAnWVlZWS9NTS9ERCcsXG4gIH0sXG4gIGRpc3BsYXk6IHtcbiAgICBkYXRlSW5wdXQ6ICdZWVlZL01NL0REJyxcbiAgICBtb250aFllYXJMYWJlbDogJ01NTSBZWVlZJyxcbiAgICBkYXRlQTExeUxhYmVsOiAnTEwnLFxuICAgIG1vbnRoWWVhckExMXlMYWJlbDogJ01NTU0gWVlZWScsXG4gIH1cbn07XG5cbmV4cG9ydCBjb25zdCBNQVRfREFZSlNfSlBfUFJPVklERVJTID0gW1xuICB7IHByb3ZpZGU6IE1BVF9EQVRFX0xPQ0FMRSwgdXNlVmFsdWU6ICdqYScgfSxcbiAgeyBwcm92aWRlOiBNQVRfREFURV9GT1JNQVRTLCB1c2VWYWx1ZTogTUFUX0RBWUpTX0RBVEVfRk9STUFUU19GT1JfSlAgfSxcbl07XG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './dayjs-date.adapter';
|
|
2
|
-
export * from './dayjs-date.formats';
|
|
3
|
-
export * from './dayjs-jp-providers';
|
|
4
|
-
export * from './dayjs-date.module';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvbGliL3V0aWxzL21hdC1kYXlqcy1kYXRlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RheWpzLWRhdGUuYWRhcHRlcic7XG5leHBvcnQgKiBmcm9tICcuL2RheWpzLWRhdGUuZm9ybWF0cyc7XG5leHBvcnQgKiBmcm9tICcuL2RheWpzLWpwLXByb3ZpZGVycyc7XG5leHBvcnQgKiBmcm9tICcuL2RheWpzLWRhdGUubW9kdWxlJzsiXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbW1vbi11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tbW9uL3NyYy9saWIvdXRpbHMvbmctYXRvbWljLWNvbW1vbi11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './page';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvbGliL3V0aWxzL3BhZ2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxRQUFRLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3BhZ2UnO1xuIl19
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export class Page {
|
|
2
|
-
static from(event = {}) {
|
|
3
|
-
return Object.assign(new Page(), {
|
|
4
|
-
pageSize: 50,
|
|
5
|
-
pageIndex: 0,
|
|
6
|
-
length: 100,
|
|
7
|
-
...event
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
get start() {
|
|
11
|
-
return this.pageIndex * this.pageSize;
|
|
12
|
-
}
|
|
13
|
-
get end() {
|
|
14
|
-
return Math.min((this.pageIndex + 1) * this.pageSize, this.length);
|
|
15
|
-
}
|
|
16
|
-
patch(obj) {
|
|
17
|
-
return Page.from({ ...this, ...obj });
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tbW9uL3NyYy9saWIvdXRpbHMvcGFnZS9wYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU9BLE1BQU0sT0FBTyxJQUFJO0lBQ2YsTUFBTSxDQUF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HtcbiAgICAgIHBhZ2VTaXplOiA1MCxcbiAgICAgIHBhZ2VJbmRleDogMCxcbiAgICAgIGxlbmd0aDogMTAwLFxuICAgICAgLi4uZXZlbnRcbiAgICB9KTtcbiAgfVxuXG4gIGdldCBzdGFydCgpOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLnBhZ2VJbmRleCAqIHRoaXMucGFnZVNpemU7XG4gIH1cblxuICBnZXQgZW5kKCk6IG51bWJlciB7XG4gICAgcmV0dXJuIE1hdGgubWluKCh0aGlzLnBhZ2VJbmRleCArIDEpICogdGhpcy5wYWdlU2l6ZSwgdGhpcy5sZW5ndGgpO1xuICB9XG5cbiAgcGF0Y2gob2JqOiBQYXJ0aWFsPFBhZ2U+KTogUGFnZSB7XG4gICAgcmV0dXJuIFBhZ2UuZnJvbSh7Li4udGhpcywgLi4ub2JqfSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './router';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvbGliL3V0aWxzL3JvdXRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcm91dGVyJztcbiJdfQ==
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export function walkActivatedRouteSnapshot(snapshot, callback, target = 'children') {
|
|
2
|
-
if (callback(snapshot))
|
|
3
|
-
return;
|
|
4
|
-
if (target === 'children') {
|
|
5
|
-
snapshot.children.forEach(child => walkActivatedRouteSnapshot(child, callback, target));
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export function skippedResolver(outlet = 'primary') {
|
|
9
|
-
let skipped;
|
|
10
|
-
return (route, snapshot) => {
|
|
11
|
-
const routes = [];
|
|
12
|
-
walkActivatedRouteSnapshot(snapshot.root, snapshot => {
|
|
13
|
-
if (snapshot.outlet === outlet) {
|
|
14
|
-
routes.push(snapshot);
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
return true;
|
|
18
|
-
});
|
|
19
|
-
if (route === routes.at(-1)) {
|
|
20
|
-
return skipped = false;
|
|
21
|
-
}
|
|
22
|
-
return skipped ??= route !== routes.at(-1);
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
function resolveModule(m) {
|
|
26
|
-
if (m.default) {
|
|
27
|
-
return m.default;
|
|
28
|
-
}
|
|
29
|
-
return m;
|
|
30
|
-
}
|
|
31
|
-
export function wrapRoutes(routes) {
|
|
32
|
-
return (routes ?? []).map(route => {
|
|
33
|
-
if (route.loadChildren) {
|
|
34
|
-
return {
|
|
35
|
-
...route,
|
|
36
|
-
loadChildren: () => route.loadChildren().then(routes => {
|
|
37
|
-
return wrapRoutes(resolveModule(routes));
|
|
38
|
-
}),
|
|
39
|
-
resolve: {
|
|
40
|
-
...(route?.resolve || {}),
|
|
41
|
-
skipped: skippedResolver(),
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
...route,
|
|
47
|
-
resolve: {
|
|
48
|
-
...(route?.resolve || {}),
|
|
49
|
-
skipped: skippedResolver(),
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL2xpYi91dGlscy9yb3V0ZXIvcm91dGV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IHNraXBwZWQ6IHNraXBwZWRSZXNvbHZlcigpLFxuICAgICAgfSxcbiAgICB9O1xuICB9KTtcbn0iXX0=
|
package/esm2022/utils/time.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// 秒数をhh:mm:ssの形にフォーマットする
|
|
2
|
-
export function formatSeconds(seconds) {
|
|
3
|
-
const h = `${Math.floor(seconds / 3600)}`.padStart(2, '0');
|
|
4
|
-
const m = `${Math.floor(seconds % 3600 / 60)}`.padStart(2, '0');
|
|
5
|
-
const s = `${Math.floor(seconds % 3600 % 60)}`.padStart(2, '0');
|
|
6
|
-
return `${h}:${m}:${s}`;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tbW9uL3NyYy9saWIvdXRpbHMvdGltZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5QkFBeUI7QUFDekIsTUFBTSxVQUFVLGFBQWEsQ0FBQyxPQUFlO0lBQzNDLE1BQU0sQ0FBQyxHQUFHLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDLEVBQUUsQ0FBQyxRQUFRLENBQUMsQ0FBQyxFQUFFLEdBQUcsQ0FBQyxDQUFDO0lBQzNELE1BQU0sQ0FBQyxHQUFHLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLEdBQUcsSUFBSSxHQUFHLEVBQUUsQ0FBQyxFQUFFLENBQUMsUUFBUSxDQUFDLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQztJQUNoRSxNQUFNLENBQUMsR0FBRyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxHQUFHLElBQUksR0FBRyxFQUFFLENBQUMsRUFBRSxDQUFDLFFBQVEsQ0FBQyxDQUFDLEVBQUUsR0FBRyxDQUFDLENBQUM7SUFDaEUsT0FBTyxHQUFHLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUM7QUFDMUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vIOenkuaVsOOCkmhoOm1tOnNz44Gu5b2i44Gr44OV44Kp44O844Oe44OD44OI44GZ44KLXG5leHBvcnQgZnVuY3Rpb24gZm9ybWF0U2Vjb25kcyhzZWNvbmRzOiBudW1iZXIpOiBzdHJpbmcge1xuICBjb25zdCBoID0gYCR7TWF0aC5mbG9vcihzZWNvbmRzIC8gMzYwMCl9YC5wYWRTdGFydCgyLCAnMCcpO1xuICBjb25zdCBtID0gYCR7TWF0aC5mbG9vcihzZWNvbmRzICUgMzYwMCAvIDYwKX1gLnBhZFN0YXJ0KDIsICcwJyk7XG4gIGNvbnN0IHMgPSBgJHtNYXRoLmZsb29yKHNlY29uZHMgJSAzNjAwICUgNjApfWAucGFkU3RhcnQoMiwgJzAnKTtcbiAgcmV0dXJuIGAke2h9OiR7bX06JHtzfWA7XG59Il19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './to-object';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvbGliL3V0aWxzL3RvLW9iamVjdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdG8tb2JqZWN0JzsiXX0=
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
const getAllProps = (obj, keys = Object.keys(obj)) => {
|
|
2
|
-
const proto = Object.getPrototypeOf(obj);
|
|
3
|
-
keys = Object.getOwnPropertyNames(proto)
|
|
4
|
-
.filter(v => v !== '__proto__')
|
|
5
|
-
.filter(v => Object.getOwnPropertyDescriptor(proto, v).get instanceof Function)
|
|
6
|
-
.concat(keys);
|
|
7
|
-
return proto.constructor.name === 'Object' ? keys : getAllProps(proto, keys);
|
|
8
|
-
};
|
|
9
|
-
export const toObject = (obj) => getAllProps(obj).reduce((p, k) => ({ ...p, [k]: obj[k] }), {});
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG8tb2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL2xpYi91dGlscy90by1vYmplY3QvdG8tb2JqZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sV0FBVyxHQUFHLENBQUMsR0FBVyxFQUFFLE9BQWlCLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQVksRUFBRTtJQUMvRSxNQUFNLEtBQUssR0FBRyxNQUFNLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQ3pDLElBQUksR0FBRyxNQUFNLENBQUMsbUJBQW1CLENBQUMsS0FBSyxDQUFDO1NBQ3JDLE1BQU0sQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsS0FBSyxXQUFXLENBQUM7U0FDOUIsTUFBTSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsTUFBTSxDQUFDLHdCQUF3QixDQUFDLEtBQUssRUFBRSxDQUFDLENBQUUsQ0FBQyxHQUFHLFlBQVksUUFBUSxDQUFDO1NBQy9FLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUVoQixPQU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