barsa-sap-ui 2.2.73 → 2.2.75
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/fesm2022/barsa-sap-ui.mjs +758 -762
- package/fesm2022/barsa-sap-ui.mjs.map +1 -1
- package/lib/models/grid-data-provider.d.ts +1 -1
- package/lib/notification-popup.service.d.ts +1 -1
- package/lib/ui-grid-columns/ui-grid-columns.component.d.ts +1 -1
- package/lib/ui-mo-info-ulv-combo/ui-mo-info-ulv-combo.component.d.ts +1 -1
- package/lib/ui-pictures-info/ui-pictures-info.component.d.ts +2 -2
- package/lib/ui-table-view/ui-table-view.component.d.ts +4 -4
- package/lib/ul-msg-box-adapter/ul-msg-box-adapter.component.d.ts +1 -1
- package/lib/ul-notify-popup/ul-notify-popup.component.d.ts +1 -1
- package/lib/ulv-toolbar/ulv-toolbar.component.d.ts +2 -2
- package/package.json +3 -5
- package/esm2022/barsa-sap-ui.mjs +0 -5
- package/esm2022/lib/apply-conditional-formmatings.directive.mjs +0 -90
- package/esm2022/lib/avatar-size.pipe.mjs +0 -41
- package/esm2022/lib/barsa-answer-card/barsa-answer-card.component.mjs +0 -41
- package/esm2022/lib/barsa-asp-viewer/barsa-asp-viewer.component.mjs +0 -153
- package/esm2022/lib/barsa-bar-download-file/barsa-bar-download-file.component.mjs +0 -30
- package/esm2022/lib/barsa-bar-panel/barsa-bar-panel.component.mjs +0 -23
- package/esm2022/lib/barsa-base-panel/barsa-base-layout-panel.component.mjs +0 -29
- package/esm2022/lib/barsa-breadcrumbs/barsa-breadcrumbs.component.mjs +0 -24
- package/esm2022/lib/barsa-card-banner/barsa-card-banner.component.mjs +0 -38
- package/esm2022/lib/barsa-card-layout-panel/barsa-card-layout-panel.component.mjs +0 -24
- package/esm2022/lib/barsa-card-row-payam/barsa-card-row-payam.component.mjs +0 -31
- package/esm2022/lib/barsa-cartable-form/barsa-cartable-form.component.mjs +0 -41
- package/esm2022/lib/barsa-cartable-template/barsa-cartable-template.component.mjs +0 -24
- package/esm2022/lib/barsa-chat/barsa-chat.component.mjs +0 -84
- package/esm2022/lib/barsa-chat/chat.model.mjs +0 -8
- package/esm2022/lib/barsa-chat-content/barsa-chat-content.component.mjs +0 -13
- package/esm2022/lib/barsa-chat-content-toolbar/barsa-chat-content-toolbar.component.mjs +0 -22
- package/esm2022/lib/barsa-chat-list/barsa-chat-list.component.mjs +0 -117
- package/esm2022/lib/barsa-chat-message/barsa-chat-message.component.mjs +0 -79
- package/esm2022/lib/barsa-chat-thread/barsa-chat-thread.component.mjs +0 -22
- package/esm2022/lib/barsa-chat-threads-list/barsa-chat-threads-list.component.mjs +0 -13
- package/esm2022/lib/barsa-chat-threads-list-toolbar/barsa-chat-threads-list-toolbar.component.mjs +0 -15
- package/esm2022/lib/barsa-chip/barsa-chip.component.mjs +0 -72
- package/esm2022/lib/barsa-column-indicator/barsa-column-indicator.component.mjs +0 -23
- package/esm2022/lib/barsa-column-rownumber/barsa-column-rownumber.component.mjs +0 -14
- package/esm2022/lib/barsa-custom-inline-edit/barsa-custom-inline-edit.component.mjs +0 -14
- package/esm2022/lib/barsa-custom-inline-edit-row/barsa-custom-inline-edit-row.component.mjs +0 -26
- package/esm2022/lib/barsa-date-time-picker/barsa-date-time-picker.component.mjs +0 -71
- package/esm2022/lib/barsa-dynamic-field/barsa-dynamic-field.component.mjs +0 -40
- package/esm2022/lib/barsa-enum-menu-button/barsa-enum-menu-button.component.mjs +0 -61
- package/esm2022/lib/barsa-field-key-value/barsa-field-key-value.component.mjs +0 -45
- package/esm2022/lib/barsa-form-layout-panel/barsa-form-layout-panel.component.mjs +0 -58
- package/esm2022/lib/barsa-form-side-content/barsa-form-side-content.component.mjs +0 -58
- package/esm2022/lib/barsa-grid-layout-panel/barsa-grid-layout-panel.component.mjs +0 -27
- package/esm2022/lib/barsa-group-cartable/barsa-cartable-group.component.mjs +0 -94
- package/esm2022/lib/barsa-horizontal-flex-panel/barsa-horizontal-flex-panel.component.mjs +0 -22
- package/esm2022/lib/barsa-img-skeleton/barsa-img-skeleton.component.mjs +0 -25
- package/esm2022/lib/barsa-linkable-items-panel/barsa-linkable-items-panel.component.mjs +0 -37
- package/esm2022/lib/barsa-list-file-linear/barsa-list-file-linear.component.mjs +0 -42
- package/esm2022/lib/barsa-list-file-linear-gmail/barsa-list-file-linear-gmail.component.mjs +0 -30
- package/esm2022/lib/barsa-list-layout-panel/barsa-list-layout-panel.component.mjs +0 -23
- package/esm2022/lib/barsa-modal/barsa-modal.component.mjs +0 -43
- package/esm2022/lib/barsa-monaco-editor/barsa-monaco-editor.component.mjs +0 -83
- package/esm2022/lib/barsa-network-offline/barsa-network-offline.component.mjs +0 -57
- package/esm2022/lib/barsa-pishnamayesh-payam/barsa-pishnamayesh-payam.component.mjs +0 -159
- package/esm2022/lib/barsa-question-answer-comments-section/barsa-question-answer-comments-section.component.mjs +0 -17
- package/esm2022/lib/barsa-question-answer-content-actions-section/barsa-question-answer-content-actions-section.component.mjs +0 -30
- package/esm2022/lib/barsa-question-answer-creator-time-section/barsa-question-answer-creator-time-section.component.mjs +0 -14
- package/esm2022/lib/barsa-question-answer-form/barsa-question-answer-form.component.mjs +0 -34
- package/esm2022/lib/barsa-question-answer-form-add-comment/barsa-question-answer-form-add-comment.component.mjs +0 -46
- package/esm2022/lib/barsa-question-answer-vote-section/barsa-question-answer-vote-section.component.mjs +0 -79
- package/esm2022/lib/barsa-question-post/barsa-question-post.component.mjs +0 -30
- package/esm2022/lib/barsa-report-card-flex-view/barsa-report-card-flex-view.component.mjs +0 -31
- package/esm2022/lib/barsa-report-checkbox-switch-button/barsa-report-checkbox-switch-button.component.mjs +0 -28
- package/esm2022/lib/barsa-report-one-of-list/barsa-report-one-of-list.component.mjs +0 -103
- package/esm2022/lib/barsa-row-inline-actionlist/barsa-row-inline-actionlist.component.mjs +0 -26
- package/esm2022/lib/barsa-sap-ui-routing.module.mjs +0 -18
- package/esm2022/lib/barsa-sap-ui.module.mjs +0 -369
- package/esm2022/lib/barsa-search-form/barsa-search-form.component.mjs +0 -30
- package/esm2022/lib/barsa-simple-form/barsa-simple-form.component.mjs +0 -171
- package/esm2022/lib/barsa-tab-route-manager/barsa-tab-route-manager.component.mjs +0 -18
- package/esm2022/lib/barsa-table-column/barsa-table-column.component.mjs +0 -29
- package/esm2022/lib/barsa-table-header/barsa-table-header.component.mjs +0 -230
- package/esm2022/lib/barsa-table-row/barsa-table-row.component.mjs +0 -102
- package/esm2022/lib/barsa-tag-categories/barsa-tag-categories.component.mjs +0 -60
- package/esm2022/lib/barsa-tag-chip/barsa-tag-chip.component.mjs +0 -26
- package/esm2022/lib/barsa-tags-category-row/barsa-tags-category-row.component.mjs +0 -23
- package/esm2022/lib/barsa-text-ellipsis/barsa-text-ellipsis.component.mjs +0 -37
- package/esm2022/lib/barsa-theme/barsa-theme.component.mjs +0 -121
- package/esm2022/lib/barsa-tinyemce/barsa-tinyemce.component.mjs +0 -419
- package/esm2022/lib/barsa-toolbaritem-search/barsa-toolbaritem-search.component.mjs +0 -36
- package/esm2022/lib/barsa-tree-item/barsa-tree-item.component.mjs +0 -153
- package/esm2022/lib/barsa-tree-item/node-has-one-depth-level.pipe.mjs +0 -20
- package/esm2022/lib/barsa-ulv-main/barsa-ulv-main.component.mjs +0 -248
- package/esm2022/lib/blob-viewer/blob-viewer.component.mjs +0 -79
- package/esm2022/lib/breadcrumb/breadcrumb.component.mjs +0 -52
- package/esm2022/lib/captcha-field/captcha-field.component.mjs +0 -33
- package/esm2022/lib/card-item/card-item.component.mjs +0 -79
- package/esm2022/lib/card-view-content/card-view-content.component.mjs +0 -46
- package/esm2022/lib/col-renderer.directive.mjs +0 -47
- package/esm2022/lib/column-matrix-renderer/column-matrix-renderer.component.mjs +0 -56
- package/esm2022/lib/column-matrix-renderer/matrix-value.pipe.mjs +0 -61
- package/esm2022/lib/column-renderer/column-renderer.component.mjs +0 -108
- package/esm2022/lib/constants.mjs +0 -450
- package/esm2022/lib/contentDensity.directive.mjs +0 -25
- package/esm2022/lib/custom-date-time/custom-date-time.component.mjs +0 -41
- package/esm2022/lib/device-info-field-base.mjs +0 -24
- package/esm2022/lib/dialog-handler.directive.mjs +0 -29
- package/esm2022/lib/download-files.directive.mjs +0 -34
- package/esm2022/lib/dynamic-page-size.pipe.mjs +0 -27
- package/esm2022/lib/file-in-dialog/file-in-dialog.component.mjs +0 -44
- package/esm2022/lib/file-viewer/file-viewer.component.mjs +0 -47
- package/esm2022/lib/file-viewer-content/file-viewer-content.component.mjs +0 -80
- package/esm2022/lib/file-viewer-popover/file-viewer-popover.component.mjs +0 -40
- package/esm2022/lib/form-dialog/form-dialog.component.mjs +0 -175
- package/esm2022/lib/form-dialog-less/form-dialog-less.component.mjs +0 -50
- package/esm2022/lib/form-toolbar/form-toolbar.component.mjs +0 -62
- package/esm2022/lib/form-toolbar-button/form-toolbar-button.component.mjs +0 -45
- package/esm2022/lib/form-wizard/form-wizard.component.mjs +0 -22
- package/esm2022/lib/fullscreen-dialog.directive.mjs +0 -60
- package/esm2022/lib/fullscreen-files.directive.mjs +0 -43
- package/esm2022/lib/fundamental-dynamic-form/fundamental-dynamic-form.component.mjs +0 -220
- package/esm2022/lib/gantt-dhtml-chart-view/gantt-dhtml-chart-view.component.mjs +0 -215
- package/esm2022/lib/global-search/global-search.component.mjs +0 -27
- package/esm2022/lib/global-search-module/global-search-module.component.mjs +0 -29
- package/esm2022/lib/global-search-panel/global-search-panel.component.mjs +0 -25
- package/esm2022/lib/header-avatar/header-avatar.component.mjs +0 -18
- package/esm2022/lib/htree-create-new/htree-create-new.component.mjs +0 -48
- package/esm2022/lib/hyperlink/hyperlink.component.mjs +0 -23
- package/esm2022/lib/index.mjs +0 -467
- package/esm2022/lib/inline-save-and-cancel/inline-save-and-cancel.component.mjs +0 -32
- package/esm2022/lib/layout-actions/layout-actions.component.mjs +0 -70
- package/esm2022/lib/layout-control/layout-control.component.mjs +0 -320
- package/esm2022/lib/layout-wizard/layout-wizard.component.mjs +0 -180
- package/esm2022/lib/list-item/list-item.component.mjs +0 -34
- package/esm2022/lib/ly-empty-space/ly-empty-space.component.mjs +0 -42
- package/esm2022/lib/ly-horizontal-layout/ly-horizontal-layout.component.mjs +0 -82
- package/esm2022/lib/ly-label/ly-label.component.mjs +0 -39
- package/esm2022/lib/ly-layout-container/ly-layout-container.component.mjs +0 -83
- package/esm2022/lib/ly-layout-container-of-root/ly-layout-container-of-root.component.mjs +0 -24
- package/esm2022/lib/ly-layout-field-label/ly-layout-field-label.component.mjs +0 -24
- package/esm2022/lib/ly-layout-panel/ly-layout-panel.component.mjs +0 -92
- package/esm2022/lib/ly-line/ly-line.component.mjs +0 -56
- package/esm2022/lib/ly-simple-label/ly-simple-label.component.mjs +0 -22
- package/esm2022/lib/ly-tab-container/ly-tab-container.component.mjs +0 -44
- package/esm2022/lib/ly-tab-page/ly-tab-page.component.mjs +0 -49
- package/esm2022/lib/ly-vertical-layout/ly-vertical-layout.component.mjs +0 -51
- package/esm2022/lib/manage-filters-report/manage-filters-report.component.mjs +0 -43
- package/esm2022/lib/mask/mask.component.mjs +0 -22
- package/esm2022/lib/message-strip/message-strip.component.mjs +0 -29
- package/esm2022/lib/models/grid-data-provider.mjs +0 -121
- package/esm2022/lib/models/grid-view.mjs +0 -2
- package/esm2022/lib/models/index.mjs +0 -2
- package/esm2022/lib/no-data/no-data.component.mjs +0 -30
- package/esm2022/lib/notification-item/notification-item.component.mjs +0 -57
- package/esm2022/lib/notification-item-actions/notification-item-actions.component.mjs +0 -79
- package/esm2022/lib/notification-popup.service.mjs +0 -92
- package/esm2022/lib/object-status-icon.pipe.mjs +0 -27
- package/esm2022/lib/progress-indicator/progress-indicator.component.mjs +0 -18
- package/esm2022/lib/report-navigator/report-navigator.component.mjs +0 -75
- package/esm2022/lib/report-new-top-form/report-new-top-form.component.mjs +0 -61
- package/esm2022/lib/report-search-fields-hidden-settings/report-search-fields-hidden-settings.component.mjs +0 -35
- package/esm2022/lib/report-search-fields-manage/report-search-fields-manage.component.mjs +0 -97
- package/esm2022/lib/report-search-panel-save/report-search-panel-save.component.mjs +0 -88
- package/esm2022/lib/report-tree-base.mjs +0 -387
- package/esm2022/lib/report-view-renderer.directive.mjs +0 -395
- package/esm2022/lib/responsive-toolbar/responsive-toolbar.component.mjs +0 -50
- package/esm2022/lib/responsive-toolbar-renderer/responsive-toolbar-renderer.component.mjs +0 -84
- package/esm2022/lib/rich-text-static/rich-text-static.component.mjs +0 -74
- package/esm2022/lib/sap-font-class.pipe.mjs +0 -30
- package/esm2022/lib/sap-font.pipe.mjs +0 -30
- package/esm2022/lib/sap-size.pipe.mjs +0 -28
- package/esm2022/lib/sap-ui-report-base.component.mjs +0 -819
- package/esm2022/lib/search-panel/search-panel.component.mjs +0 -63
- package/esm2022/lib/static-text/static-text.component.mjs +0 -15
- package/esm2022/lib/table-th.directive.mjs +0 -87
- package/esm2022/lib/title/title.component.mjs +0 -15
- package/esm2022/lib/ui-asp-report-viewer/ui-asp-report-viewer.component.mjs +0 -44
- package/esm2022/lib/ui-bpmn-viewer/ui-bpmn-viewer.component.mjs +0 -33
- package/esm2022/lib/ui-button/ui-button.component.mjs +0 -32
- package/esm2022/lib/ui-calendar/ui-calendar.component.mjs +0 -54
- package/esm2022/lib/ui-card-view/ui-card-view.component.mjs +0 -63
- package/esm2022/lib/ui-card-view-horizontal-group/ui-card-view-horizontal-group.component.mjs +0 -43
- package/esm2022/lib/ui-check-box/ui-check-box.component.mjs +0 -44
- package/esm2022/lib/ui-color-ui/ui-color-ui.component.mjs +0 -50
- package/esm2022/lib/ui-container-with-button/ui-container-with-button.component.mjs +0 -38
- package/esm2022/lib/ui-date-range-ex/ui-date-range-ex.component.mjs +0 -191
- package/esm2022/lib/ui-date-time/ui-date-time.component.mjs +0 -150
- package/esm2022/lib/ui-editable-grid/ui-editable-grid.component.mjs +0 -111
- package/esm2022/lib/ui-exception-form/ui-exception-form.component.mjs +0 -53
- package/esm2022/lib/ui-file-linear-list-box/ui-file-linear-list-box.component.mjs +0 -138
- package/esm2022/lib/ui-form-panel/ui-form-panel.component.mjs +0 -104
- package/esm2022/lib/ui-gantt-chart/ui-gantt-chart.component.mjs +0 -33
- package/esm2022/lib/ui-graph/ui-graph.component.mjs +0 -17
- package/esm2022/lib/ui-grid/ui-grid.component.mjs +0 -26
- package/esm2022/lib/ui-grid-columns/ui-grid-columns.component.mjs +0 -43
- package/esm2022/lib/ui-grid-filter-item/ui-grid-filter-item.component.mjs +0 -66
- package/esm2022/lib/ui-grid-filter-settings/ui-grid-filter-settings.component.mjs +0 -75
- package/esm2022/lib/ui-grid-sort-item/ui-grid-sort-item.component.mjs +0 -58
- package/esm2022/lib/ui-grid-sort-setting/ui-grid-sort-setting.component.mjs +0 -123
- package/esm2022/lib/ui-html-viewer/ui-html-viewer.component.mjs +0 -16
- package/esm2022/lib/ui-info-bar-panel/ui-info-bar-panel.component.mjs +0 -11
- package/esm2022/lib/ui-label/ui-label.component.mjs +0 -12
- package/esm2022/lib/ui-linear-list-container-with-button/ui-linear-list-container-with-button.component.mjs +0 -405
- package/esm2022/lib/ui-list-view/ui-list-view.component.mjs +0 -85
- package/esm2022/lib/ui-map/ui-map.component.mjs +0 -68
- package/esm2022/lib/ui-matrix-view/ui-matrix-view.component.mjs +0 -124
- package/esm2022/lib/ui-mo-info-combo-viewer/ui-mo-info-combo-viewer.component.mjs +0 -19
- package/esm2022/lib/ui-mo-info-general-object-ui/ui-mo-info-general-object-ui.component.mjs +0 -14
- package/esm2022/lib/ui-mo-info-sub-form-ui/ui-mo-info-sub-form-ui.component.mjs +0 -55
- package/esm2022/lib/ui-mo-info-ulv-combo/ui-mo-info-ulv-combo.component.mjs +0 -450
- package/esm2022/lib/ui-monaco-editor/ui-monaco-editor.component.mjs +0 -28
- package/esm2022/lib/ui-multi-select-card/ui-multi-select-card.component.mjs +0 -37
- package/esm2022/lib/ui-multi-select-checkbox/ui-multi-select-checkbox.component.mjs +0 -59
- package/esm2022/lib/ui-multi-select-combo/ui-multi-select-combo.component.mjs +0 -117
- package/esm2022/lib/ui-multi-select-radio/ui-multi-select-radio.component.mjs +0 -36
- package/esm2022/lib/ui-multi-select-slider/ui-multi-select-slider.component.mjs +0 -56
- package/esm2022/lib/ui-multi-select-smile/ui-multi-select-smile.component.mjs +0 -28
- package/esm2022/lib/ui-notification-view/ui-notification-view.component.mjs +0 -47
- package/esm2022/lib/ui-num-decimal-ui/ui-num-decimal-ui.component.mjs +0 -33
- package/esm2022/lib/ui-num-int-slider/ui-num-int-slider.component.mjs +0 -27
- package/esm2022/lib/ui-num-int-ui/ui-num-int-ui.component.mjs +0 -21
- package/esm2022/lib/ui-pdf-viewer/ui-pdf-viewer.component.mjs +0 -271
- package/esm2022/lib/ui-picture-file/ui-picture-file.component.mjs +0 -103
- package/esm2022/lib/ui-pictures-info/ui-pictures-info.component.mjs +0 -260
- package/esm2022/lib/ui-radio-group/ui-radio-group.component.mjs +0 -48
- package/esm2022/lib/ui-read-only-field/ui-read-only-field.component.mjs +0 -36
- package/esm2022/lib/ui-report-carousel-view/ui-report-carousel-view.component.mjs +0 -140
- package/esm2022/lib/ui-report-container/ui-report-container.component.mjs +0 -66
- package/esm2022/lib/ui-search-command-info-ui/ui-search-command-info-ui.component.mjs +0 -24
- package/esm2022/lib/ui-simple-combo/ui-simple-combo.component.mjs +0 -55
- package/esm2022/lib/ui-single-picture/ui-single-picture.component.mjs +0 -36
- package/esm2022/lib/ui-switch-button/ui-switch-button.component.mjs +0 -20
- package/esm2022/lib/ui-table-view/ui-table-view.component.mjs +0 -296
- package/esm2022/lib/ui-text-area/ui-text-area.component.mjs +0 -50
- package/esm2022/lib/ui-text-field/ui-text-field.component.mjs +0 -52
- package/esm2022/lib/ui-text-field-auto-complete/ui-text-field-auto-complete.component.mjs +0 -48
- package/esm2022/lib/ui-time-span/ui-time-span.component.mjs +0 -24
- package/esm2022/lib/ui-tinymce/ui-tinymce.component.mjs +0 -50
- package/esm2022/lib/ui-tree/ui-tree.component.mjs +0 -115
- package/esm2022/lib/ui-tree-view/ui-tree-view.component.mjs +0 -100
- package/esm2022/lib/ui-ulv-form-multi-select-ui/ui-ulv-form-multi-select-ui.component.mjs +0 -23
- package/esm2022/lib/ui-ulv-main-ui/ui-ulv-main-ui.component.mjs +0 -313
- package/esm2022/lib/ui-workflow-panel-ui/ui-workflow-panel-ui.component.mjs +0 -25
- package/esm2022/lib/ul-loading-mask-ui/ul-loading-mask-ui.component.mjs +0 -93
- package/esm2022/lib/ul-msg-box-adapter/ul-msg-box-adapter.component.mjs +0 -119
- package/esm2022/lib/ul-notify-popup/ul-notify-popup.component.mjs +0 -32
- package/esm2022/lib/ul-toast-adapter/ul-toast-adapter.component.mjs +0 -48
- package/esm2022/lib/ulv-column-settings/ulv-column-settings.component.mjs +0 -53
- package/esm2022/lib/ulv-context-menu/ulv-context-menu.component.mjs +0 -116
- package/esm2022/lib/ulv-filter-settings/ulv-filter-settings.component.mjs +0 -43
- package/esm2022/lib/ulv-form-multi-select/ulv-form-multi-select.component.mjs +0 -196
- package/esm2022/lib/ulv-groupby-settings/ulv-groupby-settings.component.mjs +0 -44
- package/esm2022/lib/ulv-paging/ulv-paging.component.mjs +0 -84
- package/esm2022/lib/ulv-selection/ulv-selection.component.mjs +0 -65
- package/esm2022/lib/ulv-settings/ulv-settings.component.mjs +0 -116
- package/esm2022/lib/ulv-sort-settings/ulv-sort-settings.component.mjs +0 -54
- package/esm2022/lib/ulv-toolbar/ulv-toolbar.component.mjs +0 -177
- package/esm2022/lib/upload-file-status.pipe.mjs +0 -29
- package/esm2022/lib/util-chat-time-badge.pipe.mjs +0 -18
- package/esm2022/lib/util-date-to-hh-mm.pipe.mjs +0 -23
- package/esm2022/lib/wizard-layout.directive.mjs +0 -104
- package/esm2022/public-api.mjs +0 -242
|
@@ -10,7 +10,7 @@ export declare class GridMoDataList {
|
|
|
10
10
|
inlineEditMode: boolean;
|
|
11
11
|
allowInlineEdit: boolean;
|
|
12
12
|
subscriptions: any[];
|
|
13
|
-
constructor(moDataList$: Observable<MetaobjectDataModel[]>, gridSetting$: Observable<GridSetting>, visibleColumns$: Observable<ReportViewColumn[]>,
|
|
13
|
+
constructor(moDataList$: Observable<MetaobjectDataModel[]>, gridSetting$: Observable<GridSetting>, visibleColumns$: Observable<ReportViewColumn[]>, _searchTerm$: Observable<string>, inlineEditMode$: Observable<boolean>, allowInlineEdit$: Observable<boolean>);
|
|
14
14
|
destroy(): void;
|
|
15
15
|
getSortby(): CollectionSort[];
|
|
16
16
|
getSortDirection(direction: any): SortDirection;
|
|
@@ -8,7 +8,7 @@ export declare class NotificationPopupService implements NotificationPopupServic
|
|
|
8
8
|
*/
|
|
9
9
|
defaultOptions: NotifyOptions;
|
|
10
10
|
constructor(_notificationService: NotificationService);
|
|
11
|
-
popupNotify(msg: any, title: any,
|
|
11
|
+
popupNotify(msg: any, title: any, _type: any, image: any, mo: any, uiOptions: any, otherOptions: any): void;
|
|
12
12
|
private _getUiOptions;
|
|
13
13
|
private _getNotificationConfig;
|
|
14
14
|
private _getNotifyCallback;
|
|
@@ -8,7 +8,7 @@ export declare class UiGridColumnsComponent extends BaseComponent implements OnI
|
|
|
8
8
|
selectedColumns: number;
|
|
9
9
|
onDropColumn(columns: ColumnInfoType[], event: CdkDragDrop<ColumnInfoType[]>): void;
|
|
10
10
|
onChangeColumnHidden(column: any): void;
|
|
11
|
-
trackByMethod(
|
|
11
|
+
trackByMethod(_index: number, column: any): string;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiGridColumnsComponent, never>;
|
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiGridColumnsComponent, "bsu-ui-grid-columns", never, { "columns": { "alias": "columns"; "required": false; }; "selectedColumns": { "alias": "selectedColumns"; "required": false; }; }, { "columnsChange": "columnsChange"; }, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -48,7 +48,7 @@ export declare class UiMoInfoUlvComboComponent extends FieldBaseComponent implem
|
|
|
48
48
|
onPageChange(e: number): void;
|
|
49
49
|
onItemClick(e: ComboboxItem, moDataList: MetaobjectDataModel[]): void;
|
|
50
50
|
onPageChange2(pageSetting: PagingSetting, e: any): void;
|
|
51
|
-
onOpenChange(
|
|
51
|
+
onOpenChange(_fdCombobox: any, isOpen: boolean): void;
|
|
52
52
|
onInputChange(e: any): void;
|
|
53
53
|
onInputChange2(e: any): void;
|
|
54
54
|
onValueChange(e: any): void;
|
|
@@ -33,9 +33,9 @@ export declare class UiPicturesInfoComponent extends DeviceInfoFieldBaseComponen
|
|
|
33
33
|
private _fileCountSource;
|
|
34
34
|
ngOnInit(): void;
|
|
35
35
|
ngOnDestroy(): void;
|
|
36
|
-
onRotate(imgEl: HTMLImageElement, media2: Media,
|
|
36
|
+
onRotate(imgEl: HTMLImageElement, media2: Media, _index: number): void;
|
|
37
37
|
onFullscreen(media: any, mediaData: any): void;
|
|
38
|
-
onMedaiClick(gallery: any,
|
|
38
|
+
onMedaiClick(gallery: any, _media: any, index: any): void;
|
|
39
39
|
onThumbnailClicked(imgIndex: number): void;
|
|
40
40
|
onDelete(index: any): void;
|
|
41
41
|
onScan(): void;
|
|
@@ -46,8 +46,8 @@ export declare class UiTableViewComponent extends ReportViewBaseComponent<UiTabl
|
|
|
46
46
|
ngAfterViewInit(): void;
|
|
47
47
|
ngOnChanges(changes: SimpleChanges): void;
|
|
48
48
|
_calcContextMenuWidth(contextMenuItems: any): void;
|
|
49
|
-
onTableVisibilityChange(e: any,
|
|
50
|
-
onColumnResizing(
|
|
49
|
+
onTableVisibilityChange(e: any, _dom: any): void;
|
|
50
|
+
onColumnResizing(_e: {
|
|
51
51
|
column: ReportViewColumn;
|
|
52
52
|
width: number;
|
|
53
53
|
}): void;
|
|
@@ -71,8 +71,8 @@ export declare class UiTableViewComponent extends ReportViewBaseComponent<UiTabl
|
|
|
71
71
|
protected _calculateColumnsWidth(moDataList: MetaobjectDataModel[], columns: ReportViewColumn[]): void;
|
|
72
72
|
protected _fitToColumn(moDataList: any, columns: any): void;
|
|
73
73
|
protected _fitToRowContentColumn(moDataList: MetaobjectDataModel[], columns: ReportViewColumn[]): void;
|
|
74
|
-
protected _fitToContainer(
|
|
75
|
-
protected _freeColumnSize(
|
|
74
|
+
protected _fitToContainer(_moDataList: any, _columns: any): void;
|
|
75
|
+
protected _freeColumnSize(_moDataList: any, _columns: any): void;
|
|
76
76
|
protected _setHeight(parentHeight: number): void;
|
|
77
77
|
protected _setHasSummery(cartableTemplates: any): void;
|
|
78
78
|
protected _containerWidthChanged(val: number): void;
|
|
@@ -40,7 +40,7 @@ export declare class UlMsgBoxAdapterComponent extends BaseComponent implements O
|
|
|
40
40
|
}) => void;
|
|
41
41
|
hide: () => void;
|
|
42
42
|
getMsgType(icon: string | any): string;
|
|
43
|
-
keepOrder: (a: any,
|
|
43
|
+
keepOrder: (a: any, _b: any) => any;
|
|
44
44
|
getBtnCaption(name: string | any): string;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<UlMsgBoxAdapterComponent, never>;
|
|
46
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<UlMsgBoxAdapterComponent, "bsu-ul-msg-box-adapter", never, { "context": { "alias": "context"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -53,8 +53,8 @@ export declare class UlvToolbarComponent extends BaseComponent implements OnChan
|
|
|
53
53
|
onColumnSettings(): void;
|
|
54
54
|
onEditMode(): void;
|
|
55
55
|
onChangeView(view: UiReportViewBase): void;
|
|
56
|
-
_trackBy(
|
|
57
|
-
identify(
|
|
56
|
+
_trackBy(_index: any, item: any): string;
|
|
57
|
+
identify(_index: any, item: any): string;
|
|
58
58
|
private _refreshToolbar;
|
|
59
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<UlvToolbarComponent, never>;
|
|
60
60
|
static ɵcmp: i0.ɵɵComponentDeclaration<UlvToolbarComponent, "bsu-ulv-toolbar", never, { "allowGridColumnSort": { "alias": "allowGridColumnSort"; "required": false; }; "useLayoutItemTextForControl": { "alias": "useLayoutItemTextForControl"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "deviceName": { "alias": "deviceName"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "access": { "alias": "access"; "required": false; }; "hideToolbar": { "alias": "hideToolbar"; "required": false; }; "toolbarButtons": { "alias": "toolbarButtons"; "required": false; }; "contentDensity": { "alias": "contentDensity"; "required": false; }; "inlineEditMode": { "alias": "inlineEditMode"; "required": false; }; "allowInlineEdit": { "alias": "allowInlineEdit"; "required": false; }; "gridSetting": { "alias": "gridSetting"; "required": false; }; "viewCollection": { "alias": "viewCollection"; "required": false; }; "reportView": { "alias": "reportView"; "required": false; }; "inDialog": { "alias": "inDialog"; "required": false; }; "isMultiSelect": { "alias": "isMultiSelect"; "required": false; }; "cls": { "alias": "cls"; "required": false; }; "hasSelected": { "alias": "hasSelected"; "required": false; }; "config": { "alias": "config"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "moDataListCount": { "alias": "moDataListCount"; "required": false; }; }, { "search": "search"; "groupbyClick": "groupbyClick"; "sortClick": "sortClick"; "columnClick": "columnClick"; "editModeClick": "editModeClick"; "viewClick": "viewClick"; "createNewInlineMo": "createNewInlineMo"; }, never, ["[fd-toolbar-item]"], false, never>;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "barsa-sap-ui",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.75",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/core": "^
|
|
6
|
-
"@angular/common": "^
|
|
5
|
+
"@angular/core": "^19.2.10",
|
|
6
|
+
"@angular/common": "^19.2.10"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.0.0"
|
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
},
|
|
17
17
|
".": {
|
|
18
18
|
"types": "./index.d.ts",
|
|
19
|
-
"esm2022": "./esm2022/barsa-sap-ui.mjs",
|
|
20
|
-
"esm": "./esm2022/barsa-sap-ui.mjs",
|
|
21
19
|
"default": "./fesm2022/barsa-sap-ui.mjs"
|
|
22
20
|
}
|
|
23
21
|
},
|
package/esm2022/barsa-sap-ui.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyc2Etc2FwLXVpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvYmFyc2Etc2FwLXVpL3NyYy9iYXJzYS1zYXAtdWkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { Directive, HostBinding, Input } from '@angular/core';
|
|
2
|
-
import { BaseDirective } from 'barsa-novin-ray-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class ApplyConditionalFormatsDirective extends BaseDirective {
|
|
5
|
-
constructor(_el, renderer2) {
|
|
6
|
-
super(_el);
|
|
7
|
-
this._el = _el;
|
|
8
|
-
this.renderer2 = renderer2;
|
|
9
|
-
this.style = '';
|
|
10
|
-
}
|
|
11
|
-
ngOnInit() {
|
|
12
|
-
super.ngOnInit();
|
|
13
|
-
this._apply();
|
|
14
|
-
}
|
|
15
|
-
ngOnChanges(changes) {
|
|
16
|
-
const { styleIndex } = changes;
|
|
17
|
-
if (styleIndex && !styleIndex.firstChange) {
|
|
18
|
-
this._apply();
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
_apply() {
|
|
22
|
-
const styles = this.applyConditionalFormats;
|
|
23
|
-
const htmlElement = this.hostEl instanceof HTMLElement
|
|
24
|
-
? this.hostEl
|
|
25
|
-
: typeof this.hostEl.elementRef === 'function'
|
|
26
|
-
? this.hostEl.elementRef().nativeElement
|
|
27
|
-
: this.hostEl.elementRef.nativeElement;
|
|
28
|
-
styles?.forEach((style) => {
|
|
29
|
-
if (style.IsCommand && this.dbName === style.Alias) {
|
|
30
|
-
if (htmlElement.classList.contains(style.CssClass)) {
|
|
31
|
-
this.renderer2.removeClass(htmlElement, style.CssClass);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
if (style.Style) {
|
|
35
|
-
htmlElement.removeAttribute('style');
|
|
36
|
-
}
|
|
37
|
-
if (style.CssClass) {
|
|
38
|
-
this.renderer2.removeClass(this._el.nativeElement, style.CssClass);
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
if (!this.styleIndex?.length) {
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
this.styleIndex.forEach((val) => {
|
|
45
|
-
styles.forEach((style, index) => {
|
|
46
|
-
if (index === val && style.IsCommand) {
|
|
47
|
-
if (this.dbName === style.Alias) {
|
|
48
|
-
this.renderer2.addClass(this._el.nativeElement, style.CssClass);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
else if (val === index && this.dbName) {
|
|
52
|
-
if (style.Column === this.dbName) {
|
|
53
|
-
this.renderer2.setAttribute(htmlElement, 'style', style.Style);
|
|
54
|
-
if (style.CssClass) {
|
|
55
|
-
this.renderer2.addClass(htmlElement, style.CssClass);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
else if (val === index && !style.Column) {
|
|
60
|
-
this.renderer2.setAttribute(htmlElement, 'style', style.Style);
|
|
61
|
-
if (style.CssClass) {
|
|
62
|
-
this.renderer2.addClass(htmlElement, style.CssClass);
|
|
63
|
-
}
|
|
64
|
-
// htmlElement.style.cssText = style.Style;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ApplyConditionalFormatsDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
70
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ApplyConditionalFormatsDirective, selector: "[applyConditionalFormats]", inputs: { applyConditionalFormats: "applyConditionalFormats", styleIndex: "styleIndex", hostEl: "hostEl", dbName: "dbName" }, host: { properties: { "style": "this.style" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
71
|
-
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ApplyConditionalFormatsDirective, decorators: [{
|
|
73
|
-
type: Directive,
|
|
74
|
-
args: [{
|
|
75
|
-
selector: '[applyConditionalFormats]',
|
|
76
|
-
standalone: false
|
|
77
|
-
}]
|
|
78
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { applyConditionalFormats: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], styleIndex: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], hostEl: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], dbName: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], style: [{
|
|
87
|
-
type: HostBinding,
|
|
88
|
-
args: ['style']
|
|
89
|
-
}] } });
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXB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GUoJ3N0eWxlJyk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgaWYgKHN0eWxlLkNzc0NsYXNzKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyMi5yZW1vdmVDbGFzcyh0aGlzLl9lbC5uYXRpdmVFbGVtZW50LCBzdHlsZS5Dc3NDbGFzcyk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgICAgICBpZiAoIXRoaXMuc3R5bGVJbmRleD8ubGVuZ3RoKSB7XHJcbiAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5zdHlsZUluZGV4LmZvckVhY2goKHZhbCkgPT4ge1xyXG4gICAgICAgICAgICBzdHlsZXMuZm9yRWFjaCgoc3R5bGUsIGluZGV4KSA9PiB7XHJcbiAgICAgICAgICAgICAgICBpZiAoaW5kZXggPT09IHZhbCAmJiBzdHlsZS5Jc0NvbW1hbmQpIHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAodGhpcy5kYk5hbWUgPT09IHN0eWxlLkFsaWFzKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMucmVuZGVyZXIyLmFkZENsYXNzKHRoaXMuX2VsLm5hdGl2ZUVsZW1lbnQsIHN0eWxlLkNzc0NsYXNzKTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHZhbCA9PT0gaW5kZXggJiYgdGhpcy5kYk5hbWUpIHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoc3R5bGUuQ29sdW1uID09PSB0aGlzLmRiTmFtZSkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyMi5zZXRBdHRyaWJ1dGUoaHRtbEVsZW1lbnQsICdzdHlsZScsIHN0eWxlLlN0eWxlKTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHN0eWxlLkNzc0NsYXNzKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyMi5hZGRDbGFzcyhodG1sRWxlbWVudCwgc3R5bGUuQ3NzQ2xhc3MpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmICh2YWwgPT09IGluZGV4ICYmICFzdHlsZS5Db2x1bW4pIHtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyMi5zZXRBdHRyaWJ1dGUoaHRtbEVsZW1lbnQsICdzdHlsZScsIHN0eWxlLlN0eWxlKTtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoc3R5bGUuQ3NzQ2xhc3MpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlcjIuYWRkQ2xhc3MoaHRtbEVsZW1lbnQsIHN0eWxlLkNzc0NsYXNzKTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgLy8gaHRtbEVsZW1lbnQuc3R5bGUuY3NzVGV4dCA9IHN0eWxlLlN0eWxlO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICB9KTtcclxuICAgIH1cclxufVxyXG4iXX0=
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class AvatarGridColPipe {
|
|
4
|
-
transform(deviceSize, isAvatarCol = true) {
|
|
5
|
-
if (isAvatarCol) {
|
|
6
|
-
switch (deviceSize) {
|
|
7
|
-
case 'l':
|
|
8
|
-
return 3;
|
|
9
|
-
case 'xl':
|
|
10
|
-
return 2;
|
|
11
|
-
case 'm':
|
|
12
|
-
return 2;
|
|
13
|
-
case 's':
|
|
14
|
-
return 1;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
if (isAvatarCol) {
|
|
18
|
-
switch (deviceSize) {
|
|
19
|
-
case 'l':
|
|
20
|
-
return 9;
|
|
21
|
-
case 'xl':
|
|
22
|
-
return 10;
|
|
23
|
-
case 'm':
|
|
24
|
-
return 10;
|
|
25
|
-
case 's':
|
|
26
|
-
return 11;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return 2;
|
|
30
|
-
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AvatarGridColPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
32
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: AvatarGridColPipe, name: "avatarGridCol" }); }
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AvatarGridColPipe, decorators: [{
|
|
35
|
-
type: Pipe,
|
|
36
|
-
args: [{
|
|
37
|
-
name: 'avatarGridCol',
|
|
38
|
-
standalone: false
|
|
39
|
-
}]
|
|
40
|
-
}] });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLXNpemUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2JhcnNhLXNhcC11aS9zcmMvbGliL2F2YXRhci1zaXplLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFpQixJQUFJLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBT3BELE1BQU0sT0FBTyxpQkFBaUI7SUFDMUIsU0FBUyxDQUFDLFVBQWlDLEVBQUUsY0FBdUIsSUFBSTtRQUNwRSxJQUFJLFdBQVcsRUFBRSxDQUFDO1lBQ2QsUUFBUS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QaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XHJcbiAgICB0cmFuc2Zvcm0oZGV2aWNlU2l6ZTogQWJicmV2YXRpb25EZXZpY2VTaXplLCBpc0F2YXRhckNvbDogYm9vbGVhbiA9IHRydWUpOiBudW1iZXIge1xyXG4gICAgICAgIGlmIChpc0F2YXRhckNvbCkge1xyXG4gICAgICAgICAgICBzd2l0Y2ggKGRldmljZVNpemUpIHtcclxuICAgICAgICAgICAgICAgIGNhc2UgJ2wnOlxyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiAzO1xyXG4gICAgICAgICAgICAgICAgY2FzZSAneGwnOlxyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiAyO1xyXG4gICAgICAgICAgICAgICAgY2FzZSAnbSc6XHJcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDI7XHJcbiAgICAgICAgICAgICAgICBjYXNlICdzJzpcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAoaXNBdmF0YXJDb2wpIHtcclxuICAgICAgICAgICAgc3dpdGNoIChkZXZpY2VTaXplKSB7XHJcbiAgICAgICAgICAgICAgICBjYXNlICdsJzpcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gOTtcclxuICAgICAgICAgICAgICAgIGNhc2UgJ3hsJzpcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTA7XHJcbiAgICAgICAgICAgICAgICBjYXNlICdtJzpcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTA7XHJcbiAgICAgICAgICAgICAgICBjYXNlICdzJzpcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTE7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIDI7XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { BaseViewItemPropsComponent, UploadService } from 'barsa-novin-ray-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "../barsa-question-answer-content-actions-section/barsa-question-answer-content-actions-section.component";
|
|
6
|
-
import * as i3 from "../barsa-question-answer-vote-section/barsa-question-answer-vote-section.component";
|
|
7
|
-
import * as i4 from "../barsa-question-answer-creator-time-section/barsa-question-answer-creator-time-section.component";
|
|
8
|
-
import * as i5 from "../barsa-question-answer-comments-section/barsa-question-answer-comments-section.component";
|
|
9
|
-
export class BarsaAnswerCardComponent extends BaseViewItemPropsComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.toolbar = toolbar;
|
|
13
|
-
this.onvolumechange = onvolumechange;
|
|
14
|
-
}
|
|
15
|
-
ngOnChanges(changes) {
|
|
16
|
-
super.ngOnChanges(changes);
|
|
17
|
-
const { mo } = changes;
|
|
18
|
-
if (mo && !mo.firstChange) {
|
|
19
|
-
this.mo = mo.currentValue;
|
|
20
|
-
this._cdr.detectChanges();
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
onRowCheck() {
|
|
24
|
-
if (this.mo.$IsChecked) {
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
this.events.emit({ title: 'rowCheck', data: { mo: this.mo, index: this.index } });
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
onVoteChange(_) {
|
|
31
|
-
// const vote = this._controlUiPipe.transform(isPositive ? 'ثبت رای مثبت' : 'ثبت رای منفی', this.layout94);
|
|
32
|
-
// vote && vote?.FieldUi.fireEvent('click',vote.FieldUi);
|
|
33
|
-
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BarsaAnswerCardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: BarsaAnswerCardComponent, selector: "bsu-barsa-answer-card", providers: [UploadService], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div\r\n class=\"tw-flex tw-flex-col tw-p-4 tw-border tw-border-gray-200 tw-bg-white tw-rounded-md tw-mb-8\"\r\n [ngClass]=\"{\r\n '!tw-bg-green-50 tw-border-t-2 tw-border-t-green-500': mo.CorrectAnswer\r\n }\"\r\n>\r\n @if (mo.CorrectAnswer) {\r\n <p class=\"tw-w-full tw-text-green-500 tw-mb-6\">\u0628\u0647\u062A\u0631\u06CC\u0646 \u067E\u0627\u0633\u062E</p>\r\n }\r\n <div class=\"tw-flex tw-grow tw-gap-8\">\r\n <div class=\"tw-grow-0 tw-shrink-0 tw-flex tw-flex-col tw-items-center tw-gap-8\">\r\n <img src=\"https://picsum.photos/64/64\" class=\"size-12 rounded-full\" />\r\n <bsu-barsa-question-answer-vote-section\r\n [vote]=\"mo.Post.CurrentUserVote.Vote\"\r\n [voteUps]=\"mo.Post.VoteUps\"\r\n [voteDowns]=\"mo.Post.VoteDowns\"\r\n (voteChange)=\"onVoteChange($event)\"\r\n ></bsu-barsa-question-answer-vote-section>\r\n </div>\r\n <div class=\"tw-flex tw-flex-col tw-grow tw-shrink\">\r\n <bsu-barsa-question-answer-creator-time-section\r\n [post]=\"mo.Post\"\r\n ></bsu-barsa-question-answer-creator-time-section>\r\n <bsu-barsa-question-answer-content-actions-section\r\n [mo]=\"mo\"\r\n [buttons]=\"contextMenuItems\"\r\n (btnClick)=\"onRowCheck()\"\r\n ></bsu-barsa-question-answer-content-actions-section>\r\n </div>\r\n </div>\r\n <div class=\"tw-flex tw-grow tw-gap-8\">\r\n <div class=\"tw-grow-0 tw-shrink-0 tw-w-12\"></div>\r\n <div class=\"tw-flex tw-flex-col tw-grow tw-shrink\">\r\n <bsu-barsa-question-answer-comments-section [post]=\"mo.Post\"></bsu-barsa-question-answer-comments-section>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":root{--sapBackgroundColor: #fdfdfd}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.BarsaQuestionAnswerContentActionsSectionComponent, selector: "bsu-barsa-question-answer-content-actions-section", inputs: ["mo", "buttons"], outputs: ["btnClick"] }, { kind: "component", type: i3.BarsaQuestionAnswerVoteSectionComponent, selector: "bsu-barsa-question-answer-vote-section", inputs: ["vote", "voteDowns", "voteUps"], outputs: ["voteChange"] }, { kind: "component", type: i4.BarsaQuestionAnswerCreatorTimeSectionComponent, selector: "bsu-barsa-question-answer-creator-time-section", inputs: ["post"] }, { kind: "component", type: i5.BarsaQuestionAnswerCommentsSectionComponent, selector: "bsu-barsa-question-answer-comments-section", inputs: ["post"] }] }); }
|
|
36
|
-
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BarsaAnswerCardComponent, decorators: [{
|
|
38
|
-
type: Component,
|
|
39
|
-
args: [{ selector: 'bsu-barsa-answer-card', providers: [UploadService], standalone: false, template: "<div\r\n class=\"tw-flex tw-flex-col tw-p-4 tw-border tw-border-gray-200 tw-bg-white tw-rounded-md tw-mb-8\"\r\n [ngClass]=\"{\r\n '!tw-bg-green-50 tw-border-t-2 tw-border-t-green-500': mo.CorrectAnswer\r\n }\"\r\n>\r\n @if (mo.CorrectAnswer) {\r\n <p class=\"tw-w-full tw-text-green-500 tw-mb-6\">\u0628\u0647\u062A\u0631\u06CC\u0646 \u067E\u0627\u0633\u062E</p>\r\n }\r\n <div class=\"tw-flex tw-grow tw-gap-8\">\r\n <div class=\"tw-grow-0 tw-shrink-0 tw-flex tw-flex-col tw-items-center tw-gap-8\">\r\n <img src=\"https://picsum.photos/64/64\" class=\"size-12 rounded-full\" />\r\n <bsu-barsa-question-answer-vote-section\r\n [vote]=\"mo.Post.CurrentUserVote.Vote\"\r\n [voteUps]=\"mo.Post.VoteUps\"\r\n [voteDowns]=\"mo.Post.VoteDowns\"\r\n (voteChange)=\"onVoteChange($event)\"\r\n ></bsu-barsa-question-answer-vote-section>\r\n </div>\r\n <div class=\"tw-flex tw-flex-col tw-grow tw-shrink\">\r\n <bsu-barsa-question-answer-creator-time-section\r\n [post]=\"mo.Post\"\r\n ></bsu-barsa-question-answer-creator-time-section>\r\n <bsu-barsa-question-answer-content-actions-section\r\n [mo]=\"mo\"\r\n [buttons]=\"contextMenuItems\"\r\n (btnClick)=\"onRowCheck()\"\r\n ></bsu-barsa-question-answer-content-actions-section>\r\n </div>\r\n </div>\r\n <div class=\"tw-flex tw-grow tw-gap-8\">\r\n <div class=\"tw-grow-0 tw-shrink-0 tw-w-12\"></div>\r\n <div class=\"tw-flex tw-flex-col tw-grow tw-shrink\">\r\n <bsu-barsa-question-answer-comments-section [post]=\"mo.Post\"></bsu-barsa-question-answer-comments-section>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":root{--sapBackgroundColor: #fdfdfd}\n"] }]
|
|
40
|
-
}] });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyc2EtYW5zd2VyLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFyc2Etc2FwLXVpL3NyYy9saWIvYmFyc2EtYW5zd2VyLWNhcmQvYmFyc2EtYW5zd2VyLWNhcmQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFyc2Etc2FwLXVpL3NyYy9saWIvYmFyc2EtYW5zd2VyLWNhcmQvYmFyc2EtYW5zd2VyLWNhcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBaUIsTUFBTSxlQUFlLENBQU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0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, HostListener, Input, ViewChild } from '@angular/core';
|
|
2
|
-
import { BaseComponent, BarsaApi } from 'barsa-novin-ray-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/forms";
|
|
6
|
-
import * as i3 from "barsa-novin-ray-core";
|
|
7
|
-
import * as i4 from "../mask/mask.component";
|
|
8
|
-
export class BarsaAspViewerComponent extends BaseComponent {
|
|
9
|
-
constructor(el, renderer, _cdr) {
|
|
10
|
-
super();
|
|
11
|
-
this.el = el;
|
|
12
|
-
this.renderer = renderer;
|
|
13
|
-
this._cdr = _cdr;
|
|
14
|
-
this.loading = false;
|
|
15
|
-
this._isChapi = false;
|
|
16
|
-
}
|
|
17
|
-
handleKeyDown(event) {
|
|
18
|
-
event && (this.ctrlIsPressed = event.ctrlKey);
|
|
19
|
-
}
|
|
20
|
-
ngOnInit() {
|
|
21
|
-
super.ngOnInit();
|
|
22
|
-
this.context.on({
|
|
23
|
-
Reload: this._reload.bind(this)
|
|
24
|
-
});
|
|
25
|
-
this._frameId = this.context._frameId;
|
|
26
|
-
}
|
|
27
|
-
ngOnChanges(changes) {
|
|
28
|
-
super.ngOnChanges(changes);
|
|
29
|
-
const { parentHeight, hideSearchpanel } = changes;
|
|
30
|
-
if ((parentHeight && !parentHeight.firstChange) || (hideSearchpanel && !hideSearchpanel.firstChange)) {
|
|
31
|
-
this._reload();
|
|
32
|
-
this._loadIFrame(false);
|
|
33
|
-
this._cdr.detectChanges();
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
onVisibilityChange(e) {
|
|
37
|
-
if (e === 'Visible') {
|
|
38
|
-
this.loading = true;
|
|
39
|
-
this._reload();
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
ngAfterViewInit() {
|
|
43
|
-
super.ngAfterViewInit();
|
|
44
|
-
this._loadIFrame();
|
|
45
|
-
// this._reload();
|
|
46
|
-
// this._loadIFrame();
|
|
47
|
-
}
|
|
48
|
-
_reload() {
|
|
49
|
-
const basket = {};
|
|
50
|
-
this.context.fireEvent('RequestForParams', this, basket);
|
|
51
|
-
if (!basket.UlvParams) {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
basket.UlvParams.Width = this.el.nativeElement.offsetWidth;
|
|
55
|
-
this._submitForm(basket.UlvParams);
|
|
56
|
-
}
|
|
57
|
-
_loadIFrame(handleEvent = true) {
|
|
58
|
-
const iframEl = this.iframe.nativeElement;
|
|
59
|
-
if (handleEvent) {
|
|
60
|
-
iframEl.addEventListener('load', this._onLoadIfram.bind(this));
|
|
61
|
-
if (this.fitToIframe) {
|
|
62
|
-
window.addEventListener('message', (event) => {
|
|
63
|
-
if (typeof event.data === 'number') {
|
|
64
|
-
this.renderer.setStyle(this.el.nativeElement, 'height', this._isChapi ? event.data + 100 : event.data + 'px');
|
|
65
|
-
}
|
|
66
|
-
else if (event.data === 'chapi') {
|
|
67
|
-
this._isChapi = true;
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
_onLoadIfram() {
|
|
74
|
-
const iframEl = this.iframe.nativeElement;
|
|
75
|
-
this.loading = false;
|
|
76
|
-
this._cdr.markForCheck();
|
|
77
|
-
// if (iframEl.contentWindow?.document?.body && iframEl.contentWindow.document.body.innerHTML.length < 40) {
|
|
78
|
-
// // زمانی که داشبورد فعال نباشد همین طوری رفرش میشود بخاطر همین کمتر از 40 کاراکتر گذاشتم
|
|
79
|
-
// // وقتی یک ای فریم در تب قرار میگیرد با تغییر تب محتوای داخل ای فریم پاک میشود این مشکل تب انگولار است
|
|
80
|
-
// iframEl.removeEventListener('load', this._onLoadIfram);
|
|
81
|
-
// if (this.firstLoading) {
|
|
82
|
-
// this.firstLoading = false;
|
|
83
|
-
// this._cdr.markForCheck();
|
|
84
|
-
// }
|
|
85
|
-
// this._reload();
|
|
86
|
-
// return;
|
|
87
|
-
// }
|
|
88
|
-
// if (!this.firstLoading) {
|
|
89
|
-
// this.firstLoading = true;
|
|
90
|
-
// this._cdr.markForCheck();
|
|
91
|
-
// }
|
|
92
|
-
if (iframEl.contentWindow) {
|
|
93
|
-
// console.log('outerHeight',iframEl.contentWindow.outerHeight);
|
|
94
|
-
// this.renderer.setStyle(iframEl, 'min-height', `${iframEl.contentWindow.outerHeight}px`);
|
|
95
|
-
setTimeout(() => {
|
|
96
|
-
this.renderer.setStyle(iframEl, 'min-height', this.el.nativeElement.offsetHeight + 'px');
|
|
97
|
-
}, 0);
|
|
98
|
-
}
|
|
99
|
-
const head = iframEl.contentDocument?.getElementsByTagName('head')[0];
|
|
100
|
-
const link1 = this.renderer.createElement('link');
|
|
101
|
-
link1.setAttribute('rel', 'stylesheet');
|
|
102
|
-
link1.setAttribute('href', '/assets/Resources/fonts/defaultFontFaces.css');
|
|
103
|
-
link1.setAttribute('type', 'text/css');
|
|
104
|
-
head?.appendChild(link1);
|
|
105
|
-
const link2 = this.renderer.createElement('link');
|
|
106
|
-
link2.setAttribute('rel', 'stylesheet');
|
|
107
|
-
link2.setAttribute('href', '/Customization/Usercss.css');
|
|
108
|
-
link2.setAttribute('type', 'text/css');
|
|
109
|
-
head?.appendChild(link2);
|
|
110
|
-
}
|
|
111
|
-
_submitForm(params) {
|
|
112
|
-
const form = this.form.nativeElement;
|
|
113
|
-
const aspUrl = this.context._aspUrl;
|
|
114
|
-
const frameId = this.context._frameId;
|
|
115
|
-
form.action =
|
|
116
|
-
aspUrl + '?ReportId=' + params.FolderId + '&FrameId=' + frameId + '&Zoom=' + this.defaultZoom ||
|
|
117
|
-
100 + '&Language=' + BarsaApi.BBB.CurrentCulture + '&CtrlIsPressed=' + this.ctrlIsPressed;
|
|
118
|
-
const value = BarsaApi.Ext.util.JSON.encode(params);
|
|
119
|
-
this.hidden.nativeElement.value = escape(value);
|
|
120
|
-
form.submit();
|
|
121
|
-
}
|
|
122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BarsaAspViewerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
123
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: BarsaAspViewerComponent, selector: "bsu-barsa-asp-viewer", inputs: { context: "context", parentHeight: "parentHeight", isReportPage: "isReportPage", hideSearchpanel: "hideSearchpanel", fitToIframe: "fitToIframe", defaultZoom: "defaultZoom" }, host: { listeners: { "window:keypress": "handleKeyDown(event)" } }, viewQueries: [{ propertyName: "form", first: true, predicate: ["form"], descendants: true }, { propertyName: "iframe", first: true, predicate: ["iframe"], descendants: true }, { propertyName: "hidden", first: true, predicate: ["hidden"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<form #form method=\"post\" target=\"ppppp\" [name]=\"'frm_' + _frameId\" [id]=\"'frm_' + _frameId\">\r\n <input #hidden [name]=\"'hidden_' + _frameId\" [id]=\"'hidden_' + _frameId\" type=\"hidden\" />\r\n</form>\r\n<iframe\r\n #iframe\r\n intersectionObserver\r\n [intersectionThreshold]=\"0.1\"\r\n (visibilityChange)=\"onVisibilityChange($event)\"\r\n name=\"ppppp\"\r\n id=\"ppppp\"\r\n [attr.isportal]=\"true\"\r\n [attr.fitmode]=\"fitToIframe\"\r\n class=\"iframe\"\r\n src=\"about:blank\"\r\n></iframe>\r\n<bsu-mask *ngIf=\"loading\"></bsu-mask>\r\n", styles: [":host{display:flex;width:100%;height:100%;position:relative}.iframe{border-style:none;height:100%;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.IntersectionObserverDirective, selector: "[intersectionObserver]", inputs: ["intersectionDebounce", "intersectionRootMargin", "intersectionRoot", "intersectionThreshold"], outputs: ["visibilityChange"] }, { kind: "component", type: i4.MaskComponent, selector: "bsu-mask", inputs: ["size", "top"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
124
|
-
}
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BarsaAspViewerComponent, decorators: [{
|
|
126
|
-
type: Component,
|
|
127
|
-
args: [{ selector: 'bsu-barsa-asp-viewer', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<form #form method=\"post\" target=\"ppppp\" [name]=\"'frm_' + _frameId\" [id]=\"'frm_' + _frameId\">\r\n <input #hidden [name]=\"'hidden_' + _frameId\" [id]=\"'hidden_' + _frameId\" type=\"hidden\" />\r\n</form>\r\n<iframe\r\n #iframe\r\n intersectionObserver\r\n [intersectionThreshold]=\"0.1\"\r\n (visibilityChange)=\"onVisibilityChange($event)\"\r\n name=\"ppppp\"\r\n id=\"ppppp\"\r\n [attr.isportal]=\"true\"\r\n [attr.fitmode]=\"fitToIframe\"\r\n class=\"iframe\"\r\n src=\"about:blank\"\r\n></iframe>\r\n<bsu-mask *ngIf=\"loading\"></bsu-mask>\r\n", styles: [":host{display:flex;width:100%;height:100%;position:relative}.iframe{border-style:none;height:100%;width:100%}\n"] }]
|
|
128
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }], propDecorators: { context: [{
|
|
129
|
-
type: Input
|
|
130
|
-
}], parentHeight: [{
|
|
131
|
-
type: Input
|
|
132
|
-
}], isReportPage: [{
|
|
133
|
-
type: Input
|
|
134
|
-
}], hideSearchpanel: [{
|
|
135
|
-
type: Input
|
|
136
|
-
}], fitToIframe: [{
|
|
137
|
-
type: Input
|
|
138
|
-
}], defaultZoom: [{
|
|
139
|
-
type: Input
|
|
140
|
-
}], form: [{
|
|
141
|
-
type: ViewChild,
|
|
142
|
-
args: ['form']
|
|
143
|
-
}], iframe: [{
|
|
144
|
-
type: ViewChild,
|
|
145
|
-
args: ['iframe']
|
|
146
|
-
}], hidden: [{
|
|
147
|
-
type: ViewChild,
|
|
148
|
-
args: ['hidden']
|
|
149
|
-
}], handleKeyDown: [{
|
|
150
|
-
type: HostListener,
|
|
151
|
-
args: ['window:keypress', ['event']]
|
|
152
|
-
}] } });
|
|
153
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyc2EtYXNwLXZpZXdlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYXJzYS1zYXAtdWkvc3JjL2xpYi9iYXJzYS1hc3Atdmlld2VyL2JhcnNhLWFzcC12aWV3ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFyc2Etc2FwLXVpL3NyYy9saWIvYmFyc2EtYXNwLXZpZXdlci9iYXJzYS1hc3Atdmlld2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFSCx1QkFBdUIsRUFFdkIsU0FBUyxFQUVULFlBQVksRUFDWixLQUFLLEVBS0wsU0FBUyxFQUNaLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxhQUFhLEVBQUUsUUFBUSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7Ozs7OztBQVEvRCxNQUFNLE9BQU8sdU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2ZW50ID0gdHJ1ZSk6IHZvaWQge1xyXG4gICAgICAgIGNvbnN0IGlmcmFtRWw6IEhUTUxJRnJhbWVFbGVtZW50ID0gdGhpcy5pZnJhbWUubmF0aXZlRWxlbWVudDtcclxuXHJcbiAgICAgICAgaWYgKGhhbmRsZUV2ZW50KSB7XHJcbiAgICAgICAgICAgIGlmcmFtRWwuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIHRoaXMuX29uTG9hZElmcmFtLmJpbmQodGhpcykpO1xyXG4gICAgICAgICAgICBpZiAodGhpcy5maXRUb0lmcmFtZSkge1xyXG4gICAgICAgICAgICAgICAgd2luZG93LmFkZEV2ZW50TGlzdGVuZXIoJ21lc3NhZ2UnLCAoZXZlbnQpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAodHlwZW9mIGV2ZW50LmRhdGEgPT09ICdudW1iZXInKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUoXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAnaGVpZ2h0JyxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX2lzQ2hhcGkgPyBldmVudC5kYXRhICsgMTAwIDogZXZlbnQuZGF0YSArICdweCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgKTtcclxuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGV2ZW50LmRhdGEgPT09ICdjaGFwaScpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5faXNDaGFwaSA9IHRydWU7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBfb25Mb2FkSWZyYW0oKTogdm9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0OmJsYW5rXCJcclxuPjwvaWZyYW1lPlxyXG48YnN1LW1hc2sgKm5nSWY9XCJsb2FkaW5nXCI+PC9ic3UtbWFzaz5cclxuIl19
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { BaseViewItemPropsComponent, UploadService } from 'barsa-novin-ray-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "barsa-novin-ray-core";
|
|
5
|
-
import * as i2 from "@fundamental-ngx/core/bar";
|
|
6
|
-
import * as i3 from "../fullscreen-files.directive";
|
|
7
|
-
import * as i4 from "../download-files.directive";
|
|
8
|
-
export class BarsaBarDownloadFileComponent extends BaseViewItemPropsComponent {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BarsaBarDownloadFileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: BarsaBarDownloadFileComponent, selector: "bsu-barsa-bar-download-file", inputs: { popover: "popover", file: "file", files: "files", hideFullScreen: "hideFullScreen", isMobile: "isMobile", canPrint: "canPrint", deviceSize: "deviceSize" }, providers: [UploadService], usesInheritance: true, ngImport: i0, template: "<div fd-bar barDesign=\"footer\">\r\n <div fd-bar-right>\r\n <fd-button-bar\r\n fdType=\"transparent\"\r\n glyph=\"download\"\r\n downloadFiles\r\n [files]=\"file ? [file] : files\"\r\n (click)=\"popover.close()\"\r\n ></fd-button-bar>\r\n @if (!isMobile && !hideFullScreen) {\r\n <fd-button-bar\r\n fdType=\"transparent\"\r\n glyph=\"resize\"\r\n fullscreenFiles\r\n [deviceSize]=\"deviceSize\"\r\n [files]=\"files\"\r\n (click)=\"popover.close()\"\r\n ></fd-button-bar>\r\n } @if (canPrint) {\r\n <fd-button-bar\r\n fdType=\"transparent\"\r\n glyph=\"print\"\r\n printFiles\r\n [deviceSize]=\"deviceSize\"\r\n [files]=\"files\"\r\n (click)=\"popover.close()\"\r\n ></fd-button-bar>\r\n }\r\n </div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.PrintFilesDirective, selector: "[printFiles]", inputs: ["files", "file", "isImageGallery", "component"] }, { kind: "component", type: i2.BarComponent, selector: "[fd-bar]", inputs: ["class", "barDesign", "inPage", "inHomePage", "size"] }, { kind: "directive", type: i2.BarRightDirective, selector: "[fd-bar-right]" }, { kind: "component", type: i2.ButtonBarComponent, selector: "fd-button-bar", inputs: ["fullWidth", "fdType", "title", "ariaLabelledby", "id"] }, { kind: "directive", type: i3.FullscreenFilesDirective, selector: "[fullscreenFiles]", inputs: ["files", "title", "deviceSize", "isImageGallery", "component"] }, { kind: "directive", type: i4.DownloadFilesDirective, selector: "[downloadFiles]", inputs: ["files"] }] }); }
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BarsaBarDownloadFileComponent, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'bsu-barsa-bar-download-file', providers: [UploadService], standalone: false, template: "<div fd-bar barDesign=\"footer\">\r\n <div fd-bar-right>\r\n <fd-button-bar\r\n fdType=\"transparent\"\r\n glyph=\"download\"\r\n downloadFiles\r\n [files]=\"file ? [file] : files\"\r\n (click)=\"popover.close()\"\r\n ></fd-button-bar>\r\n @if (!isMobile && !hideFullScreen) {\r\n <fd-button-bar\r\n fdType=\"transparent\"\r\n glyph=\"resize\"\r\n fullscreenFiles\r\n [deviceSize]=\"deviceSize\"\r\n [files]=\"files\"\r\n (click)=\"popover.close()\"\r\n ></fd-button-bar>\r\n } @if (canPrint) {\r\n <fd-button-bar\r\n fdType=\"transparent\"\r\n glyph=\"print\"\r\n printFiles\r\n [deviceSize]=\"deviceSize\"\r\n [files]=\"files\"\r\n (click)=\"popover.close()\"\r\n ></fd-button-bar>\r\n }\r\n </div>\r\n</div>\r\n" }]
|
|
15
|
-
}], propDecorators: { popover: [{
|
|
16
|
-
type: Input
|
|
17
|
-
}], file: [{
|
|
18
|
-
type: Input
|
|
19
|
-
}], files: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}], hideFullScreen: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}], isMobile: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], canPrint: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], deviceSize: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}] } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyc2EtYmFyLWRvd25sb2FkLWZpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFyc2Etc2FwLXVpL3NyYy9saWIvYmFyc2EtYmFyLWRvd25sb2FkLWZpbGUvYmFyc2EtYmFyLWRvd25sb2FkLWZpbGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFyc2Etc2FwLXVpL3NyYy9saWIvYmFyc2EtYmFyLWRvd25sb2FkLWZpbGUvYmFyc2EtYmFyLWRvd25sb2FkLWZpbGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUNILDBCQUEwQixFQUUxQixhQUFhLEVBRWhCLE1BQU0sc0JBQXNCLENBQUM7Ozs7OztBQVM5QixNQUFNLE9BQU8sNkJBQThCLFNBQVEsMEJBQTBCOytHQUFoRSw2QkFBNkI7bUdBQTdCLDZCQUE2Qiw0TkFIM0IsQ0FBQyxhQUFhLENBQUMsaURDWjlCLDQ4QkE4QkE7OzRG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uICAgICAgICAgICAgKGNsaWNrKT1cInBvcG92ZXIuY2xvc2UoKVwiXHJcbiAgICAgICAgPjwvZmQtYnV0dG9uLWJhcj5cclxuICAgICAgICB9IEBpZiAoY2FuUHJpbnQpIHtcclxuICAgICAgICA8ZmQtYnV0dG9uLWJhclxyXG4gICAgICAgICAgICBmZFR5cGU9XCJ0cmFuc3BhcmVudFwiXHJcbiAgICAgICAgICAgIGdseXBoPVwicHJpbnRcIlxyXG4gICAgICAgICAgICBwcmludEZpbGVzXHJcbiAgICAgICAgICAgIFtkZXZpY2VTaXplXT1cImRldmljZVNpemVcIlxyXG4gICAgICAgICAgICBbZmlsZXNdPVwiZmlsZXNcIlxyXG4gICAgICAgICAgICAoY2xpY2spPVwicG9wb3Zlci5jbG9zZSgpXCJcclxuICAgICAgICA+PC9mZC1idXR0b24tYmFyPlxyXG4gICAgICAgIH1cclxuICAgIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|