@ng-atomic/common 19.0.0-preview.9 → 19.1.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/fallback-src/index.d.ts +12 -1
- package/directives/ios-safari-scroll-buggyfill/index.d.ts +18 -2
- package/directives/molecules/column/index.d.ts +70 -1
- package/directives/resize-column/index.d.ts +24 -1
- package/fesm2022/ng-atomic-common-directives-fallback-src.mjs +3 -3
- package/fesm2022/ng-atomic-common-directives-fallback-src.mjs.map +1 -1
- package/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 -1
- package/fesm2022/ng-atomic-common-directives-molecules-column.mjs +7 -7
- 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-directives-resize-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-interceptors-authorization.mjs +3 -3
- 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-throttle.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-interceptors-token.mjs +3 -3
- package/fesm2022/ng-atomic-common-interceptors-token.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-interceptors.mjs +4 -4
- package/fesm2022/ng-atomic-common-interceptors.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-models.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-actions.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-actions.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-auto-columns.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-auto-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-data-accessor.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-data-accessor.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-domain.mjs +17 -7
- package/fesm2022/ng-atomic-common-pipes-domain.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-error.mjs +11 -6
- package/fesm2022/ng-atomic-common-pipes-error.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-expression.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-expression.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-grouped-by.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-grouped-by.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-index-length.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-index-length.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-index.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-index.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-keys.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-keys.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-map.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-map.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-page.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-page.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-pagination.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-pagination.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-query.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-query.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-resolve-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-resolve-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-secret.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-secret.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-select-id.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-select-id.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-signal.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-signal.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-smart-field.mjs +7 -4
- package/fesm2022/ng-atomic-common-pipes-smart-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-sort-by.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-sort-by.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-sort.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-style.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-style.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-pipes-yen.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-yen.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-app.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-app.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-auth.mjs +29 -6
- package/fesm2022/ng-atomic-common-services-auth.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-breakpoint.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-breakpoint.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-chips-manager.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-chips-manager.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-csv.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-csv.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-editing.mjs +56 -0
- package/fesm2022/ng-atomic-common-services-editing.mjs.map +1 -0
- package/fesm2022/ng-atomic-common-services-fab.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-fab.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-form-_index.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-form-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-form-json-schema.mjs +127 -19
- package/fesm2022/ng-atomic-common-services-form-json-schema.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-form-pagination.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-pagination.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-form-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-sort.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-form.mjs +37 -2
- package/fesm2022/ng-atomic-common-services-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-initializer.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-initializer.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-language.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-language.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-loading.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-loading.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-navigation-history.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-navigation-history.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-query-resolver.mjs +7 -7
- package/fesm2022/ng-atomic-common-services-query-resolver.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-root-property.mjs +9 -9
- 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-router.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-secret.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-secret.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-sheets-actions.mjs +5 -5
- package/fesm2022/ng-atomic-common-services-sheets-actions.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-sheets.mjs +11 -14
- package/fesm2022/ng-atomic-common-services-sheets.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-side-app.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-side-app.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-side-nav-mode.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-side-nav-mode.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-snack-bar.mjs +7 -7
- package/fesm2022/ng-atomic-common-services-snack-bar.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-spreadsheet.mjs +433 -197
- package/fesm2022/ng-atomic-common-services-spreadsheet.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-services-ui.mjs +45 -19
- package/fesm2022/ng-atomic-common-services-ui.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-stores-entities.mjs +19 -18
- package/fesm2022/ng-atomic-common-stores-entities.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-stores-entity.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-stores-pagination.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-pagination.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-stores-query.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-query.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-stores-selection.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-selection.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-stores-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-sort.mjs.map +1 -1
- package/fesm2022/ng-atomic-common-utils.mjs +22 -12
- package/fesm2022/ng-atomic-common-utils.mjs.map +1 -1
- package/fesm2022/ng-atomic-common.mjs +340 -50
- package/fesm2022/ng-atomic-common.mjs.map +1 -1
- package/index.d.ts +111 -1
- package/interceptors/authorization/index.d.ts +20 -1
- package/interceptors/index.d.ts +10 -1
- package/interceptors/throttle/index.d.ts +25 -1
- package/interceptors/token/index.d.ts +17 -1
- package/models/index.d.ts +32 -11
- package/package.json +15 -35
- package/pipes/actions/index.d.ts +11 -1
- package/pipes/auto-columns/index.d.ts +10 -1
- package/pipes/columns/index.d.ts +12 -1
- package/pipes/data-accessor/index.d.ts +23 -1
- package/pipes/domain/index.d.ts +72 -1
- package/pipes/error/index.d.ts +21 -1
- package/pipes/expression/index.d.ts +13 -1
- package/pipes/grouped-by/index.d.ts +13 -1
- package/pipes/index/index.d.ts +17 -1
- package/pipes/index-length/index.d.ts +15 -1
- package/pipes/keys/index.d.ts +12 -1
- package/pipes/map/index.d.ts +10 -1
- package/pipes/page/index.d.ts +14 -1
- package/pipes/pagination/index.d.ts +28 -1
- package/pipes/query/index.d.ts +14 -1
- package/pipes/resolve-columns/index.d.ts +14 -1
- package/pipes/secret/index.d.ts +11 -1
- package/pipes/select-id/index.d.ts +16 -1
- package/pipes/signal/index.d.ts +15 -1
- package/pipes/smart-field/index.d.ts +102 -1
- package/pipes/sort/index.d.ts +11 -1
- package/pipes/sort-by/index.d.ts +20 -1
- package/pipes/style/index.d.ts +22 -1
- package/pipes/yen/index.d.ts +10 -1
- package/services/app/index.d.ts +37 -1
- package/services/auth/index.d.ts +56 -1
- package/services/breakpoint/index.d.ts +35 -1
- package/services/chips-manager/index.d.ts +14 -1
- package/services/csv/index.d.ts +9 -1
- package/services/editing/index.d.ts +30 -0
- package/services/fab/index.d.ts +22 -1
- package/services/form/_index/index.d.ts +61 -1
- package/services/form/columns/index.d.ts +68 -1
- package/services/form/index.d.ts +34 -1
- package/services/form/json-schema/index.d.ts +73 -1
- package/services/form/pagination/index.d.ts +21 -1
- package/services/form/sort/index.d.ts +21 -1
- package/services/initializer/index.d.ts +24 -1
- package/services/language/index.d.ts +16 -1
- package/services/loading/index.d.ts +33 -1
- package/services/navigation-history/index.d.ts +17 -1
- package/services/query-resolver/index.d.ts +32 -1
- package/services/root-property/index.d.ts +100 -2
- package/services/router/index.d.ts +15 -1
- package/services/secret/index.d.ts +9 -1
- package/services/sheets/actions/index.d.ts +12 -1
- package/services/sheets/index.d.ts +20 -2
- package/services/side-app/index.d.ts +24 -1
- package/services/side-nav-mode/index.d.ts +16 -1
- package/services/snack-bar/index.d.ts +22 -2
- package/services/spreadsheet/index.d.ts +307 -4
- package/services/ui/index.d.ts +104 -2
- package/stores/entities/index.d.ts +169 -6
- package/stores/entity/index.d.ts +31 -1
- package/stores/pagination/index.d.ts +24 -1
- package/stores/query/index.d.ts +22 -1
- package/stores/selection/index.d.ts +28 -1
- package/stores/sort/index.d.ts +25 -1
- package/utils/index.d.ts +236 -13
- package/common.module.d.ts +0 -15
- package/directives/fallback-src/fallback-src.directive.d.ts +0 -9
- package/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.d.ts +0 -8
- package/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.d.ts +0 -8
- package/directives/molecules/column/column.molecule.d.ts +0 -67
- package/directives/resize-column/resize-column.directive.d.ts +0 -21
- package/directives/resize-column/resize-handle.component.d.ts +0 -5
- package/interceptors/authorization/authorization.interceptor.d.ts +0 -16
- package/interceptors/interceptors.module.d.ts +0 -7
- package/interceptors/throttle/throttle.interceptor.d.ts +0 -23
- package/interceptors/token/authorization.interceptor.d.ts +0 -13
- package/models/menu-item.d.ts +0 -4
- package/pipes/actions/actions.pipe.d.ts +0 -8
- package/pipes/auto-columns/auto-columns.pipe.d.ts +0 -7
- package/pipes/columns/columns.pipe.d.ts +0 -9
- package/pipes/data-accessor/data-accessor.pipe.d.ts +0 -19
- package/pipes/domain/domain.pipe.d.ts +0 -59
- package/pipes/error/error.pipe.d.ts +0 -16
- package/pipes/expression/expression.pipe.d.ts +0 -9
- package/pipes/grouped-by/grouped-by.pipe.d.ts +0 -10
- package/pipes/index/index.pipe.d.ts +0 -11
- package/pipes/index-length/index-length.pipe.d.ts +0 -10
- package/pipes/keys/keys.pipe.d.ts +0 -9
- package/pipes/map/map.pipe.d.ts +0 -7
- package/pipes/page/page.pipe.d.ts +0 -11
- package/pipes/pagination/pagination.pipe.d.ts +0 -25
- package/pipes/query/query.pipe.d.ts +0 -11
- package/pipes/resolve-columns/resolve-columns.pipe.d.ts +0 -11
- package/pipes/secret/secret.pipe.d.ts +0 -8
- package/pipes/select-id/select-id.pipe.d.ts +0 -12
- package/pipes/signal/signal.pipe.d.ts +0 -11
- package/pipes/smart-field/smart-field.pipe.d.ts +0 -98
- package/pipes/sort/sort.pipe.d.ts +0 -8
- package/pipes/sort-by/sort-by.pipe.d.ts +0 -17
- package/pipes/style/style.pipe.d.ts +0 -18
- package/pipes/yen/yen.pipe.d.ts +0 -7
- package/services/app/app.service.d.ts +0 -34
- package/services/auth/auth.service.d.ts +0 -48
- package/services/breakpoint/breakpoint.service.d.ts +0 -29
- package/services/chips-manager/chips.manager.d.ts +0 -11
- package/services/csv/csv.service.d.ts +0 -6
- package/services/fab/fab.service.d.ts +0 -18
- package/services/form/_index/index.service.d.ts +0 -64
- package/services/form/columns/columns.service.d.ts +0 -63
- package/services/form/form.service.d.ts +0 -7
- package/services/form/json-schema/json-schema.d.ts +0 -2
- package/services/form/json-schema/json-schema.service.d.ts +0 -65
- package/services/form/pagination/pagination.service.d.ts +0 -16
- package/services/form/sort/sort.service.d.ts +0 -17
- package/services/initializer/initializer.service.d.ts +0 -22
- package/services/language/language.service.d.ts +0 -12
- package/services/loading/loading.service.d.ts +0 -30
- package/services/navigation-history/navigation-history.service.d.ts +0 -14
- package/services/query-resolver/query-resolver.service.d.ts +0 -27
- package/services/root-property/root-property.di.d.ts +0 -1
- package/services/root-property/root-property.service.d.ts +0 -94
- package/services/router/router.service.d.ts +0 -10
- package/services/secret/secret.service.d.ts +0 -6
- package/services/sheets/actions/actions.sheet.d.ts +0 -9
- package/services/sheets/sheets.module.d.ts +0 -11
- package/services/sheets/sheets.service.d.ts +0 -10
- package/services/side-app/side-app.service.d.ts +0 -21
- package/services/side-nav-mode/side-nav-mode.service.d.ts +0 -12
- package/services/snack-bar/snack-bar.module.d.ts +0 -8
- package/services/snack-bar/snack-bar.service.d.ts +0 -11
- package/services/spreadsheet/directives/grid-cell.directive.d.ts +0 -41
- package/services/spreadsheet/directives/index.d.ts +0 -1
- package/services/spreadsheet/features/clipboard.service.d.ts +0 -15
- package/services/spreadsheet/features/data.service.d.ts +0 -16
- package/services/spreadsheet/features/editor.service.d.ts +0 -22
- package/services/spreadsheet/features/grid.service.d.ts +0 -17
- package/services/spreadsheet/features/index.d.ts +0 -7
- package/services/spreadsheet/features/navigation.service.d.ts +0 -17
- package/services/spreadsheet/features/protection.service.d.ts +0 -24
- package/services/spreadsheet/features/selection.service.d.ts +0 -40
- package/services/spreadsheet/models/cell.model.d.ts +0 -17
- package/services/spreadsheet/models/index.d.ts +0 -1
- package/services/spreadsheet/spreadsheet.service.d.ts +0 -29
- package/services/ui/ui.helpers.d.ts +0 -32
- package/services/ui/ui.service.d.ts +0 -22
- package/stores/entities/di.d.ts +0 -23
- package/stores/entities/entity-store-adapter.d.ts +0 -28
- package/stores/entities/entity-store-manager.d.ts +0 -12
- package/stores/entities/entity-store.d.ts +0 -71
- package/stores/entities/proxy-id.service.d.ts +0 -10
- package/stores/entities/task-composer.d.ts +0 -35
- package/stores/entity/entity.store.d.ts +0 -26
- package/stores/pagination/pagination.store.d.ts +0 -19
- package/stores/query/query.store.d.ts +0 -17
- package/stores/selection/selection.store.d.ts +0 -23
- package/stores/sort/sort.store.d.ts +0 -20
- package/utils/comma/comma.d.ts +0 -3
- package/utils/comma/index.d.ts +0 -1
- package/utils/compare-by-id/compare-by-id.d.ts +0 -5
- package/utils/compare-by-id/index.d.ts +0 -1
- package/utils/date-utils/date-utils.d.ts +0 -10
- package/utils/date-utils/index.d.ts +0 -1
- package/utils/diff/diff.d.ts +0 -5
- package/utils/diff/index.d.ts +0 -1
- package/utils/expression/expression.transformer.d.ts +0 -12
- package/utils/expression/index.d.ts +0 -1
- package/utils/form/form.d.ts +0 -10
- package/utils/form/index.d.ts +0 -1
- package/utils/get/get.d.ts +0 -6
- package/utils/get/index.d.ts +0 -1
- package/utils/inject/index.d.ts +0 -1
- package/utils/inject/inject.d.ts +0 -76
- package/utils/mat-dayjs-date/dayjs-date.adapter.d.ts +0 -60
- package/utils/mat-dayjs-date/dayjs-date.formats.d.ts +0 -5
- package/utils/mat-dayjs-date/dayjs-date.module.d.ts +0 -8
- package/utils/mat-dayjs-date/dayjs-jp-providers.d.ts +0 -10
- package/utils/mat-dayjs-date/index.d.ts +0 -4
- package/utils/page/index.d.ts +0 -1
- package/utils/page/page.d.ts +0 -11
- package/utils/router/index.d.ts +0 -1
- package/utils/router/router.d.ts +0 -4
- package/utils/time.d.ts +0 -1
- package/utils/to-object/index.d.ts +0 -1
- package/utils/to-object/to-object.d.ts +0 -1
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { FormBuilder, FormGroup, NonNullableFormBuilder } from "@angular/forms";
|
|
2
|
-
import { JsonSchema } from "json-schema-library";
|
|
3
|
-
import { FormFieldMap } from "@ng-atomic/common/pipes/smart-field";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class JsonSchemaFormUtils {
|
|
6
|
-
static removeObjectPercent<T extends object>(value: T): any;
|
|
7
|
-
static buildFormGroupByJsonSchema(schema: JsonSchema, { fb, value, }?: {
|
|
8
|
-
fb?: FormBuilder | NonNullableFormBuilder;
|
|
9
|
-
value?: object;
|
|
10
|
-
}): FormGroup;
|
|
11
|
-
static buildFormArrayByJsonSchema(schema: JsonSchema, { fb, value, }?: {
|
|
12
|
-
fb?: FormBuilder | NonNullableFormBuilder;
|
|
13
|
-
value?: any[];
|
|
14
|
-
}): any;
|
|
15
|
-
static buildFormByJsonSchemaProperty(property: JsonSchema, { fb, value, validators, }?: {
|
|
16
|
-
fb?: FormBuilder | NonNullableFormBuilder;
|
|
17
|
-
value?: object | object[];
|
|
18
|
-
validators?: any[];
|
|
19
|
-
}): any;
|
|
20
|
-
static buildFormByJsonSchema(schema: JsonSchema, { fb, value, fieldMap, }?: {
|
|
21
|
-
fb?: FormBuilder | NonNullableFormBuilder;
|
|
22
|
-
value?: object;
|
|
23
|
-
fieldMap?: object;
|
|
24
|
-
}): any;
|
|
25
|
-
static buildFormFieldByProperty(property: JsonSchema['properties']): {
|
|
26
|
-
type: string;
|
|
27
|
-
options: any;
|
|
28
|
-
} | {
|
|
29
|
-
type: any;
|
|
30
|
-
options?: undefined;
|
|
31
|
-
};
|
|
32
|
-
static buildFormFieldMapByJsonSchema(schema: JsonSchema, options?: {
|
|
33
|
-
merge?: {
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
};
|
|
36
|
-
}): any;
|
|
37
|
-
}
|
|
38
|
-
export declare function buildFormGroup(klass: new () => any, { fb, value, }: {
|
|
39
|
-
fb?: FormBuilder | NonNullableFormBuilder;
|
|
40
|
-
value?: object;
|
|
41
|
-
}): FormGroup;
|
|
42
|
-
export declare function buildFormFieldMap(klass: new () => any, options: {
|
|
43
|
-
merge?: {
|
|
44
|
-
[key: string]: any;
|
|
45
|
-
};
|
|
46
|
-
}): any;
|
|
47
|
-
export declare function buildForm(klass: new () => any, { fb, value, fieldMap, }?: {
|
|
48
|
-
fb?: FormBuilder | NonNullableFormBuilder;
|
|
49
|
-
value?: object;
|
|
50
|
-
fieldMap?: FormFieldMap;
|
|
51
|
-
}): any;
|
|
52
|
-
export declare class JsonSchemaFormService {
|
|
53
|
-
private fb;
|
|
54
|
-
build(schema: JsonSchema, { fb, value, }?: {
|
|
55
|
-
fb?: FormBuilder | NonNullableFormBuilder;
|
|
56
|
-
value?: object;
|
|
57
|
-
}): FormGroup;
|
|
58
|
-
buildFieldMap(schema: JsonSchema, options?: {
|
|
59
|
-
merge?: {
|
|
60
|
-
[key: string]: any;
|
|
61
|
-
};
|
|
62
|
-
}): any;
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JsonSchemaFormService, never>;
|
|
64
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<JsonSchemaFormService>;
|
|
65
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export interface PaginationFormValue {
|
|
3
|
-
size: number;
|
|
4
|
-
index: number;
|
|
5
|
-
length: number;
|
|
6
|
-
}
|
|
7
|
-
export declare class PaginationService {
|
|
8
|
-
private fb;
|
|
9
|
-
build({ size, index, length, }?: Partial<PaginationFormValue>): import("@angular/forms").FormGroup<{
|
|
10
|
-
size: import("@angular/forms").FormControl<number>;
|
|
11
|
-
index: import("@angular/forms").FormControl<number>;
|
|
12
|
-
length: import("@angular/forms").FormControl<number>;
|
|
13
|
-
}>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PaginationService>;
|
|
16
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface SortFormValue {
|
|
4
|
-
key?: string;
|
|
5
|
-
order?: 'asc' | 'desc';
|
|
6
|
-
}
|
|
7
|
-
export declare class SortService {
|
|
8
|
-
private fb;
|
|
9
|
-
constructor(fb: FormBuilder);
|
|
10
|
-
build({ key, order }?: Partial<SortFormValue>): FormGroup<{
|
|
11
|
-
key: FormControl<string>;
|
|
12
|
-
order: FormControl<"asc" | "desc">;
|
|
13
|
-
}>;
|
|
14
|
-
toggle(form: ReturnType<typeof this.build>, name: string): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SortService>;
|
|
17
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type StoreInitializer<S> = (store: S) => Promise<void> | void;
|
|
4
|
-
export declare function makeInitializerConfig<S>(klass: {
|
|
5
|
-
new (): S;
|
|
6
|
-
}): {
|
|
7
|
-
provide<SI extends StoreInitializer<S>>(initializer: SI): {
|
|
8
|
-
provide: InjectionToken<StoreInitializer<any>>;
|
|
9
|
-
useValue: {
|
|
10
|
-
key: new () => S;
|
|
11
|
-
initializer: StoreInitializer<S>;
|
|
12
|
-
};
|
|
13
|
-
multi: boolean;
|
|
14
|
-
}[];
|
|
15
|
-
inject(): StoreInitializer<S>[];
|
|
16
|
-
initializeStore(store: S): Promise<void>;
|
|
17
|
-
};
|
|
18
|
-
export declare class InitializerService {
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InitializerService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InitializerService>;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type DomainLangMap = Record<string, string>;
|
|
4
|
-
export declare const DOMAIN_LANG_MAP: InjectionToken<DomainLangMap>;
|
|
5
|
-
export declare class LanguageService {
|
|
6
|
-
protected map: DomainLangMap;
|
|
7
|
-
protected regexResolvers: (((key: string) => string) | (() => any))[];
|
|
8
|
-
translate(text: string, src: string, dest: string, context?: any): string;
|
|
9
|
-
transform(input: string, map?: DomainLangMap): string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LanguageService>;
|
|
12
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Signal } from '@angular/core';
|
|
2
|
-
import { ObservableInput, ObservedValueOf, OperatorFunction } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
type LoadingMap = Record<string, Record<string, boolean>>;
|
|
5
|
-
export declare class LoadingService {
|
|
6
|
-
readonly loadingMap: import("@angular/core").WritableSignal<LoadingMap>;
|
|
7
|
-
readonly loadingMap$: import("rxjs").Observable<LoadingMap>;
|
|
8
|
-
readonly isLoading: Signal<boolean>;
|
|
9
|
-
readonly isLoading$: import("rxjs").Observable<boolean>;
|
|
10
|
-
readonly isProgress: (domain?: string) => boolean;
|
|
11
|
-
constructor();
|
|
12
|
-
getIsLoading(domain?: string): Signal<boolean>;
|
|
13
|
-
start(key?: string, domain?: string): string;
|
|
14
|
-
end(key: string, domain?: string): void;
|
|
15
|
-
await<T = any>(callback: (...args: any[]) => Promise<T | void> | (T | void), domain?: string, key?: string): Promise<T | void>;
|
|
16
|
-
switchMap<T, O extends ObservableInput<any>>(project: (value: T, index: number) => O, domain?: string, key?: string): OperatorFunction<T, ObservedValueOf<O>>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
|
|
19
|
-
}
|
|
20
|
-
export declare class NoopLoadingService extends LoadingService {
|
|
21
|
-
readonly isLoading$: import("rxjs").Observable<boolean>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NoopLoadingService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NoopLoadingService>;
|
|
24
|
-
}
|
|
25
|
-
export declare function provideNoopLoadingService(): {
|
|
26
|
-
provide: typeof LoadingService;
|
|
27
|
-
useClass: typeof NoopLoadingService;
|
|
28
|
-
};
|
|
29
|
-
export declare function randomStr(n?: number): string;
|
|
30
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class NavigationHistoryService {
|
|
3
|
-
private readonly platformId;
|
|
4
|
-
private readonly router;
|
|
5
|
-
protected readonly history: import("@angular/core").WritableSignal<string[]>;
|
|
6
|
-
readonly hasPrevHistory: import("@angular/core").Signal<boolean>;
|
|
7
|
-
readonly isInitial: import("@angular/core").Signal<boolean>;
|
|
8
|
-
pop(): void;
|
|
9
|
-
push(url: string): void;
|
|
10
|
-
replace(url: string): void;
|
|
11
|
-
constructor();
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationHistoryService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationHistoryService>;
|
|
14
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
interface Query {
|
|
3
|
-
key: string;
|
|
4
|
-
operator: ':' | '>' | '<' | '=';
|
|
5
|
-
value: string;
|
|
6
|
-
not: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare class QueryParserService {
|
|
9
|
-
parse(query: string): Query[];
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QueryParserService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<QueryParserService>;
|
|
12
|
-
}
|
|
13
|
-
export declare class QueryResolverService<T extends object> {
|
|
14
|
-
protected parser: QueryParserService;
|
|
15
|
-
protected dataAccessor: import("@ng-atomic/common/pipes/data-accessor").DataAccessor<any>;
|
|
16
|
-
protected transformer: import("@ng-atomic/common/utils").ExpressionTransformer;
|
|
17
|
-
protected map: import("@ng-atomic/common/services/language").DomainLangMap;
|
|
18
|
-
protected reversedMap: Record<string, string>;
|
|
19
|
-
resolve(items: T[], queryStr?: string): T[];
|
|
20
|
-
protected executeQuery(items: T[], query: Query): T[];
|
|
21
|
-
protected operateByKey(item: T, operator: QueryOperator, { key, value, not }: Query): boolean;
|
|
22
|
-
protected operateByAllKey(item: T, operator: QueryOperator, query: Query): boolean;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QueryResolverService<any>, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<QueryResolverService<any>>;
|
|
25
|
-
}
|
|
26
|
-
type QueryOperator = (_value: any, query: string) => boolean;
|
|
27
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function provideRootProperty(): (import("@angular/core").Provider | import("@angular/core").EnvironmentProviders)[];
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MaterialCssVarsService } from 'angular-material-css-vars';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RootPropertyService {
|
|
5
|
-
static readonly Config: {
|
|
6
|
-
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
7
|
-
'--primary-color': string;
|
|
8
|
-
'--on-primary-color': string;
|
|
9
|
-
'--surface-color': string;
|
|
10
|
-
'--on-surface-color': string;
|
|
11
|
-
'--background-color': string;
|
|
12
|
-
'--menu-width': string;
|
|
13
|
-
'--page-width-lv1': string;
|
|
14
|
-
'--page-width-lv2': string;
|
|
15
|
-
'--page-width-lv3': string;
|
|
16
|
-
'--page-width-lv4': string;
|
|
17
|
-
'--page-height-lv1': string;
|
|
18
|
-
}>, label?: string): import("@angular/core").Provider;
|
|
19
|
-
inject(): import("@angular/core").Signal<{
|
|
20
|
-
'--primary-color': string;
|
|
21
|
-
'--on-primary-color': string;
|
|
22
|
-
'--surface-color': string;
|
|
23
|
-
'--on-surface-color': string;
|
|
24
|
-
'--background-color': string;
|
|
25
|
-
'--menu-width': string;
|
|
26
|
-
'--page-width-lv1': string;
|
|
27
|
-
'--page-width-lv2': string;
|
|
28
|
-
'--page-width-lv3': string;
|
|
29
|
-
'--page-width-lv4': string;
|
|
30
|
-
'--page-height-lv1': string;
|
|
31
|
-
}>;
|
|
32
|
-
};
|
|
33
|
-
static provideColorSchemaA(): import("@angular/core").Provider;
|
|
34
|
-
static provideColorSchema1: typeof RootPropertyService.provideColorSchemaA;
|
|
35
|
-
static provideMenuWidthForIconButtonMenu(): import("@angular/core").Provider;
|
|
36
|
-
readonly config: import("@angular/core").Signal<{
|
|
37
|
-
'--primary-color': string;
|
|
38
|
-
'--on-primary-color': string;
|
|
39
|
-
'--surface-color': string;
|
|
40
|
-
'--on-surface-color': string;
|
|
41
|
-
'--background-color': string;
|
|
42
|
-
'--menu-width': string;
|
|
43
|
-
'--page-width-lv1': string;
|
|
44
|
-
'--page-width-lv2': string;
|
|
45
|
-
'--page-width-lv3': string;
|
|
46
|
-
'--page-width-lv4': string;
|
|
47
|
-
'--page-height-lv1': string;
|
|
48
|
-
}>;
|
|
49
|
-
readonly platformId: Object;
|
|
50
|
-
readonly matCssVar: MaterialCssVarsService;
|
|
51
|
-
constructor();
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RootPropertyService, never>;
|
|
53
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RootPropertyService>;
|
|
54
|
-
}
|
|
55
|
-
export declare class NgAtomicStyleDirective {
|
|
56
|
-
#private;
|
|
57
|
-
private rootPropertyService;
|
|
58
|
-
readonly platformId: Object;
|
|
59
|
-
constructor(rootPropertyService: RootPropertyService);
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgAtomicStyleDirective, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgAtomicStyleDirective, "[atomicStyle]", never, {}, {}, never, never, true, never>;
|
|
62
|
-
}
|
|
63
|
-
export declare class RootPropertyGuard {
|
|
64
|
-
readonly properties: import("@angular/core").Signal<{
|
|
65
|
-
'--primary-color': string;
|
|
66
|
-
'--on-primary-color': string;
|
|
67
|
-
'--surface-color': string;
|
|
68
|
-
'--on-surface-color': string;
|
|
69
|
-
'--background-color': string;
|
|
70
|
-
'--menu-width': string;
|
|
71
|
-
'--page-width-lv1': string;
|
|
72
|
-
'--page-width-lv2': string;
|
|
73
|
-
'--page-width-lv3': string;
|
|
74
|
-
'--page-width-lv4': string;
|
|
75
|
-
'--page-height-lv1': string;
|
|
76
|
-
}>;
|
|
77
|
-
readonly properties$: Observable<{
|
|
78
|
-
'--primary-color': string;
|
|
79
|
-
'--on-primary-color': string;
|
|
80
|
-
'--surface-color': string;
|
|
81
|
-
'--on-surface-color': string;
|
|
82
|
-
'--background-color': string;
|
|
83
|
-
'--menu-width': string;
|
|
84
|
-
'--page-width-lv1': string;
|
|
85
|
-
'--page-width-lv2': string;
|
|
86
|
-
'--page-width-lv3': string;
|
|
87
|
-
'--page-width-lv4': string;
|
|
88
|
-
'--page-height-lv1': string;
|
|
89
|
-
}>;
|
|
90
|
-
readonly platformId: Object;
|
|
91
|
-
canActivate(): Observable<boolean>;
|
|
92
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RootPropertyGuard, never>;
|
|
93
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RootPropertyGuard>;
|
|
94
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare function walkActivatedRoute(route: ActivatedRoute, callback: (route: ActivatedRoute) => boolean): void;
|
|
4
|
-
export declare class RouterService extends Router {
|
|
5
|
-
readonly router: Router;
|
|
6
|
-
readonly events$: import("rxjs").Observable<import("@angular/router").Event>;
|
|
7
|
-
back(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RouterService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RouterService>;
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SecretService {
|
|
3
|
-
readonly isSecret: import("@angular/core").WritableSignal<boolean>;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SecretService, never>;
|
|
5
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SecretService>;
|
|
6
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Action, NgAtomicComponent } from '@ng-atomic/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ActionsSheet extends NgAtomicComponent {
|
|
4
|
-
protected actions: Action<any>[];
|
|
5
|
-
private sheetRef;
|
|
6
|
-
protected onItemClick(action: Action): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsSheet, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsSheet, "sheets-actions", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/material/bottom-sheet";
|
|
3
|
-
export declare class NgAtomicSheetsModule {
|
|
4
|
-
static forRoot(): {
|
|
5
|
-
ngModule: typeof NgAtomicSheetsModule;
|
|
6
|
-
providers: any[];
|
|
7
|
-
};
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgAtomicSheetsModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgAtomicSheetsModule, never, [typeof i1.MatBottomSheetModule], never>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgAtomicSheetsModule>;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
2
|
-
import { Action } from '@ng-atomic/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SheetService {
|
|
5
|
-
private bottomSheet;
|
|
6
|
-
constructor(bottomSheet: MatBottomSheet);
|
|
7
|
-
openActions(actions: Action[]): Promise<Action | null>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SheetService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SheetService>;
|
|
10
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { NavigationExtras, Router } from '@angular/router';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SideAppRouter extends Router {
|
|
4
|
-
protected sideApp: SideAppService;
|
|
5
|
-
setSideApp(sideApp: SideAppService): void;
|
|
6
|
-
navigate(commands: any[], extras?: NavigationExtras & {
|
|
7
|
-
expanded?: boolean;
|
|
8
|
-
}): Promise<boolean>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideAppRouter, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SideAppRouter>;
|
|
11
|
-
}
|
|
12
|
-
export declare class SideAppService {
|
|
13
|
-
readonly opened: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
-
readonly router: SideAppRouter;
|
|
15
|
-
constructor();
|
|
16
|
-
toggle(): void;
|
|
17
|
-
collapse(): void;
|
|
18
|
-
expand(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideAppService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SideAppService>;
|
|
21
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export type SideNavMode = 'expanded' | 'collapsed';
|
|
3
|
-
export declare class SideNavModeService {
|
|
4
|
-
readonly sideNavMode: import("@angular/core").WritableSignal<SideNavMode>;
|
|
5
|
-
/** @deprecated use toggle() instead */
|
|
6
|
-
toggleSideNav(): void;
|
|
7
|
-
toggle(): void;
|
|
8
|
-
collapse(): void;
|
|
9
|
-
expand(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideNavModeService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SideNavModeService>;
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/material/snack-bar";
|
|
4
|
-
export declare class SnackBarModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SnackBarModule, never, [typeof i1.CommonModule, typeof i2.MatSnackBarModule], never>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SnackBarModule>;
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Clipboard } from '@angular/cdk/clipboard';
|
|
2
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SnackBarService {
|
|
5
|
-
protected readonly clipboard: Clipboard;
|
|
6
|
-
protected readonly snackBar: MatSnackBar;
|
|
7
|
-
open(message: string, action?: string): import("@angular/material/snack-bar").MatSnackBarRef<import("@angular/material/snack-bar").TextOnlySnackBar>;
|
|
8
|
-
openError(error: Error | string): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SnackBarService>;
|
|
11
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ElementRef, AfterViewInit } from "@angular/core";
|
|
2
|
-
import { SpreadSheetService } from "../spreadsheet.service";
|
|
3
|
-
import { CellContext } from "../models/cell.model";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SpreadSheetCell implements AfterViewInit {
|
|
6
|
-
protected ss: SpreadSheetService;
|
|
7
|
-
readonly el: ElementRef<HTMLTableCellElement>;
|
|
8
|
-
readonly position: import("@angular/core").InputSignal<{
|
|
9
|
-
row: number;
|
|
10
|
-
col: number;
|
|
11
|
-
}>;
|
|
12
|
-
readonly editable: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
readonly context: import("@angular/core").InputSignal<CellContext<any>>;
|
|
14
|
-
readonly isSelected: import("@angular/core").Signal<boolean>;
|
|
15
|
-
readonly isEditing: import("@angular/core").Signal<boolean>;
|
|
16
|
-
readonly frameEl: import("@angular/core").WritableSignal<HTMLDivElement>;
|
|
17
|
-
constructor();
|
|
18
|
-
onDbClick(): void;
|
|
19
|
-
ngAfterViewInit(): void;
|
|
20
|
-
protected buildOutlineFrame(): HTMLDivElement;
|
|
21
|
-
protected createLabelElement(options: {
|
|
22
|
-
label: string;
|
|
23
|
-
color: string;
|
|
24
|
-
}): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadSheetCell, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadSheetCell, "[ssCell]", never, { "position": { "alias": "ssCell"; "required": false; "isSignal": true; }; "editable": { "alias": "ssCellEditable"; "required": false; "isSignal": true; }; "context": { "alias": "ssCellContext"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
28
|
-
export declare class SpreadSheetCellInput implements AfterViewInit {
|
|
29
|
-
protected ss: SpreadSheetService;
|
|
30
|
-
readonly position: import("@angular/core").InputSignal<{
|
|
31
|
-
row: number;
|
|
32
|
-
col: number;
|
|
33
|
-
}>;
|
|
34
|
-
readonly el: ElementRef<HTMLInputElement>;
|
|
35
|
-
readonly isSelected: import("@angular/core").Signal<boolean>;
|
|
36
|
-
readonly isEditing: import("@angular/core").Signal<boolean>;
|
|
37
|
-
ngAfterViewInit(): void;
|
|
38
|
-
protected stopEditing(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadSheetCellInput, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadSheetCellInput, "[ssCellInput]", never, { "position": { "alias": "ssCellInput"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './grid-cell.directive';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { GridService } from './grid.service';
|
|
2
|
-
import { SelectionService } from './selection.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ClipboardService {
|
|
5
|
-
private gridService;
|
|
6
|
-
private selectionService;
|
|
7
|
-
private clipboard;
|
|
8
|
-
private snackBar;
|
|
9
|
-
constructor(gridService: GridService, selectionService: SelectionService);
|
|
10
|
-
copy(): Promise<void>;
|
|
11
|
-
protected copyText(text: string): void;
|
|
12
|
-
paste(targetRow: number, targetCol: number): Promise<void>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ClipboardService>;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Cell } from "../models";
|
|
2
|
-
import { LanguageService } from "@ng-atomic/common/services/language";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SpreadSheetDataService {
|
|
5
|
-
readonly cache: Map<string, Cell | Cell[]>;
|
|
6
|
-
readonly language: LanguageService;
|
|
7
|
-
readonly dataAccessor: import("@ng-atomic/common/pipes/data-accessor").DataAccessor<unknown>;
|
|
8
|
-
readonly expression: import("@ng-atomic/common/utils").ExpressionTransformer;
|
|
9
|
-
buildGridData(items: any[], displayedColumns: string[]): Cell[][];
|
|
10
|
-
protected buildGridHeaderRow(columns: string[]): Cell[];
|
|
11
|
-
protected buildGridRow(item: object, displayedColumns: string[]): Cell[];
|
|
12
|
-
protected buildGridCell(item: object, column: string): Cell;
|
|
13
|
-
protected buildKey(obj: object): string;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadSheetDataService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SpreadSheetDataService>;
|
|
16
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Position } from '../models/cell.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EditorService {
|
|
4
|
-
private grid;
|
|
5
|
-
private selection;
|
|
6
|
-
private protection;
|
|
7
|
-
readonly editinngCell: import("@angular/core").WritableSignal<{
|
|
8
|
-
row: number;
|
|
9
|
-
col: number;
|
|
10
|
-
}>;
|
|
11
|
-
protected readonly inputMap: Map<string, HTMLInputElement>;
|
|
12
|
-
isEditing(position: Position): boolean;
|
|
13
|
-
startEditing(position: Position): void;
|
|
14
|
-
stopEditing(): void;
|
|
15
|
-
focus(position: Position): void;
|
|
16
|
-
getEditingCell(): Position | null;
|
|
17
|
-
setInput(input: HTMLInputElement, position: Position): void;
|
|
18
|
-
getInput(position: Position): HTMLInputElement | null;
|
|
19
|
-
protected buildKey(position: Position): string;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditorService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EditorService>;
|
|
22
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Cell, CellContext, Position } from '../models/cell.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GridService {
|
|
4
|
-
readonly data: import("@angular/core").WritableSignal<Cell[][]>;
|
|
5
|
-
readonly columns: import("@angular/core").Signal<string[]>;
|
|
6
|
-
protected readonly contextMap: Map<string, CellContext<any>>;
|
|
7
|
-
updateCell(row: number, col: number, value: any): void;
|
|
8
|
-
getValue(position: Position): any | null;
|
|
9
|
-
getExpressionValue(position: Position): any | null;
|
|
10
|
-
protected getCell(position: Position): Cell | null;
|
|
11
|
-
updateAllCells(predicate: (cell: Cell) => boolean, updates: Partial<Cell>): void;
|
|
12
|
-
setContext(context: CellContext): void;
|
|
13
|
-
getContext(position: Position): CellContext | null;
|
|
14
|
-
protected buildKey(position: Position): string;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GridService>;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Position } from '../models/cell.model';
|
|
2
|
-
import { GridService } from './grid.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavigationService {
|
|
5
|
-
private gridService;
|
|
6
|
-
constructor(gridService: GridService);
|
|
7
|
-
moveToNextCell({ row, col }: Position): Position;
|
|
8
|
-
moveToPreviousCell({ row, col }: Position): Position;
|
|
9
|
-
moveToNextRow({ row, col }: Position): Position;
|
|
10
|
-
moveToPreviousRow({ row, col }: Position): Position;
|
|
11
|
-
moveRight({ row, col }: Position): Position;
|
|
12
|
-
moveLeft({ row, col }: Position): Position;
|
|
13
|
-
moveUp({ row, col }: Position): Position;
|
|
14
|
-
moveDown({ row, col }: Position): Position;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
17
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
interface CellContext<T> {
|
|
4
|
-
item: T;
|
|
5
|
-
name: string;
|
|
6
|
-
position: {
|
|
7
|
-
row: number;
|
|
8
|
-
col: number;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export type CellProtector = (value: any, context: CellContext<any>) => boolean;
|
|
12
|
-
export declare const COLUMN_PROTECTOR: InjectionToken<CellProtector[]>;
|
|
13
|
-
export declare function provideCellProtector(useFactory: () => CellProtector): {
|
|
14
|
-
provide: InjectionToken<CellProtector[]>;
|
|
15
|
-
useFactory: () => CellProtector;
|
|
16
|
-
multi: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare class ProtectionService {
|
|
19
|
-
readonly protectors: CellProtector[];
|
|
20
|
-
isEditable(value: any, context: CellContext<any>): boolean;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProtectionService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProtectionService>;
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Selection, Position } from '../models/cell.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SelectionService {
|
|
4
|
-
private readonly selection;
|
|
5
|
-
private readonly selectionStart;
|
|
6
|
-
private readonly isMouseDown;
|
|
7
|
-
private readonly grid;
|
|
8
|
-
private readonly cellElMap;
|
|
9
|
-
constructor();
|
|
10
|
-
isSelected(position: Position): boolean;
|
|
11
|
-
isCursorPosition(position: Position): boolean;
|
|
12
|
-
handleMouseDown(position: Position, event?: MouseEvent): void;
|
|
13
|
-
handleMouseUp(): void;
|
|
14
|
-
handleMouseEnter(position: Position): void;
|
|
15
|
-
handleClick(position: Position, event?: MouseEvent): void;
|
|
16
|
-
clearSelection(): void;
|
|
17
|
-
setStartPosition(position: Position): void;
|
|
18
|
-
getSelection(): Selection | null;
|
|
19
|
-
getSelectionEndOrStart(): Position;
|
|
20
|
-
findSelectedCell(): Position | null;
|
|
21
|
-
updateSelectionEnd(position: Position): void;
|
|
22
|
-
private startSelection;
|
|
23
|
-
private updateSelection;
|
|
24
|
-
clearSelectedRange(selection: {
|
|
25
|
-
start: {
|
|
26
|
-
row: number;
|
|
27
|
-
col: number;
|
|
28
|
-
};
|
|
29
|
-
end: {
|
|
30
|
-
row: number;
|
|
31
|
-
col: number;
|
|
32
|
-
};
|
|
33
|
-
}): void;
|
|
34
|
-
setCell(position: Position, el: HTMLTableCellElement): void;
|
|
35
|
-
getCell(position: Position): HTMLTableCellElement | null;
|
|
36
|
-
focus(position: Position): void;
|
|
37
|
-
protected buildKey(position: Position): string;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionService, never>;
|
|
39
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SelectionService>;
|
|
40
|
-
}
|