barsa-develop-components 1.0.456 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2020 → esm2022}/barsa-develop-components.mjs +4 -4
- package/esm2022/lib/accept-reject/accept-reject.component.mjs +68 -0
- package/esm2022/lib/avatar/avatar.component.mjs +29 -0
- package/esm2022/lib/barcode-format-pipe.mjs +24 -0
- package/esm2022/lib/barcode-reader/barcode-reader.component.mjs +62 -0
- package/esm2022/lib/barcode-reader-dialog/barcode-reader-dialog.component.mjs +82 -0
- package/esm2022/lib/barcode-reader-video/barcode-reader-video.component.mjs +66 -0
- package/esm2022/lib/barcode.service.mjs +330 -0
- package/{esm2020 → esm2022}/lib/barsa-develop-components.module.mjs +284 -284
- package/esm2022/lib/barsa-document-list-item/barsa-document-list-item.component.mjs +104 -0
- package/esm2022/lib/barsa-documents/barsa-documents.component.mjs +173 -0
- package/esm2022/lib/barsa-geographic-location/barsa-geographic-location.component.mjs +163 -0
- package/esm2022/lib/card-content-image-and-title/card-content-image-and-title.component.mjs +50 -0
- package/esm2022/lib/card-content-line-chart/card-content-line-chart.component.mjs +37 -0
- package/esm2022/lib/card-header-big-image-title-and-subtitle/card-header-big-image-title-and-subtitle.component.mjs +19 -0
- package/esm2022/lib/card-header-kpi/card-header-kpi.component.mjs +40 -0
- package/esm2022/lib/card-header-logo-title-subtitle/card-header-logo-title-subtitle.component.mjs +45 -0
- package/{esm2020 → esm2022}/lib/checkbox-button/checkbox-button.component.mjs +23 -23
- package/esm2022/lib/column-form-viewer/column-form-viewer.component.mjs +88 -0
- package/{esm2020 → esm2022}/lib/enum-info-micro-proccess-flow/enum-info-micro-proccess-flow.component.mjs +18 -18
- package/esm2022/lib/footer/footer.component.mjs +43 -0
- package/esm2022/lib/form-card/form-card.component.mjs +17 -0
- package/esm2022/lib/form-chart-content/form-chart-content.component.mjs +37 -0
- package/esm2022/lib/form-content-quick-view/form-content-quick-view.component.mjs +102 -0
- package/esm2022/lib/form-report-view/form-report-view.component.mjs +25 -0
- package/esm2022/lib/form-report-view-item/form-report-view-item.component.mjs +45 -0
- package/{esm2020 → esm2022}/lib/g4b-details/g4b-details.component.mjs +28 -28
- package/esm2022/lib/g4b-estelam/g4b-estelam.component.mjs +30 -0
- package/esm2022/lib/geographic-location/geographic-location.component.mjs +85 -0
- package/esm2022/lib/login-form/login-form.component.mjs +55 -0
- package/{esm2020 → esm2022}/lib/login-social-conncetions/login-social-conncetions.component.mjs +30 -30
- package/esm2022/lib/master-detail-card-form/master-detail-card-form.component.mjs +17 -0
- package/esm2022/lib/media-file-uploader/media-file-uploader.component.mjs +238 -0
- package/esm2022/lib/micro-proccess-flow/micro-proccess-flow.component.mjs +52 -0
- package/esm2022/lib/micro-process-flow-view/micro-process-flow-view.component.mjs +24 -0
- package/esm2022/lib/mo-info-micro-proccess-flow/mo-info-micro-proccess-flow.component.mjs +23 -0
- package/esm2022/lib/models/document-item.mjs +2 -0
- package/esm2022/lib/models/documents-setting.mjs +2 -0
- package/{esm2020 → esm2022}/lib/models/form-report-view-setting.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/index.mjs +8 -8
- package/{esm2020 → esm2022}/lib/models/micro-process-flow-view-setting.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/person.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/service-desk-view-of-services-setting.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/tab-process-view-setting.mjs +2 -2
- package/{esm2020 → esm2022}/lib/pipes/datasource-to-flow-item.mjs +22 -22
- package/{esm2020 → esm2022}/lib/pipes/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/pipes/mo-list-to-flow-item.pipe.mjs +22 -22
- package/esm2022/lib/query-string-form-observable/query-string-form-observable.component.mjs +37 -0
- package/esm2022/lib/query-string-observable/query-string-observable.component.mjs +22 -0
- package/esm2022/lib/report-button-view/report-button-view.component.mjs +37 -0
- package/{esm2020 → esm2022}/lib/report-line-chart-view/report-line-chart-view.component.mjs +13 -13
- package/esm2022/lib/report-tab-view/report-tab-view.component.mjs +27 -0
- package/esm2022/lib/resend-verification-code/resend-verification-code.component.mjs +62 -0
- package/{esm2020 → esm2022}/lib/service-desk-card-content-mojavezhay-akhz-shode/service-desk-card-content-mojavezhay-akhz-shode.component.mjs +28 -28
- package/esm2022/lib/service-desk-form-layout-content-mojavez/service-desk-form-layout-content-mojavez.component.mjs +110 -0
- package/esm2022/lib/service-desk-header/service-desk-header.component.mjs +240 -0
- package/esm2022/lib/service-desk-servcie-detail/service-desk-servcie-detail.component.mjs +142 -0
- package/esm2022/lib/service-desk-view-of-services/service-desk-view-of-services.component.mjs +37 -0
- package/esm2022/lib/setting-form/setting-form.component.mjs +64 -0
- package/esm2022/lib/subform-in-row-report/subform-in-row-report.component.mjs +73 -0
- package/esm2022/lib/tab-process-view/tab-process-view.component.mjs +48 -0
- package/esm2022/lib/table-view-vertical-columns/table-view-vertical-columns.component.mjs +16 -0
- package/esm2022/lib/timer-count-down/timer-count-down.component.mjs +98 -0
- package/esm2022/lib/token-report-view/token-report-view.component.mjs +27 -0
- package/esm2022/lib/ui-enum-segmented-button/ui-enum-segmented-button.component.mjs +25 -0
- package/esm2022/lib/ui-num-rate/ui-num-rate.component.mjs +29 -0
- package/esm2022/lib/ui-person/ui-person.component.mjs +160 -0
- package/esm2022/lib/ui-person/ui-person.pipe.mjs +40 -0
- package/esm2022/lib/ui-pictures-carousel/ui-pictures-carousel.component.mjs +17 -0
- package/esm2022/lib/ui-text-field-search/ui-text-field-search.component.mjs +42 -0
- package/esm2022/lib/ulv-context-menu-item-show-file-content/ulv-context-menu-item-show-file-content.component.mjs +69 -0
- package/{esm2020 → esm2022}/public-api.mjs +62 -62
- package/fesm2022/barsa-develop-components.mjs +3626 -0
- package/fesm2022/barsa-develop-components.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/accept-reject/accept-reject.component.d.ts +28 -28
- package/lib/avatar/avatar.component.d.ts +12 -12
- package/lib/barcode-format-pipe.d.ts +7 -7
- package/lib/barcode-reader/barcode-reader.component.d.ts +19 -19
- package/lib/barcode-reader-dialog/barcode-reader-dialog.component.d.ts +32 -32
- package/lib/barcode-reader-video/barcode-reader-video.component.d.ts +22 -22
- package/lib/barcode.service.d.ts +98 -98
- package/lib/barsa-develop-components.module.d.ts +117 -117
- package/lib/barsa-document-list-item/barsa-document-list-item.component.d.ts +39 -39
- package/lib/barsa-documents/barsa-documents.component.d.ts +47 -47
- package/lib/barsa-geographic-location/barsa-geographic-location.component.d.ts +45 -46
- package/lib/card-content-image-and-title/card-content-image-and-title.component.d.ts +18 -18
- package/lib/card-content-line-chart/card-content-line-chart.component.d.ts +9 -9
- package/lib/card-header-big-image-title-and-subtitle/card-header-big-image-title-and-subtitle.component.d.ts +6 -6
- package/lib/card-header-kpi/card-header-kpi.component.d.ts +14 -14
- package/lib/card-header-logo-title-subtitle/card-header-logo-title-subtitle.component.d.ts +23 -23
- package/lib/checkbox-button/checkbox-button.component.d.ts +13 -13
- package/lib/column-form-viewer/column-form-viewer.component.d.ts +30 -30
- package/lib/enum-info-micro-proccess-flow/enum-info-micro-proccess-flow.component.d.ts +8 -8
- package/lib/footer/footer.component.d.ts +15 -15
- package/lib/form-card/form-card.component.d.ts +8 -8
- package/lib/form-chart-content/form-chart-content.component.d.ts +9 -9
- package/lib/form-content-quick-view/form-content-quick-view.component.d.ts +18 -18
- package/lib/form-report-view/form-report-view.component.d.ts +13 -13
- package/lib/form-report-view-item/form-report-view-item.component.d.ts +15 -15
- package/lib/g4b-details/g4b-details.component.d.ts +9 -9
- package/lib/g4b-estelam/g4b-estelam.component.d.ts +11 -11
- package/lib/geographic-location/geographic-location.component.d.ts +33 -34
- package/lib/login-form/login-form.component.d.ts +12 -12
- package/lib/login-social-conncetions/login-social-conncetions.component.d.ts +12 -12
- package/lib/master-detail-card-form/master-detail-card-form.component.d.ts +8 -8
- package/lib/media-file-uploader/media-file-uploader.component.d.ts +52 -52
- package/lib/micro-proccess-flow/micro-proccess-flow.component.d.ts +28 -28
- package/lib/micro-process-flow-view/micro-process-flow-view.component.d.ts +14 -14
- package/lib/mo-info-micro-proccess-flow/mo-info-micro-proccess-flow.component.d.ts +9 -9
- package/lib/models/document-item.d.ts +19 -19
- package/lib/models/documents-setting.d.ts +11 -11
- package/lib/models/form-report-view-setting.d.ts +7 -7
- package/lib/models/index.d.ts +7 -7
- package/lib/models/micro-process-flow-view-setting.d.ts +8 -8
- package/lib/models/person.d.ts +10 -10
- package/lib/models/service-desk-view-of-services-setting.d.ts +6 -6
- package/lib/models/tab-process-view-setting.d.ts +7 -7
- package/lib/pipes/datasource-to-flow-item.d.ts +10 -10
- package/lib/pipes/index.d.ts +2 -2
- package/lib/pipes/mo-list-to-flow-item.pipe.d.ts +10 -10
- package/lib/query-string-form-observable/query-string-form-observable.component.d.ts +13 -13
- package/lib/query-string-observable/query-string-observable.component.d.ts +9 -9
- package/lib/report-button-view/report-button-view.component.d.ts +12 -12
- package/lib/report-line-chart-view/report-line-chart-view.component.d.ts +7 -7
- package/lib/report-tab-view/report-tab-view.component.d.ts +15 -15
- package/lib/resend-verification-code/resend-verification-code.component.d.ts +19 -18
- package/lib/service-desk-card-content-mojavezhay-akhz-shode/service-desk-card-content-mojavezhay-akhz-shode.component.d.ts +15 -15
- package/lib/service-desk-form-layout-content-mojavez/service-desk-form-layout-content-mojavez.component.d.ts +26 -26
- package/lib/service-desk-header/service-desk-header.component.d.ts +63 -63
- package/lib/service-desk-servcie-detail/service-desk-servcie-detail.component.d.ts +39 -39
- package/lib/service-desk-view-of-services/service-desk-view-of-services.component.d.ts +16 -16
- package/lib/setting-form/setting-form.component.d.ts +20 -20
- package/lib/subform-in-row-report/subform-in-row-report.component.d.ts +22 -21
- package/lib/tab-process-view/tab-process-view.component.d.ts +20 -20
- package/lib/table-view-vertical-columns/table-view-vertical-columns.component.d.ts +6 -6
- package/lib/timer-count-down/timer-count-down.component.d.ts +15 -15
- package/lib/token-report-view/token-report-view.component.d.ts +15 -15
- package/lib/ui-enum-segmented-button/ui-enum-segmented-button.component.d.ts +9 -9
- package/lib/ui-num-rate/ui-num-rate.component.d.ts +9 -9
- package/lib/ui-person/ui-person.component.d.ts +31 -31
- package/lib/ui-person/ui-person.pipe.d.ts +7 -7
- package/lib/ui-pictures-carousel/ui-pictures-carousel.component.d.ts +6 -6
- package/lib/ui-text-field-search/ui-text-field-search.component.d.ts +17 -17
- package/lib/ulv-context-menu-item-show-file-content/ulv-context-menu-item-show-file-content.component.d.ts +25 -25
- package/package.json +7 -13
- package/public-api.d.ts +58 -58
- package/esm2020/lib/accept-reject/accept-reject.component.mjs +0 -69
- package/esm2020/lib/avatar/avatar.component.mjs +0 -29
- package/esm2020/lib/barcode-format-pipe.mjs +0 -24
- package/esm2020/lib/barcode-reader/barcode-reader.component.mjs +0 -62
- package/esm2020/lib/barcode-reader-dialog/barcode-reader-dialog.component.mjs +0 -82
- package/esm2020/lib/barcode-reader-video/barcode-reader-video.component.mjs +0 -66
- package/esm2020/lib/barcode.service.mjs +0 -330
- package/esm2020/lib/barsa-document-list-item/barsa-document-list-item.component.mjs +0 -104
- package/esm2020/lib/barsa-documents/barsa-documents.component.mjs +0 -173
- package/esm2020/lib/barsa-geographic-location/barsa-geographic-location.component.mjs +0 -174
- package/esm2020/lib/card-content-image-and-title/card-content-image-and-title.component.mjs +0 -51
- package/esm2020/lib/card-content-line-chart/card-content-line-chart.component.mjs +0 -38
- package/esm2020/lib/card-header-big-image-title-and-subtitle/card-header-big-image-title-and-subtitle.component.mjs +0 -20
- package/esm2020/lib/card-header-kpi/card-header-kpi.component.mjs +0 -41
- package/esm2020/lib/card-header-logo-title-subtitle/card-header-logo-title-subtitle.component.mjs +0 -46
- package/esm2020/lib/column-form-viewer/column-form-viewer.component.mjs +0 -88
- package/esm2020/lib/footer/footer.component.mjs +0 -44
- package/esm2020/lib/form-card/form-card.component.mjs +0 -18
- package/esm2020/lib/form-chart-content/form-chart-content.component.mjs +0 -38
- package/esm2020/lib/form-content-quick-view/form-content-quick-view.component.mjs +0 -102
- package/esm2020/lib/form-report-view/form-report-view.component.mjs +0 -26
- package/esm2020/lib/form-report-view-item/form-report-view-item.component.mjs +0 -45
- package/esm2020/lib/g4b-estelam/g4b-estelam.component.mjs +0 -30
- package/esm2020/lib/geographic-location/geographic-location.component.mjs +0 -88
- package/esm2020/lib/login-form/login-form.component.mjs +0 -55
- package/esm2020/lib/master-detail-card-form/master-detail-card-form.component.mjs +0 -17
- package/esm2020/lib/media-file-uploader/media-file-uploader.component.mjs +0 -238
- package/esm2020/lib/micro-proccess-flow/micro-proccess-flow.component.mjs +0 -53
- package/esm2020/lib/micro-process-flow-view/micro-process-flow-view.component.mjs +0 -24
- package/esm2020/lib/mo-info-micro-proccess-flow/mo-info-micro-proccess-flow.component.mjs +0 -23
- package/esm2020/lib/models/document-item.mjs +0 -2
- package/esm2020/lib/models/documents-setting.mjs +0 -2
- package/esm2020/lib/query-string-form-observable/query-string-form-observable.component.mjs +0 -37
- package/esm2020/lib/query-string-observable/query-string-observable.component.mjs +0 -22
- package/esm2020/lib/report-button-view/report-button-view.component.mjs +0 -38
- package/esm2020/lib/report-tab-view/report-tab-view.component.mjs +0 -28
- package/esm2020/lib/resend-verification-code/resend-verification-code.component.mjs +0 -59
- package/esm2020/lib/service-desk-form-layout-content-mojavez/service-desk-form-layout-content-mojavez.component.mjs +0 -110
- package/esm2020/lib/service-desk-header/service-desk-header.component.mjs +0 -236
- package/esm2020/lib/service-desk-servcie-detail/service-desk-servcie-detail.component.mjs +0 -142
- package/esm2020/lib/service-desk-view-of-services/service-desk-view-of-services.component.mjs +0 -37
- package/esm2020/lib/setting-form/setting-form.component.mjs +0 -64
- package/esm2020/lib/subform-in-row-report/subform-in-row-report.component.mjs +0 -65
- package/esm2020/lib/tab-process-view/tab-process-view.component.mjs +0 -49
- package/esm2020/lib/table-view-vertical-columns/table-view-vertical-columns.component.mjs +0 -16
- package/esm2020/lib/timer-count-down/timer-count-down.component.mjs +0 -98
- package/esm2020/lib/token-report-view/token-report-view.component.mjs +0 -27
- package/esm2020/lib/ui-enum-segmented-button/ui-enum-segmented-button.component.mjs +0 -25
- package/esm2020/lib/ui-num-rate/ui-num-rate.component.mjs +0 -29
- package/esm2020/lib/ui-person/ui-person.component.mjs +0 -160
- package/esm2020/lib/ui-person/ui-person.pipe.mjs +0 -40
- package/esm2020/lib/ui-pictures-carousel/ui-pictures-carousel.component.mjs +0 -17
- package/esm2020/lib/ui-text-field-search/ui-text-field-search.component.mjs +0 -42
- package/esm2020/lib/ulv-context-menu-item-show-file-content/ulv-context-menu-item-show-file-content.component.mjs +0 -70
- package/fesm2015/barsa-develop-components.mjs +0 -3660
- package/fesm2015/barsa-develop-components.mjs.map +0 -1
- package/fesm2020/barsa-develop-components.mjs +0 -3625
- package/fesm2020/barsa-develop-components.mjs.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { DeviceInfoFieldBaseComponent } from 'barsa-sap-ui';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UiTextFieldSearchComponent extends DeviceInfoFieldBaseComponent {
|
|
5
|
-
value: string;
|
|
6
|
-
_debouncer: Subject<string>;
|
|
7
|
-
get MinSize(): {
|
|
8
|
-
width: number;
|
|
9
|
-
height: number;
|
|
10
|
-
};
|
|
11
|
-
searchTerm: string;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
onSearchSubmit(): void;
|
|
14
|
-
_valueChange(value: string): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UiTextFieldSearchComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiTextFieldSearchComponent, "bdc-ui-text-field-search", never, { "value": "value"; "MinSize": "MinSize"; }, {}, never, never, false>;
|
|
17
|
-
}
|
|
1
|
+
import { DeviceInfoFieldBaseComponent } from 'barsa-sap-ui';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UiTextFieldSearchComponent extends DeviceInfoFieldBaseComponent {
|
|
5
|
+
value: string;
|
|
6
|
+
_debouncer: Subject<string>;
|
|
7
|
+
get MinSize(): {
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
};
|
|
11
|
+
searchTerm: string;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
onSearchSubmit(): void;
|
|
14
|
+
_valueChange(value: string): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTextFieldSearchComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiTextFieldSearchComponent, "bdc-ui-text-field-search", never, { "value": { "alias": "value"; "required": false; }; "MinSize": { "alias": "MinSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { OnInit, TemplateRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import { ButtonType, DialogService } from '@fundamental-ngx/core';
|
|
4
|
-
import { BaseFormToolbaritemPropsComponent, MoReportValuePipe } from 'barsa-novin-ray-core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class UlvContextMenuItemShowFileContentComponent extends BaseFormToolbaritemPropsComponent implements OnInit {
|
|
7
|
-
protected _reportValuePipe: MoReportValuePipe;
|
|
8
|
-
protected _cdr: ChangeDetectorRef;
|
|
9
|
-
private _dialogService;
|
|
10
|
-
private _sanitize;
|
|
11
|
-
fileType: string;
|
|
12
|
-
file: any;
|
|
13
|
-
videoUrl: string;
|
|
14
|
-
text: string;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
compact: boolean;
|
|
17
|
-
icon: string;
|
|
18
|
-
iconOnly: boolean;
|
|
19
|
-
fdType: ButtonType;
|
|
20
|
-
constructor(_reportValuePipe: MoReportValuePipe, _cdr: ChangeDetectorRef, _dialogService: DialogService, _sanitize: DomSanitizer);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
openDialog(dialog: TemplateRef<any>): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UlvContextMenuItemShowFileContentComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UlvContextMenuItemShowFileContentComponent, "bdc-ulv-context-menu-item-show-file-content", never, {}, {}, never, never, false>;
|
|
25
|
-
}
|
|
1
|
+
import { OnInit, TemplateRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import { ButtonType, DialogService } from '@fundamental-ngx/core';
|
|
4
|
+
import { BaseFormToolbaritemPropsComponent, MoReportValuePipe } from 'barsa-novin-ray-core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UlvContextMenuItemShowFileContentComponent extends BaseFormToolbaritemPropsComponent implements OnInit {
|
|
7
|
+
protected _reportValuePipe: MoReportValuePipe;
|
|
8
|
+
protected _cdr: ChangeDetectorRef;
|
|
9
|
+
private _dialogService;
|
|
10
|
+
private _sanitize;
|
|
11
|
+
fileType: string;
|
|
12
|
+
file: any;
|
|
13
|
+
videoUrl: string;
|
|
14
|
+
text: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
compact: boolean;
|
|
17
|
+
icon: string;
|
|
18
|
+
iconOnly: boolean;
|
|
19
|
+
fdType: ButtonType;
|
|
20
|
+
constructor(_reportValuePipe: MoReportValuePipe, _cdr: ChangeDetectorRef, _dialogService: DialogService, _sanitize: DomSanitizer);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
openDialog(dialog: TemplateRef<any>): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UlvContextMenuItemShowFileContentComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UlvContextMenuItemShowFileContentComponent, "bdc-ulv-context-menu-item-show-file-content", never, {}, {}, never, never, false, never>;
|
|
25
|
+
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "barsa-develop-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/core": "^
|
|
6
|
-
"@angular/common": "^
|
|
5
|
+
"@angular/core": "^17.3.5",
|
|
6
|
+
"@angular/common": "^17.3.5"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.0.0"
|
|
10
10
|
},
|
|
11
|
-
"module": "
|
|
12
|
-
"es2020": "fesm2020/barsa-develop-components.mjs",
|
|
13
|
-
"esm2020": "esm2020/barsa-develop-components.mjs",
|
|
14
|
-
"fesm2020": "fesm2020/barsa-develop-components.mjs",
|
|
15
|
-
"fesm2015": "fesm2015/barsa-develop-components.mjs",
|
|
11
|
+
"module": "fesm2022/barsa-develop-components.mjs",
|
|
16
12
|
"typings": "index.d.ts",
|
|
17
13
|
"exports": {
|
|
18
14
|
"./package.json": {
|
|
@@ -20,11 +16,9 @@
|
|
|
20
16
|
},
|
|
21
17
|
".": {
|
|
22
18
|
"types": "./index.d.ts",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"node": "./fesm2015/barsa-develop-components.mjs",
|
|
27
|
-
"default": "./fesm2020/barsa-develop-components.mjs"
|
|
19
|
+
"esm2022": "./esm2022/barsa-develop-components.mjs",
|
|
20
|
+
"esm": "./esm2022/barsa-develop-components.mjs",
|
|
21
|
+
"default": "./fesm2022/barsa-develop-components.mjs"
|
|
28
22
|
}
|
|
29
23
|
},
|
|
30
24
|
"sideEffects": false
|
package/public-api.d.ts
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
export * from './lib/ui-text-field-search/ui-text-field-search.component';
|
|
2
|
-
export * from './lib/tab-process-view/tab-process-view.component';
|
|
3
|
-
export * from './lib/ui-enum-segmented-button/ui-enum-segmented-button.component';
|
|
4
|
-
export * from './lib/micro-process-flow-view/micro-process-flow-view.component';
|
|
5
|
-
export * from './lib/setting-form/setting-form.component';
|
|
6
|
-
export * from './lib/barcode-reader-video/barcode-reader-video.component';
|
|
7
|
-
export * from './lib/barcode-reader-dialog/barcode-reader-dialog.component';
|
|
8
|
-
export * from './lib/barcode-reader/barcode-reader.component';
|
|
9
|
-
export * from './lib/ui-person/ui-person.component';
|
|
10
|
-
export * from './lib/login-social-conncetions/login-social-conncetions.component';
|
|
11
|
-
export * from './lib/login-form/login-form.component';
|
|
12
|
-
export * from './lib/service-desk-header/service-desk-header.component';
|
|
13
|
-
export * from './lib/card-content-image-and-title/card-content-image-and-title.component';
|
|
14
|
-
export * from './lib/card-header-logo-title-subtitle/card-header-logo-title-subtitle.component';
|
|
15
|
-
export * from './lib/form-content-quick-view/form-content-quick-view.component';
|
|
16
|
-
export * from './lib/service-desk-servcie-detail/service-desk-servcie-detail.component';
|
|
17
|
-
export * from './lib/service-desk-view-of-services/service-desk-view-of-services.component';
|
|
18
|
-
export * from './lib/service-desk-card-content-mojavezhay-akhz-shode/service-desk-card-content-mojavezhay-akhz-shode.component';
|
|
19
|
-
export * from './lib/service-desk-view-of-services/service-desk-view-of-services.component';
|
|
20
|
-
export * from './lib/card-header-big-image-title-and-subtitle/card-header-big-image-title-and-subtitle.component';
|
|
21
|
-
export * from './lib/service-desk-form-layout-content-mojavez/service-desk-form-layout-content-mojavez.component';
|
|
22
|
-
export * from './lib/ulv-context-menu-item-show-file-content/ulv-context-menu-item-show-file-content.component';
|
|
23
|
-
export * from './lib/resend-verification-code/resend-verification-code.component';
|
|
24
|
-
export * from './lib/checkbox-button/checkbox-button.component';
|
|
25
|
-
export * from './lib/barcode-format-pipe';
|
|
26
|
-
export * from './lib/report-tab-view/report-tab-view.component';
|
|
27
|
-
export * from './lib/report-line-chart-view/report-line-chart-view.component';
|
|
28
|
-
export * from './lib/card-header-kpi/card-header-kpi.component';
|
|
29
|
-
export * from './lib/card-content-line-chart/card-content-line-chart.component';
|
|
30
|
-
export * from './lib/form-chart-content/form-chart-content.component';
|
|
31
|
-
export * from './lib/table-view-vertical-columns/table-view-vertical-columns.component';
|
|
32
|
-
export * from './lib/query-string-observable/query-string-observable.component';
|
|
33
|
-
export * from './lib/query-string-form-observable/query-string-form-observable.component';
|
|
34
|
-
export * from './lib/g4b-details/g4b-details.component';
|
|
35
|
-
export * from './lib/avatar/avatar.component';
|
|
36
|
-
export * from './lib/g4b-estelam/g4b-estelam.component';
|
|
37
|
-
export * from './lib/timer-count-down/timer-count-down.component';
|
|
38
|
-
export * from './lib/mo-info-micro-proccess-flow/mo-info-micro-proccess-flow.component';
|
|
39
|
-
export * from './lib/micro-proccess-flow/micro-proccess-flow.component';
|
|
40
|
-
export * from './lib/enum-info-micro-proccess-flow/enum-info-micro-proccess-flow.component';
|
|
41
|
-
export * from './lib/ui-pictures-carousel/ui-pictures-carousel.component';
|
|
42
|
-
export * from './lib/ui-num-rate/ui-num-rate.component';
|
|
43
|
-
export * from './lib/media-file-uploader/media-file-uploader.component';
|
|
44
|
-
export * from './lib/subform-in-row-report/subform-in-row-report.component';
|
|
45
|
-
export * from './lib/master-detail-card-form/master-detail-card-form.component';
|
|
46
|
-
export * from './lib/report-button-view/report-button-view.component';
|
|
47
|
-
export * from './lib/barsa-documents/barsa-documents.component';
|
|
48
|
-
export * from './lib/barsa-document-list-item/barsa-document-list-item.component';
|
|
49
|
-
export * from './lib/accept-reject/accept-reject.component';
|
|
50
|
-
export * from './lib/footer/footer.component';
|
|
51
|
-
export * from './lib/geographic-location/geographic-location.component';
|
|
52
|
-
export * from './lib/barsa-geographic-location/barsa-geographic-location.component';
|
|
53
|
-
export * from './lib/token-report-view/token-report-view.component';
|
|
54
|
-
export * from './lib/column-form-viewer/column-form-viewer.component';
|
|
55
|
-
export * from './lib/form-report-view/form-report-view.component';
|
|
56
|
-
export * from './lib/form-report-view-item/form-report-view-item.component';
|
|
57
|
-
export * from './lib/form-card/form-card.component';
|
|
58
|
-
export * from './lib/barsa-develop-components.module';
|
|
1
|
+
export * from './lib/ui-text-field-search/ui-text-field-search.component';
|
|
2
|
+
export * from './lib/tab-process-view/tab-process-view.component';
|
|
3
|
+
export * from './lib/ui-enum-segmented-button/ui-enum-segmented-button.component';
|
|
4
|
+
export * from './lib/micro-process-flow-view/micro-process-flow-view.component';
|
|
5
|
+
export * from './lib/setting-form/setting-form.component';
|
|
6
|
+
export * from './lib/barcode-reader-video/barcode-reader-video.component';
|
|
7
|
+
export * from './lib/barcode-reader-dialog/barcode-reader-dialog.component';
|
|
8
|
+
export * from './lib/barcode-reader/barcode-reader.component';
|
|
9
|
+
export * from './lib/ui-person/ui-person.component';
|
|
10
|
+
export * from './lib/login-social-conncetions/login-social-conncetions.component';
|
|
11
|
+
export * from './lib/login-form/login-form.component';
|
|
12
|
+
export * from './lib/service-desk-header/service-desk-header.component';
|
|
13
|
+
export * from './lib/card-content-image-and-title/card-content-image-and-title.component';
|
|
14
|
+
export * from './lib/card-header-logo-title-subtitle/card-header-logo-title-subtitle.component';
|
|
15
|
+
export * from './lib/form-content-quick-view/form-content-quick-view.component';
|
|
16
|
+
export * from './lib/service-desk-servcie-detail/service-desk-servcie-detail.component';
|
|
17
|
+
export * from './lib/service-desk-view-of-services/service-desk-view-of-services.component';
|
|
18
|
+
export * from './lib/service-desk-card-content-mojavezhay-akhz-shode/service-desk-card-content-mojavezhay-akhz-shode.component';
|
|
19
|
+
export * from './lib/service-desk-view-of-services/service-desk-view-of-services.component';
|
|
20
|
+
export * from './lib/card-header-big-image-title-and-subtitle/card-header-big-image-title-and-subtitle.component';
|
|
21
|
+
export * from './lib/service-desk-form-layout-content-mojavez/service-desk-form-layout-content-mojavez.component';
|
|
22
|
+
export * from './lib/ulv-context-menu-item-show-file-content/ulv-context-menu-item-show-file-content.component';
|
|
23
|
+
export * from './lib/resend-verification-code/resend-verification-code.component';
|
|
24
|
+
export * from './lib/checkbox-button/checkbox-button.component';
|
|
25
|
+
export * from './lib/barcode-format-pipe';
|
|
26
|
+
export * from './lib/report-tab-view/report-tab-view.component';
|
|
27
|
+
export * from './lib/report-line-chart-view/report-line-chart-view.component';
|
|
28
|
+
export * from './lib/card-header-kpi/card-header-kpi.component';
|
|
29
|
+
export * from './lib/card-content-line-chart/card-content-line-chart.component';
|
|
30
|
+
export * from './lib/form-chart-content/form-chart-content.component';
|
|
31
|
+
export * from './lib/table-view-vertical-columns/table-view-vertical-columns.component';
|
|
32
|
+
export * from './lib/query-string-observable/query-string-observable.component';
|
|
33
|
+
export * from './lib/query-string-form-observable/query-string-form-observable.component';
|
|
34
|
+
export * from './lib/g4b-details/g4b-details.component';
|
|
35
|
+
export * from './lib/avatar/avatar.component';
|
|
36
|
+
export * from './lib/g4b-estelam/g4b-estelam.component';
|
|
37
|
+
export * from './lib/timer-count-down/timer-count-down.component';
|
|
38
|
+
export * from './lib/mo-info-micro-proccess-flow/mo-info-micro-proccess-flow.component';
|
|
39
|
+
export * from './lib/micro-proccess-flow/micro-proccess-flow.component';
|
|
40
|
+
export * from './lib/enum-info-micro-proccess-flow/enum-info-micro-proccess-flow.component';
|
|
41
|
+
export * from './lib/ui-pictures-carousel/ui-pictures-carousel.component';
|
|
42
|
+
export * from './lib/ui-num-rate/ui-num-rate.component';
|
|
43
|
+
export * from './lib/media-file-uploader/media-file-uploader.component';
|
|
44
|
+
export * from './lib/subform-in-row-report/subform-in-row-report.component';
|
|
45
|
+
export * from './lib/master-detail-card-form/master-detail-card-form.component';
|
|
46
|
+
export * from './lib/report-button-view/report-button-view.component';
|
|
47
|
+
export * from './lib/barsa-documents/barsa-documents.component';
|
|
48
|
+
export * from './lib/barsa-document-list-item/barsa-document-list-item.component';
|
|
49
|
+
export * from './lib/accept-reject/accept-reject.component';
|
|
50
|
+
export * from './lib/footer/footer.component';
|
|
51
|
+
export * from './lib/geographic-location/geographic-location.component';
|
|
52
|
+
export * from './lib/barsa-geographic-location/barsa-geographic-location.component';
|
|
53
|
+
export * from './lib/token-report-view/token-report-view.component';
|
|
54
|
+
export * from './lib/column-form-viewer/column-form-viewer.component';
|
|
55
|
+
export * from './lib/form-report-view/form-report-view.component';
|
|
56
|
+
export * from './lib/form-report-view-item/form-report-view-item.component';
|
|
57
|
+
export * from './lib/form-card/form-card.component';
|
|
58
|
+
export * from './lib/barsa-develop-components.module';
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { BaseComponent, getUniqueId } 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-novin-ray-core";
|
|
6
|
-
import * as i3 from "@angular/forms";
|
|
7
|
-
import * as i4 from "@fundamental-ngx/core/bar";
|
|
8
|
-
import * as i5 from "@fundamental-ngx/core/button";
|
|
9
|
-
import * as i6 from "@fundamental-ngx/core/form";
|
|
10
|
-
import * as i7 from "@fundamental-ngx/core/object-status";
|
|
11
|
-
import * as i8 from "@fundamental-ngx/core/popover";
|
|
12
|
-
export class AcceptRejectComponent extends BaseComponent {
|
|
13
|
-
constructor(_cdr) {
|
|
14
|
-
super();
|
|
15
|
-
this._cdr = _cdr;
|
|
16
|
-
this.rejectedChanged = new EventEmitter();
|
|
17
|
-
this.id = getUniqueId(3);
|
|
18
|
-
this.applied = false;
|
|
19
|
-
}
|
|
20
|
-
ngOnInit() {
|
|
21
|
-
super.ngOnInit();
|
|
22
|
-
this._initilaize();
|
|
23
|
-
}
|
|
24
|
-
onReject() {
|
|
25
|
-
this._raiseEvent(true, true, this.rejectedReason);
|
|
26
|
-
}
|
|
27
|
-
onReset() {
|
|
28
|
-
this._raiseEvent(false, false);
|
|
29
|
-
}
|
|
30
|
-
onAccept() {
|
|
31
|
-
this._raiseEvent(true, false);
|
|
32
|
-
}
|
|
33
|
-
_initilaize() {
|
|
34
|
-
if (this.rejectedReason) {
|
|
35
|
-
this.rejected = true;
|
|
36
|
-
this.applied = true;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
_raiseEvent(applied, rejected, rejectedReason = '') {
|
|
40
|
-
this.applied = applied;
|
|
41
|
-
this.rejected = rejected;
|
|
42
|
-
this.rejectedReason = rejectedReason;
|
|
43
|
-
this.rejectedChanged.emit({ accept: rejected, error: rejectedReason });
|
|
44
|
-
this._cdr.detectChanges();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
AcceptRejectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AcceptRejectComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
-
AcceptRejectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: AcceptRejectComponent, selector: "bdc-accept-reject", inputs: { negativeText: "negativeText", positiveText: "positiveText", rejectedReason: "rejectedReason", acceptedText: "acceptedText", deviceSize: "deviceSize", readonly: "readonly", rejected: "rejected" }, outputs: { rejectedChanged: "rejectedChanged" }, usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"!applied && !readonly\">\r\n <button\r\n fd-button\r\n [label]=\"positiveText | bbbTranslate\"\r\n fdType=\"positive\"\r\n glyph=\"message-success\"\r\n ariaLabel=\"positive\"\r\n value=\"yes\"\r\n style=\"margin: 0 5px\"\r\n (click)=\"onAccept()\"\r\n ></button>\r\n <fd-popover [focusTrapped]=\"true\" [focusAutoCapture]=\"true\" [mobile]=\"deviceSize === 's'\" #popover>\r\n <fd-popover-control>\r\n <button\r\n fd-button\r\n [label]=\"negativeText | bbbTranslate\"\r\n glyph=\"message-error\"\r\n fdType=\"negative\"\r\n ariaLabel=\"Negative\"\r\n value=\"no\"\r\n ></button>\r\n </fd-popover-control>\r\n <fd-popover-body style=\"min-width: 320px\">\r\n <div fd-popover-body-header>\r\n <div fd-bar [cozy]=\"true\" id=\"popover-bar-header-1\">\r\n <div fd-bar-left>\r\n <span\r\n fd-object-status\r\n status=\"negative\"\r\n glyph=\"message-error\"\r\n glyphAriaLabel=\"Negative\"\r\n title=\"Negative\"\r\n ></span>\r\n <fd-bar-element>\u0639\u0644\u062A \u0631\u062F</fd-bar-element>\r\n </div>\r\n </div>\r\n </div>\r\n <div fd-form-item>\r\n <fd-form-input-message-group>\r\n <textarea fd-form-control [id]=\"id\" [(ngModel)]=\"rejectedReason\"></textarea>\r\n </fd-form-input-message-group>\r\n </div>\r\n <div fd-popover-body-footer>\r\n <div fd-bar barDesign=\"footer\">\r\n <div fd-bar-right>\r\n <fd-button-bar\r\n [label]=\"'Ok' | bbbTranslate\"\r\n fdType=\"emphasized\"\r\n (click)=\"popover.close(); onReject()\"\r\n ></fd-button-bar>\r\n <fd-button-bar [label]=\"'Cancel' | bbbTranslate\" (click)=\"popover.close()\"></fd-button-bar>\r\n </div>\r\n </div>\r\n </div>\r\n </fd-popover-body>\r\n </fd-popover>\r\n</div>\r\n<div *ngIf=\"readonly || applied\">\r\n <span>{{ rejected ? rejectedReason : ('\u2713' + acceptedText | bbbTranslate) }}</span>\r\n <button fd-button glyph=\"decline\" fdType=\"transparent\" (click)=\"onReset()\"></button>\r\n</div>\r\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MobileDirective, selector: "[mobile]" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "component", type: i4.BarComponent, selector: "[fd-bar]", inputs: ["class", "barDesign", "inPage", "inHomePage", "size"] }, { kind: "directive", type: i4.BarLeftDirective, selector: "[fd-bar-left]" }, { kind: "directive", type: i4.BarRightDirective, selector: "[fd-bar-right]" }, { kind: "directive", type: i4.BarElementDirective, selector: "fd-bar-element", inputs: ["fullWidth", "isTitle"] }, { kind: "component", type: i4.ButtonBarComponent, selector: "fd-button-bar", inputs: ["fullWidth", "fdType", "title", "ariaLabel", "ariaLabelledby", "id"] }, { kind: "directive", type: i4.DeprecatedBarContentDensityDirective, selector: "[fd-bar][cozy]" }, { kind: "component", type: i5.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "component", type: i6.FormControlComponent, selector: "[fd-form-control]", inputs: ["state", "type", "class"] }, { kind: "directive", type: i6.TextareaFormControlDirective, selector: "textarea[fd-form-control]" }, { kind: "component", type: i6.FormItemComponent, selector: "[fd-form-item]", inputs: ["isInline", "horizontal"] }, { kind: "component", type: i6.FormInputMessageGroupComponent, selector: "fd-form-input-message-group", inputs: ["triggers", "closeOnOutsideClick", "fillControlMode", "noArrow", "closeOnEscapeKey", "placement", "isOpen"], outputs: ["isOpenChange"] }, { kind: "component", type: i7.ObjectStatusComponent, selector: "[fd-object-status]", inputs: ["class", "status", "glyph", "label", "glyphAriaLabel", "indicationColor", "clickable", "inverted", "large"] }, { kind: "component", type: i8.PopoverControlComponent, selector: "fd-popover-control" }, { kind: "component", type: i8.PopoverBodyComponent, selector: "fd-popover-body" }, { kind: "directive", type: i8.PopoverBodyHeaderDirective, selector: "[fdPopoverBodyHeader], [fd-popover-body-header]" }, { kind: "directive", type: i8.PopoverBodyFooterDirective, selector: "[fdPopoverBodyFooter], [fd-popover-body-footer]" }, { kind: "component", type: i8.PopoverComponent, selector: "fd-popover", inputs: ["title", "trigger", "fixedPosition", "id", "mobile", "mobileConfig"] }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i2.BbbTranslatePipe, name: "bbbTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AcceptRejectComponent, decorators: [{
|
|
50
|
-
type: Component,
|
|
51
|
-
args: [{ selector: 'bdc-accept-reject', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"!applied && !readonly\">\r\n <button\r\n fd-button\r\n [label]=\"positiveText | bbbTranslate\"\r\n fdType=\"positive\"\r\n glyph=\"message-success\"\r\n ariaLabel=\"positive\"\r\n value=\"yes\"\r\n style=\"margin: 0 5px\"\r\n (click)=\"onAccept()\"\r\n ></button>\r\n <fd-popover [focusTrapped]=\"true\" [focusAutoCapture]=\"true\" [mobile]=\"deviceSize === 's'\" #popover>\r\n <fd-popover-control>\r\n <button\r\n fd-button\r\n [label]=\"negativeText | bbbTranslate\"\r\n glyph=\"message-error\"\r\n fdType=\"negative\"\r\n ariaLabel=\"Negative\"\r\n value=\"no\"\r\n ></button>\r\n </fd-popover-control>\r\n <fd-popover-body style=\"min-width: 320px\">\r\n <div fd-popover-body-header>\r\n <div fd-bar [cozy]=\"true\" id=\"popover-bar-header-1\">\r\n <div fd-bar-left>\r\n <span\r\n fd-object-status\r\n status=\"negative\"\r\n glyph=\"message-error\"\r\n glyphAriaLabel=\"Negative\"\r\n title=\"Negative\"\r\n ></span>\r\n <fd-bar-element>\u0639\u0644\u062A \u0631\u062F</fd-bar-element>\r\n </div>\r\n </div>\r\n </div>\r\n <div fd-form-item>\r\n <fd-form-input-message-group>\r\n <textarea fd-form-control [id]=\"id\" [(ngModel)]=\"rejectedReason\"></textarea>\r\n </fd-form-input-message-group>\r\n </div>\r\n <div fd-popover-body-footer>\r\n <div fd-bar barDesign=\"footer\">\r\n <div fd-bar-right>\r\n <fd-button-bar\r\n [label]=\"'Ok' | bbbTranslate\"\r\n fdType=\"emphasized\"\r\n (click)=\"popover.close(); onReject()\"\r\n ></fd-button-bar>\r\n <fd-button-bar [label]=\"'Cancel' | bbbTranslate\" (click)=\"popover.close()\"></fd-button-bar>\r\n </div>\r\n </div>\r\n </div>\r\n </fd-popover-body>\r\n </fd-popover>\r\n</div>\r\n<div *ngIf=\"readonly || applied\">\r\n <span>{{ rejected ? rejectedReason : ('\u2713' + acceptedText | bbbTranslate) }}</span>\r\n <button fd-button glyph=\"decline\" fdType=\"transparent\" (click)=\"onReset()\"></button>\r\n</div>\r\n", styles: [":host{display:block}\n"] }]
|
|
52
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { negativeText: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], positiveText: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], rejectedReason: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], acceptedText: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], deviceSize: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], readonly: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}], rejected: [{
|
|
65
|
-
type: Input
|
|
66
|
-
}], rejectedChanged: [{
|
|
67
|
-
type: Output
|
|
68
|
-
}] } });
|
|
69
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjZXB0LXJlamVjdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYXJzYS1kZXZlbG9wLWNvbXBvbmVudHMvc3JjL2xpYi9hY2NlcHQtcmVqZWN0L2FjY2VwdC1yZWplY3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFyc2EtZGV2ZWxvcC1jb21wb25lbnRzL3NyYy9saWIvYWNjZXB0LXJlamVjdC9hY2NlcHQtcmVqZWN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbX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ICAgICAgICAgICAgICAgZmRUeXBlPVwibmVnYXRpdmVcIlxyXG4gICAgICAgICAgICAgICAgYXJpYUxhYmVsPVwiTmVnYXRpdmVcIlxyXG4gICAgICAgICAgICAgICAgdmFsdWU9XCJub1wiXHJcbiAgICAgICAgICAgID48L2J1dHRvbj5cclxuICAgICAgICA8L2ZkLXBvcG92ZXItY29udHJvbD5cclxuICAgICAgICA8ZmQtcG9wb3Zlci1ib2R5IHN0eWxlPVwibWluLXdpZHRoOiAzMjBweFwiPlxyXG4gICAgICAgICAgICA8ZGl2IGZkLXBvcG92ZXItYm9keS1oZWFkZXI+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGZkLWJhciBbY296eV09XCJ0cnVlXCIgaWQ9XCJwb3BvdmVyLWJhci1oZWFkZXItMVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgZmQtYmFyLWxlZnQ+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmZC1vYmplY3Qtc3RhdHVzXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdGF0dXM9XCJuZWdhdGl2ZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBnbHlwaD1cIm1lc3NhZ2UtZXJyb3JcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZ2x5cGhBcmlhTGFiZWw9XCJOZWdhdGl2ZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZT1cIk5lZ2F0aXZlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgPjwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGZkLWJhci1lbGVtZW50Pti52YTYqiDYsdivPC9mZC1iYXItZWxlbWVudD5cclxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPGRpdiBmZC1mb3JtLWl0ZW0+XHJcbiAgICAgICAgICAgICAgICA8ZmQtZm9ybS1pbnB1dC1tZXNzYWdlLWdyb3VwPlxyXG4gICAgICAgICAgICAgICAgICAgIDx0ZXh0YXJlYSBmZC1mb3JtLWNvbnRyb2wgW2lkXT1cImlkXCIgWyhuZ01vZGVsKV09XCJyZWplY3RlZFJlYXNvblwiPjwvdGV4dGFyZWE+XHJcbiAgICAgICAgICAgICAgICA8L2ZkLWZvcm0taW5wdXQtbWVzc2FnZS1ncm91cD5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDxkaXYgZmQtcG9wb3Zlci1ib2R5LWZvb3Rlcj5cclxuICAgICAgICAgICAgICAgIDxkaXYgZmQtYmFyIGJhckRlc2lnbj1cImZvb3RlclwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgZmQtYmFyLXJpZ2h0PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZmQtYnV0dG9uLWJhclxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2xhYmVsXT1cIidPaycgfCBiYmJUcmFuc2xhdGVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZmRUeXBlPVwiZW1waGFzaXplZFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwicG9wb3Zlci5jbG9zZSgpOyBvblJlamVjdCgpXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgPjwvZmQtYnV0dG9uLWJhcj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGZkLWJ1dHRvbi1iYXIgW2xhYmVsXT1cIidDYW5jZWwnIHwgYmJiVHJhbnNsYXRlXCIgKGNsaWNrKT1cInBvcG92ZXIuY2xvc2UoKVwiPjwvZmQtYnV0dG9uLWJhcj5cclxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2ZkLXBvcG92ZXItYm9keT5cclxuICAgIDwvZmQtcG9wb3Zlcj5cclxuPC9kaXY+XHJcbjxkaXYgKm5nSWY9XCJyZWFkb25seSB8fCBhcHBsaWVkXCI+XHJcbiAgICA8c3Bhbj57eyByZWplY3RlZCA/IHJlamVjdGVkUmVhc29uIDogKCfinJMnICsgYWNjZXB0ZWRUZXh0IHwgYmJiVHJhbnNsYXRlKSB9fTwvc3Bhbj5cclxuICAgIDxidXR0b24gZmQtYnV0dG9uIGdseXBoPVwiZGVjbGluZVwiIGZkVHlwZT1cInRyYW5zcGFyZW50XCIgKGNsaWNrKT1cIm9uUmVzZXQoKVwiPjwvYnV0dG9uPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import { BaseItemContentPropsComponent } 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/avatar";
|
|
6
|
-
import * as i3 from "@fundamental-ngx/core/card";
|
|
7
|
-
export class AvatarComponent extends BaseItemContentPropsComponent {
|
|
8
|
-
ngOnInit() {
|
|
9
|
-
super.ngOnInit();
|
|
10
|
-
this._setProps(this.mo);
|
|
11
|
-
}
|
|
12
|
-
ngOnChanges(changes) {
|
|
13
|
-
const { mo } = changes;
|
|
14
|
-
if (mo && !mo.firstChange) {
|
|
15
|
-
this._setProps(mo.currentValue);
|
|
16
|
-
this._cdr.detectChanges();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
_setProps(mo) {
|
|
20
|
-
this.pictureId = this.mo[this.parameters.FieldName]?.FileId;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AvatarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: AvatarComponent, selector: "bdc-avatar", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<fd-card>\n <fd-card-header>\n <fd-avatar\n [placeholder]=\"!mo[parameters.FieldName]\"\n [size]=\"'xs'\"\n [glyph]=\"parameters.DefaultIcon || null\"\n [circle]=\"parameters.Circle\"\n [placeHolder]=\"parameters.DefaultIcon!!\"\n [image]=\"pictureId ? (pictureId | picFieldSrc: 'PictureFileInfo':mo.Id:column.FieldDefId) : null\"\n alterIcon=\"alt|content|backup|default-icon\"\n ></fd-avatar>\n <h2 fd-card-title>\n {{ column.Name | val: mo:true | bbbTranslate }}\n </h2>\n <h3 fd-card-subtitle>{{ parameters.Subtitle | rval: mo:allColumns:true | bbbTranslate }}</h3>\n </fd-card-header>\n</fd-card>\n", styles: [":host{display:flex;align-items:start;column-gap:5px;padding:3px 0}.avatar-data{display:flex;flex-direction:column;row-gap:5px}fd-card{border:none;box-shadow:none;background:transparent!important}fd-card-header{padding:.2rem 0!important;border:none!important;background:transparent!important}fd-card-header:hover{background:transparent!important}fd-card,fd-card-header{cursor:default;font-weight:inherit!important}fd-card:focus:before,fd-card-header:focus:before{border:none!important}fd-card ::ng-deep .fd-card__title-area,fd-card ::ng-deep .fd-card__header-text,fd-card ::ng-deep .fd-card__subtitle-area,fd-card ::ng-deep h2,fd-card ::ng-deep h3,fd-card-header ::ng-deep .fd-card__title-area,fd-card-header ::ng-deep .fd-card__header-text,fd-card-header ::ng-deep .fd-card__subtitle-area,fd-card-header ::ng-deep h2,fd-card-header ::ng-deep h3{font-weight:inherit!important}fd-card-header{padding:0!important;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1.PlaceHolderDirective, selector: "[placeHolder]", inputs: ["placeHolder"] }, { kind: "component", type: i2.AvatarComponent, selector: "fd-avatar", inputs: ["class", "id", "ariaLabel", "ariaLabelledby", "label", "size", "glyph", "zoomGlyph", "circle", "transparent", "contain", "placeholder", "tile", "border", "colorAccent", "random", "clickable", "backgroundImage", "image", "alterIcon", "backupImage"], outputs: ["avatarClicked", "zoomGlyphClicked"] }, { kind: "component", type: i3.CardComponent, selector: "fd-card", inputs: ["badge", "isLoading", "cardType", "id", "role"] }, { kind: "component", type: i3.CardHeaderComponent, selector: "fd-card-header", inputs: ["interactive", "tabindex"] }, { kind: "directive", type: i3.CardTitleDirective, selector: "[fd-card-title]" }, { kind: "directive", type: i3.CardSubtitleDirective, selector: "[fd-card-subtitle]" }, { kind: "pipe", type: i1.MoValuePipe, name: "val" }, { kind: "pipe", type: i1.MoReportValuePipe, name: "rval" }, { kind: "pipe", type: i1.PictureFieldSourcePipe, name: "picFieldSrc" }, { kind: "pipe", type: i1.BbbTranslatePipe, name: "bbbTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'bdc-avatar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<fd-card>\n <fd-card-header>\n <fd-avatar\n [placeholder]=\"!mo[parameters.FieldName]\"\n [size]=\"'xs'\"\n [glyph]=\"parameters.DefaultIcon || null\"\n [circle]=\"parameters.Circle\"\n [placeHolder]=\"parameters.DefaultIcon!!\"\n [image]=\"pictureId ? (pictureId | picFieldSrc: 'PictureFileInfo':mo.Id:column.FieldDefId) : null\"\n alterIcon=\"alt|content|backup|default-icon\"\n ></fd-avatar>\n <h2 fd-card-title>\n {{ column.Name | val: mo:true | bbbTranslate }}\n </h2>\n <h3 fd-card-subtitle>{{ parameters.Subtitle | rval: mo:allColumns:true | bbbTranslate }}</h3>\n </fd-card-header>\n</fd-card>\n", styles: [":host{display:flex;align-items:start;column-gap:5px;padding:3px 0}.avatar-data{display:flex;flex-direction:column;row-gap:5px}fd-card{border:none;box-shadow:none;background:transparent!important}fd-card-header{padding:.2rem 0!important;border:none!important;background:transparent!important}fd-card-header:hover{background:transparent!important}fd-card,fd-card-header{cursor:default;font-weight:inherit!important}fd-card:focus:before,fd-card-header:focus:before{border:none!important}fd-card ::ng-deep .fd-card__title-area,fd-card ::ng-deep .fd-card__header-text,fd-card ::ng-deep .fd-card__subtitle-area,fd-card ::ng-deep h2,fd-card ::ng-deep h3,fd-card-header ::ng-deep .fd-card__title-area,fd-card-header ::ng-deep .fd-card__header-text,fd-card-header ::ng-deep .fd-card__subtitle-area,fd-card-header ::ng-deep h2,fd-card-header ::ng-deep h3{font-weight:inherit!important}fd-card-header{padding:0!important;align-items:center}\n"] }]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2JhcnNhLWRldmVsb3AtY29tcG9uZW50cy9zcmMvbGliL2F2YXRhci9hdmF0YXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFyc2EtZGV2ZWxvcC1jb21wb25lbnRzL3NyYy9saWIvYXZhdGFyL2F2YXRhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLHVCQUF1QixFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUMxRixPQUFPLEVBQUUsNkJBQTZCLEVBQWdELE1BQU0sc0JBQXNCLENBQUM7Ozs7O0FBUW5ILE1BQU0sT0FBTyxlQUFnQixTQUFRLDZCQUFzRDtJQUd2RixRQUFRO1FBQ0osS0FBSyxDQUFDLFFBQVEsRUFBRSxDQUFDO1FBQ2pCLElB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wiIW1vW3BhcmFtZXRlcnMuRmllbGROYW1lXVwiXG4gICAgICAgICAgICBbc2l6ZV09XCIneHMnXCJcbiAgICAgICAgICAgIFtnbHlwaF09XCJwYXJhbWV0ZXJzLkRlZmF1bHRJY29uIHx8IG51bGxcIlxuICAgICAgICAgICAgW2NpcmNsZV09XCJwYXJhbWV0ZXJzLkNpcmNsZVwiXG4gICAgICAgICAgICBbcGxhY2VIb2xkZXJdPVwicGFyYW1ldGVycy5EZWZhdWx0SWNvbiEhXCJcbiAgICAgICAgICAgIFtpbWFnZV09XCJwaWN0dXJlSWQgPyAocGljdHVyZUlkIHwgcGljRmllbGRTcmM6ICdQaWN0dXJlRmlsZUluZm8nOm1vLklkOmNvbHVtbi5GaWVsZERlZklkKSA6IG51bGxcIlxuICAgICAgICAgICAgYWx0ZXJJY29uPVwiYWx0fGNvbnRlbnR8YmFja3VwfGRlZmF1bHQtaWNvblwiXG4gICAgICAgID48L2ZkLWF2YXRhcj5cbiAgICAgICAgPGgyIGZkLWNhcmQtdGl0bGU+XG4gICAgICAgICAgICB7eyBjb2x1bW4uTmFtZSB8IHZhbDogbW86dHJ1ZSB8IGJiYlRyYW5zbGF0ZSB9fVxuICAgICAgICA8L2gyPlxuICAgICAgICA8aDMgZmQtY2FyZC1zdWJ0aXRsZT57eyBwYXJhbWV0ZXJzLlN1YnRpdGxlIHwgcnZhbDogbW86YWxsQ29sdW1uczp0cnVlIHwgYmJiVHJhbnNsYXRlIH19PC9oMz5cbiAgICA8L2ZkLWNhcmQtaGVhZGVyPlxuPC9mZC1jYXJkPlxuIl19
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import { BarcodeFormat } from '@zxing/library';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class BarcodeFormatPipe {
|
|
5
|
-
transform(value) {
|
|
6
|
-
let format = '';
|
|
7
|
-
for (const enumMember of Object.keys(BarcodeFormat)) {
|
|
8
|
-
const isValueProperty = parseInt(enumMember, 10) >= 0;
|
|
9
|
-
if (isValueProperty && Number(enumMember) === value) {
|
|
10
|
-
format = BarcodeFormat[enumMember];
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return format;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
BarcodeFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarcodeFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
17
|
-
BarcodeFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: BarcodeFormatPipe, name: "barcodeFormat" });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarcodeFormatPipe, decorators: [{
|
|
19
|
-
type: Pipe,
|
|
20
|
-
args: [{
|
|
21
|
-
name: 'barcodeFormat'
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyY29kZS1mb3JtYXQtcGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2JhcnNhLWRldmVsb3AtY29tcG9uZW50cy9zcmMvbGliL2JhcmNvZGUtZm9ybWF0LXBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGdCQUFnQixDQUFDOztBQUsvQyxNQUFNLE9BQU8saUJBQWlCO0lBQzFCLFNBQVMsQ0FBQyxLQUFhO1FBQ25CLElBQUksTUFBTSxHQUFHLEVBQUUsQ0FBQztRQUNoQixLQUFLLE1BQU0sVUFBVSxJQU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eSAmJiBOdW1iZXIoZW51bU1lbWJlcikgPT09IHZhbHVlKSB7XHJcbiAgICAgICAgICAgICAgICBmb3JtYXQgPSBCYXJjb2RlRm9ybWF0W2VudW1NZW1iZXJdO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiBmb3JtYXQ7XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import { takeUntil } from 'rxjs/operators';
|
|
3
|
-
import { BarsaApi } from 'barsa-novin-ray-core';
|
|
4
|
-
import { UiMoInfoSubFormUiComponent } from 'barsa-sap-ui';
|
|
5
|
-
import { BarcodeReaderDialogComponent } from '../barcode-reader-dialog/barcode-reader-dialog.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@fundamental-ngx/platform";
|
|
8
|
-
import * as i2 from "@angular/common";
|
|
9
|
-
import * as i3 from "barsa-novin-ray-core";
|
|
10
|
-
export class BarcodeReaderComponent extends UiMoInfoSubFormUiComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
super(...arguments);
|
|
13
|
-
this.size = 'large';
|
|
14
|
-
}
|
|
15
|
-
ngOnInit() {
|
|
16
|
-
super.ngOnInit();
|
|
17
|
-
this.barcodeValue = this.context.Setting.FormPanelSetting.Data.Mo.Value;
|
|
18
|
-
const format = this.context.Setting.CustomFieldInfo?.Format;
|
|
19
|
-
if (format) {
|
|
20
|
-
this.barcodeFormat = format
|
|
21
|
-
.split(',')
|
|
22
|
-
.filter((c) => c)
|
|
23
|
-
.map((c) => Number(c) - 1);
|
|
24
|
-
}
|
|
25
|
-
this.size = BarsaApi.Bw.GetWindowSize();
|
|
26
|
-
}
|
|
27
|
-
onOpenBarcodeReader() {
|
|
28
|
-
const data = { barcodeFormats: this.barcodeFormat };
|
|
29
|
-
const dialogRef = this._dialogService.open(BarcodeReaderDialogComponent, {
|
|
30
|
-
data,
|
|
31
|
-
fullScreen: this.isMobileDevice ? false : true,
|
|
32
|
-
verticalPadding: true,
|
|
33
|
-
responsivePadding: true,
|
|
34
|
-
mobile: this.isMobileDevice,
|
|
35
|
-
mobileOuterSpacing: true
|
|
36
|
-
});
|
|
37
|
-
dialogRef.afterClosed.pipe(takeUntil(this._onDestroy$)).subscribe((value) => {
|
|
38
|
-
if (value) {
|
|
39
|
-
this._setFieldValue(value);
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
onValueChange(e) {
|
|
44
|
-
this._setFieldValue(e.target.value);
|
|
45
|
-
}
|
|
46
|
-
_addFormControl(formControl) {
|
|
47
|
-
this.customFormPanelUi = formControl;
|
|
48
|
-
}
|
|
49
|
-
_setFieldValue(value) {
|
|
50
|
-
this.barcodeValue = value;
|
|
51
|
-
const valueCustomFieldUi = this.context.formControl._dictFieldUi.Value;
|
|
52
|
-
valueCustomFieldUi.value = value;
|
|
53
|
-
valueCustomFieldUi.fireEvent('change', value);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
BarcodeReaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarcodeReaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
-
BarcodeReaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: BarcodeReaderComponent, selector: "bdc-barcode-reader", usesInheritance: true, ngImport: i0, template: "<!-- <fd-input-group\n placement=\"after\"\n glyph=\"camera\"\n [placeholder]=\"'BarcodeReader' | bbbTranslate\"\n [button]=\"true\"\n ariaLabelledBy=\"fd-input-group-button-label-2\"\n (addOnButtonClicked)=\"onOpenBarcodeReader()\"\n (input)=\"onValueChange($event)\"\n>\n</fd-input-group> -->\n\n<fdp-input-group\n [placeholder]=\"'BarcodeReader' | bbbTranslate\"\n [value]=\"barcodeValue\"\n (input)=\"onValueChange($event)\"\n [name]=\"'barcode_' + id\"\n [disabled]=\"(disableOrReadonly$ | async)!!\"\n>\n <fdp-input-group-input type=\"text\"></fdp-input-group-input>\n <fdp-input-group-addon>\n <fdp-button glyph=\"camera\" (click)=\"onOpenBarcodeReader()\"></fdp-button>\n </fdp-input-group-addon>\n</fdp-input-group>\n", styles: [""], dependencies: [{ kind: "component", type: i1.InputGroupComponent, selector: "fdp-input-group", inputs: ["value"] }, { kind: "component", type: i1.InputGroupAddonComponent, selector: "fdp-input-group-addon" }, { kind: "component", type: i1.InputGroupInputComponent, selector: "fdp-input-group-input", inputs: ["type"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.BbbTranslatePipe, name: "bbbTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarcodeReaderComponent, decorators: [{
|
|
59
|
-
type: Component,
|
|
60
|
-
args: [{ selector: 'bdc-barcode-reader', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- <fd-input-group\n placement=\"after\"\n glyph=\"camera\"\n [placeholder]=\"'BarcodeReader' | bbbTranslate\"\n [button]=\"true\"\n ariaLabelledBy=\"fd-input-group-button-label-2\"\n (addOnButtonClicked)=\"onOpenBarcodeReader()\"\n (input)=\"onValueChange($event)\"\n>\n</fd-input-group> -->\n\n<fdp-input-group\n [placeholder]=\"'BarcodeReader' | bbbTranslate\"\n [value]=\"barcodeValue\"\n (input)=\"onValueChange($event)\"\n [name]=\"'barcode_' + id\"\n [disabled]=\"(disableOrReadonly$ | async)!!\"\n>\n <fdp-input-group-input type=\"text\"></fdp-input-group-input>\n <fdp-input-group-addon>\n <fdp-button glyph=\"camera\" (click)=\"onOpenBarcodeReader()\"></fdp-button>\n </fdp-input-group-addon>\n</fdp-input-group>\n" }]
|
|
61
|
-
}] });
|
|
62
|
-
//# sourceMappingURL=data:application/json;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