@ng-atomic/common 5.15.0 → 6.0.4
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/core/component-store.d.ts +48 -0
- package/core/index.d.ts +2 -0
- package/core/injectable-component.d.ts +31 -0
- package/esm2022/core/component-store.mjs +86 -0
- package/esm2022/core/index.mjs +3 -0
- package/esm2022/core/injectable-component.mjs +82 -0
- package/esm2022/core/ng-atomic-common-core.mjs +5 -0
- package/esm2022/directives/ios-safari-scroll-buggyfill/index.mjs +3 -0
- package/esm2022/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.mjs +24 -0
- package/esm2022/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.mjs +24 -0
- package/esm2022/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +5 -0
- package/esm2022/index.mjs +2 -0
- package/esm2022/models/action.mjs +7 -0
- package/{esm2020 → esm2022}/models/index.mjs +1 -1
- package/{esm2020 → esm2022}/models/menu-item.mjs +1 -1
- package/esm2022/models/ng-atomic-common-models.mjs +5 -0
- package/{esm2020 → esm2022}/models/public_api.mjs +1 -1
- package/{esm2020 → esm2022}/ng-atomic-common.mjs +1 -1
- package/esm2022/pipes/actions/actions.pipe.mjs +19 -0
- package/{esm2020 → esm2022}/pipes/actions/index.mjs +1 -1
- package/esm2022/pipes/actions/ng-atomic-common-pipes-actions.mjs +5 -0
- package/esm2022/pipes/data-accessor/data-accessor.pipe.mjs +30 -0
- package/{esm2020 → esm2022}/pipes/data-accessor/index.mjs +1 -1
- package/esm2022/pipes/data-accessor/ng-atomic-common-pipes-data-accessor.mjs +5 -0
- package/esm2022/pipes/domain/domain.pipe.mjs +28 -0
- package/esm2022/pipes/domain/index.mjs +2 -0
- package/esm2022/pipes/domain/ng-atomic-common-pipes-domain.mjs +5 -0
- package/esm2022/pipes/error/error.pipe.mjs +44 -0
- package/esm2022/pipes/error/index.mjs +2 -0
- package/esm2022/pipes/error/ng-atomic-common-pipes-error.mjs +5 -0
- package/esm2022/pipes/grouped-by/grouped-by.pipe.mjs +27 -0
- package/esm2022/pipes/grouped-by/index.mjs +2 -0
- package/esm2022/pipes/grouped-by/ng-atomic-common-pipes-grouped-by.mjs +5 -0
- package/esm2022/pipes/keys/index.mjs +2 -0
- package/esm2022/pipes/keys/keys.pipe.mjs +18 -0
- package/esm2022/pipes/keys/ng-atomic-common-pipes-keys.mjs +5 -0
- package/esm2022/pipes/pagination/index.mjs +2 -0
- package/esm2022/pipes/pagination/ng-atomic-common-pipes-pagination.mjs +5 -0
- package/esm2022/pipes/pagination/pagination.pipe.mjs +32 -0
- package/esm2022/pipes/query/index.mjs +2 -0
- package/esm2022/pipes/query/ng-atomic-common-pipes-query.mjs +5 -0
- package/esm2022/pipes/query/query.pipe.mjs +26 -0
- package/{esm2020 → esm2022}/pipes/select-id/index.mjs +1 -1
- package/esm2022/pipes/select-id/ng-atomic-common-pipes-select-id.mjs +5 -0
- package/esm2022/pipes/select-id/select-id.pipe.mjs +29 -0
- package/esm2022/pipes/signal/index.mjs +2 -0
- package/esm2022/pipes/signal/ng-atomic-common-pipes-signal.mjs +5 -0
- package/esm2022/pipes/signal/signal.pipe.mjs +21 -0
- package/esm2022/pipes/smart-exp/index.mjs +3 -0
- package/esm2022/pipes/smart-exp/ng-atomic-common-pipes-smart-exp.mjs +5 -0
- package/esm2022/pipes/smart-exp/smart-exp.module.mjs +16 -0
- package/esm2022/pipes/smart-exp/smart-exp.pipe.mjs +27 -0
- package/esm2022/pipes/smart-field/index.mjs +2 -0
- package/esm2022/pipes/smart-field/ng-atomic-common-pipes-smart-field.mjs +5 -0
- package/esm2022/pipes/smart-field/smart-field.pipe.mjs +33 -0
- package/esm2022/pipes/smart-sort-by/index.mjs +4 -0
- package/esm2022/pipes/smart-sort-by/ng-atomic-common-pipes-smart-sort-by.mjs +5 -0
- package/esm2022/pipes/smart-sort-by/smart-sort-by.module.mjs +24 -0
- package/esm2022/pipes/smart-sort-by/smart-sort-by.pipe.mjs +28 -0
- package/esm2022/pipes/smart-sort-by/smart-sort-by.transformer.mjs +5 -0
- package/esm2022/pipes/yen/index.mjs +2 -0
- package/esm2022/pipes/yen/ng-atomic-common-pipes-yen.mjs +5 -0
- package/esm2022/pipes/yen/yen.pipe.mjs +20 -0
- package/esm2022/services/auth/auth.service.mjs +36 -0
- package/esm2022/services/auth/index.mjs +2 -0
- package/esm2022/services/auth/ng-atomic-common-services-auth.mjs +5 -0
- package/esm2022/services/chips-manager/chips.manager.mjs +29 -0
- package/{esm2020 → esm2022}/services/chips-manager/index.mjs +1 -1
- package/esm2022/services/chips-manager/ng-atomic-common-services-chips-manager.mjs +5 -0
- package/esm2022/services/csv/csv.service.mjs +25 -0
- package/{esm2020 → esm2022}/services/csv/index.mjs +1 -1
- package/esm2022/services/csv/ng-atomic-common-services-csv.mjs +5 -0
- package/esm2022/services/form/form.service.mjs +38 -0
- package/{esm2020 → esm2022}/services/form/index.mjs +1 -1
- package/esm2022/services/form/ng-atomic-common-services-form.mjs +5 -0
- package/{esm2020 → esm2022}/services/form/pagination/index.mjs +1 -1
- package/esm2022/services/form/pagination/ng-atomic-common-services-form-pagination.mjs +5 -0
- package/esm2022/services/form/pagination/pagination.service.mjs +24 -0
- package/{esm2020 → esm2022}/services/form/sort/index.mjs +1 -1
- package/esm2022/services/form/sort/ng-atomic-common-services-form-sort.mjs +5 -0
- package/esm2022/services/form/sort/sort.service.mjs +33 -0
- package/{esm2020 → esm2022}/services/loading/index.mjs +1 -1
- package/esm2022/services/loading/loading.service.mjs +44 -0
- package/esm2022/services/loading/ng-atomic-common-services-loading.mjs +5 -0
- package/{esm2020 → esm2022}/services/query-resolver/index.mjs +1 -1
- package/esm2022/services/query-resolver/ng-atomic-common-services-query-resolver.mjs +5 -0
- package/esm2022/services/query-resolver/query-resolver.service.mjs +33 -0
- package/esm2022/services/snack-bar/index.mjs +3 -0
- package/esm2022/services/snack-bar/ng-atomic-common-services-snack-bar.mjs +5 -0
- package/esm2022/services/snack-bar/snack-bar.module.mjs +22 -0
- package/esm2022/services/snack-bar/snack-bar.service.mjs +23 -0
- package/esm2022/services/ui/index.mjs +2 -0
- package/esm2022/services/ui/ng-atomic-common-services-ui.mjs +5 -0
- package/esm2022/services/ui/ui.service.mjs +199 -0
- package/esm2022/stores/component-store/component-store.mjs +2 -0
- package/{esm2020 → esm2022}/stores/component-store/index.mjs +1 -1
- package/esm2022/stores/component-store/ng-atomic-common-stores-component-store.mjs +5 -0
- package/esm2022/stores/entities/entities.store.mjs +32 -0
- package/esm2022/stores/entities/index.mjs +2 -0
- package/esm2022/stores/entities/ng-atomic-common-stores-entities.mjs +5 -0
- package/esm2022/stores/entity/entity.store.mjs +34 -0
- package/{esm2020 → esm2022}/stores/entity/index.mjs +1 -1
- package/esm2022/stores/entity/ng-atomic-common-stores-entity.mjs +5 -0
- package/{esm2020 → esm2022}/stores/pagination/index.mjs +1 -1
- package/esm2022/stores/pagination/ng-atomic-common-stores-pagination.mjs +5 -0
- package/esm2022/stores/pagination/pagination.store.mjs +23 -0
- package/{esm2020 → esm2022}/stores/query/index.mjs +1 -1
- package/esm2022/stores/query/ng-atomic-common-stores-query.mjs +5 -0
- package/esm2022/stores/query/query.store.mjs +31 -0
- package/{esm2020 → esm2022}/stores/selection/index.mjs +1 -1
- package/esm2022/stores/selection/ng-atomic-common-stores-selection.mjs +5 -0
- package/esm2022/stores/selection/selection.store.mjs +29 -0
- package/{esm2020 → esm2022}/stores/sort/index.mjs +1 -1
- package/esm2022/stores/sort/ng-atomic-common-stores-sort.mjs +5 -0
- package/esm2022/stores/sort/sort.store.mjs +27 -0
- package/esm2022/utils/comma/comma.mjs +4 -0
- package/{esm2020 → esm2022}/utils/comma/index.mjs +1 -1
- package/esm2022/utils/compare-by-id/compare-by-id.mjs +5 -0
- package/{esm2020 → esm2022}/utils/compare-by-id/index.mjs +1 -1
- package/esm2022/utils/date-utils/date-utils.mjs +13 -0
- package/{esm2020 → esm2022}/utils/date-utils/index.mjs +1 -1
- package/esm2022/utils/diff/diff.mjs +7 -0
- package/{esm2020 → esm2022}/utils/diff/index.mjs +1 -1
- package/esm2022/utils/get/get.mjs +6 -0
- package/esm2022/utils/get/index.mjs +2 -0
- package/esm2022/utils/index.mjs +11 -0
- package/esm2022/utils/mat-dayjs-date/dayjs-date.adapter.mjs +190 -0
- package/esm2022/utils/mat-dayjs-date/dayjs-date.formats.mjs +15 -0
- package/esm2022/utils/mat-dayjs-date/dayjs-date.module.mjs +41 -0
- package/esm2022/utils/mat-dayjs-date/dayjs-jp-providers.mjs +20 -0
- package/esm2022/utils/mat-dayjs-date/index.mjs +5 -0
- package/esm2022/utils/ng-atomic-common-utils.mjs +5 -0
- package/{esm2020 → esm2022}/utils/page/index.mjs +1 -1
- package/esm2022/utils/page/ng-atomic-common-utils-page.mjs +5 -0
- package/esm2022/utils/page/page.mjs +20 -0
- package/{esm2020/stores/entities → esm2022/utils/query}/index.mjs +2 -2
- package/esm2022/utils/query/query.resolver.mjs +100 -0
- package/{esm2020 → esm2022}/utils/smart-exp-transformer/index.mjs +1 -1
- package/esm2022/utils/smart-exp-transformer/smart-exp-transformer.mjs +18 -0
- package/{esm2020 → esm2022}/utils/to-object/index.mjs +1 -1
- package/esm2022/utils/to-object/to-object.mjs +10 -0
- package/fesm2022/ng-atomic-common-core.mjs +171 -0
- package/fesm2022/ng-atomic-common-core.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +7 -7
- package/fesm2022/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-models.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-pipes-actions.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-actions.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-pipes-data-accessor.mjs +5 -5
- package/fesm2022/ng-atomic-common-pipes-data-accessor.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-pipes-domain.mjs +35 -0
- package/fesm2022/ng-atomic-common-pipes-domain.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-pipes-error.mjs +51 -0
- package/fesm2022/ng-atomic-common-pipes-error.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-pipes-grouped-by.mjs +34 -0
- package/fesm2022/ng-atomic-common-pipes-grouped-by.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-pipes-keys.mjs +25 -0
- package/fesm2022/ng-atomic-common-pipes-keys.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-pipes-pagination.mjs +39 -0
- package/fesm2022/ng-atomic-common-pipes-pagination.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-pipes-query.mjs +33 -0
- package/fesm2022/ng-atomic-common-pipes-query.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-pipes-select-id.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-select-id.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-pipes-signal.mjs +28 -0
- package/fesm2022/ng-atomic-common-pipes-signal.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-pipes-smart-exp.mjs +8 -8
- package/fesm2022/ng-atomic-common-pipes-smart-exp.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-pipes-smart-field.mjs +40 -0
- package/fesm2022/ng-atomic-common-pipes-smart-field.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-pipes-smart-sort-by.mjs +9 -9
- package/fesm2022/ng-atomic-common-pipes-smart-sort-by.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-pipes-yen.mjs +27 -0
- package/fesm2022/ng-atomic-common-pipes-yen.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-services-auth.mjs +43 -0
- package/fesm2022/ng-atomic-common-services-auth.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-common-services-chips-manager.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-chips-manager.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-services-csv.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-csv.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-services-form-pagination.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-pagination.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-services-form-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-sort.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-services-form.mjs +1 -1
- package/fesm2022/ng-atomic-common-services-form.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-services-loading.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-loading.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-services-query-resolver.mjs +8 -9
- package/fesm2022/ng-atomic-common-services-query-resolver.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-common-services-snack-bar.mjs +9 -9
- package/fesm2022/ng-atomic-common-services-snack-bar.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-services-ui.mjs +206 -0
- package/fesm2022/ng-atomic-common-services-ui.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-stores-component-store.mjs +6 -0
- package/fesm2022/ng-atomic-common-stores-component-store.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-common-stores-entities.mjs +6 -1
- package/fesm2022/ng-atomic-common-stores-entities.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-stores-entity.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-stores-pagination.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-pagination.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-stores-query.mjs +4 -4
- package/fesm2022/ng-atomic-common-stores-query.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-stores-selection.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-selection.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-stores-sort.mjs +4 -5
- package/fesm2022/ng-atomic-common-stores-sort.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-utils-page.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-common-utils.mjs +33 -24
- package/fesm2022/ng-atomic-common-utils.mjs.map +1 -0
- package/fesm2022/ng-atomic-common.mjs.map +1 -0
- package/package.json +172 -181
- package/pipes/domain/domain.pipe.d.ts +1 -1
- package/pipes/domain/index.d.ts +1 -2
- package/pipes/error/error.pipe.d.ts +16 -0
- package/pipes/error/index.d.ts +1 -0
- package/pipes/grouped-by/grouped-by.pipe.d.ts +9 -0
- package/pipes/grouped-by/index.d.ts +1 -0
- package/pipes/keys/index.d.ts +1 -0
- package/pipes/keys/keys.pipe.d.ts +8 -0
- package/pipes/pagination/index.d.ts +0 -1
- package/pipes/pagination/pagination.pipe.d.ts +1 -0
- package/pipes/query/index.d.ts +1 -0
- package/pipes/query/query.pipe.d.ts +10 -0
- package/pipes/signal/index.d.ts +1 -0
- package/pipes/signal/signal.pipe.d.ts +10 -0
- package/pipes/smart-field/index.d.ts +0 -1
- package/pipes/smart-field/smart-field.pipe.d.ts +30 -9
- package/pipes/yen/index.d.ts +0 -1
- package/pipes/yen/yen.pipe.d.ts +2 -2
- package/services/auth/auth.service.d.ts +34 -0
- package/services/auth/index.d.ts +1 -0
- package/services/ui/index.d.ts +1 -0
- package/services/ui/ui.service.d.ts +54 -0
- package/stores/component-store/component-store.d.ts +1 -15
- package/stores/entities/entities.store.d.ts +6 -5
- package/stores/sort/sort.store.d.ts +0 -1
- package/utils/get/get.d.ts +5 -0
- package/utils/get/index.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/esm2020/directives/ios-safari-scroll-buggyfill/index.mjs +0 -3
- package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.mjs +0 -24
- package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.mjs +0 -24
- package/esm2020/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +0 -5
- package/esm2020/index.mjs +0 -2
- package/esm2020/models/action.mjs +0 -7
- package/esm2020/models/ng-atomic-common-models.mjs +0 -5
- package/esm2020/pipes/actions/actions.pipe.mjs +0 -19
- package/esm2020/pipes/actions/ng-atomic-common-pipes-actions.mjs +0 -5
- package/esm2020/pipes/data-accessor/data-accessor.pipe.mjs +0 -30
- package/esm2020/pipes/data-accessor/ng-atomic-common-pipes-data-accessor.mjs +0 -5
- package/esm2020/pipes/domain/domain.module.mjs +0 -24
- package/esm2020/pipes/domain/domain.pipe.mjs +0 -27
- package/esm2020/pipes/domain/index.mjs +0 -3
- package/esm2020/pipes/domain/ng-atomic-common-pipes-domain.mjs +0 -5
- package/esm2020/pipes/pagination/index.mjs +0 -3
- package/esm2020/pipes/pagination/ng-atomic-common-pipes-pagination.mjs +0 -5
- package/esm2020/pipes/pagination/pagination.module.mjs +0 -20
- package/esm2020/pipes/pagination/pagination.pipe.mjs +0 -32
- package/esm2020/pipes/select-id/ng-atomic-common-pipes-select-id.mjs +0 -5
- package/esm2020/pipes/select-id/select-id.pipe.mjs +0 -29
- package/esm2020/pipes/smart-exp/index.mjs +0 -3
- package/esm2020/pipes/smart-exp/ng-atomic-common-pipes-smart-exp.mjs +0 -5
- package/esm2020/pipes/smart-exp/smart-exp.module.mjs +0 -16
- package/esm2020/pipes/smart-exp/smart-exp.pipe.mjs +0 -27
- package/esm2020/pipes/smart-field/index.mjs +0 -3
- package/esm2020/pipes/smart-field/ng-atomic-common-pipes-smart-field.mjs +0 -5
- package/esm2020/pipes/smart-field/smart-field.module.mjs +0 -24
- package/esm2020/pipes/smart-field/smart-field.pipe.mjs +0 -31
- package/esm2020/pipes/smart-sort-by/index.mjs +0 -4
- package/esm2020/pipes/smart-sort-by/ng-atomic-common-pipes-smart-sort-by.mjs +0 -5
- package/esm2020/pipes/smart-sort-by/smart-sort-by.module.mjs +0 -24
- package/esm2020/pipes/smart-sort-by/smart-sort-by.pipe.mjs +0 -28
- package/esm2020/pipes/smart-sort-by/smart-sort-by.transformer.mjs +0 -5
- package/esm2020/pipes/yen/index.mjs +0 -3
- package/esm2020/pipes/yen/ng-atomic-common-pipes-yen.mjs +0 -5
- package/esm2020/pipes/yen/yen.module.mjs +0 -24
- package/esm2020/pipes/yen/yen.pipe.mjs +0 -17
- package/esm2020/services/chips-manager/chips.manager.mjs +0 -29
- package/esm2020/services/chips-manager/ng-atomic-common-services-chips-manager.mjs +0 -5
- package/esm2020/services/csv/csv.service.mjs +0 -25
- package/esm2020/services/csv/ng-atomic-common-services-csv.mjs +0 -5
- package/esm2020/services/form/form.service.mjs +0 -38
- package/esm2020/services/form/ng-atomic-common-services-form.mjs +0 -5
- package/esm2020/services/form/pagination/ng-atomic-common-services-form-pagination.mjs +0 -5
- package/esm2020/services/form/pagination/pagination.service.mjs +0 -24
- package/esm2020/services/form/sort/ng-atomic-common-services-form-sort.mjs +0 -5
- package/esm2020/services/form/sort/sort.service.mjs +0 -33
- package/esm2020/services/loading/loading.service.mjs +0 -44
- package/esm2020/services/loading/ng-atomic-common-services-loading.mjs +0 -5
- package/esm2020/services/query-resolver/ng-atomic-common-services-query-resolver.mjs +0 -5
- package/esm2020/services/query-resolver/query-resolver.service.mjs +0 -34
- package/esm2020/services/snack-bar/index.mjs +0 -3
- package/esm2020/services/snack-bar/ng-atomic-common-services-snack-bar.mjs +0 -5
- package/esm2020/services/snack-bar/snack-bar.module.mjs +0 -22
- package/esm2020/services/snack-bar/snack-bar.service.mjs +0 -23
- package/esm2020/stores/component-store/component-store.mjs +0 -36
- package/esm2020/stores/component-store/ng-atomic-common-stores-component-store.mjs +0 -5
- package/esm2020/stores/entities/entities.store.mjs +0 -27
- package/esm2020/stores/entities/ng-atomic-common-stores-entities.mjs +0 -5
- package/esm2020/stores/entity/entity.store.mjs +0 -34
- package/esm2020/stores/entity/ng-atomic-common-stores-entity.mjs +0 -5
- package/esm2020/stores/pagination/ng-atomic-common-stores-pagination.mjs +0 -5
- package/esm2020/stores/pagination/pagination.store.mjs +0 -23
- package/esm2020/stores/query/ng-atomic-common-stores-query.mjs +0 -5
- package/esm2020/stores/query/query.store.mjs +0 -31
- package/esm2020/stores/selection/ng-atomic-common-stores-selection.mjs +0 -5
- package/esm2020/stores/selection/selection.store.mjs +0 -29
- package/esm2020/stores/sort/ng-atomic-common-stores-sort.mjs +0 -5
- package/esm2020/stores/sort/sort.store.mjs +0 -28
- package/esm2020/utils/comma/comma.mjs +0 -4
- package/esm2020/utils/compare-by-id/compare-by-id.mjs +0 -5
- package/esm2020/utils/date-utils/date-utils.mjs +0 -13
- package/esm2020/utils/diff/diff.mjs +0 -7
- package/esm2020/utils/index.mjs +0 -10
- package/esm2020/utils/mat-dayjs-date/dayjs-date.adapter.mjs +0 -191
- package/esm2020/utils/mat-dayjs-date/dayjs-date.formats.mjs +0 -15
- package/esm2020/utils/mat-dayjs-date/dayjs-date.module.mjs +0 -41
- package/esm2020/utils/mat-dayjs-date/dayjs-jp-providers.mjs +0 -20
- package/esm2020/utils/mat-dayjs-date/index.mjs +0 -5
- package/esm2020/utils/ng-atomic-common-utils.mjs +0 -5
- package/esm2020/utils/page/ng-atomic-common-utils-page.mjs +0 -5
- package/esm2020/utils/page/page.mjs +0 -20
- package/esm2020/utils/query/index.mjs +0 -2
- package/esm2020/utils/query/query.resolver.mjs +0 -97
- package/esm2020/utils/smart-exp-transformer/smart-exp-transformer.mjs +0 -18
- package/esm2020/utils/to-object/to-object.mjs +0 -10
- package/fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-models.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-pipes-actions.mjs +0 -26
- package/fesm2015/ng-atomic-common-pipes-actions.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-pipes-data-accessor.mjs +0 -40
- package/fesm2015/ng-atomic-common-pipes-data-accessor.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-pipes-domain.mjs +0 -59
- package/fesm2015/ng-atomic-common-pipes-domain.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-pipes-pagination.mjs +0 -59
- package/fesm2015/ng-atomic-common-pipes-pagination.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-pipes-select-id.mjs +0 -39
- package/fesm2015/ng-atomic-common-pipes-select-id.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-pipes-smart-exp.mjs +0 -50
- package/fesm2015/ng-atomic-common-pipes-smart-exp.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-pipes-smart-field.mjs +0 -63
- package/fesm2015/ng-atomic-common-pipes-smart-field.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-pipes-smart-sort-by.mjs +0 -63
- package/fesm2015/ng-atomic-common-pipes-smart-sort-by.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-pipes-yen.mjs +0 -45
- package/fesm2015/ng-atomic-common-pipes-yen.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-services-chips-manager.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-services-csv.mjs +0 -32
- package/fesm2015/ng-atomic-common-services-csv.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-services-form-pagination.mjs +0 -31
- package/fesm2015/ng-atomic-common-services-form-pagination.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-services-form-sort.mjs +0 -39
- package/fesm2015/ng-atomic-common-services-form-sort.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-services-form.mjs +0 -42
- package/fesm2015/ng-atomic-common-services-form.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-services-loading.mjs +0 -54
- package/fesm2015/ng-atomic-common-services-loading.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-services-query-resolver.mjs +0 -44
- package/fesm2015/ng-atomic-common-services-query-resolver.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-services-snack-bar.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-stores-component-store.mjs +0 -44
- package/fesm2015/ng-atomic-common-stores-component-store.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-stores-entities.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-stores-entity.mjs +0 -42
- package/fesm2015/ng-atomic-common-stores-entity.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-stores-pagination.mjs +0 -30
- package/fesm2015/ng-atomic-common-stores-pagination.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-stores-query.mjs +0 -40
- package/fesm2015/ng-atomic-common-stores-query.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-stores-selection.mjs +0 -36
- package/fesm2015/ng-atomic-common-stores-selection.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-stores-sort.mjs +0 -35
- package/fesm2015/ng-atomic-common-stores-sort.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-utils-page.mjs +0 -21
- package/fesm2015/ng-atomic-common-utils-page.mjs.map +0 -1
- package/fesm2015/ng-atomic-common-utils.mjs +0 -419
- package/fesm2015/ng-atomic-common-utils.mjs.map +0 -1
- package/fesm2015/ng-atomic-common.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +0 -52
- package/fesm2020/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-models.mjs +0 -13
- package/fesm2020/ng-atomic-common-models.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-pipes-actions.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-pipes-data-accessor.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-pipes-domain.mjs +0 -55
- package/fesm2020/ng-atomic-common-pipes-domain.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-pipes-pagination.mjs +0 -56
- package/fesm2020/ng-atomic-common-pipes-pagination.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-pipes-select-id.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-pipes-smart-exp.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-pipes-smart-field.mjs +0 -59
- package/fesm2020/ng-atomic-common-pipes-smart-field.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-pipes-smart-sort-by.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-pipes-yen.mjs +0 -45
- package/fesm2020/ng-atomic-common-pipes-yen.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-services-chips-manager.mjs +0 -36
- package/fesm2020/ng-atomic-common-services-chips-manager.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-services-csv.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-services-form-pagination.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-services-form-sort.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-services-form.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-services-loading.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-services-query-resolver.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-services-snack-bar.mjs +0 -49
- package/fesm2020/ng-atomic-common-services-snack-bar.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-stores-component-store.mjs +0 -43
- package/fesm2020/ng-atomic-common-stores-component-store.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-stores-entities.mjs +0 -34
- package/fesm2020/ng-atomic-common-stores-entities.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-stores-entity.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-stores-pagination.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-stores-query.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-stores-selection.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-stores-sort.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-utils-page.mjs.map +0 -1
- package/fesm2020/ng-atomic-common-utils.mjs.map +0 -1
- package/fesm2020/ng-atomic-common.mjs +0 -4
- package/fesm2020/ng-atomic-common.mjs.map +0 -1
- package/pipes/domain/domain.module.d.ts +0 -8
- package/pipes/pagination/pagination.module.d.ts +0 -7
- package/pipes/smart-field/smart-field.module.d.ts +0 -8
- package/pipes/yen/yen.module.d.ts +0 -8
- /package/{fesm2015 → fesm2022}/ng-atomic-common-models.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-atomic-common-stores-entity.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-atomic-common-utils-page.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-atomic-common.mjs +0 -0
|
@@ -20,5 +20,6 @@ export declare class PaginationPipe<E> implements PipeTransform {
|
|
|
20
20
|
}): E[];
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationPipe<any>, [{ optional: true; }]>;
|
|
22
22
|
static ɵpipe: i0.ɵɵPipeDeclaration<PaginationPipe<any>, "pagination", true>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaginationPipe<any>>;
|
|
23
24
|
}
|
|
24
25
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './query.pipe';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { QueryResolverService } from '@ng-atomic/common/services/query-resolver';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class QueryPipe<E> implements PipeTransform {
|
|
5
|
+
protected resolver: QueryResolverService;
|
|
6
|
+
transform(items: E[], query: string): E[];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryPipe<any>, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<QueryPipe<any>, "query", true>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryPipe<any>>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './signal.pipe';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type SignalOrValue<T> = T | Signal<T>;
|
|
4
|
+
export declare function signalize<T = any>(valueOrSignal: T | Signal<T>): Signal<T>;
|
|
5
|
+
export declare function resolveSignal<T>(valueOrSignal: T | Signal<T>): T;
|
|
6
|
+
export declare class SignalPipe {
|
|
7
|
+
transform<T>(obj: T | Signal<T>): T;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignalPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SignalPipe, "signal", true>;
|
|
10
|
+
}
|
|
@@ -1,35 +1,56 @@
|
|
|
1
|
-
import { InjectionToken, PipeTransform } from '@angular/core';
|
|
1
|
+
import { InjectionToken, PipeTransform, Signal } from '@angular/core';
|
|
2
|
+
import { Action } from '@ng-atomic/common/models';
|
|
3
|
+
import { SignalOrValue } from '@ng-atomic/common/pipes/signal';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
interface Option<T> {
|
|
4
6
|
name: string;
|
|
5
7
|
value: T;
|
|
6
8
|
}
|
|
7
|
-
interface
|
|
9
|
+
interface BaseField {
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
hint?: string;
|
|
12
|
+
}
|
|
13
|
+
interface InputField extends BaseField {
|
|
8
14
|
type: 'input';
|
|
15
|
+
autoComplete?: SignalOrValue<(string | number)[]>;
|
|
9
16
|
}
|
|
10
|
-
interface TextareaField {
|
|
17
|
+
interface TextareaField extends BaseField {
|
|
11
18
|
type: 'textarea';
|
|
12
19
|
rows?: number;
|
|
13
20
|
}
|
|
14
|
-
interface DateInputField {
|
|
21
|
+
interface DateInputField extends BaseField {
|
|
15
22
|
type: 'date';
|
|
16
23
|
}
|
|
17
|
-
interface SelectField<T> {
|
|
24
|
+
interface SelectField<T> extends BaseField {
|
|
18
25
|
type: 'select';
|
|
19
26
|
options: Option<T>[];
|
|
20
27
|
}
|
|
21
|
-
interface MultiSelectField<T> {
|
|
28
|
+
interface MultiSelectField<T> extends BaseField {
|
|
22
29
|
type: 'multi-select';
|
|
23
30
|
options: Option<T>[];
|
|
24
31
|
}
|
|
25
|
-
|
|
26
|
-
|
|
32
|
+
interface FileField extends BaseField {
|
|
33
|
+
type: 'file';
|
|
34
|
+
progress?: Signal<number>;
|
|
35
|
+
}
|
|
36
|
+
interface ActionField extends BaseField {
|
|
37
|
+
type: 'action';
|
|
38
|
+
actions: Action[] | Signal<Action[]>;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
}
|
|
41
|
+
interface NoneField {
|
|
42
|
+
type: 'none';
|
|
43
|
+
}
|
|
44
|
+
type FormField<V> = InputField | TextareaField | DateInputField | SelectField<V> | MultiSelectField<V> | FileField | ActionField | NoneField;
|
|
45
|
+
export interface FormFieldMap {
|
|
46
|
+
[key: string]: FormField<any> | FormFieldMap;
|
|
47
|
+
}
|
|
27
48
|
export declare const FORM_FIELD_MAP: InjectionToken<FormFieldMap>;
|
|
28
49
|
export declare class SmartFieldPipe implements PipeTransform {
|
|
29
50
|
private map;
|
|
30
51
|
constructor(map: Record<string, FormField<any>>);
|
|
31
52
|
transform(key: string): FormField<any>;
|
|
32
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFieldPipe, [{ optional: true; }]>;
|
|
33
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SmartFieldPipe, "smartField",
|
|
54
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SmartFieldPipe, "smartField", true>;
|
|
34
55
|
}
|
|
35
56
|
export {};
|
package/pipes/yen/index.d.ts
CHANGED
package/pipes/yen/yen.pipe.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class YenPipe implements PipeTransform {
|
|
4
|
-
transform(value
|
|
4
|
+
transform(value?: number | null, _unit?: string): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<YenPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<YenPipe, "yen",
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<YenPipe, "yen", true>;
|
|
7
7
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Auth } from '@angular/fire/auth';
|
|
2
|
+
import { UserCredential } from 'firebase/auth';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface TwitterCredential {
|
|
5
|
+
_tokenResponse: {
|
|
6
|
+
context: string;
|
|
7
|
+
displayName: string;
|
|
8
|
+
email: string;
|
|
9
|
+
emailVerified: boolean;
|
|
10
|
+
expiresIn: string;
|
|
11
|
+
federatedId: string;
|
|
12
|
+
fullName: string;
|
|
13
|
+
idToken: string;
|
|
14
|
+
kind: 'identitytoolkit#VerifyAssertionResponse';
|
|
15
|
+
localId: string;
|
|
16
|
+
oauthAccessToken: string;
|
|
17
|
+
oauthTokenSecret: string;
|
|
18
|
+
photoUrl: string;
|
|
19
|
+
providerId: 'twitter.com';
|
|
20
|
+
rawUserInfo: string;
|
|
21
|
+
refreshToken: string;
|
|
22
|
+
screenName: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export declare class AuthService {
|
|
26
|
+
private auth;
|
|
27
|
+
auth$: import("rxjs").Observable<import("@firebase/auth").User>;
|
|
28
|
+
constructor(auth: Auth);
|
|
29
|
+
signInWithTwitter(): Promise<void>;
|
|
30
|
+
signInWithGoogle(): Promise<UserCredential>;
|
|
31
|
+
signOut(): Promise<void>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './auth.service';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui.service';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
+
import { Signal } from '@angular/core';
|
|
3
|
+
import { NestedGetType, PathKeys } from '@ng-atomic/common/utils';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface UIConfig {
|
|
7
|
+
root: {
|
|
8
|
+
properties: {
|
|
9
|
+
'--page-width-lv1': string;
|
|
10
|
+
'--page-width-lv2': string;
|
|
11
|
+
'--page-width-lv3': string;
|
|
12
|
+
'--menu-width': string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
frames: {
|
|
16
|
+
sideNav: {
|
|
17
|
+
frameType: 'lineup' | 'drawer';
|
|
18
|
+
menuType: 'icon-button-menu' | 'menu';
|
|
19
|
+
};
|
|
20
|
+
router: {
|
|
21
|
+
type: 'lineup' | 'overlay';
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
templates: {
|
|
25
|
+
index: {
|
|
26
|
+
type: 'list' | 'table';
|
|
27
|
+
width: string;
|
|
28
|
+
};
|
|
29
|
+
crud: {
|
|
30
|
+
type: 'form' | 'table';
|
|
31
|
+
width: string;
|
|
32
|
+
};
|
|
33
|
+
menu: {
|
|
34
|
+
type: 'list' | 'table';
|
|
35
|
+
width: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export declare class UiService {
|
|
40
|
+
protected readonly breakpointObserver: BreakpointObserver;
|
|
41
|
+
private readonly breakpoint$;
|
|
42
|
+
readonly ui$: Observable<UIConfig>;
|
|
43
|
+
readonly ui: Signal<UIConfig>;
|
|
44
|
+
mapTo(path: string): Observable<UIConfig>;
|
|
45
|
+
/**@deprecated */
|
|
46
|
+
getSignal<P extends (keyof any)[], T = UIConfig>(path: [...P]): Signal<NestedGetType<T, P>>;
|
|
47
|
+
get$<T, P extends PathKeys<T>>(path: P): Observable<NestedGetType<T, P>>;
|
|
48
|
+
get<T, P extends PathKeys<T>>(path: P): Signal<NestedGetType<T, P>>;
|
|
49
|
+
constructor();
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiService, never>;
|
|
51
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiService>;
|
|
52
|
+
}
|
|
53
|
+
export declare function injectUiConfig$<T extends UIConfig, P extends PathKeys<T>>(path: P): Observable<NestedGetType<T, P>>;
|
|
54
|
+
export declare function injectUiConfig<T extends UIConfig, P extends PathKeys<T>>(path: P): Signal<NestedGetType<T, P>>;
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NgAtomicComponentStore {
|
|
4
|
-
protected _effectMap: Map<string, string>;
|
|
5
|
-
dispatch(action: Action): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgAtomicComponentStore, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgAtomicComponentStore, never, never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
9
|
-
export declare class NgAtomicComponent {
|
|
10
|
-
protected _effectMap: Map<string, string>;
|
|
11
|
-
dispatch(action: Action): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgAtomicComponent, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgAtomicComponent, never, never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
15
|
-
export declare function Effect(id: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
1
|
+
export * from '@ng-atomic/common/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentStore } from '@ngrx/component-store';
|
|
2
|
-
import { ReplaySubject } from 'rxjs';
|
|
2
|
+
import { Observable, ReplaySubject } from 'rxjs';
|
|
3
3
|
import { EntityState, EntityAdapter } from '@ngrx/entity';
|
|
4
4
|
export declare const distinctUntilChangedArray: <T>() => import("rxjs").MonoTypeOperatorFunction<T>;
|
|
5
5
|
export declare abstract class EntitiesStore<E extends {
|
|
@@ -9,10 +9,11 @@ export declare abstract class EntitiesStore<E extends {
|
|
|
9
9
|
constructor(adapter?: EntityAdapter<E>);
|
|
10
10
|
protected readonly refresh$: ReplaySubject<void>;
|
|
11
11
|
protected readonly selectors: import("@ngrx/entity/src/models").EntitySelectors<E, EntityState<E>>;
|
|
12
|
-
|
|
13
|
-
entities
|
|
14
|
-
size$:
|
|
15
|
-
setEntities: (observableOrValue: E[] |
|
|
12
|
+
entities$: Observable<E[]>;
|
|
13
|
+
entities: import("@angular/core").Signal<E[]>;
|
|
14
|
+
size$: Observable<number>;
|
|
15
|
+
setEntities: (observableOrValue: E[] | Observable<E[]>) => import("rxjs").Subscription;
|
|
16
16
|
abstract getEntities: ReturnType<typeof this.effect>;
|
|
17
17
|
refresh(): void;
|
|
18
|
+
mapToOne(id: string): Observable<E>;
|
|
18
19
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type PathKeys<T> = T extends object ? {
|
|
2
|
+
[K in keyof T]-?: K extends string | number ? T[K] extends object ? [K] | [K, ...PathKeys<T[K]>] : [K] : never;
|
|
3
|
+
}[keyof T] : [];
|
|
4
|
+
export type NestedGetType<T, P extends any[]> = P extends [infer F, ...infer R] ? F extends keyof T ? NestedGetType<T[F], R> : never : T;
|
|
5
|
+
export declare function get<T, P extends PathKeys<T>>(obj: T, path: P): NestedGetType<T, P>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get';
|
package/utils/index.d.ts
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './ios-safari-scroll-buggyfill.directive';
|
|
2
|
-
export * from './ios-safari-scroll-buggyfill.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvZGlyZWN0aXZlcy9pb3Mtc2FmYXJpLXNjcm9sbC1idWdneWZpbGwvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLHNDQUFzQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pb3Mtc2FmYXJpLXNjcm9sbC1idWdneWZpbGwuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vaW9zLXNhZmFyaS1zY3JvbGwtYnVnZ3lmaWxsLm1vZHVsZSc7Il19
|
package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.mjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Directive, HostListener } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class IosSafariScrollBuggyfillDirective {
|
|
4
|
-
ngAfterViewInit() {
|
|
5
|
-
// this.el.nativeElement.addEventListener('touchmove', (e: Event) => {
|
|
6
|
-
// e.preventDefault();
|
|
7
|
-
// }, {passive: false});
|
|
8
|
-
}
|
|
9
|
-
onTouchmove(event) {
|
|
10
|
-
event.preventDefault();
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
IosSafariScrollBuggyfillDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
-
IosSafariScrollBuggyfillDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]", host: { listeners: { "touchmove": "onTouchmove($event)" } }, ngImport: i0 });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillDirective, decorators: [{
|
|
16
|
-
type: Directive,
|
|
17
|
-
args: [{
|
|
18
|
-
selector: '[iosSafariScrollBuggyfill]'
|
|
19
|
-
}]
|
|
20
|
-
}], propDecorators: { onTouchmove: [{
|
|
21
|
-
type: HostListener,
|
|
22
|
-
args: ['touchmove', ['$event']]
|
|
23
|
-
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW9zLXNhZmFyaS1zY3JvbGwtYnVnZ3lmaWxsLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tbW9uL3NyYy9kaXJlY3RpdmVzL2lvcy1zYWZhcmktc2Nyb2xsLWJ1Z2d5ZmlsbC9pb3Mtc2FmYXJpLXNjcm9sbC1idWdneWZpbGwuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBaUIsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFLdkUsTUFBTSxPQUFPLGlDQUFpQztJQUU1QyxlQUFlO1FBQ2Isc0VBQXNFO1FBQ3RFLHdCQUF3QjtRQUN4Qix3QkFBd0I7SUFDMUIsQ0FBQztJQUdELFdBQVcsQ0FBQyxLQUFZO1FBQ3RCLEtBQUssQ0FBQyxjQUFjLEVBQUUsQ0FBQztJQUN6QixDQUFDOzs4SEFYVSxpQ0FBaUM7a0hBQWpDLGlDQUFpQzsyRkFBakMsaUNBQWlDO2tCQUg3QyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSw0QkFBNEI7aUJBQ3ZDOzhCQVVDLFdBQVc7c0JBRFYsWUFBWTt1QkFBQyxXQUFXLEVBQUUsQ0FBQyxRQUFRLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBZnRlclZpZXdJbml0LCBEaXJlY3RpdmUsIEhvc3RMaXN0ZW5lciB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbaW9zU2FmYXJpU2Nyb2xsQnVnZ3lmaWxsXSdcbn0pXG5leHBvcnQgY2xhc3MgSW9zU2FmYXJpU2Nyb2xsQnVnZ3lmaWxsRGlyZWN0aXZlIGltcGxlbWVudHMgQWZ0ZXJWaWV3SW5pdCB7XG5cbiAgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge1xuICAgIC8vIHRoaXMuZWwubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKCd0b3VjaG1vdmUnLCAoZTogRXZlbnQpID0+IHtcbiAgICAvLyAgIGUucHJldmVudERlZmF1bHQoKTtcbiAgICAvLyB9LCB7cGFzc2l2ZTogZmFsc2V9KTtcbiAgfVxuXG4gIEBIb3N0TGlzdGVuZXIoJ3RvdWNobW92ZScsIFsnJGV2ZW50J10pXG4gIG9uVG91Y2htb3ZlKGV2ZW50OiBFdmVudCkge1xuICAgIGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gIH1cblxufVxuIl19
|
package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.mjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { IosSafariScrollBuggyfillDirective } from './ios-safari-scroll-buggyfill.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class IosSafariScrollBuggyfillModule {
|
|
6
|
-
}
|
|
7
|
-
IosSafariScrollBuggyfillModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
IosSafariScrollBuggyfillModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillModule, declarations: [IosSafariScrollBuggyfillDirective], imports: [CommonModule], exports: [IosSafariScrollBuggyfillDirective] });
|
|
9
|
-
IosSafariScrollBuggyfillModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillModule, imports: [CommonModule] });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IosSafariScrollBuggyfillModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [
|
|
14
|
-
IosSafariScrollBuggyfillDirective,
|
|
15
|
-
],
|
|
16
|
-
imports: [
|
|
17
|
-
CommonModule,
|
|
18
|
-
],
|
|
19
|
-
exports: [
|
|
20
|
-
IosSafariScrollBuggyfillDirective,
|
|
21
|
-
]
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW9zLXNhZmFyaS1zY3JvbGwtYnVnZ3lmaWxsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tbW9uL3NyYy9kaXJlY3RpdmVzL2lvcy1zYWZhcmktc2Nyb2xsLWJ1Z2d5ZmlsbC9pb3Mtc2FmYXJpLXNjcm9sbC1idWdneWZpbGwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8s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index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbW1vbi1kaXJlY3RpdmVzLWlvcy1zYWZhcmktc2Nyb2xsLWJ1Z2d5ZmlsbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tbW9uL3NyYy9kaXJlY3RpdmVzL2lvcy1zYWZhcmktc2Nyb2xsLWJ1Z2d5ZmlsbC9uZy1hdG9taWMtY29tbW9uLWRpcmVjdGl2ZXMtaW9zLXNhZmFyaS1zY3JvbGwtYnVnZ3lmaWxsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
package/esm2020/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IH07Il19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function resolveActions(actions, ...args) {
|
|
2
|
-
if (typeof actions === 'function') {
|
|
3
|
-
return actions(...args);
|
|
4
|
-
}
|
|
5
|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0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbW1vbi1tb2RlbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvbW9kZWxzL25nLWF0b21pYy1jb21tb24tbW9kZWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Pipe } from "@angular/core";
|
|
2
|
-
import { resolveActions } from "@ng-atomic/common/models";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class ActionsPipe {
|
|
5
|
-
transform(value, ...args) {
|
|
6
|
-
return resolveActions(value, ...args);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
ActionsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ActionsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
10
|
-
ActionsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: ActionsPipe, isStandalone: true, name: "resolveActions" });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ActionsPipe, decorators: [{
|
|
12
|
-
type: Pipe,
|
|
13
|
-
args: [{
|
|
14
|
-
standalone: true,
|
|
15
|
-
name: 'resolveActions',
|
|
16
|
-
pure: true
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9ucy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL3BpcGVzL2FjdGlvbnMvYWN0aW9ucy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDckMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDBCQUEwQixDQUFDOztBQU8xRCxNQUFNLE9BQU8sV0FBVztJQUN0QixTQUFTLENBQUMsS0FBVSxFQUFFLEdBQUcsSUFBVztRQUNsQyxPQUFPLGNBQWMsQ0FBQyxLQUFLLEVBQUUsR0FBRyxJQUFJLENBQUMsQ0FBQztJQUN4QyxDQUFDOzt3R0FIVSxXQUFXO3NHQUFYLFdBQVc7MkZBQVgsV0FBVztrQkFMdkIsSUFBSTttQkFBQztvQkFDSixVQUFVLEVBQUUsSUFBSTtvQkFDaEIsSUFBSSxFQUFFLGdCQUFnQjtvQkFDdEIsSUFBSSxFQUFFLElBQUk7aUJBQ1giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcbmltcG9ydCB7IHJlc29sdmVBY3Rpb25zIH0gZnJvbSBcIkBuZy1hdG9taWMvY29tbW9uL21vZGVsc1wiO1xuXG5AUGlwZSh7XG4gIHN0YW5kYWxvbmU6IHRydWUsXG4gIG5hbWU6ICdyZXNvbHZlQWN0aW9ucycsXG4gIHB1cmU6IHRydWVcbn0pXG5leHBvcnQgY2xhc3MgQWN0aW9uc1BpcGUge1xuICB0cmFuc2Zvcm0odmFsdWU6IGFueSwgLi4uYXJnczogYW55W10pOiBhbnkge1xuICAgIHJldHVybiByZXNvbHZlQWN0aW9ucyh2YWx1ZSwgLi4uYXJncyk7XG4gIH1cbn0iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbW1vbi1waXBlcy1hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL3BpcGVzL2FjdGlvbnMvbmctYXRvbWljLWNvbW1vbi1waXBlcy1hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Inject, InjectionToken, Optional, Pipe } from "@angular/core";
|
|
2
|
-
import { get } from 'lodash';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export const DATA_ACCESSOR = new InjectionToken('DATA_ACCESSOR');
|
|
5
|
-
export const defaultDataAccessor = (obj, key) => get(obj, key) ?? '';
|
|
6
|
-
export class DataAccessorPipe {
|
|
7
|
-
constructor(dataAccessor) {
|
|
8
|
-
this.dataAccessor = dataAccessor;
|
|
9
|
-
this.dataAccessor ?? (this.dataAccessor = defaultDataAccessor);
|
|
10
|
-
}
|
|
11
|
-
transform(data, key) {
|
|
12
|
-
return this.dataAccessor(data, key);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
DataAccessorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DataAccessorPipe, deps: [{ token: DATA_ACCESSOR, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
16
|
-
DataAccessorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DataAccessorPipe, isStandalone: true, name: "dataAccessor" });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DataAccessorPipe, decorators: [{
|
|
18
|
-
type: Pipe,
|
|
19
|
-
args: [{
|
|
20
|
-
name: 'dataAccessor',
|
|
21
|
-
pure: true,
|
|
22
|
-
standalone: true,
|
|
23
|
-
}]
|
|
24
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
25
|
-
type: Optional
|
|
26
|
-
}, {
|
|
27
|
-
type: Inject,
|
|
28
|
-
args: [DATA_ACCESSOR]
|
|
29
|
-
}] }]; } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1hY2Nlc3Nvci5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL3BpcGVzL2RhdGEtYWNjZXNzb3IvZGF0YS1hY2Nlc3Nvci5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsY0FBYyxFQUFFLFFBQVEsRUFBRSxJQUFJLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkUsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUF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luZztcbmV4cG9ydCBjb25zdCBEQVRBX0FDQ0VTU09SID0gbmV3IEluamVjdGlvblRva2VuPERhdGFBY2Nlc3Nvcjxhbnk+PignREFUQV9BQ0NFU1NPUicpO1xuZXhwb3J0IGNvbnN0IGRlZmF1bHREYXRhQWNjZXNzb3I6IERhdGFBY2Nlc3Nvcjxhbnk+ID0gKG9iaiwga2V5KSA9PiBnZXQob2JqLCBrZXkpID8/ICcnO1xuXG5AUGlwZSh7XG4gIG5hbWU6ICdkYXRhQWNjZXNzb3InLFxuICBwdXJlOiB0cnVlLFxuICBzdGFuZGFsb25lOiB0cnVlLFxufSlcbmV4cG9ydCBjbGFzcyBEYXRhQWNjZXNzb3JQaXBlPFQ+IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBAT3B0aW9uYWwoKSBASW5qZWN0KERBVEFfQUNDRVNTT1IpIHByb3RlY3RlZCBkYXRhQWNjZXNzb3I/OiBEYXRhQWNjZXNzb3I8VD4sXG4gICkge1xuICAgIHRoaXMuZGF0YUFjY2Vzc29yID8/PSBkZWZhdWx0RGF0YUFjY2Vzc29yO1xuICB9XG5cbiAgdHJhbnNmb3JtKGRhdGE6IFQsIGtleTogc3RyaW5nKSB7XG4gICAgcmV0dXJuIHRoaXMuZGF0YUFjY2Vzc29yKGRhdGEsIGtleSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbW1vbi1waXBlcy1kYXRhLWFjY2Vzc29yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL3BpcGVzL2RhdGEtYWNjZXNzb3IvbmctYXRvbWljLWNvbW1vbi1waXBlcy1kYXRhLWFjY2Vzc29yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { DomainPipe } from './domain.pipe';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class DomainModule {
|
|
6
|
-
}
|
|
7
|
-
DomainModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
DomainModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DomainModule, declarations: [DomainPipe], imports: [CommonModule], exports: [DomainPipe] });
|
|
9
|
-
DomainModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainModule, imports: [CommonModule] });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [
|
|
14
|
-
DomainPipe
|
|
15
|
-
],
|
|
16
|
-
imports: [
|
|
17
|
-
CommonModule
|
|
18
|
-
],
|
|
19
|
-
exports: [
|
|
20
|
-
DomainPipe
|
|
21
|
-
]
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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iBbXG4gICAgRG9tYWluUGlwZVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIERvbWFpbk1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Inject, InjectionToken, Optional, Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export const DOMAIN_LANG_MAP = new InjectionToken('domain lang map');
|
|
4
|
-
export class DomainPipe {
|
|
5
|
-
constructor(map) {
|
|
6
|
-
this.map = map;
|
|
7
|
-
this.map ?? (this.map = {});
|
|
8
|
-
}
|
|
9
|
-
transform(input) {
|
|
10
|
-
return this.map?.[input] ?? input;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
DomainPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainPipe, deps: [{ token: DOMAIN_LANG_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
-
DomainPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DomainPipe, name: "D" });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DomainPipe, decorators: [{
|
|
16
|
-
type: Pipe,
|
|
17
|
-
args: [{
|
|
18
|
-
name: 'D',
|
|
19
|
-
pure: true,
|
|
20
|
-
}]
|
|
21
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
22
|
-
type: Optional
|
|
23
|
-
}, {
|
|
24
|
-
type: Inject,
|
|
25
|
-
args: [DOMAIN_LANG_MAP]
|
|
26
|
-
}] }]; } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tYWluLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWd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mdNYXA+KCdkb21haW4gbGFuZyBtYXAnKTtcblxuQFBpcGUoe1xuICBuYW1lOiAnRCcsXG4gIHB1cmU6IHRydWUsXG59KVxuZXhwb3J0IGNsYXNzIERvbWFpblBpcGUge1xuICBjb25zdHJ1Y3RvcihAT3B0aW9uYWwoKSBASW5qZWN0KERPTUFJTl9MQU5HX01BUCkgcHJpdmF0ZSBtYXA6IERvbWFpbkxhbmdNYXApIHtcbiAgICB0aGlzLm1hcCA/Pz0ge307XG4gIH1cblxuICB0cmFuc2Zvcm0oaW5wdXQ6IHN0cmluZykge1xuICAgIHJldHVybiB0aGlzLm1hcD8uW2lucHV0XSA/PyBpbnB1dDtcbiAgfVxufVxuXG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { DomainModule } from './domain.module';
|
|
2
|
-
export { DomainPipe, DOMAIN_LANG_MAP } from './domain.pipe';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvcGlwZXMvZG9tYWluL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsVUFBVSxFQUFpQixlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBEb21haW5Nb2R1bGUgfSBmcm9tICcuL2RvbWFpbi5tb2R1bGUnO1xuZXhwb3J0IHsgRG9tYWluUGlwZSwgRG9tYWluTGFuZ01hcCwgRE9NQUlOX0xBTkdfTUFQIH0gZnJvbSAnLi9kb21haW4ucGlwZSc7Il19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbW1vbi1waXBlcy1kb21haW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvcGlwZXMvZG9tYWluL25nLWF0b21pYy1jb21tb24tcGlwZXMtZG9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './pagination.module';
|
|
2
|
-
export * from './pagination.pipe';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvcGlwZXMvcGFnaW5hdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3BhZ2luYXRpb24ubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vcGFnaW5hdGlvbi5waXBlJztcbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbW1vbi1waXBlcy1wYWdpbmF0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL3BpcGVzL3BhZ2luYXRpb24vbmctYXRvbWljLWNvbW1vbi1waXBlcy1wYWdpbmF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { PaginationPipe } from './pagination.pipe';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class PaginationModule {
|
|
5
|
-
}
|
|
6
|
-
PaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
-
PaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: PaginationModule, imports: [PaginationPipe], exports: [PaginationPipe] });
|
|
8
|
-
PaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationModule });
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
imports: [
|
|
13
|
-
PaginationPipe,
|
|
14
|
-
],
|
|
15
|
-
exports: [
|
|
16
|
-
PaginationPipe
|
|
17
|
-
]
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdGlvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvcGlwZXMvcGFnaW5hdGlvbi9wYWdpbmF0aW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQzs7QUFVbkQsTUFBTSxPQUFPLGdCQUFnQjs7NkdBQWhCLGdCQUFnQjs4R0FBaEIsZ0JBQWdCLFlBTnpCLGNBQWMsYUFHZCxjQUFjOzhHQUdMLGdCQUFnQjsyRkFBaEIsZ0JBQWdCO2tCQVI1QixRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRTt3QkFDUCxjQUFjO3FCQUNmO29CQUNELE9BQU8sRUFBRTt3QkFDUCxjQUFjO3FCQUNmO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFBhZ2luYXRpb25QaXBlIH0gZnJvbSAnLi9wYWdpbmF0aW9uLnBpcGUnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgUGFnaW5hdGlvblBpcGUsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBQYWdpbmF0aW9uUGlwZVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIFBhZ2luYXRpb25Nb2R1bGUgeyB9XG4iXX0=
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Inject, InjectionToken, Optional, Pipe } from '@angular/core';
|
|
2
|
-
import { smartSortByTransformer } from '@ng-atomic/common/pipes/smart-sort-by';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export const PAGINATION_TRANSFORMER = new InjectionToken('[@ng-atomic/pipes] Pagination Transformer');
|
|
5
|
-
export function paginationTransformer(items, page) {
|
|
6
|
-
return smartSortByTransformer(items, page.key, page.order).slice(page.start, page.end);
|
|
7
|
-
}
|
|
8
|
-
export class PaginationPipe {
|
|
9
|
-
constructor(transformer) {
|
|
10
|
-
this.transformer = transformer;
|
|
11
|
-
this.transformer ?? (this.transformer = paginationTransformer);
|
|
12
|
-
}
|
|
13
|
-
transform(items, { sortKey = null, sortOrder = 'asc', start = 0, end = 0 } = {}) {
|
|
14
|
-
return this.transformer(items, { key: sortKey, order: sortOrder, start, end });
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
PaginationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationPipe, deps: [{ token: PAGINATION_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
18
|
-
PaginationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: PaginationPipe, isStandalone: true, name: "pagination" });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PaginationPipe, decorators: [{
|
|
20
|
-
type: Pipe,
|
|
21
|
-
args: [{
|
|
22
|
-
standalone: true,
|
|
23
|
-
name: 'pagination',
|
|
24
|
-
pure: true,
|
|
25
|
-
}]
|
|
26
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
27
|
-
type: Optional
|
|
28
|
-
}, {
|
|
29
|
-
type: Inject,
|
|
30
|
-
args: [PAGINATION_TRANSFORMER]
|
|
31
|
-
}] }]; } });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdGlvbi5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL3BpcGVzL3BhZ2luYXRpb24vcGFnaW5hdGlvbi5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsY0FBYyxFQUFFLFFBQVEsRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDOztBQVMvRSxNQUFNLENBQUMsTUFBTSxzQkFBc0IsR0FBRyxJQUFJLGNBQWMsQ0FBQywyQ0FBMkMsQ0FBQyxDQUFDO0FBRXRHLE1BQU0sVUFBVSxxQkFBcUIsQ0FBSSxLQUFVLEVBQUUsSUFBVTtJQUM3RCxPQUFPLHNCQUFzQixDQUFDLEtBQUssRUFBRSxJQUFJLENBQUMsR0FBRyxFQUFFLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLEtBQUssRUFBRSxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDekYsQ0FBQztBQU9ELE1BQU0sT0FBTyxjQUFjO0lBRXpCLFlBR1UsV0FBcUM7UUFBckMsZ0JBQVcsR0FBWCxXQUFXLENBQTBCO1FBRTdDLElBQUksQ0FBQyxXQUFXLEtBQWhCLElBQUksQ0FBQyxXQUFXLEdBQUsscUJBQXFCL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5zZm9ybWVyKGl0ZW1zLCB7IGtleTogc29ydEtleSwgb3JkZXI6IHNvcnRPcmRlciwgc3RhcnQsIGVuZCB9KTtcbiAgfVxufVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbW1vbi1waXBlcy1zZWxlY3QtaWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvcGlwZXMvc2VsZWN0LWlkL25nLWF0b21pYy1jb21tb24tcGlwZXMtc2VsZWN0LWlkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|