nuxeo-development-framework 0.0.0-watch
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/README.md +24 -0
- package/esm2015/lib/components/activities-log/activities-log/activities-log.component.js +188 -0
- package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +35 -0
- package/esm2015/lib/components/activities-log/activities-log.module.js +41 -0
- package/esm2015/lib/components/activity/activity/activity.component.js +28 -0
- package/esm2015/lib/components/activity/activity.module.js +37 -0
- package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +54 -0
- package/esm2015/lib/components/attachment-item/attachment-item.module.js +44 -0
- package/esm2015/lib/components/attachment-modal/attachment-modal.module.js +40 -0
- package/esm2015/lib/components/attachment-modal/attachments/attachments.component.js +157 -0
- package/esm2015/lib/components/avatar/avatar/avatar.component.js +55 -0
- package/esm2015/lib/components/avatar/avatar.module.js +32 -0
- package/esm2015/lib/components/card/card.component.js +48 -0
- package/esm2015/lib/components/card/card.module.js +23 -0
- package/esm2015/lib/components/charts/chart.const.js +3 -0
- package/esm2015/lib/components/charts/chart.token.js +3 -0
- package/esm2015/lib/components/charts/charts.module.js +19 -0
- package/esm2015/lib/components/charts/components/base-chart.component.js +44 -0
- package/esm2015/lib/components/charts/components/chart.component.js +135 -0
- package/esm2015/lib/components/charts/components/data-chart.component.js +156 -0
- package/esm2015/lib/components/charts/components/index.js +4 -0
- package/esm2015/lib/components/charts/defaults/bar.js +18 -0
- package/esm2015/lib/components/charts/defaults/doughnut.js +18 -0
- package/esm2015/lib/components/charts/defaults/index.js +5 -0
- package/esm2015/lib/components/charts/defaults/line.js +36 -0
- package/esm2015/lib/components/charts/defaults/pie.js +20 -0
- package/esm2015/lib/components/charts/index.js +10 -0
- package/esm2015/lib/components/charts/models/index.js +5 -0
- package/esm2015/lib/components/charts/models/options.js +2 -0
- package/esm2015/lib/components/charts/models/plugins-options.js +2 -0
- package/esm2015/lib/components/charts/models/response.js +2 -0
- package/esm2015/lib/components/charts/models/statistic-request-config.js +2 -0
- package/esm2015/lib/components/charts/plugins/doughnut-center-text.js +25 -0
- package/esm2015/lib/components/charts/plugins/doughnut-empty-state.js +34 -0
- package/esm2015/lib/components/charts/plugins/index.js +4 -0
- package/esm2015/lib/components/charts/plugins/legend-margin.js +16 -0
- package/esm2015/lib/components/charts/services/index.js +2 -0
- package/esm2015/lib/components/charts/services/statistic.service.js +71 -0
- package/esm2015/lib/components/charts/utility/colors.js +79 -0
- package/esm2015/lib/components/charts/utility/common.js +7 -0
- package/esm2015/lib/components/charts/utility/index.js +3 -0
- package/esm2015/lib/components/comments/comments.module.js +86 -0
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +94 -0
- package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +81 -0
- package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +74 -0
- package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +57 -0
- package/esm2015/lib/components/comments/constants/comment.js +25 -0
- package/esm2015/lib/components/comments/services/comment-api.service.js +71 -0
- package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +77 -0
- package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +28 -0
- package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +29 -0
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.js +30 -0
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog.module.js +30 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +148 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +150 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +111 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +69 -0
- package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +105 -0
- package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +119 -0
- package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +165 -0
- package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +54 -0
- package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +69 -0
- package/esm2015/lib/components/create-entity/create-entity.module.js +36 -0
- package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +180 -0
- package/esm2015/lib/components/cts-tags/cts-tags.module.js +65 -0
- package/esm2015/lib/components/cts-tags/services/tags-api.service.js +86 -0
- package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +67 -0
- package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +36 -0
- package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +2 -0
- package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +63 -0
- package/esm2015/lib/components/diagrams/components/base-node.component.js +41 -0
- package/esm2015/lib/components/diagrams/components/circle-node/circle-node.component.js +19 -0
- package/esm2015/lib/components/diagrams/components/connection-label.component.js +92 -0
- package/esm2015/lib/components/diagrams/components/content-node/content-node.component.js +20 -0
- package/esm2015/lib/components/diagrams/components/custom-connection.component.js +84 -0
- package/esm2015/lib/components/diagrams/components/custom-socket.component.js +37 -0
- package/esm2015/lib/components/diagrams/components/gateway-node/gateway-node.component.js +18 -0
- package/esm2015/lib/components/diagrams/components/gateway-ports.component.js +118 -0
- package/esm2015/lib/components/diagrams/components/index.js +16 -0
- package/esm2015/lib/components/diagrams/components/node-icon.component.js +35 -0
- package/esm2015/lib/components/diagrams/components/node-inputs.component.js +61 -0
- package/esm2015/lib/components/diagrams/components/node-outputs.component.js +57 -0
- package/esm2015/lib/components/diagrams/components/node-ports.component.js +98 -0
- package/esm2015/lib/components/diagrams/components/remove-button.component.js +68 -0
- package/esm2015/lib/components/diagrams/components/status-icon.component.js +37 -0
- package/esm2015/lib/components/diagrams/components/template-node/template-node.component.js +40 -0
- package/esm2015/lib/components/diagrams/components/zoom-control.component.js +62 -0
- package/esm2015/lib/components/diagrams/constants/defaults.js +19 -0
- package/esm2015/lib/components/diagrams/constants/direction.js +7 -0
- package/esm2015/lib/components/diagrams/constants/index.js +8 -0
- package/esm2015/lib/components/diagrams/constants/message-type.js +5 -0
- package/esm2015/lib/components/diagrams/constants/node-type.js +8 -0
- package/esm2015/lib/components/diagrams/constants/notify-events.js +4 -0
- package/esm2015/lib/components/diagrams/constants/sizes.js +8 -0
- package/esm2015/lib/components/diagrams/constants/status.js +12 -0
- package/esm2015/lib/components/diagrams/diagrams.module.js +81 -0
- package/esm2015/lib/components/diagrams/directive/diagram.directive.js +86 -0
- package/esm2015/lib/components/diagrams/directive/index.js +2 -0
- package/esm2015/lib/components/diagrams/editor/customize.js +62 -0
- package/esm2015/lib/components/diagrams/editor/editor.js +97 -0
- package/esm2015/lib/components/diagrams/editor/index.js +5 -0
- package/esm2015/lib/components/diagrams/editor/overrides/connection-path.transformers.js +50 -0
- package/esm2015/lib/components/diagrams/editor/overrides/index.js +2 -0
- package/esm2015/lib/components/diagrams/editor/path-plugin.js +18 -0
- package/esm2015/lib/components/diagrams/editor/socket-position-watcher.js +7 -0
- package/esm2015/lib/components/diagrams/index.js +2 -0
- package/esm2015/lib/components/diagrams/models/base-node.model.js +26 -0
- package/esm2015/lib/components/diagrams/models/circle-node.model.js +10 -0
- package/esm2015/lib/components/diagrams/models/connection.model.js +15 -0
- package/esm2015/lib/components/diagrams/models/content-node.model.js +7 -0
- package/esm2015/lib/components/diagrams/models/gate-way.model.js +11 -0
- package/esm2015/lib/components/diagrams/models/index.js +8 -0
- package/esm2015/lib/components/diagrams/models/ports.model.js +14 -0
- package/esm2015/lib/components/diagrams/models/socket.model.js +9 -0
- package/esm2015/lib/components/diagrams/models/template-node.model.js +12 -0
- package/esm2015/lib/components/diagrams/public-api.js +9 -0
- package/esm2015/lib/components/diagrams/services/diagram-plugins.service.js +19 -0
- package/esm2015/lib/components/diagrams/services/diagram.service.js +222 -0
- package/esm2015/lib/components/diagrams/services/index.js +5 -0
- package/esm2015/lib/components/diagrams/services/message.service.js +24 -0
- package/esm2015/lib/components/diagrams/services/workflow.service.js +239 -0
- package/esm2015/lib/components/diagrams/types/common.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/connection-config.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/connection-label.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/customization.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/diagram-config.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/diagram-editor.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/emitter-type.js +2 -0
- package/esm2015/lib/components/diagrams/types/index.js +18 -0
- package/esm2015/lib/components/diagrams/types/layout.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/node-content.js +2 -0
- package/esm2015/lib/components/diagrams/types/node-definition.js +2 -0
- package/esm2015/lib/components/diagrams/types/node-status.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/node.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/notify-event.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/path.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/ports-config.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/schemes.type.js +2 -0
- package/esm2015/lib/components/diagrams/types/socket.type.js +2 -0
- package/esm2015/lib/components/diagrams/utilities/common.js +35 -0
- package/esm2015/lib/components/diagrams/utilities/index.js +5 -0
- package/esm2015/lib/components/diagrams/utilities/random.js +11 -0
- package/esm2015/lib/components/diagrams/utilities/remove.util.js +95 -0
- package/esm2015/lib/components/diagrams/utilities/serialize.js +23 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.js +44 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +140 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon.module.js +24 -0
- package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +159 -0
- package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +76 -0
- package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +251 -0
- package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +975 -0
- package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +30 -0
- package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +175 -0
- package/esm2015/lib/components/documents/components/documents/documents.component.js +63 -0
- package/esm2015/lib/components/documents/constants/document-templates.js +32 -0
- package/esm2015/lib/components/documents/constants/documents.js +86 -0
- package/esm2015/lib/components/documents/documents.module.js +123 -0
- package/esm2015/lib/components/documents/services/document-templates.service.js +115 -0
- package/esm2015/lib/components/documents/services/documents.service.js +223 -0
- package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +545 -0
- package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +38 -0
- package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +558 -0
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +201 -0
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +51 -0
- package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +137 -0
- package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +27 -0
- package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +129 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +105 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +127 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +107 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +35 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +165 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +71 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +213 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +78 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/constants/department.js +13 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +230 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +253 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +104 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +85 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +139 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +81 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +36 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +106 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +104 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +207 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +337 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +64 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +191 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +81 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +180 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +316 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +79 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +336 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +54 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +178 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +768 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +35 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.js +17 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +34 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.js +17 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +74 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.js +30 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +32 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.js +30 -0
- package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +17 -0
- package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +306 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.js +10 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-baseitem.model.js +63 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-boolitem.model.js +20 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-dateitem.model.js +24 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.js +12 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-mapitem.model.js +16 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-selectitem.model.js +17 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-textitem.model.js +32 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form.models.js +8 -0
- package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +46 -0
- package/esm2015/lib/components/dynamic-form/services/dynamic-component-mapper.service.js +60 -0
- package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +83 -0
- package/esm2015/lib/components/dynamic-form/validators/length-validator.js +15 -0
- package/esm2015/lib/components/dynamic-form/validators/regex-validator.js +15 -0
- package/esm2015/lib/components/dynamic-form/validators/required-validator.js +9 -0
- package/esm2015/lib/components/dynamic-form/validators/value-validator.js +15 -0
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +342 -0
- package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +61 -0
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +288 -0
- package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +44 -0
- package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +16 -0
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.js +39 -0
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs.module.js +34 -0
- package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +37 -0
- package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +59 -0
- package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +68 -0
- package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +33 -0
- package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +36 -0
- package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +56 -0
- package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +90 -0
- package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +72 -0
- package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +70 -0
- package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +62 -0
- package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +40 -0
- package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +150 -0
- package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +264 -0
- package/esm2015/lib/components/file-manger/components/copy/copy.component.js +151 -0
- package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +118 -0
- package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +526 -0
- package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +28 -0
- package/esm2015/lib/components/file-manger/components/delete/delete.component.js +103 -0
- package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +131 -0
- package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +107 -0
- package/esm2015/lib/components/file-manger/components/move/move.component.js +140 -0
- package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +152 -0
- package/esm2015/lib/components/file-manger/components/rename/rename.component.js +114 -0
- package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +347 -0
- package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +314 -0
- package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +257 -0
- package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +68 -0
- package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +102 -0
- package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +366 -0
- package/esm2015/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.js +78 -0
- package/esm2015/lib/components/file-manger/file-manager.abstract.js +1202 -0
- package/esm2015/lib/components/file-manger/file-manger.module.js +304 -0
- package/esm2015/lib/components/file-manger/models/file-manager-config.model.js +7 -0
- package/esm2015/lib/components/file-manger/models/index.js +4 -0
- package/esm2015/lib/components/file-manger/models/pagination-payload.mode.js +2 -0
- package/esm2015/lib/components/file-manger/models/pagination-response.model.js +6 -0
- package/esm2015/lib/components/filter/filter/filter.component.js +102 -0
- package/esm2015/lib/components/filter/filter.module.js +45 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +123 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +126 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +165 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +32 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +58 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +71 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +30 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +43 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +26 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/consts.js +5 -0
- package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +80 -0
- package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +78 -0
- package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +38 -0
- package/esm2015/lib/components/latest-activity/constants/activitylog.js +80 -0
- package/esm2015/lib/components/latest-activity/latest-activity.module.js +61 -0
- package/esm2015/lib/components/latest-activity/services/activity-log.service.js +33 -0
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +51 -0
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.js +30 -0
- package/esm2015/lib/components/notifications/components/base-list-notfications.component.js +156 -0
- package/esm2015/lib/components/notifications/components/base-notifications.component.js +17 -0
- package/esm2015/lib/components/notifications/components/index.js +7 -0
- package/esm2015/lib/components/notifications/components/notification-item/get-icon.pipe.js +44 -0
- package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +55 -0
- package/esm2015/lib/components/notifications/components/notification-source-select/notification-source-select.component.js +38 -0
- package/esm2015/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.js +26 -0
- package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +148 -0
- package/esm2015/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.js +63 -0
- package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +69 -0
- package/esm2015/lib/components/notifications/components/notifications-list/options.js +24 -0
- package/esm2015/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.js +43 -0
- package/esm2015/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.js +29 -0
- package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.js +30 -0
- package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.component.js +163 -0
- package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.js +28 -0
- package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.js +158 -0
- package/esm2015/lib/components/notifications/constants/date.js +8 -0
- package/esm2015/lib/components/notifications/constants/index.js +5 -0
- package/esm2015/lib/components/notifications/constants/pagination.js +5 -0
- package/esm2015/lib/components/notifications/constants/panel.js +5 -0
- package/esm2015/lib/components/notifications/constants/status.js +10 -0
- package/esm2015/lib/components/notifications/containers/index.js +3 -0
- package/esm2015/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.js +98 -0
- package/esm2015/lib/components/notifications/containers/notifications-list-container/options.js +18 -0
- package/esm2015/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.js +68 -0
- package/esm2015/lib/components/notifications/directives/button.directive.js +28 -0
- package/esm2015/lib/components/notifications/directives/index.js +3 -0
- package/esm2015/lib/components/notifications/directives/notification.directive.js +28 -0
- package/esm2015/lib/components/notifications/index.js +2 -0
- package/esm2015/lib/components/notifications/models/common.js +2 -0
- package/esm2015/lib/components/notifications/models/index.js +12 -0
- package/esm2015/lib/components/notifications/models/notification-definition.model.js +2 -0
- package/esm2015/lib/components/notifications/models/notification-message.mode.js +2 -0
- package/esm2015/lib/components/notifications/models/notification-options.js +2 -0
- package/esm2015/lib/components/notifications/models/notification-setting.presenter.js +2 -0
- package/esm2015/lib/components/notifications/models/notification-subscription.model.js +2 -0
- package/esm2015/lib/components/notifications/models/notification.model.js +2 -0
- package/esm2015/lib/components/notifications/models/notifications-list-options.js +3 -0
- package/esm2015/lib/components/notifications/models/paging-response.model.js +2 -0
- package/esm2015/lib/components/notifications/models/params.model.js +2 -0
- package/esm2015/lib/components/notifications/models/vocabularies.js +2 -0
- package/esm2015/lib/components/notifications/notifications.module.js +147 -0
- package/esm2015/lib/components/notifications/public-api.js +12 -0
- package/esm2015/lib/components/notifications/services/index.js +2 -0
- package/esm2015/lib/components/notifications/services/listener.service.js +19 -0
- package/esm2015/lib/components/notifications/services/notifications.service.js +178 -0
- package/esm2015/lib/components/notifications/services/params.service.js +31 -0
- package/esm2015/lib/components/notifications/services/response.service.js +65 -0
- package/esm2015/lib/components/notifications/services/socket.service.js +84 -0
- package/esm2015/lib/components/notifications/utilities/index.js +2 -0
- package/esm2015/lib/components/notifications/utilities/response.adapter.js +12 -0
- package/esm2015/lib/components/pagination/pagination/pagination.component.js +124 -0
- package/esm2015/lib/components/pagination/pagination.module.js +32 -0
- package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +24 -0
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +768 -0
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +241 -0
- package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +195 -0
- package/esm2015/lib/components/permissions/permission.service.js +118 -0
- package/esm2015/lib/components/permissions/permissions/permissions.component.js +278 -0
- package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +101 -0
- package/esm2015/lib/components/permissions/permissions.module.js +87 -0
- package/esm2015/lib/components/select/select/select.component.js +130 -0
- package/esm2015/lib/components/select/select.module.js +39 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-department.module.js +47 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +27 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +116 -0
- package/esm2015/lib/components/spell-checker-field/spell-checker-field.module.js +37 -0
- package/esm2015/lib/components/spell-checker-field/spell-checker-text-field/spell-checker-text-field.component.js +88 -0
- package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +64 -0
- package/esm2015/lib/components/table/dynamic-component.js +59 -0
- package/esm2015/lib/components/table/page-sizes-list/page-sizes-list.component.js +38 -0
- package/esm2015/lib/components/table/table/table.component.js +257 -0
- package/esm2015/lib/components/table/table.module.js +69 -0
- package/esm2015/lib/components/toasts/components/notification-toast/notification-toast.component.js +53 -0
- package/esm2015/lib/components/toasts/index.js +2 -0
- package/esm2015/lib/components/toasts/public-api.js +3 -0
- package/esm2015/lib/components/toasts/toasts.module.js +19 -0
- package/esm2015/lib/components/user/user/user.component.js +31 -0
- package/esm2015/lib/components/user/user.module.js +30 -0
- package/esm2015/lib/components/users-card/users-card.component.js +43 -0
- package/esm2015/lib/components/users-card/users-card.module.js +28 -0
- package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +38 -0
- package/esm2015/lib/components/viewer-log/viewer-log.module.js +20 -0
- package/esm2015/lib/components/vocabulary/interfaces/op-type.interface.js +2 -0
- package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +55 -0
- package/esm2015/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.js +217 -0
- package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +106 -0
- package/esm2015/lib/components/vocabulary/vocabulary.module.js +41 -0
- package/esm2015/lib/configuration/app-config.service.js +31 -0
- package/esm2015/lib/configuration/helpers/app-initializer.js +4 -0
- package/esm2015/lib/core/adapters/adapter.service.js +50 -0
- package/esm2015/lib/core/core.module.js +117 -0
- package/esm2015/lib/core/enums/language.enum.js +6 -0
- package/esm2015/lib/core/env/env-manager.js +15 -0
- package/esm2015/lib/core/env/index.js +2 -0
- package/esm2015/lib/core/models/api-response.model.js +2 -0
- package/esm2015/lib/core/models/automation-response.model.js +2 -0
- package/esm2015/lib/core/models/base-response.models.js +2 -0
- package/esm2015/lib/core/models/component.model.js +8 -0
- package/esm2015/lib/core/models/index.js +5 -0
- package/esm2015/lib/core/services/callApi/call-api.service.js +50 -0
- package/esm2015/lib/core/services/extension/action.extensions.js +9 -0
- package/esm2015/lib/core/services/extension/component-register.service.js +25 -0
- package/esm2015/lib/core/services/extension/extenion-utils.js +115 -0
- package/esm2015/lib/core/services/extension/extension-element.js +2 -0
- package/esm2015/lib/core/services/extension/extension-loader.service.js +127 -0
- package/esm2015/lib/core/services/extension/extension.service.js +120 -0
- package/esm2015/lib/core/services/initialization/initialization.service.js +138 -0
- package/esm2015/lib/core/services/localStorag/local-storag.service.js +123 -0
- package/esm2015/lib/core/services/nuxeo/new-nuxeo-overide.js +146 -0
- package/esm2015/lib/core/services/nuxeo/nuxeo-override.js +82 -0
- package/esm2015/lib/core/services/nuxeo/nuxeo.service.js +155 -0
- package/esm2015/lib/core/services/roles/roles.service.js +130 -0
- package/esm2015/lib/core/services/translation/translate-loader.service.js +150 -0
- package/esm2015/lib/core/services/translation/translation.service.js +176 -0
- package/esm2015/lib/core/services/user/user-preferences.service.js +171 -0
- package/esm2015/lib/core/utilities/moment-date-adapter.js +178 -0
- package/esm2015/lib/core/utilities/utility.service.js +81 -0
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +61 -0
- package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +29 -0
- package/esm2015/lib/directive/directive.module.js +52 -0
- package/esm2015/lib/directive/drag-and-drop/drag-and-drop.directive.js +46 -0
- package/esm2015/lib/directive/permissions/evaluators.service.js +152 -0
- package/esm2015/lib/directive/permissions/permissions.directive.js +69 -0
- package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +28 -0
- package/esm2015/lib/directive/rtl/set-rtl.directive.js +29 -0
- package/esm2015/lib/nuxeo-development-framework.component.js +26 -0
- package/esm2015/lib/nuxeo-development-framework.module.js +20 -0
- package/esm2015/lib/nuxeo-development-framework.service.js +14 -0
- package/esm2015/lib/pipes/file-size.pipe.js +57 -0
- package/esm2015/lib/pipes/hijri-date.pipe.js +46 -0
- package/esm2015/lib/pipes/localized-date.pipe.js +81 -0
- package/esm2015/lib/pipes/multi-value.pipe.js +42 -0
- package/esm2015/lib/pipes/pipes.module.js +29 -0
- package/esm2015/lib/pipes/secure-html.pipe.js +34 -0
- package/esm2015/lib/pipes/secure.pipe.js +40 -0
- package/esm2015/lib/pipes/time-ago.pipe.js +68 -0
- package/esm2015/lib/shared/components/base/base-column.component.js +18 -0
- package/esm2015/lib/shared/components/base/base-dialog.component.js +25 -0
- package/esm2015/lib/shared/components/base/base-selector.component.js +96 -0
- package/esm2015/lib/shared/components/base/base.component.js +57 -0
- package/esm2015/lib/shared/components/base/destroy.subject.js +19 -0
- package/esm2015/lib/shared/components/base/index.js +6 -0
- package/esm2015/lib/shared/components/button/button.component.js +90 -0
- package/esm2015/lib/shared/components/index.js +3 -0
- package/esm2015/lib/shared/components/item-list/item-list.component.js +78 -0
- package/esm2015/lib/shared/components/no-data/no-data.component.js +41 -0
- package/esm2015/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.js +23 -0
- package/esm2015/lib/shared/components/nuxeo-dialog/index.js +6 -0
- package/esm2015/lib/shared/components/nuxeo-dialog/models/confirm-options.model.js +22 -0
- package/esm2015/lib/shared/components/nuxeo-dialog/models/dialog-option.model.js +2 -0
- package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.js +47 -0
- package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo.dialog.js +86 -0
- package/esm2015/lib/shared/components/nuxeo-dialog/services/nuxeo-dialog.service.js +56 -0
- package/esm2015/lib/shared/components/read-more/read-more.component.js +108 -0
- package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +146 -0
- package/esm2015/lib/shared/components/spinner/spinner.component.js +29 -0
- package/esm2015/lib/shared/components/user-card/user-card.component.js +49 -0
- package/esm2015/lib/shared/libraryShared.module.js +85 -0
- package/esm2015/lib/shared/models/index.js +4 -0
- package/esm2015/lib/shared/models/mapper/index.js +2 -0
- package/esm2015/lib/shared/models/mapper/nuxeo-mapper.js +32 -0
- package/esm2015/lib/shared/models/nuxeo-response.model.js +2 -0
- package/esm2015/lib/shared/models/task.model.js +2 -0
- package/esm2015/lib/shared/services/base/base.service.js +157 -0
- package/esm2015/lib/shared/services/base/cache-base.service.js +295 -0
- package/esm2015/lib/shared/services/base/config/default-ttl-config.js +9 -0
- package/esm2015/lib/shared/services/base/config/index.js +2 -0
- package/esm2015/lib/shared/services/base/constants/default-cache-options.js +28 -0
- package/esm2015/lib/shared/services/base/constants/index.js +2 -0
- package/esm2015/lib/shared/services/base/http-base.service.js +106 -0
- package/esm2015/lib/shared/services/base/index.js +3 -0
- package/esm2015/lib/shared/services/base/models/cache-info-model.js +12 -0
- package/esm2015/lib/shared/services/base/models/http-options.model.js +2 -0
- package/esm2015/lib/shared/services/base/models/index.js +6 -0
- package/esm2015/lib/shared/services/base/models/operation-options.model.js +2 -0
- package/esm2015/lib/shared/services/base/models/query-options.model.js +2 -0
- package/esm2015/lib/shared/services/base/models/request-options.model.js +2 -0
- package/esm2015/lib/shared/services/index.js +2 -0
- package/esm2015/lib/shared-services/dialog-mangment.service.js +102 -0
- package/esm2015/lib/shared-services/dynamic-form.service.js +241 -0
- package/esm2015/lib/shared-services/file-manager.adapter.js +74 -0
- package/esm2015/lib/shared-services/file-manager.service.js +1028 -0
- package/esm2015/lib/shared-services/global-admin.service.js +22 -0
- package/esm2015/lib/shared-services/global-pdftron.service.js +51 -0
- package/esm2015/lib/shared-services/mainfolder.service.js +170 -0
- package/esm2015/lib/shared-services/publishing-document.service.js +202 -0
- package/esm2015/lib/shared-services/recently-viewed.service.js +57 -0
- package/esm2015/lib/shared-services/shared-docs.service.js +129 -0
- package/esm2015/lib/shared-services/shared-services.module.js +20 -0
- package/esm2015/lib/shared-services/upload-file.service.js +29 -0
- package/esm2015/lib/shared-services/upload-managment.service.js +151 -0
- package/esm2015/lib/shared-services/user.service.js +64 -0
- package/esm2015/nuxeo-development-framework.js +5 -0
- package/esm2015/public-api.js +249 -0
- package/fesm2015/nuxeo-development-framework.js +33522 -0
- package/fesm2015/nuxeo-development-framework.js.map +1 -0
- package/lib/components/activities-log/activities-log/activities-log.component.d.ts +26 -0
- package/lib/components/activities-log/activities-log/activities-log.service.d.ts +9 -0
- package/lib/components/activities-log/activities-log.module.d.ts +12 -0
- package/lib/components/activity/activity/activity.component.d.ts +13 -0
- package/lib/components/activity/activity.module.d.ts +13 -0
- package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +21 -0
- package/lib/components/attachment-item/attachment-item.module.d.ts +13 -0
- package/lib/components/attachment-modal/attachment-modal.module.d.ts +12 -0
- package/lib/components/attachment-modal/attachments/attachments.component.d.ts +50 -0
- package/lib/components/avatar/avatar/avatar.component.d.ts +23 -0
- package/lib/components/avatar/avatar.module.d.ts +13 -0
- package/lib/components/card/card.component.d.ts +32 -0
- package/lib/components/card/card.module.d.ts +12 -0
- package/lib/components/charts/chart.const.d.ts +2 -0
- package/lib/components/charts/chart.token.d.ts +8 -0
- package/lib/components/charts/charts.module.d.ts +9 -0
- package/lib/components/charts/components/base-chart.component.d.ts +21 -0
- package/lib/components/charts/components/chart.component.d.ts +28 -0
- package/lib/components/charts/components/data-chart.component.d.ts +36 -0
- package/lib/components/charts/components/index.d.ts +3 -0
- package/lib/components/charts/defaults/bar.d.ts +2 -0
- package/lib/components/charts/defaults/doughnut.d.ts +2 -0
- package/lib/components/charts/defaults/index.d.ts +4 -0
- package/lib/components/charts/defaults/line.d.ts +2 -0
- package/lib/components/charts/defaults/pie.d.ts +2 -0
- package/lib/components/charts/index.d.ts +9 -0
- package/lib/components/charts/models/index.d.ts +4 -0
- package/lib/components/charts/models/options.d.ts +12 -0
- package/lib/components/charts/models/plugins-options.d.ts +18 -0
- package/lib/components/charts/models/response.d.ts +5 -0
- package/lib/components/charts/models/statistic-request-config.d.ts +30 -0
- package/lib/components/charts/plugins/doughnut-center-text.d.ts +2 -0
- package/lib/components/charts/plugins/doughnut-empty-state.d.ts +2 -0
- package/lib/components/charts/plugins/index.d.ts +3 -0
- package/lib/components/charts/plugins/legend-margin.d.ts +2 -0
- package/lib/components/charts/services/index.d.ts +1 -0
- package/lib/components/charts/services/statistic.service.d.ts +23 -0
- package/lib/components/charts/utility/colors.d.ts +11 -0
- package/lib/components/charts/utility/common.d.ts +4 -0
- package/lib/components/charts/utility/index.d.ts +2 -0
- package/lib/components/comments/comments.module.d.ts +27 -0
- package/lib/components/comments/components/comment-item/comment-item.component.d.ts +26 -0
- package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +46 -0
- package/lib/components/comments/components/comments-list/comments-list.component.d.ts +28 -0
- package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +25 -0
- package/lib/components/comments/constants/comment.d.ts +25 -0
- package/lib/components/comments/services/comment-api.service.d.ts +16 -0
- package/lib/components/confirm-caller/confirm-caller.dialog.d.ts +46 -0
- package/lib/components/confirm-caller/confirm-caller.module.d.ts +17 -0
- package/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.d.ts +12 -0
- package/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +12 -0
- package/lib/components/confirmation-dialog/confirmation-dialog.module.d.ts +10 -0
- package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +34 -0
- package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +45 -0
- package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +31 -0
- package/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.d.ts +18 -0
- package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +49 -0
- package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +32 -0
- package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +26 -0
- package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +18 -0
- package/lib/components/create-entity/create-entity/create-entity.component.d.ts +17 -0
- package/lib/components/create-entity/create-entity.module.d.ts +11 -0
- package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +43 -0
- package/lib/components/cts-tags/cts-tags.module.d.ts +21 -0
- package/lib/components/cts-tags/services/tags-api.service.d.ts +17 -0
- package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +21 -0
- package/lib/components/custom-toastr/custom-toastr.module.d.ts +12 -0
- package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +1 -0
- package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +30 -0
- package/lib/components/diagrams/components/base-node.component.d.ts +30 -0
- package/lib/components/diagrams/components/circle-node/circle-node.component.d.ts +7 -0
- package/lib/components/diagrams/components/connection-label.component.d.ts +19 -0
- package/lib/components/diagrams/components/content-node/content-node.component.d.ts +8 -0
- package/lib/components/diagrams/components/custom-connection.component.d.ts +13 -0
- package/lib/components/diagrams/components/custom-socket.component.d.ts +6 -0
- package/lib/components/diagrams/components/gateway-node/gateway-node.component.d.ts +6 -0
- package/lib/components/diagrams/components/gateway-ports.component.d.ts +12 -0
- package/lib/components/diagrams/components/index.d.ts +15 -0
- package/lib/components/diagrams/components/node-icon.component.d.ts +8 -0
- package/lib/components/diagrams/components/node-inputs.component.d.ts +12 -0
- package/lib/components/diagrams/components/node-outputs.component.d.ts +12 -0
- package/lib/components/diagrams/components/node-ports.component.d.ts +13 -0
- package/lib/components/diagrams/components/remove-button.component.d.ts +7 -0
- package/lib/components/diagrams/components/status-icon.component.d.ts +8 -0
- package/lib/components/diagrams/components/template-node/template-node.component.d.ts +17 -0
- package/lib/components/diagrams/components/zoom-control.component.d.ts +11 -0
- package/lib/components/diagrams/constants/defaults.d.ts +2 -0
- package/lib/components/diagrams/constants/direction.d.ts +6 -0
- package/lib/components/diagrams/constants/index.d.ts +7 -0
- package/lib/components/diagrams/constants/message-type.d.ts +4 -0
- package/lib/components/diagrams/constants/node-type.d.ts +7 -0
- package/lib/components/diagrams/constants/notify-events.d.ts +3 -0
- package/lib/components/diagrams/constants/sizes.d.ts +7 -0
- package/lib/components/diagrams/constants/status.d.ts +11 -0
- package/lib/components/diagrams/diagrams.module.d.ts +29 -0
- package/lib/components/diagrams/directive/diagram.directive.d.ts +27 -0
- package/lib/components/diagrams/directive/index.d.ts +1 -0
- package/lib/components/diagrams/editor/customize.d.ts +25 -0
- package/lib/components/diagrams/editor/editor.d.ts +3 -0
- package/lib/components/diagrams/editor/index.d.ts +4 -0
- package/lib/components/diagrams/editor/overrides/connection-path.transformers.d.ts +2 -0
- package/lib/components/diagrams/editor/overrides/index.d.ts +1 -0
- package/lib/components/diagrams/editor/path-plugin.d.ts +4 -0
- package/lib/components/diagrams/editor/socket-position-watcher.d.ts +3 -0
- package/lib/components/diagrams/index.d.ts +1 -0
- package/lib/components/diagrams/models/base-node.model.d.ts +22 -0
- package/lib/components/diagrams/models/circle-node.model.d.ts +7 -0
- package/lib/components/diagrams/models/connection.model.d.ts +16 -0
- package/lib/components/diagrams/models/content-node.model.d.ts +5 -0
- package/lib/components/diagrams/models/gate-way.model.d.ts +8 -0
- package/lib/components/diagrams/models/index.d.ts +7 -0
- package/lib/components/diagrams/models/ports.model.d.ts +11 -0
- package/lib/components/diagrams/models/socket.model.d.ts +7 -0
- package/lib/components/diagrams/models/template-node.model.d.ts +8 -0
- package/lib/components/diagrams/public-api.d.ts +8 -0
- package/lib/components/diagrams/services/diagram-plugins.service.d.ts +16 -0
- package/lib/components/diagrams/services/diagram.service.d.ts +53 -0
- package/lib/components/diagrams/services/index.d.ts +4 -0
- package/lib/components/diagrams/services/message.service.d.ts +10 -0
- package/lib/components/diagrams/services/workflow.service.d.ts +80 -0
- package/lib/components/diagrams/types/common.type.d.ts +9 -0
- package/lib/components/diagrams/types/connection-config.type.d.ts +11 -0
- package/lib/components/diagrams/types/connection-label.type.d.ts +4 -0
- package/lib/components/diagrams/types/customization.type.d.ts +10 -0
- package/lib/components/diagrams/types/diagram-config.type.d.ts +42 -0
- package/lib/components/diagrams/types/diagram-editor.type.d.ts +26 -0
- package/lib/components/diagrams/types/emitter-type.d.ts +5 -0
- package/lib/components/diagrams/types/index.d.ts +17 -0
- package/lib/components/diagrams/types/layout.type.d.ts +13 -0
- package/lib/components/diagrams/types/node-content.d.ts +9 -0
- package/lib/components/diagrams/types/node-definition.d.ts +20 -0
- package/lib/components/diagrams/types/node-status.type.d.ts +2 -0
- package/lib/components/diagrams/types/node.type.d.ts +2 -0
- package/lib/components/diagrams/types/notify-event.type.d.ts +2 -0
- package/lib/components/diagrams/types/path.type.d.ts +18 -0
- package/lib/components/diagrams/types/ports-config.type.d.ts +11 -0
- package/lib/components/diagrams/types/schemes.type.d.ts +3 -0
- package/lib/components/diagrams/types/socket.type.d.ts +5 -0
- package/lib/components/diagrams/utilities/common.d.ts +19 -0
- package/lib/components/diagrams/utilities/index.d.ts +4 -0
- package/lib/components/diagrams/utilities/random.d.ts +1 -0
- package/lib/components/diagrams/utilities/remove.util.d.ts +30 -0
- package/lib/components/diagrams/utilities/serialize.d.ts +15 -0
- package/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.d.ts +17 -0
- package/lib/components/display-suitable-icon/display-suitable-icon/icon.service.d.ts +8 -0
- package/lib/components/display-suitable-icon/display-suitable-icon.module.d.ts +8 -0
- package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +55 -0
- package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +38 -0
- package/lib/components/documents/components/document-list/documents-list.component.d.ts +81 -0
- package/lib/components/documents/components/document-scan/document-scan.component.d.ts +112 -0
- package/lib/components/documents/components/document-scan/document-scan.service.d.ts +14 -0
- package/lib/components/documents/components/document-upload/document-upload.component.d.ts +60 -0
- package/lib/components/documents/components/documents/documents.component.d.ts +27 -0
- package/lib/components/documents/constants/document-templates.d.ts +33 -0
- package/lib/components/documents/constants/documents.d.ts +95 -0
- package/lib/components/documents/documents.module.d.ts +33 -0
- package/lib/components/documents/services/document-templates.service.d.ts +24 -0
- package/lib/components/documents/services/documents.service.d.ts +36 -0
- package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +78 -0
- package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +15 -0
- package/lib/components/dynamic-chart/services/chart-data.service.d.ts +37 -0
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +142 -0
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +14 -0
- package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +55 -0
- package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +17 -0
- package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +28 -0
- package/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.d.ts +27 -0
- package/lib/components/dynamic-form/components/dynamic-form/fields.adapter.d.ts +6 -0
- package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +21 -0
- package/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.d.ts +17 -0
- package/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.d.ts +57 -0
- package/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.d.ts +35 -0
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +71 -0
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +52 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/constants/department.d.ts +12 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +85 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +32 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +23 -0
- package/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.d.ts +30 -0
- package/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.d.ts +64 -0
- package/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.d.ts +25 -0
- package/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.d.ts +15 -0
- package/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.d.ts +45 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.d.ts +43 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.d.ts +65 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +92 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +16 -0
- package/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.d.ts +80 -0
- package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +40 -0
- package/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.d.ts +71 -0
- package/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.d.ts +94 -0
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +21 -0
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +112 -0
- package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +20 -0
- package/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.d.ts +79 -0
- package/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.d.ts +599 -0
- package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.d.ts +13 -0
- package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.d.ts +13 -0
- package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.d.ts +16 -0
- package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +13 -0
- package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.d.ts +9 -0
- package/lib/components/dynamic-form/dynamic-form.module.d.ts +68 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.d.ts +5 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.d.ts +5 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.d.ts +15 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.d.ts +4 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.d.ts +12 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.d.ts +8 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.d.ts +10 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.d.ts +5 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.d.ts +8 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.d.ts +9 -0
- package/lib/components/dynamic-form/models/dynamic-form-baseitem.model.d.ts +21 -0
- package/lib/components/dynamic-form/models/dynamic-form-boolitem.model.d.ts +11 -0
- package/lib/components/dynamic-form/models/dynamic-form-dateitem.model.d.ts +13 -0
- package/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.d.ts +9 -0
- package/lib/components/dynamic-form/models/dynamic-form-mapitem.model.d.ts +8 -0
- package/lib/components/dynamic-form/models/dynamic-form-selectitem.model.d.ts +11 -0
- package/lib/components/dynamic-form/models/dynamic-form-textitem.model.d.ts +15 -0
- package/lib/components/dynamic-form/models/dynamic-form.models.d.ts +7 -0
- package/lib/components/dynamic-form/services/card-item-types.service.d.ts +13 -0
- package/lib/components/dynamic-form/services/dynamic-component-mapper.service.d.ts +36 -0
- package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +25 -0
- package/lib/components/dynamic-form/validators/length-validator.d.ts +7 -0
- package/lib/components/dynamic-form/validators/regex-validator.d.ts +7 -0
- package/lib/components/dynamic-form/validators/required-validator.d.ts +5 -0
- package/lib/components/dynamic-form/validators/value-validator.d.ts +7 -0
- package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +103 -0
- package/lib/components/dynamic-search/dynamic-search.module.d.ts +20 -0
- package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +130 -0
- package/lib/components/dynamic-table/dynamic-table.module.d.ts +16 -0
- package/lib/components/dynamic-table/services/dynamic-table.service.d.ts +8 -0
- package/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.d.ts +13 -0
- package/lib/components/dynamic-tabs/dynamic-tabs.module.d.ts +11 -0
- package/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.d.ts +13 -0
- package/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.d.ts +22 -0
- package/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.d.ts +28 -0
- package/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.d.ts +16 -0
- package/lib/components/dynamic-view/data-viewer/data-viewer.component.d.ts +13 -0
- package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +22 -0
- package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +30 -0
- package/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.d.ts +39 -0
- package/lib/components/dynamic-view/dynamic-view.module.d.ts +24 -0
- package/lib/components/dynamic-view/dynamic-viewe.service.d.ts +15 -0
- package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +20 -0
- package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +37 -0
- package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +41 -0
- package/lib/components/file-manger/components/copy/copy.component.d.ts +40 -0
- package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +29 -0
- package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +104 -0
- package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +13 -0
- package/lib/components/file-manger/components/delete/delete.component.d.ts +31 -0
- package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +57 -0
- package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +29 -0
- package/lib/components/file-manger/components/move/move.component.d.ts +40 -0
- package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +39 -0
- package/lib/components/file-manger/components/rename/rename.component.d.ts +30 -0
- package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +96 -0
- package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +57 -0
- package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +62 -0
- package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +35 -0
- package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +30 -0
- package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +196 -0
- package/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.d.ts +12 -0
- package/lib/components/file-manger/file-manager.abstract.d.ts +188 -0
- package/lib/components/file-manger/file-manger.module.d.ts +61 -0
- package/lib/components/file-manger/models/file-manager-config.model.d.ts +8 -0
- package/lib/components/file-manger/models/index.d.ts +3 -0
- package/lib/components/file-manger/models/pagination-payload.mode.d.ts +3 -0
- package/lib/components/file-manger/models/pagination-response.model.d.ts +30 -0
- package/lib/components/filter/filter/filter.component.d.ts +31 -0
- package/lib/components/filter/filter.module.d.ts +15 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +35 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +35 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.d.ts +39 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.d.ts +9 -0
- package/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.d.ts +15 -0
- package/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.d.ts +15 -0
- package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +9 -0
- package/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.d.ts +11 -0
- package/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.d.ts +10 -0
- package/lib/components/hijri-gregorian-datepicker/utils/consts.d.ts +4 -0
- package/lib/components/latest-activity/components/activity-line/activity-line.component.d.ts +19 -0
- package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +23 -0
- package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +15 -0
- package/lib/components/latest-activity/constants/activitylog.d.ts +83 -0
- package/lib/components/latest-activity/latest-activity.module.d.ts +20 -0
- package/lib/components/latest-activity/services/activity-log.service.d.ts +12 -0
- package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +17 -0
- package/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.d.ts +10 -0
- package/lib/components/notifications/components/base-list-notfications.component.d.ts +42 -0
- package/lib/components/notifications/components/base-notifications.component.d.ts +11 -0
- package/lib/components/notifications/components/index.d.ts +6 -0
- package/lib/components/notifications/components/notification-item/get-icon.pipe.d.ts +8 -0
- package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +24 -0
- package/lib/components/notifications/components/notification-source-select/notification-source-select.component.d.ts +15 -0
- package/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.d.ts +8 -0
- package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +42 -0
- package/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.d.ts +22 -0
- package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +18 -0
- package/lib/components/notifications/components/notifications-list/options.d.ts +2 -0
- package/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.d.ts +15 -0
- package/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.d.ts +8 -0
- package/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.d.ts +3 -0
- package/lib/components/notifications/components/notifications-settings/notifications-settings.component.d.ts +40 -0
- package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.d.ts +9 -0
- package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.d.ts +43 -0
- package/lib/components/notifications/constants/date.d.ts +7 -0
- package/lib/components/notifications/constants/index.d.ts +4 -0
- package/lib/components/notifications/constants/pagination.d.ts +4 -0
- package/lib/components/notifications/constants/panel.d.ts +4 -0
- package/lib/components/notifications/constants/status.d.ts +9 -0
- package/lib/components/notifications/containers/index.d.ts +2 -0
- package/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.d.ts +27 -0
- package/lib/components/notifications/containers/notifications-list-container/options.d.ts +2 -0
- package/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.d.ts +22 -0
- package/lib/components/notifications/directives/button.directive.d.ts +9 -0
- package/lib/components/notifications/directives/index.d.ts +2 -0
- package/lib/components/notifications/directives/notification.directive.d.ts +9 -0
- package/lib/components/notifications/index.d.ts +1 -0
- package/lib/components/notifications/models/common.d.ts +64 -0
- package/lib/components/notifications/models/index.d.ts +11 -0
- package/lib/components/notifications/models/notification-definition.model.d.ts +17 -0
- package/lib/components/notifications/models/notification-message.mode.d.ts +14 -0
- package/lib/components/notifications/models/notification-options.d.ts +7 -0
- package/lib/components/notifications/models/notification-setting.presenter.d.ts +24 -0
- package/lib/components/notifications/models/notification-subscription.model.d.ts +13 -0
- package/lib/components/notifications/models/notification.model.d.ts +16 -0
- package/lib/components/notifications/models/notifications-list-options.d.ts +38 -0
- package/lib/components/notifications/models/paging-response.model.d.ts +12 -0
- package/lib/components/notifications/models/params.model.d.ts +6 -0
- package/lib/components/notifications/models/vocabularies.d.ts +12 -0
- package/lib/components/notifications/notifications.module.d.ts +41 -0
- package/lib/components/notifications/public-api.d.ts +11 -0
- package/lib/components/notifications/services/index.d.ts +1 -0
- package/lib/components/notifications/services/listener.service.d.ts +8 -0
- package/lib/components/notifications/services/notifications.service.d.ts +60 -0
- package/lib/components/notifications/services/params.service.d.ts +19 -0
- package/lib/components/notifications/services/response.service.d.ts +19 -0
- package/lib/components/notifications/services/socket.service.d.ts +26 -0
- package/lib/components/notifications/utilities/index.d.ts +1 -0
- package/lib/components/notifications/utilities/response.adapter.d.ts +3 -0
- package/lib/components/pagination/pagination/pagination.component.d.ts +46 -0
- package/lib/components/pagination/pagination.module.d.ts +13 -0
- package/lib/components/pdf-tron/pdf-tron.module.d.ts +8 -0
- package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +107 -0
- package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +33 -0
- package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +46 -0
- package/lib/components/permissions/permission.service.d.ts +21 -0
- package/lib/components/permissions/permissions/permissions.component.d.ts +50 -0
- package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +22 -0
- package/lib/components/permissions/permissions.module.d.ts +22 -0
- package/lib/components/select/select/select.component.d.ts +43 -0
- package/lib/components/select/select.module.d.ts +12 -0
- package/lib/components/select-users-by-department/select-users-by-department.module.d.ts +13 -0
- package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +10 -0
- package/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.d.ts +33 -0
- package/lib/components/spell-checker-field/spell-checker-field.module.d.ts +10 -0
- package/lib/components/spell-checker-field/spell-checker-text-field/spell-checker-text-field.component.d.ts +24 -0
- package/lib/components/table/dynamic-column/dynamic-column.component.d.ts +19 -0
- package/lib/components/table/dynamic-component.d.ts +20 -0
- package/lib/components/table/page-sizes-list/page-sizes-list.component.d.ts +15 -0
- package/lib/components/table/table/table.component.d.ts +122 -0
- package/lib/components/table/table.module.d.ts +25 -0
- package/lib/components/toasts/components/notification-toast/notification-toast.component.d.ts +17 -0
- package/lib/components/toasts/index.d.ts +1 -0
- package/lib/components/toasts/public-api.d.ts +2 -0
- package/lib/components/toasts/toasts.module.d.ts +8 -0
- package/lib/components/user/user/user.component.d.ts +13 -0
- package/lib/components/user/user.module.d.ts +10 -0
- package/lib/components/users-card/users-card.component.d.ts +22 -0
- package/lib/components/users-card/users-card.module.d.ts +17 -0
- package/lib/components/viewer-log/components/viewer-log/viewer-log.component.d.ts +14 -0
- package/lib/components/viewer-log/viewer-log.module.d.ts +10 -0
- package/lib/components/vocabulary/interfaces/op-type.interface.d.ts +1 -0
- package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +19 -0
- package/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.d.ts +81 -0
- package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +37 -0
- package/lib/components/vocabulary/vocabulary.module.d.ts +13 -0
- package/lib/configuration/app-config.service.d.ts +14 -0
- package/lib/configuration/helpers/app-initializer.d.ts +2 -0
- package/lib/core/adapters/adapter.service.d.ts +11 -0
- package/lib/core/core.module.d.ts +17 -0
- package/lib/core/enums/language.enum.d.ts +4 -0
- package/lib/core/env/env-manager.d.ts +53 -0
- package/lib/core/env/index.d.ts +1 -0
- package/lib/core/models/api-response.model.d.ts +24 -0
- package/lib/core/models/automation-response.model.d.ts +24 -0
- package/lib/core/models/base-response.models.d.ts +12 -0
- package/lib/core/models/component.model.d.ts +6 -0
- package/lib/core/models/index.d.ts +4 -0
- package/lib/core/services/callApi/call-api.service.d.ts +18 -0
- package/lib/core/services/extension/action.extensions.d.ts +31 -0
- package/lib/core/services/extension/component-register.service.d.ts +17 -0
- package/lib/core/services/extension/extenion-utils.d.ts +14 -0
- package/lib/core/services/extension/extension-element.d.ts +5 -0
- package/lib/core/services/extension/extension-loader.service.d.ts +28 -0
- package/lib/core/services/extension/extension.service.d.ts +70 -0
- package/lib/core/services/initialization/initialization.service.d.ts +31 -0
- package/lib/core/services/localStorag/local-storag.service.d.ts +41 -0
- package/lib/core/services/nuxeo/new-nuxeo-overide.d.ts +14 -0
- package/lib/core/services/nuxeo/nuxeo-override.d.ts +8 -0
- package/lib/core/services/nuxeo/nuxeo.service.d.ts +37 -0
- package/lib/core/services/roles/roles.service.d.ts +12 -0
- package/lib/core/services/translation/translate-loader.service.d.ts +26 -0
- package/lib/core/services/translation/translation.service.d.ts +74 -0
- package/lib/core/services/user/user-preferences.service.d.ts +81 -0
- package/lib/core/utilities/moment-date-adapter.d.ts +37 -0
- package/lib/core/utilities/utility.service.d.ts +11 -0
- package/lib/directive/app-has-role/app-has-role.directive.d.ts +18 -0
- package/lib/directive/clickOutSide/click-outside.directive.d.ts +11 -0
- package/lib/directive/directive.module.d.ts +17 -0
- package/lib/directive/drag-and-drop/drag-and-drop.directive.d.ts +11 -0
- package/lib/directive/permissions/evaluators.service.d.ts +37 -0
- package/lib/directive/permissions/permissions.directive.d.ts +42 -0
- package/lib/directive/rtl/set-dir-rtl.directive.d.ts +13 -0
- package/lib/directive/rtl/set-rtl.directive.d.ts +13 -0
- package/lib/nuxeo-development-framework.component.d.ts +8 -0
- package/lib/nuxeo-development-framework.module.d.ts +10 -0
- package/lib/nuxeo-development-framework.service.d.ts +6 -0
- package/lib/pipes/file-size.pipe.d.ts +34 -0
- package/lib/pipes/hijri-date.pipe.d.ts +32 -0
- package/lib/pipes/localized-date.pipe.d.ts +44 -0
- package/lib/pipes/multi-value.pipe.d.ts +32 -0
- package/lib/pipes/pipes.module.d.ts +18 -0
- package/lib/pipes/secure-html.pipe.d.ts +26 -0
- package/lib/pipes/secure.pipe.d.ts +29 -0
- package/lib/pipes/time-ago.pipe.d.ts +34 -0
- package/lib/shared/components/base/base-column.component.d.ts +10 -0
- package/lib/shared/components/base/base-dialog.component.d.ts +12 -0
- package/lib/shared/components/base/base-selector.component.d.ts +43 -0
- package/lib/shared/components/base/base.component.d.ts +34 -0
- package/lib/shared/components/base/destroy.subject.d.ts +9 -0
- package/lib/shared/components/base/index.d.ts +5 -0
- package/lib/shared/components/button/button.component.d.ts +39 -0
- package/lib/shared/components/index.d.ts +2 -0
- package/lib/shared/components/item-list/item-list.component.d.ts +45 -0
- package/lib/shared/components/no-data/no-data.component.d.ts +22 -0
- package/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.d.ts +9 -0
- package/lib/shared/components/nuxeo-dialog/index.d.ts +5 -0
- package/lib/shared/components/nuxeo-dialog/models/confirm-options.model.d.ts +22 -0
- package/lib/shared/components/nuxeo-dialog/models/dialog-option.model.d.ts +16 -0
- package/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.d.ts +15 -0
- package/lib/shared/components/nuxeo-dialog/nuxeo.dialog.d.ts +23 -0
- package/lib/shared/components/nuxeo-dialog/services/nuxeo-dialog.service.d.ts +13 -0
- package/lib/shared/components/read-more/read-more.component.d.ts +37 -0
- package/lib/shared/components/search-autocomplete/search-autocomplete.component.d.ts +51 -0
- package/lib/shared/components/spinner/spinner.component.d.ts +18 -0
- package/lib/shared/components/user-card/user-card.component.d.ts +30 -0
- package/lib/shared/libraryShared.module.d.ts +27 -0
- package/lib/shared/models/index.d.ts +3 -0
- package/lib/shared/models/mapper/index.d.ts +1 -0
- package/lib/shared/models/mapper/nuxeo-mapper.d.ts +8 -0
- package/lib/shared/models/nuxeo-response.model.d.ts +61 -0
- package/lib/shared/models/task.model.d.ts +71 -0
- package/lib/shared/services/base/base.service.d.ts +29 -0
- package/lib/shared/services/base/cache-base.service.d.ts +17 -0
- package/lib/shared/services/base/config/default-ttl-config.d.ts +7 -0
- package/lib/shared/services/base/config/index.d.ts +1 -0
- package/lib/shared/services/base/constants/default-cache-options.d.ts +16 -0
- package/lib/shared/services/base/constants/index.d.ts +1 -0
- package/lib/shared/services/base/http-base.service.d.ts +17 -0
- package/lib/shared/services/base/index.d.ts +2 -0
- package/lib/shared/services/base/models/cache-info-model.d.ts +49 -0
- package/lib/shared/services/base/models/http-options.model.d.ts +7 -0
- package/lib/shared/services/base/models/index.d.ts +5 -0
- package/lib/shared/services/base/models/operation-options.model.d.ts +8 -0
- package/lib/shared/services/base/models/query-options.model.d.ts +5 -0
- package/lib/shared/services/base/models/request-options.model.d.ts +7 -0
- package/lib/shared/services/index.d.ts +1 -0
- package/lib/shared-services/dialog-mangment.service.d.ts +19 -0
- package/lib/shared-services/dynamic-form.service.d.ts +24 -0
- package/lib/shared-services/file-manager.adapter.d.ts +48 -0
- package/lib/shared-services/file-manager.service.d.ts +102 -0
- package/lib/shared-services/global-admin.service.d.ts +11 -0
- package/lib/shared-services/global-pdftron.service.d.ts +11 -0
- package/lib/shared-services/mainfolder.service.d.ts +32 -0
- package/lib/shared-services/publishing-document.service.d.ts +25 -0
- package/lib/shared-services/recently-viewed.service.d.ts +17 -0
- package/lib/shared-services/shared-docs.service.d.ts +23 -0
- package/lib/shared-services/shared-services.module.d.ts +7 -0
- package/lib/shared-services/upload-file.service.d.ts +10 -0
- package/lib/shared-services/upload-managment.service.d.ts +72 -0
- package/lib/shared-services/user.service.d.ts +12 -0
- package/nuxeo-development-framework.d.ts +5 -0
- package/package.json +82 -0
- package/public-api.d.ts +236 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/material/button";
|
|
4
|
+
import * as i2 from "@angular/material/icon";
|
|
5
|
+
import * as i3 from "@angular/material/menu";
|
|
6
|
+
import * as i4 from "@angular/common";
|
|
7
|
+
import * as i5 from "@angular/cdk/bidi";
|
|
8
|
+
import * as i6 from "@ngx-translate/core";
|
|
9
|
+
export class NotificationsListActionsComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.direction = 'rtl';
|
|
12
|
+
this.markAllAsRead = new EventEmitter();
|
|
13
|
+
this.openSettings = new EventEmitter();
|
|
14
|
+
this.openNotifications = new EventEmitter();
|
|
15
|
+
}
|
|
16
|
+
closeMenu(event, menu) {
|
|
17
|
+
event.stopPropagation();
|
|
18
|
+
menu.closed.emit();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
NotificationsListActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsListActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
NotificationsListActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NotificationsListActionsComponent, selector: "app-notifications-list-actions", inputs: { options: "options", direction: "direction" }, outputs: { markAllAsRead: "markAllAsRead", openSettings: "openSettings", openNotifications: "openNotifications" }, ngImport: i0, template: "<span [dir]=\"direction\" *ngIf=\"options?.active\">\r\n <button\r\n [matMenuTriggerFor]=\"actions\"\r\n mat-icon-button\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n <mat-icon>more_horiz</mat-icon>\r\n </button>\r\n <mat-menu #actions=\"matMenu\" class=\"notifications-actions-menu\">\r\n <span (click)=\"closeMenu($event, actions)\">\r\n <button\r\n *ngIf=\"options.updateState\"\r\n mat-menu-item\r\n class=\"notifications-actions-menu__action\"\r\n (click)=\"markAllAsRead.emit($event)\"\r\n >\r\n <mat-icon>done_all</mat-icon>\r\n <span>{{ 'notifications.markAllAsRead' | translate }}</span>\r\n </button>\r\n <button\r\n *ngIf=\"options.openSetting\"\r\n mat-menu-item\r\n class=\"notifications-actions-menu__action\"\r\n (click)=\"openSettings.emit($event)\"\r\n >\r\n <mat-icon>tune</mat-icon>\r\n <span>{{ 'notifications.notificationSettings' | translate }}</span>\r\n </button>\r\n <button\r\n *ngIf=\"options.openNotification\"\r\n mat-menu-item\r\n class=\"notifications-actions-menu__action\"\r\n (click)=\"openNotifications.emit($event)\"\r\n >\r\n <mat-icon>open_in_browser</mat-icon>\r\n <span>{{ 'notifications.openNotifications' | translate }}</span>\r\n </button>\r\n </span>\r\n </mat-menu>\r\n</span>\r\n", styles: [".notifications-actions-menu{box-shadow:var(--n-actions-menu-shadow, 0px 1px 4px -1px rgba(28, 52, 84, .26))}.notifications-actions-menu .mat-menu-content:not(:empty){padding:var(--n-actions-menu-padding, .5rem)}.notifications-actions-menu__action{background:var(--n-menu-action-background, transparent)!important;border-radius:var(--n-menu-action-radius, 4px);font-size:var(--n-menu-action-size, 14px);color:var(--n-menu-action-color, #28282d);height:var(--n-menu-action-height, 40px);line-height:var(--n-menu-action-line-height, 40px)}.notifications-actions-menu__action:hover{--n-menu-action-background: var(--n-menu-action-hover-background, #e6f7ff);--n-menu-action-color: var(--n-menu-action-hover-color, #005fdb)}.notifications-actions-menu__action .mat-icon{color:currentColor}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }], pipes: { "translate": i6.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsListActionsComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{
|
|
26
|
+
selector: 'app-notifications-list-actions',
|
|
27
|
+
templateUrl: './notifications-list-actions.component.html',
|
|
28
|
+
styleUrls: ['./notifications-list-actions.component.scss'],
|
|
29
|
+
encapsulation: ViewEncapsulation.None,
|
|
30
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
31
|
+
}]
|
|
32
|
+
}], propDecorators: { options: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], direction: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], markAllAsRead: [{
|
|
37
|
+
type: Output
|
|
38
|
+
}], openSettings: [{
|
|
39
|
+
type: Output
|
|
40
|
+
}], openNotifications: [{
|
|
41
|
+
type: Output
|
|
42
|
+
}] } });
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy1saXN0LWFjdGlvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy1saXN0LWFjdGlvbnMvbm90aWZpY2F0aW9ucy1saXN0LWFjdGlvbnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy1saXN0LWFjdGlvbnMvbm90aWZpY2F0aW9ucy1saXN0LWFjdGlvbnMuY29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8L3NwYW4+XHJcbiAgPC9tYXQtbWVudT5cclxuPC9zcGFuPlxyXG4iXX0=
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import { SUBSCRIPTION_STATE } from '../../constants';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class CheckIfSubscribedPipe {
|
|
5
|
+
transform(definition, subscriptions) {
|
|
6
|
+
if (!definition || !Array.isArray(subscriptions)) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
const _subscription = subscriptions.find((sub) => {
|
|
10
|
+
return (sub.channel == definition.channel &&
|
|
11
|
+
sub.applicationKey == definition.applicationKey &&
|
|
12
|
+
sub.notificationKey == definition.notificationKey);
|
|
13
|
+
});
|
|
14
|
+
if (_subscription &&
|
|
15
|
+
Object.values(SUBSCRIPTION_STATE).includes(_subscription === null || _subscription === void 0 ? void 0 : _subscription.state)) {
|
|
16
|
+
return _subscription.state === SUBSCRIPTION_STATE.subscribed;
|
|
17
|
+
}
|
|
18
|
+
return !!(definition === null || definition === void 0 ? void 0 : definition.sentByDefault);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
CheckIfSubscribedPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CheckIfSubscribedPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
22
|
+
CheckIfSubscribedPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CheckIfSubscribedPipe, name: "checkIfSubscribed" });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CheckIfSubscribedPipe, decorators: [{
|
|
24
|
+
type: Pipe,
|
|
25
|
+
args: [{
|
|
26
|
+
name: 'checkIfSubscribed',
|
|
27
|
+
}]
|
|
28
|
+
}] });
|
|
29
|
+
//# sourceMappingURL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G4gICAgaWYgKCFkZWZpbml0aW9uIHx8ICFBcnJheS5pc0FycmF5KHN1YnNjcmlwdGlvbnMpKSB7XHJcbiAgICAgIHJldHVybiBmYWxzZTtcclxuICAgIH1cclxuXHJcbiAgICBjb25zdCBfc3Vic2NyaXB0aW9uID0gc3Vic2NyaXB0aW9ucy5maW5kKChzdWIpID0+IHtcclxuICAgICAgcmV0dXJuIChcclxuICAgICAgICBzdWIuY2hhbm5lbCA9PSBkZWZpbml0aW9uLmNoYW5uZWwgJiZcclxuICAgICAgICBzdWIuYXBwbGljYXRpb25LZXkgPT0gZGVmaW5pdGlvbi5hcHBsaWNhdGlvbktleSAmJlxyXG4gICAgICAgIHN1Yi5ub3RpZmljYXRpb25LZXkgPT0gZGVmaW5pdGlvbi5ub3RpZmljYXRpb25LZXlcclxuICAgICAgKTtcclxuICAgIH0pO1xyXG5cclxuICAgIGlmIChcclxuICAgICAgX3N1YnNjcmlwdGlvbiAmJlxyXG4gICAgICBPYmplY3QudmFsdWVzKFNVQlNDUklQVElPTl9TVEFURSkuaW5jbHVkZXMoX3N1YnNjcmlwdGlvbj8uc3RhdGUpXHJcbiAgICApIHtcclxuICAgICAgcmV0dXJuIF9zdWJzY3JpcHRpb24uc3RhdGUgPT09IFNVQlNDUklQVElPTl9TVEFURS5zdWJzY3JpYmVkO1xyXG4gICAgfVxyXG5cclxuXHJcblxyXG4gICAgcmV0dXJuICEhZGVmaW5pdGlvbj8uc2VudEJ5RGVmYXVsdDtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const mapDefinitionToPresenter = (definition) => {
|
|
2
|
+
const _properties = definition.properties;
|
|
3
|
+
return {
|
|
4
|
+
uid: definition.uid,
|
|
5
|
+
sourceType: _properties['notf_nt:sourceTypee'],
|
|
6
|
+
isActive: _properties['notif_def:isActive'],
|
|
7
|
+
autoSubscription: _properties['notif_def:autoSubscription'],
|
|
8
|
+
sentByDefault: _properties['notif_def:sentByDefault'],
|
|
9
|
+
applicationKey: _properties['notif_def:applicationKey'],
|
|
10
|
+
channel: _properties['notif_def:channel'],
|
|
11
|
+
title: definition.title,
|
|
12
|
+
arTitle: _properties['notif_def:arTitle'],
|
|
13
|
+
enTitle: _properties['notif_def:enTitle'],
|
|
14
|
+
notificationKey: _properties['notf_nt:key'],
|
|
15
|
+
arDescription: _properties['notif_def:arDescription'],
|
|
16
|
+
enDescription: _properties['notif_def:enDescription'],
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export const mapSubscriptionToPresenter = (subscription) => {
|
|
20
|
+
const _properties = subscription.properties;
|
|
21
|
+
return {
|
|
22
|
+
uid: subscription.uid,
|
|
23
|
+
applicationKey: _properties['notfsub:applicationKey'],
|
|
24
|
+
channel: _properties['notfsub:channel'],
|
|
25
|
+
title: subscription.title,
|
|
26
|
+
notificationKey: _properties['notfsub:notificationKey'],
|
|
27
|
+
state: subscription.state,
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy1zZXR0aW5ncy5hZGFwdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy1zZXR0aW5ncy9ub3RpZmljYXRpb25zLXNldHRpbmdzLmFkYXB0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT0EsTUFBTSxDQUFDLE1BQU0sd0JBQXdCLEdBRUUsQ0FBQyxVQUFVLEVBQUUsRUFBRTtJQUNwRCxNQUFNLFdBQVcsR0FBRyxVQUFVLENBQUMsVUFBVSxDQUFDO0lBQzFDLE9BQU87UUFDTC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lvbktleSddLFxyXG4gICAgc3RhdGU6IHN1YnNjcmlwdGlvbi5zdGF0ZSBhcyBOb3RpZmljYXRpb25TdWJzY3JpcHRpb25QcmVzZW50ZXJbJ3N0YXRlJ10sXHJcbiAgfTtcclxufTtcclxuIl19
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Output, } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, combineLatest, ReplaySubject } from 'rxjs';
|
|
3
|
+
import { finalize, map, switchMap, takeUntil, tap } from 'rxjs/operators';
|
|
4
|
+
import { BaseNotification } from '../base-notifications.component';
|
|
5
|
+
import { mapDefinitionToPresenter, mapSubscriptionToPresenter, } from './notifications-settings.adapter';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../../../core/services/translation/translation.service";
|
|
8
|
+
import * as i2 from "../../../custom-toastr/services/custom-toastr.service";
|
|
9
|
+
import * as i3 from "@angular/material/progress-spinner";
|
|
10
|
+
import * as i4 from "@angular/material/icon";
|
|
11
|
+
import * as i5 from "@angular/material/slide-toggle";
|
|
12
|
+
import * as i6 from "@angular/common";
|
|
13
|
+
import * as i7 from "@ngx-translate/core";
|
|
14
|
+
import * as i8 from "./check-if-subscribed.pipe";
|
|
15
|
+
export class NotificationsSettingsComponent extends BaseNotification {
|
|
16
|
+
constructor(inject, _translateService, _cdr, _toastrService, _environment) {
|
|
17
|
+
super(inject);
|
|
18
|
+
this.inject = inject;
|
|
19
|
+
this._translateService = _translateService;
|
|
20
|
+
this._cdr = _cdr;
|
|
21
|
+
this._toastrService = _toastrService;
|
|
22
|
+
this._environment = _environment;
|
|
23
|
+
this.onSubscribe = new EventEmitter();
|
|
24
|
+
this.onUnsubscribe = new EventEmitter();
|
|
25
|
+
this._channelSub = new ReplaySubject();
|
|
26
|
+
this.isLoadingResult = false;
|
|
27
|
+
this._subscriptionsSub = new BehaviorSubject([]);
|
|
28
|
+
this.settings$ = this._prepareSettings();
|
|
29
|
+
}
|
|
30
|
+
set channel(value) {
|
|
31
|
+
this._channel = value;
|
|
32
|
+
if (value) {
|
|
33
|
+
this._channelSub.next(value);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
get currentLang() {
|
|
37
|
+
return this._translateService.userLang;
|
|
38
|
+
}
|
|
39
|
+
get _appKey() {
|
|
40
|
+
var _a;
|
|
41
|
+
return (_a = this._environment) === null || _a === void 0 ? void 0 : _a.appKey;
|
|
42
|
+
}
|
|
43
|
+
getSubscriptionsByChannel(channel) {
|
|
44
|
+
return this.notificationsService
|
|
45
|
+
.getSubscriptions({
|
|
46
|
+
notfsubscription_channel: channel,
|
|
47
|
+
})
|
|
48
|
+
.pipe(map((data) => data.map(mapSubscriptionToPresenter)));
|
|
49
|
+
}
|
|
50
|
+
getDefinitionsByChannel(channel) {
|
|
51
|
+
return this.notificationsService
|
|
52
|
+
.getDefinitions({
|
|
53
|
+
notfnotificationdef_channel: channel,
|
|
54
|
+
})
|
|
55
|
+
.pipe(map((response) => {
|
|
56
|
+
return response.reduce((group, item) => {
|
|
57
|
+
if (!this._matchItem(item, channel)) {
|
|
58
|
+
return group;
|
|
59
|
+
}
|
|
60
|
+
const _data = mapDefinitionToPresenter(item);
|
|
61
|
+
return this._groupBy(group, _data);
|
|
62
|
+
}, {});
|
|
63
|
+
}));
|
|
64
|
+
}
|
|
65
|
+
settingChanged(definition, state) {
|
|
66
|
+
if (state.checked) {
|
|
67
|
+
this._handleSubscribe(definition);
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
this._handleUnsubscribe(definition);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
_prepareSettings() {
|
|
74
|
+
return this._channelSub.pipe(tap(() => {
|
|
75
|
+
this.isLoadingResult = true;
|
|
76
|
+
}), switchMap((channel) => {
|
|
77
|
+
const definition = this.getDefinitionsByChannel(channel.id);
|
|
78
|
+
const subscriptions = this.getSubscriptionsByChannel(channel.id).pipe(switchMap((data) => {
|
|
79
|
+
this._subscriptionsSub.next(data);
|
|
80
|
+
return this._subscriptionsSub.asObservable();
|
|
81
|
+
}));
|
|
82
|
+
return combineLatest([definition, subscriptions]).pipe(map(([definitions, subscriptions]) => ({ definitions, subscriptions })), tap(() => {
|
|
83
|
+
this.isLoadingResult = false;
|
|
84
|
+
this._cdr.detectChanges();
|
|
85
|
+
}));
|
|
86
|
+
}));
|
|
87
|
+
}
|
|
88
|
+
_handleSubscribe(definition) {
|
|
89
|
+
this.changingItemId = definition.uid;
|
|
90
|
+
this.notificationsService
|
|
91
|
+
.subscribe(definition.uid)
|
|
92
|
+
.pipe(switchMap(() => this.getSubscriptionsByChannel(this._channel.id).pipe(finalize(() => {
|
|
93
|
+
this.changingItemId = null;
|
|
94
|
+
this._cdr.detectChanges();
|
|
95
|
+
}))), takeUntil(this.destroy$))
|
|
96
|
+
.subscribe((res) => {
|
|
97
|
+
this.onSubscribe.emit(definition);
|
|
98
|
+
this._subscriptionsSub.next(res);
|
|
99
|
+
this._toastrService.show('success', 'notifications.notifications', 'notifications.subscribedDone');
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
_handleUnsubscribe(definition) {
|
|
103
|
+
const subscriptions = this._subscriptionsSub.getValue();
|
|
104
|
+
const _subscription = this._findSubscription(subscriptions, definition);
|
|
105
|
+
if (!_subscription) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
this.changingItemId = definition.uid;
|
|
109
|
+
this.notificationsService
|
|
110
|
+
.unsubscribe(_subscription.uid)
|
|
111
|
+
.pipe(switchMap(() => this.getSubscriptionsByChannel(this._channel.id).pipe(finalize(() => {
|
|
112
|
+
this.changingItemId = null;
|
|
113
|
+
this._cdr.detectChanges();
|
|
114
|
+
}))), finalize(() => {
|
|
115
|
+
this.changingItemId = null;
|
|
116
|
+
this._cdr.detectChanges();
|
|
117
|
+
}), takeUntil(this.destroy$))
|
|
118
|
+
.subscribe((res) => {
|
|
119
|
+
this._subscriptionsSub.next(res);
|
|
120
|
+
this.onUnsubscribe.emit(_subscription);
|
|
121
|
+
this._toastrService.show('success', 'notifications.notifications', 'notifications.unsubscribedDone');
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
_findSubscription(subscriptions, definition) {
|
|
125
|
+
return subscriptions.find((sub) => {
|
|
126
|
+
return (sub.channel == definition.channel &&
|
|
127
|
+
sub.applicationKey == definition.applicationKey &&
|
|
128
|
+
sub.notificationKey == definition.notificationKey);
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
_matchItem(def, channel) {
|
|
132
|
+
return (def.properties['notif_def:applicationKey'] == this._appKey &&
|
|
133
|
+
def.properties['notif_def:channel'] == channel);
|
|
134
|
+
}
|
|
135
|
+
_groupBy(group, item) {
|
|
136
|
+
var _a;
|
|
137
|
+
const key = item['sourceType'];
|
|
138
|
+
group[key] = (_a = group[key]) !== null && _a !== void 0 ? _a : [];
|
|
139
|
+
group[key].push(item);
|
|
140
|
+
return group;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
NotificationsSettingsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsSettingsComponent, deps: [{ token: i0.Injector }, { token: i1.TranslationService }, { token: i0.ChangeDetectorRef }, { token: i2.CustomToastrService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Component });
|
|
144
|
+
NotificationsSettingsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NotificationsSettingsComponent, selector: "app-notifications-settings", inputs: { channel: "channel" }, outputs: { onSubscribe: "onSubscribe", onUnsubscribe: "onUnsubscribe" }, usesInheritance: true, ngImport: i0, template: "<mat-spinner *ngIf=\"isLoadingResult\" class=\"mt-4 mx-auto\" [diameter]=\"48\"></mat-spinner>\r\n<div *ngIf=\"settings$ | async as settings\" class=\"notifications-settings\">\r\n <ng-container *ngIf=\"!isLoadingResult && settings.definitions\">\r\n <div\r\n *ngFor=\"let group of settings.definitions | keyvalue\"\r\n class=\"notifications-settings__section notifications-settings__section--{{\r\n group.key\r\n }}\"\r\n >\r\n <div class=\"notifications-settings__section__title\">\r\n <mat-icon> tune </mat-icon>\r\n <strong> {{ 'vocabulary.VOC_Notf_SourceTypes.' + group.key | translate }}</strong>\r\n </div>\r\n <div class=\"notifications-settings__section__content\">\r\n <div *ngFor=\"let definition of group.value\" class=\"notifications-settings__group\">\r\n <mat-slide-toggle\r\n [name]=\"definition.title\"\r\n [checked]=\"\r\n definition.autoSubscription\r\n ? true\r\n : (definition | checkIfSubscribed : settings.subscriptions)\r\n \"\r\n class=\"notifications-settings__group__toggle\"\r\n [class.is-loading]=\"changingItemId === definition.uid\"\r\n [disabled]=\"definition.autoSubscription\"\r\n (change)=\"settingChanged(definition, $event)\"\r\n >\r\n </mat-slide-toggle>\r\n <span class=\"notifications-settings__group__title\"\r\n >{{ currentLang == 'ar' ? definition?.arTitle : definition?.enTitle }}\r\n </span>\r\n\r\n <p class=\"notifications-settings__group__description\">\r\n {{\r\n currentLang == 'ar' ? definition?.arDescription : definition?.enDescription\r\n }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [".notifications-settings{padding:var(--notifications-settings-padding, 1rem 0)}.notifications-settings__section{border:var(--setting-section-border, 1px solid #f0f0f0);border-radius:var(--setting-section-radius, 6px);padding:var(--settings-section-padding, 1rem);margin-block:var(--settings-section-margin-block, 0 1.5rem);margin-inline:var(--settings-section-margin-inline, 0)}.notifications-settings__section__title{display:var(--setting-section-title-display, flex);align-items:var(--setting-section-title-items, center);grid-gap:var(--setting-section-title-gap, .5rem);gap:var(--setting-section-title-gap, .5rem);padding-block:var(--setting-section-title-padding-block, .5rem);border-bottom:var(--setting-section-title-border-bottom, 1px solid #f0f0f0);background:var(--setting-section-title-background, transparent);color:var(--setting-section-title-color, #2f258a)}.notifications-settings__section__content{padding-block:var(--setting-section-content-padding-block, 1rem 0);display:var(--setting-section-content-display, grid);grid-template-columns:var(--setting-section-content-columns, repeat(auto-fit, minmax(490px, 1fr)));grid-gap:var(--setting-section-content-gap, 1rem);gap:var(--setting-section-content-gap, 1rem)}.notifications-settings__group{display:var(--setting-group-display, grid);grid-template-columns:var(--setting-group-columns, auto 1fr);background:var(--setting-group-background, transparent);padding:var(--setting-group-padding, .2rem 0);grid-gap:var(--setting-group-gap, .1rem 1rem);gap:var(--setting-group-gap, .1rem 1rem)}.notifications-settings__group__toggle{order:var(--setting-toggle-order)}.notifications-settings__group__toggle.is-loading{--loading-color: var(--setting-toggle-loader-color, #9189dd36);opacity:.5}.notifications-settings__group__toggle.is-loading ::ng-deep{pointer-events:none}.notifications-settings__group__toggle.is-loading ::ng-deep .mat-slide-toggle-thumb{animation:animateLoader 1.5s linear infinite}.notifications-settings__group__toggle.is-loading ::ng-deep label{margin-bottom:0}.notifications-settings__group__description{color:var(--setting-option-description-color, #666);font-size:var(--setting-option-description-size, .8rem);grid-column:var(--setting-option-description-column, 2)}@keyframes animateLoader{0%{box-shadow:0 0 0 2px var(--loading-color),0 0 0 4px var(--loading-color),0 0 0 6px var(--loading-color),0 0 0 8px var(--loading-color)}50%{box-shadow:0 0 0 1px var(--loading-color),0 0 0 3px var(--loading-color),0 0 0 4px var(--loading-color),0 0 0 5px var(--loading-color),0 0 0 6px var(--loading-color)}to{box-shadow:0 0 0 2px var(--loading-color),0 0 0 4px var(--loading-color),0 0 0 6px var(--loading-color),0 0 0 8px var(--loading-color)}}\n"], components: [{ type: i3.MatSpinner, selector: "mat-spinner", inputs: ["color"] }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i5.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "required", "checked"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i6.AsyncPipe, "keyvalue": i6.KeyValuePipe, "translate": i7.TranslatePipe, "checkIfSubscribed": i8.CheckIfSubscribedPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsSettingsComponent, decorators: [{
|
|
146
|
+
type: Component,
|
|
147
|
+
args: [{
|
|
148
|
+
selector: 'app-notifications-settings',
|
|
149
|
+
templateUrl: './notifications-settings.component.html',
|
|
150
|
+
styleUrls: ['./notifications-settings.component.scss'],
|
|
151
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
152
|
+
}]
|
|
153
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.TranslationService }, { type: i0.ChangeDetectorRef }, { type: i2.CustomToastrService }, { type: undefined, decorators: [{
|
|
154
|
+
type: Inject,
|
|
155
|
+
args: ['environment']
|
|
156
|
+
}] }]; }, propDecorators: { onSubscribe: [{
|
|
157
|
+
type: Output
|
|
158
|
+
}], onUnsubscribe: [{
|
|
159
|
+
type: Output
|
|
160
|
+
}], channel: [{
|
|
161
|
+
type: Input
|
|
162
|
+
}] } });
|
|
163
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy1zZXR0aW5ncy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9ub3RpZmljYXRpb25zLX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AgICAgICAgIDxtYXQtc2xpZGUtdG9nZ2xlXHJcbiAgICAgICAgICAgIFtuYW1lXT1cImRlZmluaXRpb24udGl0bGVcIlxyXG4gICAgICAgICAgICBbY2hlY2tlZF09XCJcclxuICAgICAgICAgICAgICBkZWZpbml0aW9uLmF1dG9TdWJzY3JpcHRpb25cclxuICAgICAgICAgICAgICAgID8gdHJ1ZVxyXG4gICAgICAgICAgICAgICAgOiAoZGVmaW5pdGlvbiB8IGNoZWNrSWZTdWJzY3JpYmVkIDogc2V0dGluZ3Muc3Vic2NyaXB0aW9ucylcclxuICAgICAgICAgICAgXCJcclxuICAgICAgICAgICAgY2xhc3M9XCJub3RpZmljYXRpb25zLXNldHRpbmdzX19ncm91cF9fdG9nZ2xlXCJcclxuICAgICAgICAgICAgW2NsYXNzLmlzLWxvYWRpbmddPVwiY2hhbmdpbmdJdGVtSWQgPT09IGRlZmluaXRpb24udWlkXCJcclxuICAgICAgICAgICAgW2Rpc2FibGVkXT1cImRlZmluaXRpb24uYXV0b1N1YnNjcmlwdGlvblwiXHJcbiAgICAgICAgICAgIChjaGFuZ2UpPVwic2V0dGluZ0NoYW5nZWQoZGVmaW5pdGlvbiwgJGV2ZW50KVwiXHJcbiAgICAgICAgICA+XHJcbiAgICAgICAgICA8L21hdC1zbGlkZS10b2dnbGU+XHJcbiAgICAgICAgICA8c3BhbiBjbGFzcz1cIm5vdGlmaWNhdGlvbnMtc2V0dGluZ3NfX2dyb3VwX190aXRsZVwiXHJcbiAgICAgICAgICAgID57eyBjdXJyZW50TGFuZyA9PSAnYXInID8gZGVmaW5pdGlvbj8uYXJUaXRsZSA6IGRlZmluaXRpb24/LmVuVGl0bGUgfX1cclxuICAgICAgICAgIDwvc3Bhbj5cclxuXHJcbiAgICAgICAgICA8cCBjbGFzcz1cIm5vdGlmaWNhdGlvbnMtc2V0dGluZ3NfX2dyb3VwX19kZXNjcmlwdGlvblwiPlxyXG4gICAgICAgICAgICB7e1xyXG4gICAgICAgICAgICAgIGN1cnJlbnRMYW5nID09ICdhcicgPyBkZWZpbml0aW9uPy5hckRlc2NyaXB0aW9uIDogZGVmaW5pdGlvbj8uZW5EZXNjcmlwdGlvblxyXG4gICAgICAgICAgICB9fVxyXG4gICAgICAgICAgPC9wPlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIDwvbmctY29udGFpbmVyPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Directive, InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export const NOTIFICATION_SIDEBAR_CONTENT = new InjectionToken('NotificationItemDirective');
|
|
4
|
+
export class NotificationSidebarContentDirective {
|
|
5
|
+
constructor(template) {
|
|
6
|
+
this.template = template;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
NotificationSidebarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationSidebarContentDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10
|
+
NotificationSidebarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: NotificationSidebarContentDirective, selector: "[appNotificationSidebarContent]", providers: [
|
|
11
|
+
{
|
|
12
|
+
provide: NOTIFICATION_SIDEBAR_CONTENT,
|
|
13
|
+
useExisting: NotificationSidebarContentDirective,
|
|
14
|
+
},
|
|
15
|
+
], ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationSidebarContentDirective, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: '[appNotificationSidebarContent]',
|
|
20
|
+
providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: NOTIFICATION_SIDEBAR_CONTENT,
|
|
23
|
+
useExisting: NotificationSidebarContentDirective,
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
}]
|
|
27
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy1zaWRlYmFyLWNvbnRlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9ub3RpZmljYXRpb25zLXNpZGViYXIvbm90aWZpY2F0aW9ucy1zaWRlYmFyLWNvbnRlbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxjQUFjLEVBQWUsTUFBTSxlQUFlLENBQUM7O0FBRXZFLE1BQU0sQ0FBQyxNQUFNLDRCQUE0QixHQUN2QyxJQUFJLGNBQWMsQ0FBc0MsMkJBQTJCLENBQUMsQ0FBQztBQVd2RixNQUFNLE9BQU8sbUNBQW1DO0lBQzlDLFlBQW1CLFFBQTBCO1FBQTFCLGFBQVEsR0FBUixRQUFRLENBQWtCO0lBQUcsQ0FBQzs7aUlBRHRDLG1DQUFtQztxSEFBbkMsbUNBQW1DLDBEQVBuQztRQUNUO1lBQ0UsT0FBTyxFQUFFLDRCQUE0QjtZQUNyQyxXQUFXLEVBQUUsbUNBQW1DO1NBQ2pEO0tBQ0Y7NEZBRVUsbUNBQW1DO2tCQVQvQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxpQ0FBaUM7b0JBQzNDLFNBQVMsRUFBRTt3QkFDVDs0QkFDRSxPQUFPLEVBQUUsNEJBQTRCOzRCQUNyQyxXQUFXLHFDQUFxQzt5QkFDakQ7cUJBQ0Y7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEluamVjdGlvblRva2VuLCBUZW1wbGF0ZVJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuZXhwb3J0IGNvbnN0IE5PVElGSUNBVElPTl9TSURFQkFSX0NPTlRFTlQgPVxyXG4gIG5ldyBJbmplY3Rpb25Ub2tlbjxOb3RpZmljYXRpb25TaWRlYmFyQ29udGVudERpcmVjdGl2ZT4oJ05vdGlmaWNhdGlvbkl0ZW1EaXJlY3RpdmUnKTtcclxuXHJcbkBEaXJlY3RpdmUoe1xyXG4gIHNlbGVjdG9yOiAnW2FwcE5vdGlmaWNhdGlvblNpZGViYXJDb250ZW50XScsXHJcbiAgcHJvdmlkZXJzOiBbXHJcbiAgICB7XHJcbiAgICAgIHByb3ZpZGU6IE5PVElGSUNBVElPTl9TSURFQkFSX0NPTlRFTlQsXHJcbiAgICAgIHVzZUV4aXN0aW5nOiBOb3RpZmljYXRpb25TaWRlYmFyQ29udGVudERpcmVjdGl2ZSxcclxuICAgIH0sXHJcbiAgXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIE5vdGlmaWNhdGlvblNpZGViYXJDb250ZW50RGlyZWN0aXZlIHtcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgdGVtcGxhdGU6IFRlbXBsYXRlUmVmPGFueT4pIHt9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { animate, animation, style, transition, trigger, useAnimation, } from '@angular/animations';
|
|
2
|
+
import { DOCUMENT } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, Inject, Input, Output, TemplateRef, ViewEncapsulation, } from '@angular/core';
|
|
4
|
+
import { NOTIFICATION_SIDEBAR_CONTENT } from './notifications-sidebar-content';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
const showAnimation = animation([
|
|
8
|
+
style({ transform: '{{transform}}', opacity: 0 }),
|
|
9
|
+
animate('{{transition}}'),
|
|
10
|
+
]);
|
|
11
|
+
const hideAnimation = animation([
|
|
12
|
+
animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 })),
|
|
13
|
+
]);
|
|
14
|
+
export class NotificationsSidebarComponent {
|
|
15
|
+
constructor(document, el, renderer, cd) {
|
|
16
|
+
this.document = document;
|
|
17
|
+
this.el = el;
|
|
18
|
+
this.renderer = renderer;
|
|
19
|
+
this.cd = cd;
|
|
20
|
+
this.transformOptions = 'translate3d(-100%, 0px, 0px)';
|
|
21
|
+
this.transitionOptions = '150ms cubic-bezier(0, 0, 0.2, 1)';
|
|
22
|
+
this.appendToBody = true;
|
|
23
|
+
this.clearOnCLose = true;
|
|
24
|
+
this._position = 'left';
|
|
25
|
+
this.visibleChange = new EventEmitter();
|
|
26
|
+
this.onShow = new EventEmitter();
|
|
27
|
+
this.onHide = new EventEmitter();
|
|
28
|
+
}
|
|
29
|
+
set visible(val) {
|
|
30
|
+
this._visible = val;
|
|
31
|
+
}
|
|
32
|
+
get visible() {
|
|
33
|
+
return this._visible;
|
|
34
|
+
}
|
|
35
|
+
get position() {
|
|
36
|
+
return this._position;
|
|
37
|
+
}
|
|
38
|
+
set position(value) {
|
|
39
|
+
this._position = value;
|
|
40
|
+
switch (value) {
|
|
41
|
+
case 'left':
|
|
42
|
+
this.transformOptions = 'translate3d(-100%, 0px, 0px)';
|
|
43
|
+
break;
|
|
44
|
+
case 'right':
|
|
45
|
+
this.transformOptions = 'translate3d(100%, 0px, 0px)';
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
ngOnInit() { }
|
|
50
|
+
onAnimationStart({ toState, element }) {
|
|
51
|
+
if (toState === 'visible') {
|
|
52
|
+
this._container = element;
|
|
53
|
+
this.appendContainer();
|
|
54
|
+
this.show();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
onAnimationEnd({ toState }) {
|
|
58
|
+
if (toState === 'void') {
|
|
59
|
+
this.hide(false);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
appendContainer() {
|
|
63
|
+
if (this.appendToBody) {
|
|
64
|
+
this.renderer.appendChild(this.document.body, this._container);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
close(event) {
|
|
68
|
+
event.preventDefault();
|
|
69
|
+
this.hide();
|
|
70
|
+
this.visible = false;
|
|
71
|
+
this.visibleChange.emit(false);
|
|
72
|
+
if (this.clearOnCLose) {
|
|
73
|
+
this._container = null;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
show() {
|
|
77
|
+
this.enableOverLay();
|
|
78
|
+
this.onShow.emit(null);
|
|
79
|
+
this.visibleChange.emit(true);
|
|
80
|
+
}
|
|
81
|
+
hide(emit = true) {
|
|
82
|
+
if (emit) {
|
|
83
|
+
this.onHide.emit(null);
|
|
84
|
+
}
|
|
85
|
+
this.disableOverlay();
|
|
86
|
+
}
|
|
87
|
+
enableOverLay() {
|
|
88
|
+
if (!this._mask) {
|
|
89
|
+
this._mask = this.renderer.createElement('div');
|
|
90
|
+
this.renderer.setStyle(this._mask, 'zIndex', 'calc(var(--notification-sidebar-z-index, 1050) - 1)');
|
|
91
|
+
this.renderer.addClass(this._mask, 'notification-sidebar__overlay');
|
|
92
|
+
this._maskClickListener = this.renderer.listen(this._mask, 'click', (event) => {
|
|
93
|
+
this.close(event);
|
|
94
|
+
});
|
|
95
|
+
this.renderer.appendChild(this.document.body, this._mask);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
disableOverlay() {
|
|
99
|
+
if (this._mask) {
|
|
100
|
+
this.renderer.removeChild(this.document.body, this._mask);
|
|
101
|
+
this._mask = null;
|
|
102
|
+
}
|
|
103
|
+
if (this._maskClickListener) {
|
|
104
|
+
this._maskClickListener();
|
|
105
|
+
this._maskClickListener = null;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
ngOnDestroy() {
|
|
109
|
+
if (this.visible) {
|
|
110
|
+
this.disableOverlay();
|
|
111
|
+
}
|
|
112
|
+
this._container = null;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
NotificationsSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsSidebarComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
116
|
+
NotificationsSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NotificationsSidebarComponent, selector: "app-notifications-sidebar", inputs: { appendToBody: "appendToBody", clearOnCLose: "clearOnCLose", visible: "visible", position: "position" }, outputs: { visibleChange: "visibleChange", onShow: "onShow", onHide: "onHide" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: NOTIFICATION_SIDEBAR_CONTENT, descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<div\r\n #container\r\n *ngIf=\"visible\"\r\n class=\"notification-sidebar\"\r\n [class.notification-sidebar__left]=\"position === 'left'\"\r\n [class.notification-sidebar__right]=\"position === 'right'\"\r\n [@panelState]=\"{\r\n value: 'visible',\r\n params: { transform: transformOptions, transition: transitionOptions }\r\n }\"\r\n (@panelState.start)=\"onAnimationStart($event)\"\r\n (@panelState.done)=\"onAnimationEnd($event)\"\r\n role=\"complementary\"\r\n [attr.data-pc-name]=\"'sidebar'\"\r\n [attr.data-pc-section]=\"'root'\"\r\n>\r\n <div class=\"notification-sidebar__content\">\r\n <ng-content></ng-content>\r\n <ng-container [ngTemplateOutlet]=\"contentTemplate\"></ng-container>\r\n </div>\r\n</div>\r\n", styles: [".notification-sidebar{position:fixed;transition:transform .3s;display:flex;flex-direction:column;width:var(--n-sidebar-width, min(80vw, 30rem));height:var(--n-sidebar-height, 100%);background:var(--n-sidebar-background, #fff);border-radius:var(--n-sidebar-radius);box-shadow:var(--n-sidebar-shadow, 0 0 25px #8b8b8b);z-index:var(--notification-sidebar-z-index, 1050)}.notification-sidebar__content{position:relative;overflow-y:auto;flex-grow:1}.notification-sidebar__left{top:0;left:0;--n-sidebar-radius: var(--n-sidebar-right-radius, 0 16px 16px 0)}.notification-sidebar__right{top:0;right:0;--n-sidebar-radius: var(--n-sidebar-left-radius, 16px 0 0 16px)}.notification-sidebar__overlay{position:fixed;transition:transform .3s;top:0;left:0;width:100%;height:100%;background:var(--n-sidebar-overlay-background, rgba(0, 0, 0, .05))}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
|
|
117
|
+
trigger('panelState', [
|
|
118
|
+
transition('void => visible', [useAnimation(showAnimation)]),
|
|
119
|
+
transition('visible => void', [useAnimation(hideAnimation)]),
|
|
120
|
+
]),
|
|
121
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsSidebarComponent, decorators: [{
|
|
123
|
+
type: Component,
|
|
124
|
+
args: [{
|
|
125
|
+
selector: 'app-notifications-sidebar',
|
|
126
|
+
templateUrl: './notifications-sidebar.component.html',
|
|
127
|
+
styleUrls: ['./notifications-sidebar.component.scss'],
|
|
128
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
129
|
+
encapsulation: ViewEncapsulation.None,
|
|
130
|
+
animations: [
|
|
131
|
+
trigger('panelState', [
|
|
132
|
+
transition('void => visible', [useAnimation(showAnimation)]),
|
|
133
|
+
transition('visible => void', [useAnimation(hideAnimation)]),
|
|
134
|
+
]),
|
|
135
|
+
],
|
|
136
|
+
}]
|
|
137
|
+
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
138
|
+
type: Inject,
|
|
139
|
+
args: [DOCUMENT]
|
|
140
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { appendToBody: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], clearOnCLose: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], visible: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], position: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], visibleChange: [{
|
|
149
|
+
type: Output
|
|
150
|
+
}], onShow: [{
|
|
151
|
+
type: Output
|
|
152
|
+
}], onHide: [{
|
|
153
|
+
type: Output
|
|
154
|
+
}], contentTemplate: [{
|
|
155
|
+
type: ContentChild,
|
|
156
|
+
args: [NOTIFICATION_SIDEBAR_CONTENT, { read: TemplateRef, static: true }]
|
|
157
|
+
}] } });
|
|
158
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy1zaWRlYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMtc2lkZWJhci9ub3RpZmljYXRpb25zLXNpZGViYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy1zaWRlYmFyL25vdGlmaWNhdGlvbnMtc2lkZWJhci5jb21wb25lb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HsgdHJhbnNmb3JtOiB0cmFuc2Zvcm1PcHRpb25zLCB0cmFuc2l0aW9uOiB0cmFuc2l0aW9uT3B0aW9ucyB9XHJcbiAgfVwiXHJcbiAgKEBwYW5lbFN0YXRlLnN0YXJ0KT1cIm9uQW5pbWF0aW9uU3RhcnQoJGV2ZW50KVwiXHJcbiAgKEBwYW5lbFN0YXRlLmRvbmUpPVwib25BbmltYXRpb25FbmQoJGV2ZW50KVwiXHJcbiAgcm9sZT1cImNvbXBsZW1lbnRhcnlcIlxyXG4gIFthdHRyLmRhdGEtcGMtbmFtZV09XCInc2lkZWJhcidcIlxyXG4gIFthdHRyLmRhdGEtcGMtc2VjdGlvbl09XCIncm9vdCdcIlxyXG4+XHJcbiAgPGRpdiBjbGFzcz1cIm5vdGlmaWNhdGlvbi1zaWRlYmFyX19jb250ZW50XCI+XHJcbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbiAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImNvbnRlbnRUZW1wbGF0ZVwiPjwvbmctY29udGFpbmVyPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const FILTER_DATES_TYPE = {
|
|
2
|
+
lastDay: 'from_now-24H_to_now',
|
|
3
|
+
lastWeek: 'from_now-7d_to_now',
|
|
4
|
+
lastMonth: 'from_now-1M_to_now',
|
|
5
|
+
lastHalfYear: 'from_now-6M_to_now',
|
|
6
|
+
lastYear: 'from_now-1y_to_now',
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9jb25zdGFudHMvZGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBRztJQUMvQixPQUFPLEVBQUUscUJBQXFCO0lBQzlCLFFBQVEsRUFBRSxvQkFBb0I7SUFDOUIsU0FBUyxFQUFFLG9CQUFvQjtJQUMvQixZQUFZLEVBQUUsb0JBQW9CO0lBQ2xDLFFBQVEsRUFBRSxvQkFBb0I7Q0FDdEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBGSUxURVJfREFURVNfVFlQRSA9IHtcclxuICBsYXN0RGF5OiAnZnJvbV9ub3ctMjRIX3RvX25vdycsXHJcbiAgbGFzdFdlZWs6ICdmcm9tX25vdy03ZF90b19ub3cnLFxyXG4gIGxhc3RNb250aDogJ2Zyb21fbm93LTFNX3RvX25vdycsXHJcbiAgbGFzdEhhbGZZZWFyOiAnZnJvbV9ub3ctNk1fdG9fbm93JyxcclxuICBsYXN0WWVhcjogJ2Zyb21fbm93LTF5X3RvX25vdycsXHJcbn0gYXMgY29uc3Q7XHJcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './date';
|
|
2
|
+
export * from './pagination';
|
|
3
|
+
export * from './panel';
|
|
4
|
+
export * from './status';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvY29uc3RhbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kYXRlJztcclxuZXhwb3J0ICogZnJvbSAnLi9wYWdpbmF0aW9uJztcclxuZXhwb3J0ICogZnJvbSAnLi9wYW5lbCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3RhdHVzJztcclxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export const PAGINATION_MODE = {
|
|
2
|
+
scroll: 'scroll',
|
|
3
|
+
navigator: 'navigator',
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9jb25zdGFudHMvcGFnaW5hdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxlQUFlLEdBQUc7SUFDN0IsTUFBTSxFQUFFLFFBQVE7SUFDaEIsU0FBUyxFQUFFLFdBQVc7Q0FDZCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IFBBR0lOQVRJT05fTU9ERSA9IHtcclxuICBzY3JvbGw6ICdzY3JvbGwnLFxyXG4gIG5hdmlnYXRvcjogJ25hdmlnYXRvcicsXHJcbn0gYXMgY29uc3Q7XHJcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export const PANEL_MODE = {
|
|
2
|
+
panel: 'panel',
|
|
3
|
+
sidebar: 'sidebar',
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFuZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvY29uc3RhbnRzL3BhbmVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixLQUFLLEVBQUUsT0FBTztJQUNkLE9BQU8sRUFBRSxTQUFTO0NBQ1YsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBQQU5FTF9NT0RFID0ge1xyXG4gIHBhbmVsOiAncGFuZWwnLFxyXG4gIHNpZGViYXI6ICdzaWRlYmFyJyxcclxufSBhcyBjb25zdDtcclxuIl19
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const NOTIFICATION_STATUS = {
|
|
2
|
+
new: 'New',
|
|
3
|
+
read: 'Read',
|
|
4
|
+
unRead: 'UnRead',
|
|
5
|
+
};
|
|
6
|
+
export const SUBSCRIPTION_STATE = {
|
|
7
|
+
subscribed: 'Subscribed',
|
|
8
|
+
unsubscribed: 'Unsubscribed',
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2NvbnN0YW50cy9zdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBQUc7SUFDakMsR0FBRyxFQUFFLEtBQUs7SUFDVixJQUFJLEVBQUUsTUFBTTtJQUNaLE1BQU0sRUFBRSxRQUFRO0NBQ1IsQ0FBQztBQUVYLE1BQU0sQ0FBQyxNQUFNLGtCQUFrQixHQUFHO0lBQ2hDLFVBQVUsRUFBRSxZQUFZO0lBQ3hCLFlBQVksRUFBRSxjQUFjO0NBQ3BCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgTk9USUZJQ0FUSU9OX1NUQVRVUyA9IHtcclxuICBuZXc6ICdOZXcnLFxyXG4gIHJlYWQ6ICdSZWFkJyxcclxuICB1blJlYWQ6ICdVblJlYWQnLFxyXG59IGFzIGNvbnN0O1xyXG5cclxuZXhwb3J0IGNvbnN0IFNVQlNDUklQVElPTl9TVEFURSA9IHtcclxuICBzdWJzY3JpYmVkOiAnU3Vic2NyaWJlZCcsXHJcbiAgdW5zdWJzY3JpYmVkOiAnVW5zdWJzY3JpYmVkJyxcclxufSBhcyBjb25zdDtcclxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './notifications-list-container/notifications-list-container.component';
|
|
2
|
+
export * from './notifications-settings-container/notifications-settings-container.component';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvY29udGFpbmVycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVFQUF1RSxDQUFBO0FBQ3JGLGNBQWMsK0VBQStFLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL25vdGlmaWNhdGlvbnMtbGlzdC1jb250YWluZXIvbm90aWZpY2F0aW9ucy1saXN0LWNvbnRhaW5lci5jb21wb25lbnQnXHJcbmV4cG9ydCAqIGZyb20gJy4vbm90aWZpY2F0aW9ucy1zZXR0aW5ncy1jb250YWluZXIvbm90aWZpY2F0aW9ucy1zZXR0aW5ncy1jb250YWluZXIuY29tcG9uZW50J1xyXG4iXX0=
|