ngx-register-base 1.3.1 → 1.3.2
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/esm2022/lib/components/checkbox-selector/checkbox-selector.component.mjs +129 -0
- package/esm2022/lib/components/checkbox-selector/checkbox-selector.types.mjs +8 -0
- package/esm2022/lib/components/column-settings/column-settings.component.mjs +249 -0
- package/esm2022/lib/components/column-settings/components/column-settings-template/column-settings-template.component.mjs +80 -0
- package/esm2022/lib/components/column-settings/consts/column-settings.consts.mjs +10 -0
- package/esm2022/lib/components/column-settings/index.mjs +3 -0
- package/esm2022/lib/components/column-settings/types/column-settings.types.mjs +7 -0
- package/esm2022/lib/components/divider/divider.component.mjs +16 -0
- package/esm2022/lib/components/filter-button/filter-button.component.mjs +19 -0
- package/esm2022/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.mjs +31 -0
- package/esm2022/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.mjs +57 -0
- package/esm2022/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.mjs +110 -0
- package/esm2022/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.mjs +130 -0
- package/esm2022/lib/components/filters/components/filter-list/filter-list.service.mjs +89 -0
- package/esm2022/lib/components/filters/components/filter-list/filters-section/filters-section.component.mjs +41 -0
- package/esm2022/lib/components/filters/components/filter-list.module.mjs +45 -0
- package/esm2022/lib/components/filters/index.mjs +3 -0
- package/esm2022/lib/components/filters/register-table-filter.component.mjs +155 -0
- package/esm2022/lib/components/filters/register-table-filter.module.mjs +39 -0
- package/esm2022/lib/components/index.mjs +11 -0
- package/esm2022/lib/components/inputs/index.mjs +20 -0
- package/esm2022/lib/components/inputs/inputs.module.mjs +166 -0
- package/esm2022/lib/components/inputs/param-calendar-year/param-calendar-year.component.mjs +45 -0
- package/esm2022/lib/components/inputs/param-custom/param-custom.component.mjs +12 -0
- package/esm2022/lib/components/inputs/param-date/param-date.component.mjs +76 -0
- package/esm2022/lib/components/inputs/param-date-range/param-date-range.component.mjs +60 -0
- package/esm2022/lib/components/inputs/param-date-time/param-date-time.component.mjs +86 -0
- package/esm2022/lib/components/inputs/param-date-time-range/param-date-time-range.component.mjs +95 -0
- package/esm2022/lib/components/inputs/param-month/param-month.component.mjs +50 -0
- package/esm2022/lib/components/inputs/param-month-range/param-month-range.component.mjs +62 -0
- package/esm2022/lib/components/inputs/param-multi-select/param-multi-select.component.mjs +309 -0
- package/esm2022/lib/components/inputs/param-select/param-select.component.mjs +225 -0
- package/esm2022/lib/components/inputs/param-switcher/param-switcher.component.mjs +21 -0
- package/esm2022/lib/components/inputs/param-switcher-date-time-range/consts/param-switcher-date-time-range.consts.mjs +28 -0
- package/esm2022/lib/components/inputs/param-switcher-date-time-range/index.mjs +3 -0
- package/esm2022/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.mjs +105 -0
- package/esm2022/lib/components/inputs/param-switcher-date-time-range/types/param-switcher-date-time-range.types.mjs +10 -0
- package/esm2022/lib/components/inputs/param-text/param-text.component.mjs +40 -0
- package/esm2022/lib/components/inputs/param-textarea/param-textarea.component.mjs +38 -0
- package/esm2022/lib/components/inputs/param-toggle/param-toggle.component.mjs +20 -0
- package/esm2022/lib/components/inputs/param-tree/consts/param-tree.consts.mjs +37 -0
- package/esm2022/lib/components/inputs/param-tree/index.mjs +8 -0
- package/esm2022/lib/components/inputs/param-tree/param-tree.component.mjs +207 -0
- package/esm2022/lib/components/inputs/param-tree/services/param-tree.service.mjs +116 -0
- package/esm2022/lib/components/inputs/param-tree/services/sync-tree-loader.service.mjs +20 -0
- package/esm2022/lib/components/inputs/param-tree/tokens/param-tree.tokens.mjs +3 -0
- package/esm2022/lib/components/inputs/param-tree/types/param-tree.types.mjs +2 -0
- package/esm2022/lib/components/inputs/param-tree/utils/param-tree.utils.mjs +9 -0
- package/esm2022/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.mjs +80 -0
- package/esm2022/lib/components/inputs/param-tree-select/param-tree-select.component.mjs +85 -0
- package/esm2022/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.mjs +15 -0
- package/esm2022/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.mjs +12 -0
- package/esm2022/lib/components/menu-constructor/index.mjs +5 -0
- package/esm2022/lib/components/menu-constructor/sproc-menu-constructor.component.mjs +559 -0
- package/esm2022/lib/components/menu-constructor/store/sproc-abstract-menu-constructor.store.mjs +3 -0
- package/esm2022/lib/components/menu-constructor/store/sproc-menu-constructor.consts.mjs +5 -0
- package/esm2022/lib/components/menu-constructor/store/sproc-menu.tokens.mjs +3 -0
- package/esm2022/lib/components/page-menu/index.mjs +6 -0
- package/esm2022/lib/components/page-menu/schema/sproc-page-menu.consts.mjs +9 -0
- package/esm2022/lib/components/page-menu/schema/sproc-page-menu.schema.mjs +2 -0
- package/esm2022/lib/components/page-menu/schema/sproc-page-menu.tokens.mjs +4 -0
- package/esm2022/lib/components/page-menu/schema/sproc-page-menu.types.mjs +3 -0
- package/esm2022/lib/components/page-menu/sproc-page-menu.component.mjs +275 -0
- package/esm2022/lib/components/paginator/paginator.component.mjs +159 -0
- package/esm2022/lib/components/paginator/types/paginator.types.mjs +2 -0
- package/esm2022/lib/components/register-table/consts/register-table.consts.mjs +4 -0
- package/esm2022/lib/components/register-table/directives/cell-template.directive.mjs +19 -0
- package/esm2022/lib/components/register-table/directives/header-template.directive.mjs +18 -0
- package/esm2022/lib/components/register-table/index.mjs +4 -0
- package/esm2022/lib/components/register-table/model/schema.mjs +10 -0
- package/esm2022/lib/components/register-table/pipes/class-by-type.pipe.mjs +33 -0
- package/esm2022/lib/components/register-table/pipes/sticky-column.pipe.mjs +17 -0
- package/esm2022/lib/components/register-table/register-table.component.mjs +544 -0
- package/esm2022/lib/components/reset-settings-form/reset-settings-form.component.mjs +18 -0
- package/esm2022/lib/components/search-input/search-input.component.mjs +28 -0
- package/esm2022/lib/components/sliding-panel/sliding-panel.component.mjs +48 -0
- package/esm2022/lib/components/sliding-panel/sliding-panel.module.mjs +19 -0
- package/esm2022/lib/consts/date-time.consts.mjs +2 -0
- package/esm2022/lib/consts/index.mjs +4 -0
- package/esm2022/lib/consts/inputs.consts.mjs +4 -0
- package/esm2022/lib/consts/month.consts.mjs +77 -0
- package/esm2022/lib/consts/params.consts.mjs +2 -0
- package/esm2022/lib/consts/register-base.consts.mjs +26 -0
- package/esm2022/lib/core/form-group-wrapper/errors-consts.mjs +8 -0
- package/esm2022/lib/core/form-group-wrapper/form-group-wrapper.mjs +81 -0
- package/esm2022/lib/core/form-group-wrapper/index.mjs +2 -0
- package/esm2022/lib/core/index.mjs +5 -0
- package/esm2022/lib/core/input-control/index.mjs +2 -0
- package/esm2022/lib/core/input-control/input-control.mjs +11 -0
- package/esm2022/lib/core/param/index.mjs +6 -0
- package/esm2022/lib/core/param/param-base.mjs +215 -0
- package/esm2022/lib/core/param/param-date-base.mjs +26 -0
- package/esm2022/lib/core/param/param-select-base.mjs +114 -0
- package/esm2022/lib/core/param/param-text-base.mjs +25 -0
- package/esm2022/lib/core/param/param.tokens.mjs +4 -0
- package/esm2022/lib/core/register-base/index.mjs +3 -0
- package/esm2022/lib/core/register-base/register-base.mjs +575 -0
- package/esm2022/lib/core/register-base/register-base.store.mjs +43 -0
- package/esm2022/lib/directives/date/date-time.types.mjs +34 -0
- package/esm2022/lib/directives/date/format-date.pipe.mjs +33 -0
- package/esm2022/lib/directives/index.mjs +3 -0
- package/esm2022/lib/directives/number/number-only.directive.mjs +41 -0
- package/esm2022/lib/directives/sticky/index.mjs +3 -0
- package/esm2022/lib/directives/sticky/sticky-relative.directive.mjs +32 -0
- package/esm2022/lib/directives/sticky/sticky-relative.service.mjs +32 -0
- package/esm2022/lib/directives/sticky/sticky.directive.mjs +169 -0
- package/esm2022/lib/services/date-time.service.mjs +314 -0
- package/esm2022/lib/services/dialog/dialog.service.mjs +53 -0
- package/esm2022/lib/services/dialog/dialog.types.mjs +2 -0
- package/esm2022/lib/services/dialog/index.mjs +3 -0
- package/esm2022/lib/services/dom-intersection.service.mjs +22 -0
- package/esm2022/lib/services/filter/filters-state.service.mjs +65 -0
- package/esm2022/lib/services/filter/filters-transmit.service.mjs +82 -0
- package/esm2022/lib/services/filter/filters.service.mjs +23 -0
- package/esm2022/lib/services/index.mjs +8 -0
- package/esm2022/lib/services/inputs-state.service.mjs +130 -0
- package/esm2022/lib/services/inputs.service.mjs +88 -0
- package/esm2022/lib/services/key-pressed.service.mjs +37 -0
- package/esm2022/lib/services/resize-window-observer.service.mjs +33 -0
- package/esm2022/lib/services/selected-objects-state.service.mjs +123 -0
- package/esm2022/lib/store/fast-query-store.service.mjs +110 -0
- package/esm2022/lib/store/index.mjs +2 -0
- package/esm2022/lib/types/event.types.mjs +2 -0
- package/esm2022/lib/types/hasura.types.mjs +2 -0
- package/esm2022/lib/types/index.mjs +7 -0
- package/esm2022/lib/types/inputs.types.mjs +19 -0
- package/esm2022/lib/types/params.types.mjs +2 -0
- package/esm2022/lib/types/register-base.types.mjs +6 -0
- package/esm2022/lib/types/sub-types.mjs +2 -0
- package/esm2022/lib/types/user-profile.types.mjs +2 -0
- package/esm2022/lib/utils/functions.mjs +10 -0
- package/esm2022/lib/utils/get-url-segment.mjs +35 -0
- package/esm2022/lib/utils/index.mjs +5 -0
- package/esm2022/lib/utils/prizm.shared.module.mjs +284 -0
- package/esm2022/lib/utils/rxjs.mjs +28 -0
- package/esm2022/lib/utils/select-all-utils.mjs +11 -0
- package/esm2022/ngx-register-base.mjs +5 -0
- package/esm2022/public-api.mjs +9 -0
- package/fesm2022/ngx-register-base.mjs +7479 -0
- package/fesm2022/ngx-register-base.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/checkbox-selector/checkbox-selector.component.d.ts +33 -0
- package/lib/components/checkbox-selector/checkbox-selector.types.d.ts +7 -0
- package/lib/components/column-settings/column-settings.component.d.ts +80 -0
- package/lib/components/column-settings/components/column-settings-template/column-settings-template.component.d.ts +24 -0
- package/lib/components/column-settings/consts/column-settings.consts.d.ts +8 -0
- package/lib/components/column-settings/types/column-settings.types.d.ts +22 -0
- package/lib/components/divider/divider.component.d.ts +6 -0
- package/lib/components/filter-button/filter-button.component.d.ts +8 -0
- package/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.d.ts +14 -0
- package/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.d.ts +25 -0
- package/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.d.ts +39 -0
- package/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.d.ts +41 -0
- package/lib/components/filters/components/filter-list/filter-list.service.d.ts +20 -0
- package/lib/components/filters/components/filter-list/filters-section/filters-section.component.d.ts +15 -0
- package/lib/components/filters/components/filter-list.module.d.ts +15 -0
- package/lib/components/filters/register-table-filter.component.d.ts +40 -0
- package/lib/components/filters/register-table-filter.module.d.ts +13 -0
- package/lib/components/inputs/inputs.module.d.ts +31 -0
- package/lib/components/inputs/param-calendar-year/param-calendar-year.component.d.ts +19 -0
- package/lib/components/inputs/param-custom/param-custom.component.d.ts +6 -0
- package/lib/components/inputs/param-date/param-date.component.d.ts +20 -0
- package/lib/components/inputs/param-date-range/param-date-range.component.d.ts +26 -0
- package/lib/components/inputs/param-date-time/param-date-time.component.d.ts +25 -0
- package/lib/components/inputs/param-date-time-range/param-date-time-range.component.d.ts +28 -0
- package/lib/components/inputs/param-month/param-month.component.d.ts +18 -0
- package/lib/components/inputs/param-month-range/param-month-range.component.d.ts +21 -0
- package/lib/components/inputs/param-multi-select/param-multi-select.component.d.ts +46 -0
- package/lib/components/inputs/param-select/param-select.component.d.ts +34 -0
- package/lib/components/inputs/param-switcher/param-switcher.component.d.ts +8 -0
- package/lib/components/inputs/param-switcher-date-time-range/consts/param-switcher-date-time-range.consts.d.ts +2 -0
- package/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.d.ts +19 -0
- package/lib/components/inputs/param-switcher-date-time-range/types/param-switcher-date-time-range.types.d.ts +8 -0
- package/lib/components/inputs/param-text/param-text.component.d.ts +10 -0
- package/lib/components/inputs/param-textarea/param-textarea.component.d.ts +10 -0
- package/lib/components/inputs/param-toggle/param-toggle.component.d.ts +9 -0
- package/lib/components/inputs/param-tree/consts/param-tree.consts.d.ts +7 -0
- package/lib/components/inputs/param-tree/param-tree.component.d.ts +41 -0
- package/lib/components/inputs/param-tree/services/param-tree.service.d.ts +37 -0
- package/lib/components/inputs/param-tree/services/sync-tree-loader.service.d.ts +10 -0
- package/{src/lib/components/inputs/param-tree/tokens/param-tree.tokens.ts → lib/components/inputs/param-tree/tokens/param-tree.tokens.d.ts} +1 -2
- package/lib/components/inputs/param-tree/types/param-tree.types.d.ts +32 -0
- package/lib/components/inputs/param-tree/utils/param-tree.utils.d.ts +7 -0
- package/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.d.ts +31 -0
- package/lib/components/inputs/param-tree-select/param-tree-select.component.d.ts +30 -0
- package/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.d.ts +6 -0
- package/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.d.ts +5 -0
- package/lib/components/menu-constructor/sproc-menu-constructor.component.d.ts +113 -0
- package/lib/components/menu-constructor/store/sproc-abstract-menu-constructor.store.d.ts +24 -0
- package/lib/components/menu-constructor/store/sproc-menu-constructor.consts.d.ts +36 -0
- package/{src/lib/components/menu-constructor/store/sproc-menu.tokens.ts → lib/components/menu-constructor/store/sproc-menu.tokens.d.ts} +1 -4
- package/lib/components/page-menu/schema/sproc-page-menu.consts.d.ts +7 -0
- package/lib/components/page-menu/schema/sproc-page-menu.schema.d.ts +30 -0
- package/lib/components/page-menu/schema/sproc-page-menu.tokens.d.ts +3 -0
- package/lib/components/page-menu/schema/sproc-page-menu.types.d.ts +36 -0
- package/lib/components/page-menu/sproc-page-menu.component.d.ts +48 -0
- package/lib/components/paginator/paginator.component.d.ts +52 -0
- package/lib/components/paginator/types/paginator.types.d.ts +15 -0
- package/lib/components/register-table/consts/register-table.consts.d.ts +3 -0
- package/lib/components/register-table/directives/cell-template.directive.d.ts +9 -0
- package/lib/components/register-table/directives/header-template.directive.d.ts +9 -0
- package/lib/components/register-table/model/schema.d.ts +52 -0
- package/lib/components/register-table/pipes/class-by-type.pipe.d.ts +8 -0
- package/lib/components/register-table/pipes/sticky-column.pipe.d.ts +7 -0
- package/lib/components/register-table/register-table.component.d.ts +165 -0
- package/lib/components/reset-settings-form/reset-settings-form.component.d.ts +9 -0
- package/lib/components/search-input/search-input.component.d.ts +11 -0
- package/lib/components/sliding-panel/sliding-panel.component.d.ts +14 -0
- package/lib/components/sliding-panel/sliding-panel.module.d.ts +9 -0
- package/lib/consts/date-time.consts.d.ts +1 -0
- package/lib/consts/index.d.ts +3 -0
- package/lib/consts/inputs.consts.d.ts +4 -0
- package/lib/consts/month.consts.d.ts +49 -0
- package/lib/consts/params.consts.d.ts +1 -0
- package/lib/consts/register-base.consts.d.ts +19 -0
- package/lib/core/form-group-wrapper/errors-consts.d.ts +5 -0
- package/lib/core/form-group-wrapper/form-group-wrapper.d.ts +15 -0
- package/lib/core/input-control/input-control.d.ts +11 -0
- package/lib/core/param/param-base.d.ts +68 -0
- package/lib/core/param/param-date-base.d.ts +18 -0
- package/lib/core/param/param-select-base.d.ts +42 -0
- package/lib/core/param/param-text-base.d.ts +15 -0
- package/{src/lib/core/param/param.tokens.ts → lib/core/param/param.tokens.d.ts} +1 -2
- package/lib/core/register-base/register-base.d.ts +168 -0
- package/lib/core/register-base/register-base.store.d.ts +35 -0
- package/lib/directives/date/date-time.types.d.ts +32 -0
- package/lib/directives/date/format-date.pipe.d.ts +10 -0
- package/lib/directives/number/number-only.directive.d.ts +10 -0
- package/lib/directives/sticky/sticky-relative.directive.d.ts +13 -0
- package/lib/directives/sticky/sticky-relative.service.d.ts +15 -0
- package/lib/directives/sticky/sticky.directive.d.ts +27 -0
- package/lib/services/date-time.service.d.ts +80 -0
- package/lib/services/dialog/dialog.service.d.ts +22 -0
- package/{src/lib/services/dialog/dialog.types.ts → lib/services/dialog/dialog.types.d.ts} +4 -8
- package/lib/services/dom-intersection.service.d.ts +8 -0
- package/lib/services/filter/filters-state.service.d.ts +21 -0
- package/lib/services/filter/filters-transmit.service.d.ts +28 -0
- package/lib/services/filter/filters.service.d.ts +12 -0
- package/lib/services/inputs-state.service.d.ts +57 -0
- package/lib/services/inputs.service.d.ts +28 -0
- package/lib/services/key-pressed.service.d.ts +15 -0
- package/lib/services/resize-window-observer.service.d.ts +11 -0
- package/lib/services/selected-objects-state.service.d.ts +47 -0
- package/lib/store/fast-query-store.service.d.ts +19 -0
- package/{src/lib/types/event.types.ts → lib/types/event.types.d.ts} +1 -1
- package/lib/types/hasura.types.d.ts +35 -0
- package/lib/types/inputs.types.d.ts +41 -0
- package/lib/types/params.types.d.ts +27 -0
- package/lib/types/register-base.types.d.ts +123 -0
- package/lib/types/sub-types.d.ts +8 -0
- package/lib/types/user-profile.types.d.ts +17 -0
- package/lib/utils/functions.d.ts +3 -0
- package/lib/utils/get-url-segment.d.ts +7 -0
- package/lib/utils/prizm.shared.module.d.ts +14 -0
- package/lib/utils/rxjs.d.ts +10 -0
- package/lib/utils/select-all-utils.d.ts +8 -0
- package/package.json +15 -12
- package/schematics/ng-update/replace-menu-state-token/index.d.ts +2 -0
- package/schematics/ng-update/replace-menu-state-token/index.js +29 -0
- package/schematics/ng-update/replace-menu-state-token/index.js.map +1 -0
- package/schematics/ng-update/update-prefix/index.d.ts +2 -0
- package/schematics/ng-update/update-prefix/index.js +33 -0
- package/schematics/ng-update/update-prefix/index.js.map +1 -0
- package/schematics/utils/{utils.ts → utils.d.ts} +2 -9
- package/schematics/utils/utils.js +25 -0
- package/schematics/utils/utils.js.map +1 -0
- package/ng-package.json +0 -15
- package/schematics/ng-update/replace-menu-state-token/index.ts +0 -33
- package/schematics/ng-update/update-prefix/index.ts +0 -38
- package/src/lib/components/checkbox-selector/checkbox-selector.component.html +0 -91
- package/src/lib/components/checkbox-selector/checkbox-selector.component.less +0 -67
- package/src/lib/components/checkbox-selector/checkbox-selector.component.ts +0 -176
- package/src/lib/components/checkbox-selector/checkbox-selector.types.ts +0 -8
- package/src/lib/components/column-settings/column-settings.component.html +0 -160
- package/src/lib/components/column-settings/column-settings.component.less +0 -131
- package/src/lib/components/column-settings/column-settings.component.ts +0 -352
- package/src/lib/components/column-settings/components/column-settings-template/column-settings-template.component.html +0 -65
- package/src/lib/components/column-settings/components/column-settings-template/column-settings-template.component.less +0 -79
- package/src/lib/components/column-settings/components/column-settings-template/column-settings-template.component.ts +0 -114
- package/src/lib/components/column-settings/consts/column-settings.consts.ts +0 -9
- package/src/lib/components/column-settings/types/column-settings.types.ts +0 -26
- package/src/lib/components/divider/divider.component.html +0 -4
- package/src/lib/components/divider/divider.component.less +0 -10
- package/src/lib/components/divider/divider.component.ts +0 -12
- package/src/lib/components/filter-button/filter-button.component.html +0 -20
- package/src/lib/components/filter-button/filter-button.component.less +0 -41
- package/src/lib/components/filter-button/filter-button.component.ts +0 -18
- package/src/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.html +0 -22
- package/src/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.less +0 -23
- package/src/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.ts +0 -31
- package/src/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.html +0 -49
- package/src/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.less +0 -37
- package/src/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.ts +0 -66
- package/src/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.html +0 -147
- package/src/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.less +0 -45
- package/src/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.ts +0 -114
- package/src/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.html +0 -44
- package/src/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.less +0 -49
- package/src/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.ts +0 -167
- package/src/lib/components/filters/components/filter-list/filter-list.service.ts +0 -97
- package/src/lib/components/filters/components/filter-list/filters-section/filters-section.component.html +0 -18
- package/src/lib/components/filters/components/filter-list/filters-section/filters-section.component.less +0 -55
- package/src/lib/components/filters/components/filter-list/filters-section/filters-section.component.ts +0 -69
- package/src/lib/components/filters/components/filter-list.module.ts +0 -29
- package/src/lib/components/filters/register-table-filter.component.html +0 -53
- package/src/lib/components/filters/register-table-filter.component.less +0 -17
- package/src/lib/components/filters/register-table-filter.component.ts +0 -167
- package/src/lib/components/filters/register-table-filter.module.ts +0 -22
- package/src/lib/components/inputs/inputs.module.ts +0 -104
- package/src/lib/components/inputs/param-calendar-year/param-calendar-year.component.html +0 -49
- package/src/lib/components/inputs/param-calendar-year/param-calendar-year.component.less +0 -70
- package/src/lib/components/inputs/param-calendar-year/param-calendar-year.component.ts +0 -52
- package/src/lib/components/inputs/param-custom/param-custom.component.html +0 -1
- package/src/lib/components/inputs/param-custom/param-custom.component.ts +0 -9
- package/src/lib/components/inputs/param-date/param-date.component.html +0 -55
- package/src/lib/components/inputs/param-date/param-date.component.less +0 -67
- package/src/lib/components/inputs/param-date/param-date.component.ts +0 -77
- package/src/lib/components/inputs/param-date-range/param-date-range.component.html +0 -45
- package/src/lib/components/inputs/param-date-range/param-date-range.component.less +0 -75
- package/src/lib/components/inputs/param-date-range/param-date-range.component.ts +0 -67
- package/src/lib/components/inputs/param-date-time/param-date-time.component.html +0 -70
- package/src/lib/components/inputs/param-date-time/param-date-time.component.less +0 -72
- package/src/lib/components/inputs/param-date-time/param-date-time.component.ts +0 -101
- package/src/lib/components/inputs/param-date-time-range/param-date-time-range.component.html +0 -67
- package/src/lib/components/inputs/param-date-time-range/param-date-time-range.component.less +0 -103
- package/src/lib/components/inputs/param-date-time-range/param-date-time-range.component.ts +0 -128
- package/src/lib/components/inputs/param-month/param-month.component.html +0 -46
- package/src/lib/components/inputs/param-month/param-month.component.less +0 -72
- package/src/lib/components/inputs/param-month/param-month.component.ts +0 -55
- package/src/lib/components/inputs/param-month-range/param-month-range.component.html +0 -39
- package/src/lib/components/inputs/param-month-range/param-month-range.component.less +0 -71
- package/src/lib/components/inputs/param-month-range/param-month-range.component.ts +0 -76
- package/src/lib/components/inputs/param-multi-select/param-multi-select.component.html +0 -84
- package/src/lib/components/inputs/param-multi-select/param-multi-select.component.less +0 -108
- package/src/lib/components/inputs/param-multi-select/param-multi-select.component.ts +0 -448
- package/src/lib/components/inputs/param-select/param-select.component.html +0 -106
- package/src/lib/components/inputs/param-select/param-select.component.less +0 -26
- package/src/lib/components/inputs/param-select/param-select.component.ts +0 -318
- package/src/lib/components/inputs/param-switcher/param-switcher.component.html +0 -8
- package/src/lib/components/inputs/param-switcher/param-switcher.component.less +0 -53
- package/src/lib/components/inputs/param-switcher/param-switcher.component.ts +0 -13
- package/src/lib/components/inputs/param-switcher-date-time-range/consts/param-switcher-date-time-range.consts.ts +0 -29
- package/src/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.html +0 -19
- package/src/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.less +0 -76
- package/src/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.ts +0 -134
- package/src/lib/components/inputs/param-switcher-date-time-range/types/param-switcher-date-time-range.types.ts +0 -8
- package/src/lib/components/inputs/param-text/param-text.component.html +0 -59
- package/src/lib/components/inputs/param-text/param-text.component.less +0 -33
- package/src/lib/components/inputs/param-text/param-text.component.ts +0 -36
- package/src/lib/components/inputs/param-textarea/param-textarea.component.html +0 -61
- package/src/lib/components/inputs/param-textarea/param-textarea.component.less +0 -21
- package/src/lib/components/inputs/param-textarea/param-textarea.component.ts +0 -33
- package/src/lib/components/inputs/param-toggle/param-toggle.component.html +0 -40
- package/src/lib/components/inputs/param-toggle/param-toggle.component.less +0 -69
- package/src/lib/components/inputs/param-toggle/param-toggle.component.ts +0 -14
- package/src/lib/components/inputs/param-tree/consts/param-tree.consts.ts +0 -59
- package/src/lib/components/inputs/param-tree/param-tree.component.html +0 -51
- package/src/lib/components/inputs/param-tree/param-tree.component.less +0 -3
- package/src/lib/components/inputs/param-tree/param-tree.component.ts +0 -282
- package/src/lib/components/inputs/param-tree/services/param-tree.service.ts +0 -176
- package/src/lib/components/inputs/param-tree/services/sync-tree-loader.service.ts +0 -18
- package/src/lib/components/inputs/param-tree/types/param-tree.types.ts +0 -39
- package/src/lib/components/inputs/param-tree/utils/param-tree.utils.ts +0 -18
- package/src/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.html +0 -78
- package/src/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.less +0 -109
- package/src/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.ts +0 -89
- package/src/lib/components/inputs/param-tree-select/param-tree-select.component.html +0 -54
- package/src/lib/components/inputs/param-tree-select/param-tree-select.component.less +0 -56
- package/src/lib/components/inputs/param-tree-select/param-tree-select.component.ts +0 -91
- package/src/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.html +0 -5
- package/src/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.ts +0 -13
- package/src/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.html +0 -4
- package/src/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.ts +0 -11
- package/src/lib/components/menu-constructor/sproc-menu-constructor.component.html +0 -95
- package/src/lib/components/menu-constructor/sproc-menu-constructor.component.less +0 -183
- package/src/lib/components/menu-constructor/sproc-menu-constructor.component.ts +0 -687
- package/src/lib/components/menu-constructor/store/sproc-abstract-menu-constructor.store.ts +0 -32
- package/src/lib/components/menu-constructor/store/sproc-menu-constructor.consts.ts +0 -46
- package/src/lib/components/page-menu/README.md +0 -60
- package/src/lib/components/page-menu/schema/sproc-page-menu.consts.ts +0 -8
- package/src/lib/components/page-menu/schema/sproc-page-menu.schema.ts +0 -35
- package/src/lib/components/page-menu/schema/sproc-page-menu.tokens.ts +0 -5
- package/src/lib/components/page-menu/schema/sproc-page-menu.types.ts +0 -42
- package/src/lib/components/page-menu/sproc-page-menu.component.html +0 -166
- package/src/lib/components/page-menu/sproc-page-menu.component.less +0 -228
- package/src/lib/components/page-menu/sproc-page-menu.component.ts +0 -337
- package/src/lib/components/paginator/paginator.component.html +0 -97
- package/src/lib/components/paginator/paginator.component.less +0 -101
- package/src/lib/components/paginator/paginator.component.ts +0 -192
- package/src/lib/components/paginator/types/paginator.types.ts +0 -16
- package/src/lib/components/register-table/consts/register-table.consts.ts +0 -3
- package/src/lib/components/register-table/directives/cell-template.directive.ts +0 -11
- package/src/lib/components/register-table/directives/header-template.directive.ts +0 -11
- package/src/lib/components/register-table/model/schema.ts +0 -62
- package/src/lib/components/register-table/pipes/class-by-type.pipe.ts +0 -28
- package/src/lib/components/register-table/pipes/sticky-column.pipe.ts +0 -11
- package/src/lib/components/register-table/register-table.component.html +0 -257
- package/src/lib/components/register-table/register-table.component.less +0 -151
- package/src/lib/components/register-table/register-table.component.ts +0 -743
- package/src/lib/components/reset-settings-form/reset-settings-form.component.html +0 -14
- package/src/lib/components/reset-settings-form/reset-settings-form.component.less +0 -26
- package/src/lib/components/reset-settings-form/reset-settings-form.component.ts +0 -15
- package/src/lib/components/search-input/search-input.component.html +0 -6
- package/src/lib/components/search-input/search-input.component.less +0 -17
- package/src/lib/components/search-input/search-input.component.ts +0 -31
- package/src/lib/components/sliding-panel/sliding-panel.component.html +0 -13
- package/src/lib/components/sliding-panel/sliding-panel.component.less +0 -112
- package/src/lib/components/sliding-panel/sliding-panel.component.ts +0 -36
- package/src/lib/components/sliding-panel/sliding-panel.module.ts +0 -11
- package/src/lib/consts/date-time.consts.ts +0 -1
- package/src/lib/consts/index.ts +0 -8
- package/src/lib/consts/inputs.consts.ts +0 -9
- package/src/lib/consts/month.consts.ts +0 -82
- package/src/lib/consts/params.consts.ts +0 -1
- package/src/lib/consts/register-base.consts.ts +0 -40
- package/src/lib/core/form-group-wrapper/errors-consts.ts +0 -6
- package/src/lib/core/form-group-wrapper/form-group-wrapper.ts +0 -109
- package/src/lib/core/input-control/input-control.ts +0 -30
- package/src/lib/core/param/param-base.ts +0 -262
- package/src/lib/core/param/param-date-base.ts +0 -30
- package/src/lib/core/param/param-select-base.ts +0 -118
- package/src/lib/core/param/param-text-base.ts +0 -23
- package/src/lib/core/register-base/register-base.store.ts +0 -84
- package/src/lib/core/register-base/register-base.ts +0 -854
- package/src/lib/directives/date/date-time.types.ts +0 -36
- package/src/lib/directives/date/format-date.pipe.ts +0 -28
- package/src/lib/directives/number/number-only.directive.ts +0 -36
- package/src/lib/directives/sticky/sticky-relative.directive.ts +0 -30
- package/src/lib/directives/sticky/sticky-relative.service.ts +0 -34
- package/src/lib/directives/sticky/sticky.directive.ts +0 -189
- package/src/lib/services/date-time.service.ts +0 -399
- package/src/lib/services/dialog/dialog.service.ts +0 -62
- package/src/lib/services/dom-intersection.service.ts +0 -23
- package/src/lib/services/filter/filters-state.service.ts +0 -83
- package/src/lib/services/filter/filters-transmit.service.ts +0 -105
- package/src/lib/services/filter/filters.service.ts +0 -21
- package/src/lib/services/inputs-state.service.ts +0 -157
- package/src/lib/services/inputs.service.ts +0 -114
- package/src/lib/services/key-pressed.service.ts +0 -40
- package/src/lib/services/resize-window-observer.service.ts +0 -37
- package/src/lib/services/selected-objects-state.service.ts +0 -159
- package/src/lib/store/fast-query-store.service.ts +0 -132
- package/src/lib/types/hasura.types.ts +0 -41
- package/src/lib/types/inputs.types.ts +0 -63
- package/src/lib/types/params.types.ts +0 -42
- package/src/lib/types/register-base.types.ts +0 -161
- package/src/lib/types/sub-types.ts +0 -15
- package/src/lib/types/user-profile.types.ts +0 -18
- package/src/lib/utils/functions.ts +0 -11
- package/src/lib/utils/get-url-segment.ts +0 -46
- package/src/lib/utils/prizm.shared.module.ts +0 -176
- package/src/lib/utils/rxjs.ts +0 -33
- package/src/lib/utils/select-all-utils.ts +0 -16
- package/tsconfig.lib.json +0 -16
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.schematics.json +0 -26
- package/tsconfig.spec.json +0 -15
- /package/{src/lib/components/column-settings/index.ts → lib/components/column-settings/index.d.ts} +0 -0
- /package/{src/lib/components/filters/index.ts → lib/components/filters/index.d.ts} +0 -0
- /package/{src/lib/components/index.ts → lib/components/index.d.ts} +0 -0
- /package/{src/lib/components/inputs/index.ts → lib/components/inputs/index.d.ts} +0 -0
- /package/{src/lib/components/inputs/param-switcher-date-time-range/index.ts → lib/components/inputs/param-switcher-date-time-range/index.d.ts} +0 -0
- /package/{src/lib/components/inputs/param-tree/index.ts → lib/components/inputs/param-tree/index.d.ts} +0 -0
- /package/{src/lib/components/menu-constructor/index.ts → lib/components/menu-constructor/index.d.ts} +0 -0
- /package/{src/lib/components/page-menu/index.ts → lib/components/page-menu/index.d.ts} +0 -0
- /package/{src/lib/components/register-table/index.ts → lib/components/register-table/index.d.ts} +0 -0
- /package/{src/lib/core/form-group-wrapper/index.ts → lib/core/form-group-wrapper/index.d.ts} +0 -0
- /package/{src/lib/core/index.ts → lib/core/index.d.ts} +0 -0
- /package/{src/lib/core/input-control/index.ts → lib/core/input-control/index.d.ts} +0 -0
- /package/{src/lib/core/param/index.ts → lib/core/param/index.d.ts} +0 -0
- /package/{src/lib/core/register-base/index.ts → lib/core/register-base/index.d.ts} +0 -0
- /package/{src/lib/directives/index.ts → lib/directives/index.d.ts} +0 -0
- /package/{src/lib/directives/sticky/index.ts → lib/directives/sticky/index.d.ts} +0 -0
- /package/{src/lib/services/dialog/index.ts → lib/services/dialog/index.d.ts} +0 -0
- /package/{src/lib/services/index.ts → lib/services/index.d.ts} +0 -0
- /package/{src/lib/store/index.ts → lib/store/index.d.ts} +0 -0
- /package/{src/lib/types/index.ts → lib/types/index.d.ts} +0 -0
- /package/{src/lib/utils/index.ts → lib/utils/index.d.ts} +0 -0
- /package/{src/public-api.ts → public-api.d.ts} +0 -0
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
<ng-container [ngSwitch]="filterState$ | async">
|
|
2
|
-
<h4 *ngSwitchCase="FilterState.FILTER_LIST">{{ filterListHeaderTitle }}</h4>
|
|
3
|
-
<h4 *ngSwitchCase="FilterState.SAVED_LIST">Сохраненные фильтры</h4>
|
|
4
|
-
<h4 *ngSwitchCase="FilterState.ON_EDIT_FILTER">Редактирование фильтра</h4>
|
|
5
|
-
<h4 *ngSwitchCase="FilterState.ON_SAVE_FILTER">Сохранить фильтр</h4>
|
|
6
|
-
</ng-container>
|
|
7
|
-
|
|
8
|
-
<div class="sproc-filter-list-header-actions-button">
|
|
9
|
-
<ng-container [ngSwitch]="filterState$ | async">
|
|
10
|
-
<ng-container
|
|
11
|
-
*ngSwitchCase="FilterState.FILTER_LIST"
|
|
12
|
-
[ngTemplateOutlet]="filterListTemplate"
|
|
13
|
-
></ng-container>
|
|
14
|
-
<ng-container
|
|
15
|
-
*ngSwitchCase="FilterState.SAVED_LIST"
|
|
16
|
-
[ngTemplateOutlet]="savedListTemplate"
|
|
17
|
-
></ng-container>
|
|
18
|
-
<ng-container
|
|
19
|
-
*ngSwitchCase="FilterState.ON_EDIT_FILTER"
|
|
20
|
-
[ngTemplateOutlet]="saveFilterTemplate"
|
|
21
|
-
></ng-container>
|
|
22
|
-
<ng-container
|
|
23
|
-
*ngSwitchCase="FilterState.ON_SAVE_FILTER"
|
|
24
|
-
[ngTemplateOutlet]="saveFilterTemplate"
|
|
25
|
-
></ng-container>
|
|
26
|
-
<ng-container *ngSwitchDefault [ngTemplateOutlet]="backButtonTemplate"></ng-container>
|
|
27
|
-
</ng-container>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<ng-template #filterListTemplate>
|
|
31
|
-
<ng-container *ngIf="showPin">
|
|
32
|
-
<button
|
|
33
|
-
size="s"
|
|
34
|
-
appearanceType="ghost"
|
|
35
|
-
appearance="secondary"
|
|
36
|
-
prizmButton
|
|
37
|
-
class="icon-button"
|
|
38
|
-
(click)="onTogglePin()"
|
|
39
|
-
>
|
|
40
|
-
<img
|
|
41
|
-
[src]="
|
|
42
|
-
'assets/ngx-register-base/icons/' + (isPin ? 'thumbtack-directly.svg' : 'thumbtack.svg')
|
|
43
|
-
"
|
|
44
|
-
/>
|
|
45
|
-
</button>
|
|
46
|
-
|
|
47
|
-
<sproc-divider layout="vertical"></sproc-divider>
|
|
48
|
-
</ng-container>
|
|
49
|
-
|
|
50
|
-
<button
|
|
51
|
-
icon="social-star"
|
|
52
|
-
size="s"
|
|
53
|
-
appearanceType="ghost"
|
|
54
|
-
appearance="secondary"
|
|
55
|
-
prizmButton
|
|
56
|
-
class="icon-button"
|
|
57
|
-
(click)="onSavedList()"
|
|
58
|
-
></button>
|
|
59
|
-
|
|
60
|
-
<button
|
|
61
|
-
icon="tools-content-save"
|
|
62
|
-
size="s"
|
|
63
|
-
appearanceType="ghost"
|
|
64
|
-
appearance="secondary"
|
|
65
|
-
prizmButton
|
|
66
|
-
class="icon-button"
|
|
67
|
-
(click)="onSave()"
|
|
68
|
-
></button>
|
|
69
|
-
|
|
70
|
-
<sproc-divider layout="vertical"></sproc-divider>
|
|
71
|
-
|
|
72
|
-
<button
|
|
73
|
-
icon="selection-check-simple"
|
|
74
|
-
size="s"
|
|
75
|
-
appearanceType="ghost"
|
|
76
|
-
appearance="primary"
|
|
77
|
-
prizmButton
|
|
78
|
-
class="icon-button"
|
|
79
|
-
[disabled]="applyButtonDisabled"
|
|
80
|
-
(click)="onApplyFilter()"
|
|
81
|
-
></button>
|
|
82
|
-
|
|
83
|
-
<button
|
|
84
|
-
icon="tools-eraser"
|
|
85
|
-
size="s"
|
|
86
|
-
appearanceType="ghost"
|
|
87
|
-
appearance="secondary"
|
|
88
|
-
prizmButton
|
|
89
|
-
class="icon-button"
|
|
90
|
-
(click)="onReset()"
|
|
91
|
-
></button>
|
|
92
|
-
|
|
93
|
-
<button
|
|
94
|
-
*ngIf="showCloseButton"
|
|
95
|
-
icon="cancel-close"
|
|
96
|
-
size="s"
|
|
97
|
-
appearanceType="ghost"
|
|
98
|
-
appearance="danger"
|
|
99
|
-
prizmButton
|
|
100
|
-
class="icon-button"
|
|
101
|
-
(click)="onClose()"
|
|
102
|
-
></button>
|
|
103
|
-
</ng-template>
|
|
104
|
-
|
|
105
|
-
<ng-template #savedListTemplate>
|
|
106
|
-
<button
|
|
107
|
-
icon="selection-check-simple"
|
|
108
|
-
size="s"
|
|
109
|
-
appearanceType="ghost"
|
|
110
|
-
appearance="primary"
|
|
111
|
-
prizmButton
|
|
112
|
-
class="icon-button"
|
|
113
|
-
[disabled]="acceptButtonDisabled"
|
|
114
|
-
(click)="onApplySavedFilter()"
|
|
115
|
-
></button>
|
|
116
|
-
|
|
117
|
-
<ng-container *ngTemplateOutlet="backButtonTemplate"></ng-container>
|
|
118
|
-
</ng-template>
|
|
119
|
-
|
|
120
|
-
<ng-template #saveFilterTemplate>
|
|
121
|
-
<button
|
|
122
|
-
icon="tools-content-save"
|
|
123
|
-
size="s"
|
|
124
|
-
appearanceType="ghost"
|
|
125
|
-
appearance="secondary"
|
|
126
|
-
prizmButton
|
|
127
|
-
class="icon-button"
|
|
128
|
-
[disabled]="acceptButtonDisabled"
|
|
129
|
-
(click)="onSaveFilter()"
|
|
130
|
-
></button>
|
|
131
|
-
|
|
132
|
-
<ng-container *ngTemplateOutlet="backButtonTemplate"></ng-container>
|
|
133
|
-
</ng-template>
|
|
134
|
-
|
|
135
|
-
<ng-template #backButtonTemplate>
|
|
136
|
-
<button
|
|
137
|
-
icon="arrows-corner-up-left"
|
|
138
|
-
size="s"
|
|
139
|
-
appearanceType="ghost"
|
|
140
|
-
appearance="secondary"
|
|
141
|
-
prizmButton
|
|
142
|
-
class="icon-button"
|
|
143
|
-
prizmHint="Главное меню фильтров"
|
|
144
|
-
prizmHintTheme="light"
|
|
145
|
-
(click)="onBack()"
|
|
146
|
-
></button>
|
|
147
|
-
</ng-template>
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@import 'fonts';
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
min-height: 40px;
|
|
8
|
-
height: 40px;
|
|
9
|
-
padding: 0 8px 0 16px;
|
|
10
|
-
border-radius: 2px 2px 0 0;
|
|
11
|
-
background: var(--table-header, #eef0f5);
|
|
12
|
-
border-bottom: 1px solid rgba(119, 123, 146, 30%);
|
|
13
|
-
|
|
14
|
-
h4 {
|
|
15
|
-
.static-title-h4;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.sproc-filter-list-header-actions-button {
|
|
19
|
-
height: 32px;
|
|
20
|
-
display: flex;
|
|
21
|
-
|
|
22
|
-
.icon-button {
|
|
23
|
-
height: 32px;
|
|
24
|
-
|
|
25
|
-
::ng-deep {
|
|
26
|
-
.prizm-font-btn-links-14 {
|
|
27
|
-
height: 16px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.z-wrapper {
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
|
|
34
|
-
&[data-appearance='secondary'][data-appearance-type='ghost'] {
|
|
35
|
-
color: #4f5669;
|
|
36
|
-
|
|
37
|
-
&:hover {
|
|
38
|
-
color: var(--main-black);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectionStrategy,
|
|
3
|
-
Component,
|
|
4
|
-
DestroyRef,
|
|
5
|
-
EventEmitter,
|
|
6
|
-
inject,
|
|
7
|
-
Input,
|
|
8
|
-
OnInit,
|
|
9
|
-
Output,
|
|
10
|
-
} from '@angular/core';
|
|
11
|
-
import { map } from 'rxjs';
|
|
12
|
-
import { FilterListService } from '../filter-list.service';
|
|
13
|
-
import { Router } from '@angular/router';
|
|
14
|
-
import { getLastSegmentOfPathName } from '../../../../../utils/get-url-segment';
|
|
15
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
16
|
-
import { EInputsAction, EInputsState, GqlFields } from '../../../../../types';
|
|
17
|
-
import { FiltersStateService } from '../../../../../services';
|
|
18
|
-
|
|
19
|
-
@Component({
|
|
20
|
-
selector: 'sproc-filter-list-header',
|
|
21
|
-
templateUrl: './filter-list-header.component.html',
|
|
22
|
-
styleUrls: ['./filter-list-header.component.less'],
|
|
23
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24
|
-
providers: [FilterListService],
|
|
25
|
-
})
|
|
26
|
-
export class FilterListHeaderComponent implements OnInit {
|
|
27
|
-
@Input() total: number | null = 0;
|
|
28
|
-
@Input() showTotal = true;
|
|
29
|
-
@Input() showPin = true;
|
|
30
|
-
@Input() showCloseButton = true;
|
|
31
|
-
@Input() acceptButtonDisabled = false;
|
|
32
|
-
@Input() applyButtonDisabled = false;
|
|
33
|
-
@Input() filterListHeaderTitle = 'Фильтр';
|
|
34
|
-
|
|
35
|
-
@Output() pinnedChange = new EventEmitter<boolean>();
|
|
36
|
-
@Output() applyFilter = new EventEmitter<GqlFields>();
|
|
37
|
-
@Output() resetFilter = new EventEmitter<void>();
|
|
38
|
-
|
|
39
|
-
private readonly _dr = inject(DestroyRef);
|
|
40
|
-
|
|
41
|
-
public readonly count$ = this._filterStateService.count$;
|
|
42
|
-
public readonly filterState$ = this._filterStateService.state$.pipe(
|
|
43
|
-
map((filterState) => filterState.state)
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
public readonly FilterState = EInputsState;
|
|
47
|
-
|
|
48
|
-
constructor(
|
|
49
|
-
private readonly _router: Router,
|
|
50
|
-
private readonly _filterStateService: FiltersStateService<any>,
|
|
51
|
-
private readonly _filterListService: FilterListService
|
|
52
|
-
) {}
|
|
53
|
-
|
|
54
|
-
public ngOnInit(): void {
|
|
55
|
-
this._filterListService.modulePath = getLastSegmentOfPathName(this._router.url);
|
|
56
|
-
|
|
57
|
-
this._filterListService.apply$.pipe(takeUntilDestroyed(this._dr)).subscribe((gql) => {
|
|
58
|
-
this.applyFilter.emit(gql);
|
|
59
|
-
this._filterListService.savePinnedFilters();
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
public onTogglePin(): void {
|
|
64
|
-
this._filterStateService.togglePin();
|
|
65
|
-
this.pinnedChange.emit(this._filterStateService.isPin);
|
|
66
|
-
this._filterListService.savePinnedFilters();
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
public onSavedList(): void {
|
|
70
|
-
this._filterStateService.setState({
|
|
71
|
-
state: EInputsState.SAVED_LIST,
|
|
72
|
-
action: EInputsAction.OPEN,
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
public onSave(): void {
|
|
77
|
-
this._filterStateService.setState({
|
|
78
|
-
state: EInputsState.ON_SAVE_FILTER,
|
|
79
|
-
action: EInputsAction.AFTER_SAVE_FILTER,
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
public onApplyFilter(): void {
|
|
84
|
-
this._filterListService.applyFilter();
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
public onReset(): void {
|
|
88
|
-
this._filterListService.clear();
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
public onClose(): void {
|
|
92
|
-
this._filterStateService.setPin(false);
|
|
93
|
-
this._filterStateService.setState({ state: EInputsState.HIDDEN, action: EInputsAction.CANCEL });
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
public onApplySavedFilter(): void {
|
|
97
|
-
this._filterListService.applySavedFilter();
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
public onSaveFilter(): void {
|
|
101
|
-
this._filterListService.saveFilter();
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
public onBack(): void {
|
|
105
|
-
this._filterStateService.setState({
|
|
106
|
-
state: EInputsState.FILTER_LIST,
|
|
107
|
-
action: EInputsAction.OPEN,
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
protected get isPin(): boolean {
|
|
112
|
-
return this._filterStateService.isPin;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<div class="sproc-filter-list-saved">
|
|
2
|
-
<prizm-loader [showLoader]="$any(loading$ | async)" [overlay]="true">
|
|
3
|
-
<span *ngIf="savedItems.length === 0" class="input-text-12px"
|
|
4
|
-
>Сохраненых фильтров не найдено
|
|
5
|
-
</span>
|
|
6
|
-
<div
|
|
7
|
-
*ngFor="let item of savedItems; let i = index"
|
|
8
|
-
[class.selected]="item.selected"
|
|
9
|
-
class="sproc-filter-list-saved-item"
|
|
10
|
-
(click)="onSelect(item.id)"
|
|
11
|
-
>
|
|
12
|
-
<div class="input-text-12px">{{ item.name }}</div>
|
|
13
|
-
|
|
14
|
-
<div class="sproc-filter-list-saved-item-action-buttons">
|
|
15
|
-
<button
|
|
16
|
-
[icon]="item.favorite ? 'social-star-fill' : 'social-star'"
|
|
17
|
-
prizmIconButton
|
|
18
|
-
appearanceType="ghost"
|
|
19
|
-
[appearance]="item.favorite ? 'primary' : 'secondary'"
|
|
20
|
-
size="xl"
|
|
21
|
-
(click)="onFavorite(item.id)"
|
|
22
|
-
></button>
|
|
23
|
-
|
|
24
|
-
<button
|
|
25
|
-
[icon]="'editor-mode'"
|
|
26
|
-
prizmIconButton
|
|
27
|
-
appearanceType="ghost"
|
|
28
|
-
appearance="secondary"
|
|
29
|
-
size="xl"
|
|
30
|
-
(click)="onEdit(item.id)"
|
|
31
|
-
></button>
|
|
32
|
-
|
|
33
|
-
<button
|
|
34
|
-
[icon]="'delete'"
|
|
35
|
-
prizmIconButton
|
|
36
|
-
appearanceType="ghost"
|
|
37
|
-
appearance="secondary"
|
|
38
|
-
size="xl"
|
|
39
|
-
(click)="onDelete(item.id)"
|
|
40
|
-
></button>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</prizm-loader>
|
|
44
|
-
</div>
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
.sproc-filter-list-saved {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
padding: 8px 0;
|
|
6
|
-
gap: 1px;
|
|
7
|
-
|
|
8
|
-
.sproc-filter-list-saved-item {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: row;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
height: 32px;
|
|
14
|
-
padding: 0 8px 0 16px;
|
|
15
|
-
|
|
16
|
-
.sproc-filter-list-saved-item-action-buttons {
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: row;
|
|
19
|
-
|
|
20
|
-
button {
|
|
21
|
-
height: 32px;
|
|
22
|
-
min-height: 32px;
|
|
23
|
-
width: 32px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
::ng-deep prizm-wrapper {
|
|
27
|
-
background-color: transparent;
|
|
28
|
-
|
|
29
|
-
:hover {
|
|
30
|
-
color: var(--brand-blue);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.prizm-icon-16.social-star-fill::before {
|
|
34
|
-
color: var(--brand-blue) !important;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.sproc-filter-list-saved-item:hover {
|
|
41
|
-
background-color: var(--brand-hovered);
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.selected {
|
|
47
|
-
background-color: #d0edff !important;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectionStrategy,
|
|
3
|
-
ChangeDetectorRef,
|
|
4
|
-
Component,
|
|
5
|
-
inject,
|
|
6
|
-
OnDestroy,
|
|
7
|
-
OnInit,
|
|
8
|
-
} from '@angular/core';
|
|
9
|
-
import { Router } from '@angular/router';
|
|
10
|
-
import { map, Subscription } from 'rxjs';
|
|
11
|
-
import { SETTINGS_TYPE, USER_PROFILE_LOADER, USER_SETTINGS_LOADER } from '../../../../../consts';
|
|
12
|
-
import { EInputsAction, EInputsState, ITpUserSettings } from '../../../../../types';
|
|
13
|
-
import { FiltersStateService } from '../../../../../services';
|
|
14
|
-
import { getLastSegmentOfPathName } from '../../../../../utils/get-url-segment';
|
|
15
|
-
|
|
16
|
-
interface IFilterSavedItem {
|
|
17
|
-
id: string;
|
|
18
|
-
user_id: string;
|
|
19
|
-
name: string;
|
|
20
|
-
favorite: boolean;
|
|
21
|
-
selected: boolean;
|
|
22
|
-
filter: Record<string, any>;
|
|
23
|
-
settingType: SETTINGS_TYPE;
|
|
24
|
-
sourceSettings: ITpUserSettings;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@Component({
|
|
28
|
-
selector: 'sproc-filter-list-saved',
|
|
29
|
-
templateUrl: './filter-list-saved.component.html',
|
|
30
|
-
styleUrls: ['./filter-list-saved.component.less'],
|
|
31
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
|
-
})
|
|
33
|
-
export class FilterListSavedComponent implements OnInit, OnDestroy {
|
|
34
|
-
public savedItems: IFilterSavedItem[] = [];
|
|
35
|
-
|
|
36
|
-
private filterStateSubscription: Subscription | null = null;
|
|
37
|
-
private savedFiltersSubscription: Subscription | null = null;
|
|
38
|
-
private selectedFilter: ITpUserSettings | null = null;
|
|
39
|
-
private modulePath?: string;
|
|
40
|
-
|
|
41
|
-
private readonly _userSettingsStore = inject(USER_SETTINGS_LOADER);
|
|
42
|
-
private readonly _userProfileService = inject(USER_PROFILE_LOADER);
|
|
43
|
-
|
|
44
|
-
public readonly loading$ = this._userSettingsStore.loading$;
|
|
45
|
-
|
|
46
|
-
constructor(
|
|
47
|
-
private readonly _router: Router,
|
|
48
|
-
private readonly _filterStateService: FiltersStateService<any>,
|
|
49
|
-
private readonly _cdr: ChangeDetectorRef
|
|
50
|
-
) {}
|
|
51
|
-
|
|
52
|
-
public ngOnInit(): void {
|
|
53
|
-
this.modulePath = getLastSegmentOfPathName(this._router.url);
|
|
54
|
-
this.subscribeOnSettings();
|
|
55
|
-
this.subscribeOnFilterState();
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
public ngOnDestroy(): void {
|
|
59
|
-
this.filterStateSubscription?.unsubscribe();
|
|
60
|
-
this.savedFiltersSubscription?.unsubscribe();
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
private subscribeOnFilterState(): void {
|
|
64
|
-
this.filterStateSubscription = this._filterStateService.state$.subscribe((state) => {
|
|
65
|
-
if (state.state === EInputsState.SAVED_LIST) {
|
|
66
|
-
this._userSettingsStore.fetchUserSettingsByUserId({
|
|
67
|
-
userId: this._userProfileService.getUserProfile().id,
|
|
68
|
-
settingsType: SETTINGS_TYPE.FILTER,
|
|
69
|
-
moduleName: this.modulePath!,
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
private subscribeOnSettings(): void {
|
|
76
|
-
this.savedFiltersSubscription = this._userSettingsStore.settings$
|
|
77
|
-
.pipe(
|
|
78
|
-
map((filters) =>
|
|
79
|
-
filters.map((filter) => ({
|
|
80
|
-
id: filter.id,
|
|
81
|
-
user_id: filter.id_user,
|
|
82
|
-
name: filter.name,
|
|
83
|
-
selected: false,
|
|
84
|
-
favorite: filter.settings.favorite!,
|
|
85
|
-
filter: filter.settings.filter!,
|
|
86
|
-
settingType: filter.settings_type,
|
|
87
|
-
sourceSettings: filter,
|
|
88
|
-
}))
|
|
89
|
-
)
|
|
90
|
-
)
|
|
91
|
-
.subscribe((values) => {
|
|
92
|
-
this.savedItems = values.filter(
|
|
93
|
-
(value) => value.settingType === undefined || value.settingType === SETTINGS_TYPE.FILTER
|
|
94
|
-
);
|
|
95
|
-
this._cdr.markForCheck();
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
public onSelect(id: string): void {
|
|
100
|
-
this.savedItems = this.savedItems.map((item) => {
|
|
101
|
-
if (id === item.id) {
|
|
102
|
-
this.selectedFilter = item.sourceSettings;
|
|
103
|
-
this._filterStateService.setSelectedSavedFilter(item.sourceSettings);
|
|
104
|
-
return { ...item, selected: true };
|
|
105
|
-
}
|
|
106
|
-
return { ...item, selected: false };
|
|
107
|
-
});
|
|
108
|
-
this._cdr.markForCheck();
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
public onFavorite(id: string): void {
|
|
112
|
-
const foundedItem = this.savedItems.find((item) => item.id === id);
|
|
113
|
-
const defaultFounded = this.savedItems.find((item) => item.favorite && item.id !== id);
|
|
114
|
-
if (!foundedItem) {
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
foundedItem.favorite = !foundedItem.favorite;
|
|
118
|
-
|
|
119
|
-
if (defaultFounded) {
|
|
120
|
-
this.savedItems = this.savedItems.map((item) => {
|
|
121
|
-
const newItem = { ...item };
|
|
122
|
-
|
|
123
|
-
if (item.sourceSettings.id === defaultFounded.sourceSettings.id) {
|
|
124
|
-
newItem.favorite = false;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
return newItem;
|
|
128
|
-
});
|
|
129
|
-
this._userSettingsStore.updateUserSettingsSettingsById({
|
|
130
|
-
id: defaultFounded.sourceSettings.id,
|
|
131
|
-
settings: {
|
|
132
|
-
...defaultFounded.sourceSettings.settings,
|
|
133
|
-
favorite: false,
|
|
134
|
-
},
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
this._userSettingsStore.updateUserSettingsSettingsById({
|
|
138
|
-
id,
|
|
139
|
-
settings: {
|
|
140
|
-
...foundedItem.sourceSettings.settings,
|
|
141
|
-
favorite: foundedItem.favorite,
|
|
142
|
-
},
|
|
143
|
-
});
|
|
144
|
-
this._cdr.markForCheck();
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
public onEdit(id: string): void {
|
|
148
|
-
const foundedFilter = this.savedItems.find((item) => id === item.id);
|
|
149
|
-
if (foundedFilter) {
|
|
150
|
-
this._filterStateService.setSelectedSavedFilter(foundedFilter.sourceSettings);
|
|
151
|
-
this._filterStateService.setState({
|
|
152
|
-
state: EInputsState.ON_EDIT_FILTER,
|
|
153
|
-
action: EInputsAction.EDIT_FILTER,
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
public onDelete(id: string): void {
|
|
159
|
-
const foundedIndex = this.savedItems.findIndex((item) => item.id === id);
|
|
160
|
-
if (foundedIndex === -1) {
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
this.savedItems.splice(foundedIndex, 1);
|
|
164
|
-
this._userSettingsStore.deleteUserSettingsById({ id });
|
|
165
|
-
this._cdr.markForCheck();
|
|
166
|
-
}
|
|
167
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { inject, Injectable } from '@angular/core';
|
|
2
|
-
import { ReplaySubject, take } from 'rxjs';
|
|
3
|
-
import { EInputsAction, EInputsState, GqlFields, ITpUserSettings } from '../../../../types';
|
|
4
|
-
import { FiltersService, FiltersStateService } from '../../../../services';
|
|
5
|
-
import { SETTINGS_TYPE, USER_SETTINGS_LOADER } from '../../../../consts';
|
|
6
|
-
|
|
7
|
-
@Injectable()
|
|
8
|
-
export class FilterListService {
|
|
9
|
-
public readonly apply$ = new ReplaySubject<GqlFields>();
|
|
10
|
-
|
|
11
|
-
public modulePath!: string;
|
|
12
|
-
|
|
13
|
-
private _pinnedFilterSetting: ITpUserSettings | undefined;
|
|
14
|
-
|
|
15
|
-
private readonly settingsStore = inject(USER_SETTINGS_LOADER);
|
|
16
|
-
|
|
17
|
-
constructor(
|
|
18
|
-
private readonly _filtersService: FiltersService<any>,
|
|
19
|
-
private readonly _filterStateService: FiltersStateService<any>
|
|
20
|
-
) {}
|
|
21
|
-
|
|
22
|
-
public applyFilter(): void {
|
|
23
|
-
this.apply$.next(this._filtersService.gqlFilter);
|
|
24
|
-
this._filterStateService.setState({
|
|
25
|
-
state: EInputsState.FILTER_LIST,
|
|
26
|
-
action: EInputsAction.APPLY_FILTERS,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
public applySavedFilter(): void {
|
|
31
|
-
const savedFilter = this._filterStateService.getSelectedSavedFilter();
|
|
32
|
-
if (savedFilter) {
|
|
33
|
-
this._filtersService.setUserSettingsFilterValues(savedFilter.settings?.filter ?? []);
|
|
34
|
-
this._filterStateService.setSelectedSavedFilter(null);
|
|
35
|
-
this._filterStateService.setState({
|
|
36
|
-
state: EInputsState.FILTER_LIST,
|
|
37
|
-
action: EInputsAction.APPLY_SAVED_FILTER,
|
|
38
|
-
});
|
|
39
|
-
this.apply$.next(this._filtersService.gqlFilter);
|
|
40
|
-
} else {
|
|
41
|
-
console.error('Выбранный фильтр не найден');
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
public saveFilter(): void {
|
|
46
|
-
if (!this.modulePath) {
|
|
47
|
-
console.error('modulePath не инициализирован');
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
const saved = this._filterStateService.getSelectedSavedFilter();
|
|
51
|
-
this.settingsStore.upsertEnded$.pipe(take(1)).subscribe(() => {
|
|
52
|
-
this._filterStateService.setSelectedSavedFilter(null);
|
|
53
|
-
this._filterStateService.setState({
|
|
54
|
-
state: EInputsState.SAVED_LIST,
|
|
55
|
-
action: EInputsAction.AFTER_SAVE_FILTER,
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
this.settingsStore.upsertUserSettingsByUserId({
|
|
60
|
-
settings: {
|
|
61
|
-
id: saved?.id ?? undefined,
|
|
62
|
-
name: this._filterStateService.name,
|
|
63
|
-
settings: {
|
|
64
|
-
favorite: saved?.settings?.favorite ?? false,
|
|
65
|
-
filter: this._filtersService.userSettingsFilter,
|
|
66
|
-
},
|
|
67
|
-
module_name: this.modulePath,
|
|
68
|
-
settings_type: SETTINGS_TYPE.FILTER,
|
|
69
|
-
},
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
public clear(): void {
|
|
74
|
-
this._filtersService.clear();
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
public savePinnedFilters(): void {
|
|
78
|
-
this.settingsStore
|
|
79
|
-
.upsertReturningOne$(SETTINGS_TYPE.REGISTER_PINNED_INPUTS)
|
|
80
|
-
.subscribe((setting) => {
|
|
81
|
-
this._pinnedFilterSetting = setting ?? undefined;
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
this.settingsStore.upsertUserSettingsByUserId({
|
|
85
|
-
settings: {
|
|
86
|
-
id: this._pinnedFilterSetting?.id,
|
|
87
|
-
settings: {
|
|
88
|
-
filter: this._filtersService.userSettingsFilter,
|
|
89
|
-
pinned: this._filterStateService.isPin,
|
|
90
|
-
},
|
|
91
|
-
module_name: this.modulePath,
|
|
92
|
-
settings_type: SETTINGS_TYPE.REGISTER_PINNED_INPUTS,
|
|
93
|
-
},
|
|
94
|
-
hidden: true,
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<div class="panel-head" (click)="toggleHeader()">
|
|
2
|
-
<div class="title">
|
|
3
|
-
<span class="title__font">{{ label() }}</span>
|
|
4
|
-
@if (haveAppliedFilters()) {
|
|
5
|
-
<div class="title__wrapper--relative">
|
|
6
|
-
<div class="title-wrapper--absolute indicator__wrapper">
|
|
7
|
-
<div class="indicator__icon indicator--danger"></div>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
}
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<prizm-icons [name]="isOpen() ? 'chevrons-up' : 'chevrons-down'" size="16"></prizm-icons>
|
|
14
|
-
</div>
|
|
15
|
-
|
|
16
|
-
<div class="filters-block" [attr.show]="isOpen()">
|
|
17
|
-
<ng-content></ng-content>
|
|
18
|
-
</div>
|