@tsi-developpement/tsi-shared-ui 1.8.20 → 1.8.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/end-points/endpoints.mjs +1 -1
- package/esm2022/lib/end-points/shared-endpoint.mjs +1 -2
- package/esm2022/lib/services/currentUser/currentUser.service.mjs +1 -1
- package/esm2022/lib/services/notification/tsi-confirmation.service.mjs +1 -1
- package/esm2022/lib/services/status/entityStatus.service.mjs +1 -1
- package/esm2022/lib/tsi-base/components/tsi-form-base/tsi-form-base.component.mjs +11 -6
- package/esm2022/lib/tsi-components/input-components/tsi-checkbox/tsi-checkbox.component.mjs +3 -3
- package/esm2022/lib/tsi-components/input-components/tsi-date-picker/tsi-date-picker.component.mjs +3 -3
- package/esm2022/lib/tsi-components/tsi-action-erp-list/tsi-action-erp-list.component.mjs +1 -1
- package/esm2022/lib/tsi-components/tsi-dynamic-form/dynamic-form-list/dynamic-form-list.component.mjs +1 -1
- package/esm2022/lib/tsi-components/tsi-form/tsi-form.component.mjs +25 -15
- package/esm2022/lib/tsi-components/tsi-generic-crud/tsi-generic-crud.component.mjs +13 -11
- package/esm2022/lib/tsi-components/tsi-notes-grid/tsi-notes-grid.component.mjs +1 -1
- package/esm2022/lib/tsi-components/tsi-upload-grid/tsi-upload-grid.component.mjs +1 -1
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs +99 -83
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs.map +1 -1
- package/lib/tsi-base/components/tsi-form-base/tsi-form-base.component.d.ts +4 -2
- package/lib/tsi-components/tsi-form/tsi-form.component.d.ts +9 -4
- package/lib/tsi-components/tsi-generic-crud/tsi-generic-crud.component.d.ts +9 -7
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ export class TsiUploadGridComponent extends TsiListBaseComponent {
|
|
|
45
45
|
this.table = "Fichier";
|
|
46
46
|
}
|
|
47
47
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiUploadGridComponent, deps: [{ token: i1.FichierUploadService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
48
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiUploadGridComponent, selector: "app-tsi-upload-grid", providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<Tsi-Generic-Crud\r\n [cudComponent]=\"comp\"\r\n [header]=\"titleComponent\"\r\n [columns]=\"columns\"\r\n [crudService]=\"_fichierService\"\r\n [modalSize]=\"modalSize\"\r\n [showUploadButton]=\"false\"\r\n [showDownloadButton]=\"true\"\r\n >\r\n</Tsi-Generic-Crud>\r\n", styles: [""], dependencies: [{ kind: "component", type: i2.TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiUploadGridComponent, selector: "app-tsi-upload-grid", providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<Tsi-Generic-Crud\r\n [cudComponent]=\"comp\"\r\n [header]=\"titleComponent\"\r\n [columns]=\"columns\"\r\n [crudService]=\"_fichierService\"\r\n [modalSize]=\"modalSize\"\r\n [showUploadButton]=\"false\"\r\n [showDownloadButton]=\"true\"\r\n >\r\n</Tsi-Generic-Crud>\r\n", styles: [""], dependencies: [{ kind: "component", type: i2.TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "showDuplicateButton", "showFormButton", "showCalenderView", "showCardView", "showImportFromOutlookButton", "showKanbanView", "showKanbanViewOfWorkFlowEtat", "showSearchField", "searchFields", "calenderSchema", "showActionButton", "selectKeyOnly", "selectionMode", "selectedItems", "key", "id", "businessClass", "searchOnInit", "showGlobalSearch", "showExportButton", "showReporting"], outputs: ["selectedItemsChange", "searchFieldsValueChanged", "buttonColumnClicked", "onImportFromOutlookClicked"] }] }); }
|
|
49
49
|
}
|
|
50
50
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiUploadGridComponent, decorators: [{
|
|
51
51
|
type: Component,
|
|
@@ -1937,11 +1937,11 @@ class TsiCheckboxComponent extends TsiInputBase {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
}
|
|
1939
1939
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiCheckboxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1940
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiCheckboxComponent, selector: "Tsi-CheckBox", inputs: { class: "class", isBinary: "isBinary", checked: "checked", tooltipText: "tooltipText", tooltipPosition: "tooltipPosition" }, outputs: { inputFieldChange: "inputFieldChange", checkedChange: "checkedChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"flex\">\r\n <p-checkbox \r\n class=\"{{validationStatusCssClass}}\"\r\n [ngModel]=\"checked\" \r\n
|
|
1940
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiCheckboxComponent, selector: "Tsi-CheckBox", inputs: { class: "class", isBinary: "isBinary", checked: "checked", tooltipText: "tooltipText", tooltipPosition: "tooltipPosition" }, outputs: { inputFieldChange: "inputFieldChange", checkedChange: "checkedChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"flex\">\r\n <p-checkbox \r\n class=\"{{validationStatusCssClass}}\"\r\n [ngModel]=\"checked\" \r\n (ngModelChange)=\"onChangeofOptions($event)\"\r\n [binary]=\"true\" \r\n [disabled]=\"disabled\"\r\n [ngClass]=\"getCheckboxClass()\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [pTooltip]=\"tooltipText\"\r\n ></p-checkbox>\r\n</div>\r\n", styles: [".checkbox-true .p-checkbox-box,.checkbox-indeterminate .p-checkbox-box{background-color:#0a65db!important;border-color:#0a65db!important}.checkbox-false .p-checkbox-box{color:#fff!important}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "autofocus", "trueValue", "falseValue", "variant"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "directive", type: i6.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
1941
1941
|
}
|
|
1942
1942
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiCheckboxComponent, decorators: [{
|
|
1943
1943
|
type: Component,
|
|
1944
|
-
args: [{ selector: 'Tsi-CheckBox', encapsulation: ViewEncapsulation.None, template: "<div class=\"flex\">\r\n <p-checkbox \r\n class=\"{{validationStatusCssClass}}\"\r\n [ngModel]=\"checked\" \r\n
|
|
1944
|
+
args: [{ selector: 'Tsi-CheckBox', encapsulation: ViewEncapsulation.None, template: "<div class=\"flex\">\r\n <p-checkbox \r\n class=\"{{validationStatusCssClass}}\"\r\n [ngModel]=\"checked\" \r\n (ngModelChange)=\"onChangeofOptions($event)\"\r\n [binary]=\"true\" \r\n [disabled]=\"disabled\"\r\n [ngClass]=\"getCheckboxClass()\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [pTooltip]=\"tooltipText\"\r\n ></p-checkbox>\r\n</div>\r\n", styles: [".checkbox-true .p-checkbox-box,.checkbox-indeterminate .p-checkbox-box{background-color:#0a65db!important;border-color:#0a65db!important}.checkbox-false .p-checkbox-box{color:#fff!important}\n"] }]
|
|
1945
1945
|
}], propDecorators: { class: [{
|
|
1946
1946
|
type: Input,
|
|
1947
1947
|
args: ['class']
|
|
@@ -4965,7 +4965,6 @@ const SharedSegments = {
|
|
|
4965
4965
|
objectInfo: "ObjectInfo",
|
|
4966
4966
|
status: "Status",
|
|
4967
4967
|
discriminator: 'Discriminator',
|
|
4968
|
-
/* Actions */
|
|
4969
4968
|
getEntityStatusAsKeyValuePair: "getEntityStatusAsKeyValuePair",
|
|
4970
4969
|
};
|
|
4971
4970
|
const SharedEndPoints = {
|
|
@@ -6562,11 +6561,11 @@ class TsiDatePickerComponent extends TsiInputBase {
|
|
|
6562
6561
|
this.calendarRef.overlayVisible = false;
|
|
6563
6562
|
}
|
|
6564
6563
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiDatePickerComponent, deps: [{ token: i1$1.DatePipe }, { token: DateHelperService }, { token: i4.PrimeNGConfig }, { token: LayoutService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6565
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiDatePickerComponent, selector: "Tsi-Date-Picker", inputs: { required: "required", showTime: "showTime", showButtonBar: "showButtonBar" }, outputs: { inputFieldChange: "inputFieldChange" }, viewQueries: [{ propertyName: "calendarRef", first: true, predicate: ["calendarRef"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"flex\">\r\n <p-calendar #calendarRef\r\n
|
|
6564
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiDatePickerComponent, selector: "Tsi-Date-Picker", inputs: { required: "required", showTime: "showTime", showButtonBar: "showButtonBar" }, outputs: { inputFieldChange: "inputFieldChange" }, viewQueries: [{ propertyName: "calendarRef", first: true, predicate: ["calendarRef"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"flex\">\r\n <p-calendar #calendarRef\r\n [dataType]=\"'string'\"\r\n [appendTo]=\"'body'\"\r\n [disabled]=\"disabled\"\r\n [showIcon]=\"true\"\r\n [showButtonBar]=\"showButtonBar\"\r\n [dateFormat]=\"datePickerFormat\"\r\n class=\"{{myStyleClass}}\"\r\n styleClass=\"{{myStyleClass}} border-radius-7\"\r\n inputStyleClass=\"{{myStyleClass}} {{validationStatusCssClass}}\"\r\n [showTime]=\"showTime\"\r\n [showSeconds]=\"showTime\"\r\n [(ngModel)]=\"dateString\"\r\n (onBlur)=\"onFocusOut()\"\r\n (onSelect)=\"onSelect()\"\r\n (onFocus)=\"onFocusHandler($event)\"\r\n (ngModelChange)=\"onModelChange($event)\"\r\n ></p-calendar>\r\n <Tsi-Bubble-Info [infoText]=\"infoText\"></Tsi-Bubble-Info>\r\n</div>", styles: [".ColorClass{background-color:#2bff00;text-align:right}.p-datepicker-trigger{border-top-right-radius:7px!important;border-bottom-right-radius:7px!important}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i6$2.Calendar, selector: "p-calendar", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepYearPicker", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "component", type: TsiBubbleInfoComponent, selector: "Tsi-Bubble-Info", inputs: ["infoText"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
6566
6565
|
}
|
|
6567
6566
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiDatePickerComponent, decorators: [{
|
|
6568
6567
|
type: Component,
|
|
6569
|
-
args: [{ selector: 'Tsi-Date-Picker', encapsulation: ViewEncapsulation.None, template: "<div class=\"flex\">\r\n <p-calendar #calendarRef\r\n
|
|
6568
|
+
args: [{ selector: 'Tsi-Date-Picker', encapsulation: ViewEncapsulation.None, template: "<div class=\"flex\">\r\n <p-calendar #calendarRef\r\n [dataType]=\"'string'\"\r\n [appendTo]=\"'body'\"\r\n [disabled]=\"disabled\"\r\n [showIcon]=\"true\"\r\n [showButtonBar]=\"showButtonBar\"\r\n [dateFormat]=\"datePickerFormat\"\r\n class=\"{{myStyleClass}}\"\r\n styleClass=\"{{myStyleClass}} border-radius-7\"\r\n inputStyleClass=\"{{myStyleClass}} {{validationStatusCssClass}}\"\r\n [showTime]=\"showTime\"\r\n [showSeconds]=\"showTime\"\r\n [(ngModel)]=\"dateString\"\r\n (onBlur)=\"onFocusOut()\"\r\n (onSelect)=\"onSelect()\"\r\n (onFocus)=\"onFocusHandler($event)\"\r\n (ngModelChange)=\"onModelChange($event)\"\r\n ></p-calendar>\r\n <Tsi-Bubble-Info [infoText]=\"infoText\"></Tsi-Bubble-Info>\r\n</div>", styles: [".ColorClass{background-color:#2bff00;text-align:right}.p-datepicker-trigger{border-top-right-radius:7px!important;border-bottom-right-radius:7px!important}\n"] }]
|
|
6570
6569
|
}], ctorParameters: () => [{ type: i1$1.DatePipe }, { type: DateHelperService }, { type: i4.PrimeNGConfig }, { type: LayoutService }], propDecorators: { calendarRef: [{
|
|
6571
6570
|
type: ViewChild,
|
|
6572
6571
|
args: ['calendarRef']
|
|
@@ -12919,14 +12918,14 @@ class TsiGenericCrudComponent {
|
|
|
12919
12918
|
this.showNoteButton = true;
|
|
12920
12919
|
this.showDownloadButton = false;
|
|
12921
12920
|
this.showInfoButton = true;
|
|
12922
|
-
this.
|
|
12921
|
+
this.showDuplicateButton = true;
|
|
12922
|
+
this.showFormButton = true;
|
|
12923
12923
|
this.showCalenderView = false;
|
|
12924
12924
|
this.showCardView = false;
|
|
12925
|
+
this.showImportFromOutlookButton = false;
|
|
12925
12926
|
this.showKanbanView = false;
|
|
12926
12927
|
this.showKanbanViewOfWorkFlowEtat = false;
|
|
12927
|
-
this.
|
|
12928
|
-
this.showFormButton = true;
|
|
12929
|
-
this.showImportFromOutlookButton = false;
|
|
12928
|
+
this.showSearchField = true;
|
|
12930
12929
|
this.showActionButton = true;
|
|
12931
12930
|
//grid selection
|
|
12932
12931
|
this.selectKeyOnly = true;
|
|
@@ -13737,7 +13736,7 @@ class TsiGenericCrudComponent {
|
|
|
13737
13736
|
return null;
|
|
13738
13737
|
}
|
|
13739
13738
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiGenericCrudComponent, deps: [{ token: TsiNotificationService }, { token: i4.MessageService }, { token: TsiModalService }, { token: i0.ChangeDetectorRef }, { token: LocalizePipe }, { token: DialogDataService }, { token: FichierUploadService }, { token: RecordInfoPopupService }, { token: WorkflowConfigurationService }, { token: EntityConfigurationService }, { token: NoteService }, { token: i0.EnvironmentInjector }, { token: DiscriminatorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13740
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: { entityInfo: "entityInfo", modalData: "modalData", columns: "columns", gridConfiguration: "gridConfiguration", cudComponent: "cudComponent", crudService: "crudService", header: "header", modalSize: "modalSize", descriminatorValue: "descriminatorValue", presentationSettings: "presentationSettings", preventAddEvent: "preventAddEvent", formEndpoint: "formEndpoint", formName: "formName", isSearchButtonDisabled: "isSearchButtonDisabled", showHeaderFilters: "showHeaderFilters", showEditButton: "showEditButton", showDeleteButton: "showDeleteButton", showAddButton: "showAddButton", showConsultButton: "showConsultButton", showUploadButton: "showUploadButton", showNoteButton: "showNoteButton", showDownloadButton: "showDownloadButton", showInfoButton: "showInfoButton", showSearchField: "showSearchField", searchFields: "searchFields", showCalenderView: "showCalenderView", showCardView: "showCardView", showKanbanView: "showKanbanView", showKanbanViewOfWorkFlowEtat: "showKanbanViewOfWorkFlowEtat", showDuplicateButton: "showDuplicateButton", showFormButton: "showFormButton", showImportFromOutlookButton: "showImportFromOutlookButton", showActionButton: "showActionButton", selectKeyOnly: "selectKeyOnly", selectionMode: "selectionMode", selectedItems: "selectedItems", key: "key", id: "id", businessClass: "businessClass", searchOnInit: "searchOnInit", showGlobalSearch: "showGlobalSearch", showExportButton: "showExportButton", showReporting: "showReporting" }, outputs: { selectedItemsChange: "selectedItemsChange", searchFieldsValueChanged: "searchFieldsValueChanged", buttonColumnClicked: "buttonColumnClicked", onImportFromOutlookClicked: "onImportFromOutlookClicked" }, host: { listeners: { "window:keydown": "handleKeyDown($event)" } }, providers: [TsiNotificationService], viewQueries: [{ propertyName: "genericGridComponent", first: true, predicate: TsiGenericGridComponent, descendants: true }], ngImport: i0, template: "<div class=\"card\">\r\n \r\n <p-toolbar styleClass=\"border-radius-7 mb-1 flex align-items-center gap-2 no-pad\" \r\n *ngIf=\"(showAddButton || searchFields || formEndpoint || businessClass) && showReporting\">\r\n\r\n <ng-template pTemplate=\"left\">\r\n <div class=\"flex gap-2 mx-2\">\r\n <div *ngIf=\"showAddButton\" presentationDesignerBase=\"add_button\">\r\n <Tsi-Button icon=\"pi pi-plus\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_add_view\" \r\n styleClass=\"p-button-success hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"openNew()\">\r\n </Tsi-Button>\r\n </div>\r\n <div *ngIf=\"searchFields\" presentationDesignerBase=\"show_search_fields_button\">\r\n <Tsi-Button icon=\"pi pi-sliders-h\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n tooltipText=\"shared_tsi_component_menu\"\r\n styleClass=\"h-2rem p-button-icon-only hover:shadow-6 {{ showSearchField ? 'p-button-secondary' : 'p-button-success' }}\"\r\n (click)=\"displaySearchFields()\">\r\n </Tsi-Button>\r\n </div>\r\n\r\n <div *ngIf=\"showImportFromOutlookButton\" presentationDesignerBase=\"importFromOutlook_button\">\r\n <Tsi-Button icon=\"pi pi-envelope\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_import_from_outlook\" \r\n styleClass=\"p-button-info hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"onImportClicked()\"> \r\n </Tsi-Button>\r\n </div>\r\n\r\n <div presentationDesignerBase=\"toggle_actions_view_button\">\r\n <p-splitButton\r\n [icon]=\"currentIcon\"\r\n [model]=\"viewOptions\"\r\n (onClick)=\"handleActionViewClick()\"\r\n [tooltip]=\"currentTooltip | localize\"\r\n class=\"p-button-icon-only p-button-rounded p-button-primary h-2rem hover:shadow-6\"\r\n />\r\n <!-- <Tsi-Button\r\n [icon]=\"currentIcon\"\r\n styleClass=\"p-element p-button-primary h-2rem p-button p-component p-button-icon-only\"\r\n (click)=\"handleActionViewClick()\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n [tooltipText]=\"currentTooltip | localize\">\r\n </Tsi-Button> -->\r\n </div>\r\n\r\n \r\n\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"right\">\r\n <app-reporting *ngIf=\"(formEndpoint || businessClass)\" \r\n [formEndpoint]=\"formEndpoint\" \r\n [formName]=\"formName\"\r\n [formEndpointBody]=\"formEndpointBody\" \r\n [isFormEndpointPaged]=\"true\"\r\n [businessClass]=\"businessClass\"\r\n [reportDiscriminator]=\"descriminatorValue\"\r\n (refreshData)=\"refresh($event)\"\r\n [filtersHtmlTemplate]=\"filtersHtmlTemplate\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [cudComponent]=\"cudComponent\" \r\n [configModeButtonId]=\"configModeButtonId\"\r\n [showNoteButton]=\"false\"\r\n [showActionButton]=\"false\"\r\n [showInfoButton]=\"false\"\r\n [showUploadButton]=\"false\"\r\n ></app-reporting>\r\n </ng-template>\r\n </p-toolbar>\r\n\r\n <div>\r\n\r\n <Tsi-Generic-Grid\r\n [formName]=\"formName\"\r\n [crudService]=\"crudService\"\r\n [showSearchField]=\"showSearchField\"\r\n [searchFields]=\"searchFields\"\r\n [descriminatorValue]=\"descriminatorValue\"\r\n [header]=\"header\"\r\n [page]=\"page\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [columns]=\"selectedColumns\"\r\n [showHeaderFilters]=\"showHeaderFilters\"\r\n [(filtersHtmlTemplate)]=\"filtersHtmlTemplate\"\r\n [presentationSettings]=\"presentationSettings\"\r\n (load)=\"load($event)\"\r\n (buttonColumnClicked)=\"handleButtonColumnClicked($event)\"\r\n [selectKeyOnly]=\"selectKeyOnly\"\r\n [selectionMode]=\"selectionMode\"\r\n [key]=\"key\"\r\n [(selectedItems)]=\"selectedItems\"\r\n (selectedItemsChange)=\"onSelectedItemsChange($event)\"\r\n (searchFieldsValueChanged)=\"searchFieldValueChanges($event)\"\r\n [searchOnInit]=\"searchOnInit\"\r\n [showExportButton]=\"showExportButton\"\r\n [showGlobalSearch]=\"showGlobalSearch\"\r\n [isSearchButtonDisabled]=\"isSearchButtonDisabled\"\r\n [showCalenderView]=\"showCalenderView\"\r\n [showCardView]=\"showCardView\"\r\n [showKanbanView]=\"showKanbanView\"\r\n [showKanbanViewOfWorkFlowEtat]=\"showKanbanViewOfWorkFlowEtat\"\r\n [businessClass]=\"businessClass\"\r\n [cudComponent]=\"cudComponent\" \r\n [modalSize]=\"modalSize\" \r\n [id]=\"id\"\r\n [page$]=\"page$\"\r\n [entityInfo]=\"entityInfo\"\r\n (calendarEventClick)=\"handleCalendarEventClick($event)\"\r\n (statusFilterChanged)=\"onStatusFilterChanged($event)\"\r\n ></Tsi-Generic-Grid>\r\n </div>\r\n \r\n</div>\r\n", styles: [".p-button{padding:.1rem!important}.tlbar{border:1px solid gainsboro;padding:2px;background:#f8f9fa}.hide-search-fields{background-color:#64748b!important;border-color:#64748b!important}::ng-deep .no-pad{padding:0!important}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i5$2.Toolbar, selector: "p-toolbar", inputs: ["style", "styleClass", "ariaLabelledBy"] }, { kind: "component", type: i14.SplitButton, selector: "p-splitButton", inputs: ["model", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "icon", "iconPos", "label", "tooltip", "tooltipOptions", "style", "styleClass", "menuStyle", "menuStyleClass", "appendTo", "dir", "expandAriaLabel", "showTransitionOptions", "hideTransitionOptions", "buttonProps", "menuButtonProps", "autofocus", "disabled", "tabindex", "menuButtonDisabled", "buttonDisabled"], outputs: ["onClick", "onMenuHide", "onMenuShow", "onDropdownClick"] }, { kind: "component", type: TsiGenericGridComponent, selector: "Tsi-Generic-Grid", inputs: ["cudComponent", "modalSize", "formName", "id", "pagedRequest", "configuration", "page", "key", "columns", "isSearchButtonDisabled", "filteredColumns", "gridData", "isTableLoading", "parent", "showSearchBox", "showActionColumn", "showHeaderFilters", "showFilterButton", "isGridDataPagedInApi", "header", "ShowFilterColumns", "showImportExportButton", "crudService", "searchFields", "sortMode", "filtersHtmlTemplate", "presentationSettings", "selectKeyOnly", "selectionMode", "selectedItems", "searchOnInit", "showGlobalSearch", "showExportButton", "showSearchField", "showCalenderView", "calenderSchema", "showCardView", "showKanbanView", "showKanbanViewOfWorkFlowEtat", "page$", "checkedByField", "selectAll", "targetBusinessClass", "descriminatorValue", "businessClass", "entityInfo"], outputs: ["onSave", "editRow", "deleteRow", "load", "buttonColumnClicked", "filtersHtmlTemplateChange", "selectedItemsChange", "searchFieldsValueChanged", "calendarEventClick", "statusFilterChanged"] }, { kind: "component", type: TsiButtonComponent, selector: "Tsi-Button", inputs: ["disabled", "text", "style", "tooltipText", "tooltipPosition", "buttonType", "icon", "styleClass", "iconSrc", "id", "iconWidth", "iconClass"], outputs: ["onClick", "rightClick"] }, { kind: "component", type: ReportingComponent, selector: "app-reporting", inputs: ["showImportExportButton", "showNoteButton", "showInfoButton", "showUploadButton", "showActionButton", "isReportingToolbarDisabled", "formName", "formEndpoint", "formEndpointBody", "isFormEndpointPaged", "filtersHtmlTemplate", "optionalEndpoints", "businessClass", "cudComponent", "httpMethodType", "requestData", "customReportingMode", "pagedRequest", "reportDiscriminator", "nombreDocumentsJoints", "id", "configModeButtonId", "selectedItemUids", "fromTsiForm", "customSendMailMode", "reportingInformation"], outputs: ["onSave", "refreshData", "closedModalFileUpload", "toggleDesignMode"] }, { kind: "directive", type: PresentationDesignerDirectiveBase, selector: "[presentationDesignerBase]", inputs: ["presentationDesigner", "presentationDesignerBase"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }] }); }
|
|
13739
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: { entityInfo: "entityInfo", modalData: "modalData", columns: "columns", gridConfiguration: "gridConfiguration", cudComponent: "cudComponent", crudService: "crudService", header: "header", modalSize: "modalSize", descriminatorValue: "descriminatorValue", presentationSettings: "presentationSettings", preventAddEvent: "preventAddEvent", formEndpoint: "formEndpoint", formName: "formName", isSearchButtonDisabled: "isSearchButtonDisabled", showHeaderFilters: "showHeaderFilters", showEditButton: "showEditButton", showDeleteButton: "showDeleteButton", showAddButton: "showAddButton", showConsultButton: "showConsultButton", showUploadButton: "showUploadButton", showNoteButton: "showNoteButton", showDownloadButton: "showDownloadButton", showInfoButton: "showInfoButton", showDuplicateButton: "showDuplicateButton", showFormButton: "showFormButton", showCalenderView: "showCalenderView", showCardView: "showCardView", showImportFromOutlookButton: "showImportFromOutlookButton", showKanbanView: "showKanbanView", showKanbanViewOfWorkFlowEtat: "showKanbanViewOfWorkFlowEtat", showSearchField: "showSearchField", searchFields: "searchFields", calenderSchema: "calenderSchema", showActionButton: "showActionButton", selectKeyOnly: "selectKeyOnly", selectionMode: "selectionMode", selectedItems: "selectedItems", key: "key", id: "id", businessClass: "businessClass", searchOnInit: "searchOnInit", showGlobalSearch: "showGlobalSearch", showExportButton: "showExportButton", showReporting: "showReporting" }, outputs: { selectedItemsChange: "selectedItemsChange", searchFieldsValueChanged: "searchFieldsValueChanged", buttonColumnClicked: "buttonColumnClicked", onImportFromOutlookClicked: "onImportFromOutlookClicked" }, host: { listeners: { "window:keydown": "handleKeyDown($event)" } }, providers: [TsiNotificationService], viewQueries: [{ propertyName: "genericGridComponent", first: true, predicate: TsiGenericGridComponent, descendants: true }], ngImport: i0, template: "<div class=\"card\">\r\n \r\n <p-toolbar styleClass=\"border-radius-7 mb-1 flex align-items-center gap-2 no-pad\" \r\n *ngIf=\"(showAddButton || searchFields || formEndpoint || businessClass) && showReporting\">\r\n\r\n <ng-template pTemplate=\"left\">\r\n <div class=\"flex gap-2 mx-2\">\r\n <div *ngIf=\"showAddButton\" presentationDesignerBase=\"add_button\">\r\n <Tsi-Button icon=\"pi pi-plus\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_add_view\" \r\n styleClass=\"p-button-success hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"openNew()\">\r\n </Tsi-Button>\r\n </div>\r\n <div *ngIf=\"searchFields\" presentationDesignerBase=\"show_search_fields_button\">\r\n <Tsi-Button icon=\"pi pi-sliders-h\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n tooltipText=\"shared_tsi_component_menu\"\r\n styleClass=\"h-2rem p-button-icon-only hover:shadow-6 {{ showSearchField ? 'p-button-secondary' : 'p-button-success' }}\"\r\n (click)=\"displaySearchFields()\">\r\n </Tsi-Button>\r\n </div>\r\n\r\n <div *ngIf=\"showImportFromOutlookButton\" presentationDesignerBase=\"importFromOutlook_button\">\r\n <Tsi-Button icon=\"pi pi-envelope\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_import_from_outlook\" \r\n styleClass=\"p-button-info hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"onImportClicked()\"> \r\n </Tsi-Button>\r\n </div>\r\n\r\n <div presentationDesignerBase=\"toggle_actions_view_button\">\r\n <p-splitButton\r\n [icon]=\"currentIcon\"\r\n [model]=\"viewOptions\"\r\n (onClick)=\"handleActionViewClick()\"\r\n [tooltip]=\"currentTooltip | localize\"\r\n class=\"p-button-icon-only p-button-rounded p-button-primary h-2rem hover:shadow-6\"\r\n />\r\n <!-- <Tsi-Button\r\n [icon]=\"currentIcon\"\r\n styleClass=\"p-element p-button-primary h-2rem p-button p-component p-button-icon-only\"\r\n (click)=\"handleActionViewClick()\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n [tooltipText]=\"currentTooltip | localize\">\r\n </Tsi-Button> -->\r\n </div>\r\n\r\n \r\n\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"right\">\r\n <app-reporting *ngIf=\"(formEndpoint || businessClass)\" \r\n [formEndpoint]=\"formEndpoint\" \r\n [formName]=\"formName\"\r\n [formEndpointBody]=\"formEndpointBody\" \r\n [isFormEndpointPaged]=\"true\"\r\n [businessClass]=\"businessClass\"\r\n [reportDiscriminator]=\"descriminatorValue\"\r\n (refreshData)=\"refresh($event)\"\r\n [filtersHtmlTemplate]=\"filtersHtmlTemplate\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [cudComponent]=\"cudComponent\" \r\n [configModeButtonId]=\"configModeButtonId\"\r\n [showNoteButton]=\"false\"\r\n [showActionButton]=\"false\"\r\n [showInfoButton]=\"false\"\r\n [showUploadButton]=\"false\"\r\n ></app-reporting>\r\n </ng-template>\r\n </p-toolbar>\r\n\r\n <div>\r\n\r\n <Tsi-Generic-Grid\r\n [formName]=\"formName\"\r\n [crudService]=\"crudService\"\r\n [showSearchField]=\"showSearchField\"\r\n [searchFields]=\"searchFields\"\r\n [descriminatorValue]=\"descriminatorValue\"\r\n [header]=\"header\"\r\n [page]=\"page\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [columns]=\"selectedColumns\"\r\n [showHeaderFilters]=\"showHeaderFilters\"\r\n [(filtersHtmlTemplate)]=\"filtersHtmlTemplate\"\r\n [presentationSettings]=\"presentationSettings\"\r\n (load)=\"load($event)\"\r\n (buttonColumnClicked)=\"handleButtonColumnClicked($event)\"\r\n [selectKeyOnly]=\"selectKeyOnly\"\r\n [selectionMode]=\"selectionMode\"\r\n [key]=\"key\"\r\n [(selectedItems)]=\"selectedItems\"\r\n (selectedItemsChange)=\"onSelectedItemsChange($event)\"\r\n (searchFieldsValueChanged)=\"searchFieldValueChanges($event)\"\r\n [searchOnInit]=\"searchOnInit\"\r\n [showExportButton]=\"showExportButton\"\r\n [showGlobalSearch]=\"showGlobalSearch\"\r\n [isSearchButtonDisabled]=\"isSearchButtonDisabled\"\r\n [showCalenderView]=\"showCalenderView\"\r\n [showCardView]=\"showCardView\"\r\n [showKanbanView]=\"showKanbanView\"\r\n [showKanbanViewOfWorkFlowEtat]=\"showKanbanViewOfWorkFlowEtat\"\r\n [businessClass]=\"businessClass\"\r\n [cudComponent]=\"cudComponent\" \r\n [modalSize]=\"modalSize\" \r\n [id]=\"id\"\r\n [page$]=\"page$\"\r\n [entityInfo]=\"entityInfo\"\r\n (calendarEventClick)=\"handleCalendarEventClick($event)\"\r\n (statusFilterChanged)=\"onStatusFilterChanged($event)\"\r\n ></Tsi-Generic-Grid>\r\n </div>\r\n \r\n</div>\r\n", styles: [".p-button{padding:.1rem!important}.tlbar{border:1px solid gainsboro;padding:2px;background:#f8f9fa}.hide-search-fields{background-color:#64748b!important;border-color:#64748b!important}::ng-deep .no-pad{padding:0!important}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i5$2.Toolbar, selector: "p-toolbar", inputs: ["style", "styleClass", "ariaLabelledBy"] }, { kind: "component", type: i14.SplitButton, selector: "p-splitButton", inputs: ["model", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "icon", "iconPos", "label", "tooltip", "tooltipOptions", "style", "styleClass", "menuStyle", "menuStyleClass", "appendTo", "dir", "expandAriaLabel", "showTransitionOptions", "hideTransitionOptions", "buttonProps", "menuButtonProps", "autofocus", "disabled", "tabindex", "menuButtonDisabled", "buttonDisabled"], outputs: ["onClick", "onMenuHide", "onMenuShow", "onDropdownClick"] }, { kind: "component", type: TsiGenericGridComponent, selector: "Tsi-Generic-Grid", inputs: ["cudComponent", "modalSize", "formName", "id", "pagedRequest", "configuration", "page", "key", "columns", "isSearchButtonDisabled", "filteredColumns", "gridData", "isTableLoading", "parent", "showSearchBox", "showActionColumn", "showHeaderFilters", "showFilterButton", "isGridDataPagedInApi", "header", "ShowFilterColumns", "showImportExportButton", "crudService", "searchFields", "sortMode", "filtersHtmlTemplate", "presentationSettings", "selectKeyOnly", "selectionMode", "selectedItems", "searchOnInit", "showGlobalSearch", "showExportButton", "showSearchField", "showCalenderView", "calenderSchema", "showCardView", "showKanbanView", "showKanbanViewOfWorkFlowEtat", "page$", "checkedByField", "selectAll", "targetBusinessClass", "descriminatorValue", "businessClass", "entityInfo"], outputs: ["onSave", "editRow", "deleteRow", "load", "buttonColumnClicked", "filtersHtmlTemplateChange", "selectedItemsChange", "searchFieldsValueChanged", "calendarEventClick", "statusFilterChanged"] }, { kind: "component", type: TsiButtonComponent, selector: "Tsi-Button", inputs: ["disabled", "text", "style", "tooltipText", "tooltipPosition", "buttonType", "icon", "styleClass", "iconSrc", "id", "iconWidth", "iconClass"], outputs: ["onClick", "rightClick"] }, { kind: "component", type: ReportingComponent, selector: "app-reporting", inputs: ["showImportExportButton", "showNoteButton", "showInfoButton", "showUploadButton", "showActionButton", "isReportingToolbarDisabled", "formName", "formEndpoint", "formEndpointBody", "isFormEndpointPaged", "filtersHtmlTemplate", "optionalEndpoints", "businessClass", "cudComponent", "httpMethodType", "requestData", "customReportingMode", "pagedRequest", "reportDiscriminator", "nombreDocumentsJoints", "id", "configModeButtonId", "selectedItemUids", "fromTsiForm", "customSendMailMode", "reportingInformation"], outputs: ["onSave", "refreshData", "closedModalFileUpload", "toggleDesignMode"] }, { kind: "directive", type: PresentationDesignerDirectiveBase, selector: "[presentationDesignerBase]", inputs: ["presentationDesigner", "presentationDesignerBase"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }] }); }
|
|
13741
13740
|
}
|
|
13742
13741
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiGenericCrudComponent, decorators: [{
|
|
13743
13742
|
type: Component,
|
|
@@ -13791,23 +13790,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
13791
13790
|
type: Input
|
|
13792
13791
|
}], showInfoButton: [{
|
|
13793
13792
|
type: Input
|
|
13794
|
-
}],
|
|
13793
|
+
}], showDuplicateButton: [{
|
|
13795
13794
|
type: Input
|
|
13796
|
-
}],
|
|
13795
|
+
}], showFormButton: [{
|
|
13797
13796
|
type: Input
|
|
13798
13797
|
}], showCalenderView: [{
|
|
13799
13798
|
type: Input
|
|
13800
13799
|
}], showCardView: [{
|
|
13801
13800
|
type: Input
|
|
13801
|
+
}], showImportFromOutlookButton: [{
|
|
13802
|
+
type: Input
|
|
13802
13803
|
}], showKanbanView: [{
|
|
13803
13804
|
type: Input
|
|
13804
13805
|
}], showKanbanViewOfWorkFlowEtat: [{
|
|
13805
13806
|
type: Input
|
|
13806
|
-
}],
|
|
13807
|
+
}], showSearchField: [{
|
|
13807
13808
|
type: Input
|
|
13808
|
-
}],
|
|
13809
|
+
}], searchFields: [{
|
|
13809
13810
|
type: Input
|
|
13810
|
-
}],
|
|
13811
|
+
}], calenderSchema: [{
|
|
13811
13812
|
type: Input
|
|
13812
13813
|
}], showActionButton: [{
|
|
13813
13814
|
type: Input
|
|
@@ -14187,6 +14188,26 @@ const Themes = {
|
|
|
14187
14188
|
LARA_LIGHT_INDIGO: 'lara-light-indigo',
|
|
14188
14189
|
};
|
|
14189
14190
|
|
|
14191
|
+
class ColonnePersonnaliseeService {
|
|
14192
|
+
constructor(_httpClient) {
|
|
14193
|
+
this._httpClient = _httpClient;
|
|
14194
|
+
}
|
|
14195
|
+
getColonnesPersonnalisee(businessClass, occurrence) {
|
|
14196
|
+
return this._httpClient.get(AdministrationEndpoints.getcolonnesPersonnalisee(businessClass, occurrence));
|
|
14197
|
+
}
|
|
14198
|
+
addOrUpdateFormulaireData(colonnePersonnaliseeDataList) {
|
|
14199
|
+
return this._httpClient.post(AdministrationEndpoints.createOrUpdateFormulaireData(), colonnePersonnaliseeDataList);
|
|
14200
|
+
}
|
|
14201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14202
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, providedIn: 'root' }); }
|
|
14203
|
+
}
|
|
14204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, decorators: [{
|
|
14205
|
+
type: Injectable,
|
|
14206
|
+
args: [{
|
|
14207
|
+
providedIn: 'root'
|
|
14208
|
+
}]
|
|
14209
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
14210
|
+
|
|
14190
14211
|
const formType = {
|
|
14191
14212
|
string: 'STRING',
|
|
14192
14213
|
int: 'INT',
|
|
@@ -14230,6 +14251,38 @@ class ColonnePersonnaliseeData {
|
|
|
14230
14251
|
}
|
|
14231
14252
|
}
|
|
14232
14253
|
|
|
14254
|
+
const FormulaireSegments = {
|
|
14255
|
+
formulaire: 'Formulaire',
|
|
14256
|
+
getAllTypeColonneEnumAsync: 'getAllTypeColonneEnumAsync',
|
|
14257
|
+
allminimal: 'allminimal',
|
|
14258
|
+
minimal: 'minimal',
|
|
14259
|
+
};
|
|
14260
|
+
const formulaireEndpoints = {
|
|
14261
|
+
getAllFormulairesMinimal: () => `${Segment.base}/${FormulaireSegments.formulaire}/${FormulaireSegments.allminimal}`,
|
|
14262
|
+
getFormulaireMinimal: () => `${Segment.base}/${FormulaireSegments.formulaire}/${FormulaireSegments.minimal}`,
|
|
14263
|
+
getAllTypeColonneEnumAsync: () => `${Segment.base}/${FormulaireSegments.formulaire}/${FormulaireSegments.getAllTypeColonneEnumAsync}`,
|
|
14264
|
+
};
|
|
14265
|
+
|
|
14266
|
+
class FormulaireService {
|
|
14267
|
+
constructor(_httpClient) {
|
|
14268
|
+
this._httpClient = _httpClient;
|
|
14269
|
+
}
|
|
14270
|
+
getAllFormsOfBusinessClass(businessClass, discriminatorValue) {
|
|
14271
|
+
let params = new HttpParams();
|
|
14272
|
+
params = params.append('entityName', businessClass ?? '');
|
|
14273
|
+
params = params.append('discriminatorValue', discriminatorValue ?? '');
|
|
14274
|
+
return this._httpClient.get(formulaireEndpoints.getAllFormulairesMinimal(), { params: params });
|
|
14275
|
+
}
|
|
14276
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaireService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14277
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaireService, providedIn: 'root' }); }
|
|
14278
|
+
}
|
|
14279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaireService, decorators: [{
|
|
14280
|
+
type: Injectable,
|
|
14281
|
+
args: [{
|
|
14282
|
+
providedIn: 'root'
|
|
14283
|
+
}]
|
|
14284
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
14285
|
+
|
|
14233
14286
|
class TsiModalHeaderComponent {
|
|
14234
14287
|
//#region Inputs
|
|
14235
14288
|
get inputTitle() {
|
|
@@ -14286,58 +14339,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
14286
14339
|
type: Output
|
|
14287
14340
|
}] } });
|
|
14288
14341
|
|
|
14289
|
-
const FormulaireSegments = {
|
|
14290
|
-
formulaire: 'Formulaire',
|
|
14291
|
-
getAllTypeColonneEnumAsync: 'getAllTypeColonneEnumAsync',
|
|
14292
|
-
allminimal: 'allminimal',
|
|
14293
|
-
minimal: 'minimal',
|
|
14294
|
-
};
|
|
14295
|
-
const formulaireEndpoints = {
|
|
14296
|
-
getAllFormulairesMinimal: () => `${Segment.base}/${FormulaireSegments.formulaire}/${FormulaireSegments.allminimal}`,
|
|
14297
|
-
getFormulaireMinimal: () => `${Segment.base}/${FormulaireSegments.formulaire}/${FormulaireSegments.minimal}`,
|
|
14298
|
-
getAllTypeColonneEnumAsync: () => `${Segment.base}/${FormulaireSegments.formulaire}/${FormulaireSegments.getAllTypeColonneEnumAsync}`,
|
|
14299
|
-
};
|
|
14300
|
-
|
|
14301
|
-
class FormulaireService {
|
|
14302
|
-
constructor(_httpClient) {
|
|
14303
|
-
this._httpClient = _httpClient;
|
|
14304
|
-
}
|
|
14305
|
-
getAllFormsOfBusinessClass(businessClass, discriminatorValue) {
|
|
14306
|
-
let params = new HttpParams();
|
|
14307
|
-
params = params.append('entityName', businessClass ?? '');
|
|
14308
|
-
params = params.append('discriminatorValue', discriminatorValue ?? '');
|
|
14309
|
-
return this._httpClient.get(formulaireEndpoints.getAllFormulairesMinimal(), { params: params });
|
|
14310
|
-
}
|
|
14311
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaireService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14312
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaireService, providedIn: 'root' }); }
|
|
14313
|
-
}
|
|
14314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaireService, decorators: [{
|
|
14315
|
-
type: Injectable,
|
|
14316
|
-
args: [{
|
|
14317
|
-
providedIn: 'root'
|
|
14318
|
-
}]
|
|
14319
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
14320
|
-
|
|
14321
|
-
class ColonnePersonnaliseeService {
|
|
14322
|
-
constructor(_httpClient) {
|
|
14323
|
-
this._httpClient = _httpClient;
|
|
14324
|
-
}
|
|
14325
|
-
getColonnesPersonnalisee(businessClass, occurrence) {
|
|
14326
|
-
return this._httpClient.get(AdministrationEndpoints.getcolonnesPersonnalisee(businessClass, occurrence));
|
|
14327
|
-
}
|
|
14328
|
-
addOrUpdateFormulaireData(colonnePersonnaliseeDataList) {
|
|
14329
|
-
return this._httpClient.post(AdministrationEndpoints.createOrUpdateFormulaireData(), colonnePersonnaliseeDataList);
|
|
14330
|
-
}
|
|
14331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14332
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, providedIn: 'root' }); }
|
|
14333
|
-
}
|
|
14334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, decorators: [{
|
|
14335
|
-
type: Injectable,
|
|
14336
|
-
args: [{
|
|
14337
|
-
providedIn: 'root'
|
|
14338
|
-
}]
|
|
14339
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
14340
|
-
|
|
14341
14342
|
class TsiListBaseComponent extends AppBaseComponent {
|
|
14342
14343
|
get formEndpoint() {
|
|
14343
14344
|
return super.formEndpoint;
|
|
@@ -14942,7 +14943,7 @@ class DynamicFormListComponent extends TsiListBaseComponent {
|
|
|
14942
14943
|
}
|
|
14943
14944
|
}
|
|
14944
14945
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DynamicFormListComponent, deps: [{ token: FormDataService }, { token: DialogDataService }, { token: i1$3.DynamicDialogRef }, { token: i1$3.DynamicDialogConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14945
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DynamicFormListComponent, selector: "shared-dynamic-form-list", inputs: { occurence: "occurence", occurenceBusinessClass: "occurenceBusinessClass", occurenceDiscriminatorValue: "occurenceDiscriminatorValue", ignoreDialogConfig: "ignoreDialogConfig" }, providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"isLoaded\">\r\n <Tsi-Generic-Crud\r\n [cudComponent]=\"comp\"\r\n [header]=\"titleComponent\"\r\n [columns]=\"columns\"\r\n [crudService]=\"formDataService\"\r\n [modalData]=\"modalData\"\r\n [modalSize]=\"modalSize\"\r\n [showUploadButton]=\"false\"\r\n [showNoteButton]=\"false\"\r\n [showCalenderView]=\"false\"\r\n [showFormButton]=\"false\"\r\n [showInfoButton]=\"false\"\r\n [showConsultButton]=\"true\"\r\n presentationDesigner />\r\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "
|
|
14946
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DynamicFormListComponent, selector: "shared-dynamic-form-list", inputs: { occurence: "occurence", occurenceBusinessClass: "occurenceBusinessClass", occurenceDiscriminatorValue: "occurenceDiscriminatorValue", ignoreDialogConfig: "ignoreDialogConfig" }, providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"isLoaded\">\r\n <Tsi-Generic-Crud\r\n [cudComponent]=\"comp\"\r\n [header]=\"titleComponent\"\r\n [columns]=\"columns\"\r\n [crudService]=\"formDataService\"\r\n [modalData]=\"modalData\"\r\n [modalSize]=\"modalSize\"\r\n [showUploadButton]=\"false\"\r\n [showNoteButton]=\"false\"\r\n [showCalenderView]=\"false\"\r\n [showFormButton]=\"false\"\r\n [showInfoButton]=\"false\"\r\n [showConsultButton]=\"true\"\r\n presentationDesigner />\r\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "showDuplicateButton", "showFormButton", "showCalenderView", "showCardView", "showImportFromOutlookButton", "showKanbanView", "showKanbanViewOfWorkFlowEtat", "showSearchField", "searchFields", "calenderSchema", "showActionButton", "selectKeyOnly", "selectionMode", "selectedItems", "key", "id", "businessClass", "searchOnInit", "showGlobalSearch", "showExportButton", "showReporting"], outputs: ["selectedItemsChange", "searchFieldsValueChanged", "buttonColumnClicked", "onImportFromOutlookClicked"] }, { kind: "directive", type: PresentationDesignerDirective, selector: "[presentationDesigner]" }] }); }
|
|
14946
14947
|
}
|
|
14947
14948
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DynamicFormListComponent, decorators: [{
|
|
14948
14949
|
type: Component,
|
|
@@ -14969,6 +14970,13 @@ class TsiFormComponent {
|
|
|
14969
14970
|
this.isDescriminatorValueSet = true;
|
|
14970
14971
|
this.calculateFormsInfos();
|
|
14971
14972
|
}
|
|
14973
|
+
applyAllowedStatusFilter() {
|
|
14974
|
+
let statusesFetched = [...this._allEntityStatuses];
|
|
14975
|
+
if (this._allowedStatus?.length) {
|
|
14976
|
+
statusesFetched = statusesFetched.filter(x => x.key != null && this._allowedStatus.includes(x.key));
|
|
14977
|
+
}
|
|
14978
|
+
this.entityStatusList = statusesFetched;
|
|
14979
|
+
}
|
|
14972
14980
|
get formEndpoint() {
|
|
14973
14981
|
return this._formEndpoint;
|
|
14974
14982
|
}
|
|
@@ -15016,6 +15024,13 @@ class TsiFormComponent {
|
|
|
15016
15024
|
this._status = value;
|
|
15017
15025
|
this.onStatusChange.emit(this._status);
|
|
15018
15026
|
}
|
|
15027
|
+
set allowedStatus(value) {
|
|
15028
|
+
this._allowedStatus = value;
|
|
15029
|
+
this.applyAllowedStatusFilter();
|
|
15030
|
+
}
|
|
15031
|
+
get allowedStatus() {
|
|
15032
|
+
return this._allowedStatus;
|
|
15033
|
+
}
|
|
15019
15034
|
set mode(value) {
|
|
15020
15035
|
this._mode = value;
|
|
15021
15036
|
this.showActionButton = this.mode != Modes.create;
|
|
@@ -15068,6 +15083,7 @@ class TsiFormComponent {
|
|
|
15068
15083
|
this._descriminatorValue = undefined;
|
|
15069
15084
|
this.entityStatusList = [];
|
|
15070
15085
|
this.statusColumnName = '';
|
|
15086
|
+
this._allEntityStatuses = [];
|
|
15071
15087
|
this.isDragOver = false;
|
|
15072
15088
|
this.messagePosition = { x: 0, y: 0 };
|
|
15073
15089
|
this.dragEnterCount = 0;
|
|
@@ -15156,8 +15172,6 @@ class TsiFormComponent {
|
|
|
15156
15172
|
get workflowInformation() {
|
|
15157
15173
|
return this._workflowInformation;
|
|
15158
15174
|
}
|
|
15159
|
-
// #endregion
|
|
15160
|
-
//#region handle Lifecycle Hooks
|
|
15161
15175
|
ngOnInit() {
|
|
15162
15176
|
this.cudComponent = this.config?.data?.cudComponent;
|
|
15163
15177
|
this.configData = this.config;
|
|
@@ -15245,8 +15259,6 @@ class TsiFormComponent {
|
|
|
15245
15259
|
}
|
|
15246
15260
|
this.formRefChange.emit(this.formRef);
|
|
15247
15261
|
}
|
|
15248
|
-
//#endregion
|
|
15249
|
-
//#region handle events
|
|
15250
15262
|
handleFormSubmit(event) {
|
|
15251
15263
|
if (this.hasActiveRequests)
|
|
15252
15264
|
return;
|
|
@@ -15258,7 +15270,6 @@ class TsiFormComponent {
|
|
|
15258
15270
|
this.onSubmit.emit(event);
|
|
15259
15271
|
}
|
|
15260
15272
|
}
|
|
15261
|
-
//#endregion
|
|
15262
15273
|
syncDynamicColumnDataToDynamicFormService() {
|
|
15263
15274
|
const existingUids = new Set(this.dynamicFormService.colonnesPersonnaliseeData.map(x => x.colonnePersonnaliseeUid));
|
|
15264
15275
|
this.colonnesPersonnaliseeGrouped.forEach(cpg => {
|
|
@@ -15275,7 +15286,6 @@ class TsiFormComponent {
|
|
|
15275
15286
|
});
|
|
15276
15287
|
console.log("this.dynamicFormService.colonnesPersonnaliseeData => ", this.dynamicFormService.colonnesPersonnaliseeData);
|
|
15277
15288
|
}
|
|
15278
|
-
// #region workflow
|
|
15279
15289
|
confirmUpdateWorkflowEtat(event) {
|
|
15280
15290
|
console.log(event);
|
|
15281
15291
|
if (event) {
|
|
@@ -15322,7 +15332,6 @@ class TsiFormComponent {
|
|
|
15322
15332
|
},
|
|
15323
15333
|
});
|
|
15324
15334
|
}
|
|
15325
|
-
//#region Entity status
|
|
15326
15335
|
getEntityStatus() {
|
|
15327
15336
|
this.entityStatusService.getEntityStatus(this.businessClass).subscribe({
|
|
15328
15337
|
next: (data) => {
|
|
@@ -15330,15 +15339,17 @@ class TsiFormComponent {
|
|
|
15330
15339
|
return;
|
|
15331
15340
|
this.statusColumnName = data.statusColumnName ?? "";
|
|
15332
15341
|
if (data.entityStatus && Array.isArray(data.entityStatus)) {
|
|
15333
|
-
this.
|
|
15342
|
+
this._allEntityStatuses = data.entityStatus;
|
|
15343
|
+
this.applyAllowedStatusFilter();
|
|
15334
15344
|
}
|
|
15335
|
-
if (this.mode === Modes.create &&
|
|
15345
|
+
if (this.mode === Modes.create &&
|
|
15346
|
+
isNullOrEmpty(this.status) &&
|
|
15347
|
+
!isNullOrEmpty(data.defaultStatus)) {
|
|
15336
15348
|
this.status = data.defaultStatus;
|
|
15337
15349
|
}
|
|
15338
15350
|
},
|
|
15339
15351
|
});
|
|
15340
15352
|
}
|
|
15341
|
-
//#endregion
|
|
15342
15353
|
onDragOver(event) {
|
|
15343
15354
|
event.preventDefault();
|
|
15344
15355
|
event.stopPropagation();
|
|
@@ -15645,6 +15656,9 @@ class TsiFormComponentBaseComponent extends AppBaseComponent {
|
|
|
15645
15656
|
this.form.status = this._status;
|
|
15646
15657
|
}
|
|
15647
15658
|
}
|
|
15659
|
+
set allowedStatus(value) {
|
|
15660
|
+
this._allowedStatus = value;
|
|
15661
|
+
}
|
|
15648
15662
|
constructor(ref, config, cdRef) {
|
|
15649
15663
|
super(cdRef);
|
|
15650
15664
|
this.ref = ref;
|
|
@@ -15789,13 +15803,13 @@ class TsiFormComponentBaseComponent extends AppBaseComponent {
|
|
|
15789
15803
|
this.form.formName = this.formName;
|
|
15790
15804
|
this.form.id = this.id;
|
|
15791
15805
|
this.form.mode = this.mode;
|
|
15806
|
+
this.form.allowedStatus = this._allowedStatus;
|
|
15792
15807
|
if (!this.form.isDescriminatorValueSet) {
|
|
15793
15808
|
this.form.descriminatorValue = this.descriminatorValue;
|
|
15794
15809
|
}
|
|
15795
15810
|
// workflow form design
|
|
15796
15811
|
this._saveWorkflowFormConfigurationSubscription = this.form.onSubmitFormWorkflowConfiguration.subscribe(data => {
|
|
15797
15812
|
let workflowFormConfiguration = this.getFormWorfklowPresentationSetting();
|
|
15798
|
-
console.log("FormWorfklowSetting => ", workflowFormConfiguration);
|
|
15799
15813
|
this.hide(workflowFormConfiguration);
|
|
15800
15814
|
});
|
|
15801
15815
|
this.form.onStatusChange.subscribe((newValue) => {
|
|
@@ -16225,7 +16239,7 @@ class TsiFormComponentBaseComponent extends AppBaseComponent {
|
|
|
16225
16239
|
this.editableGridComponents.forEach((e) => e.updateFormState(formState));
|
|
16226
16240
|
}
|
|
16227
16241
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiFormComponentBaseComponent, deps: [{ token: i1$3.DynamicDialogRef }, { token: i1$3.DynamicDialogConfig }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16228
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiFormComponentBaseComponent, selector: "app-tsi-form-base", inputs: { itemDialog: "itemDialog", mode: "mode", id: "id", isloading: "isloading", header: "header", saving: "saving", item: "item", status: "status" }, outputs: { onSave: "onSave" }, viewQueries: [{ propertyName: "form", first: true, predicate: TsiFormComponent, descendants: true }, { propertyName: "modalFooter", first: true, predicate: TsiModalFooterComponent, descendants: true }, { propertyName: "checkbox", predicate: TsiCheckboxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<p>tsi-form-base works!</p>\r\n", styles: [".new-block{margin-bottom:20px;border:1px solid #ccc;padding:10px}.flex{display:flex;align-items:center;margin-bottom:5px}.flex input[type=checkbox]{margin-right:10px}\n"] }); }
|
|
16242
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiFormComponentBaseComponent, selector: "app-tsi-form-base", inputs: { itemDialog: "itemDialog", mode: "mode", id: "id", isloading: "isloading", header: "header", saving: "saving", item: "item", status: "status", allowedStatus: "allowedStatus" }, outputs: { onSave: "onSave" }, viewQueries: [{ propertyName: "form", first: true, predicate: TsiFormComponent, descendants: true }, { propertyName: "modalFooter", first: true, predicate: TsiModalFooterComponent, descendants: true }, { propertyName: "checkbox", predicate: TsiCheckboxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<p>tsi-form-base works!</p>\r\n", styles: [".new-block{margin-bottom:20px;border:1px solid #ccc;padding:10px}.flex{display:flex;align-items:center;margin-bottom:5px}.flex input[type=checkbox]{margin-right:10px}\n"] }); }
|
|
16229
16243
|
}
|
|
16230
16244
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiFormComponentBaseComponent, decorators: [{
|
|
16231
16245
|
type: Component,
|
|
@@ -16255,6 +16269,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
16255
16269
|
type: Input
|
|
16256
16270
|
}], status: [{
|
|
16257
16271
|
type: Input
|
|
16272
|
+
}], allowedStatus: [{
|
|
16273
|
+
type: Input
|
|
16258
16274
|
}], onSave: [{
|
|
16259
16275
|
type: Output
|
|
16260
16276
|
}] } });
|
|
@@ -16693,7 +16709,7 @@ class TsiActionErpListComponent extends TsiListBaseComponent {
|
|
|
16693
16709
|
this.setModalSize(ModalSizeEnum.Medium);
|
|
16694
16710
|
}
|
|
16695
16711
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiActionErpListComponent, deps: [{ token: IdentityManagerService }, { token: ActionErpService }, { token: i1$3.DynamicDialogConfig }, { token: i1$3.DynamicDialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16696
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiActionErpListComponent, selector: "lib-tsi-action-erp-list", providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<Tsi-Generic-Crud \r\n[cudComponent]=\"comp\" \r\n[header]=\"titleComponent\" \r\n[columns]=\"columns\" \r\n[crudService]=\"actionservice\"\r\n[modalSize]=\"modalSize\"\r\n[showUploadButton]=\"false\"\r\n[showNoteButton]=\"false\"\r\npresentationDesigner [id]=\"'lib-tsi-action-erp-list'\" \r\n[searchFields]=\"searchFields\" \r\n[modalData]=\"modalData\"\r\n[businessClass]=\"businessClass\"></Tsi-Generic-Crud>\r\n", styles: [""], dependencies: [{ kind: "component", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "
|
|
16712
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiActionErpListComponent, selector: "lib-tsi-action-erp-list", providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<Tsi-Generic-Crud \r\n[cudComponent]=\"comp\" \r\n[header]=\"titleComponent\" \r\n[columns]=\"columns\" \r\n[crudService]=\"actionservice\"\r\n[modalSize]=\"modalSize\"\r\n[showUploadButton]=\"false\"\r\n[showNoteButton]=\"false\"\r\npresentationDesigner [id]=\"'lib-tsi-action-erp-list'\" \r\n[searchFields]=\"searchFields\" \r\n[modalData]=\"modalData\"\r\n[businessClass]=\"businessClass\"></Tsi-Generic-Crud>\r\n", styles: [""], dependencies: [{ kind: "component", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "showDuplicateButton", "showFormButton", "showCalenderView", "showCardView", "showImportFromOutlookButton", "showKanbanView", "showKanbanViewOfWorkFlowEtat", "showSearchField", "searchFields", "calenderSchema", "showActionButton", "selectKeyOnly", "selectionMode", "selectedItems", "key", "id", "businessClass", "searchOnInit", "showGlobalSearch", "showExportButton", "showReporting"], outputs: ["selectedItemsChange", "searchFieldsValueChanged", "buttonColumnClicked", "onImportFromOutlookClicked"] }, { kind: "directive", type: PresentationDesignerDirective, selector: "[presentationDesigner]" }] }); }
|
|
16697
16713
|
}
|
|
16698
16714
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiActionErpListComponent, decorators: [{
|
|
16699
16715
|
type: Component,
|
|
@@ -19877,7 +19893,7 @@ class TsiUploadGridComponent extends TsiListBaseComponent {
|
|
|
19877
19893
|
this.table = "Fichier";
|
|
19878
19894
|
}
|
|
19879
19895
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiUploadGridComponent, deps: [{ token: FichierUploadService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19880
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiUploadGridComponent, selector: "app-tsi-upload-grid", providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<Tsi-Generic-Crud\r\n [cudComponent]=\"comp\"\r\n [header]=\"titleComponent\"\r\n [columns]=\"columns\"\r\n [crudService]=\"_fichierService\"\r\n [modalSize]=\"modalSize\"\r\n [showUploadButton]=\"false\"\r\n [showDownloadButton]=\"true\"\r\n >\r\n</Tsi-Generic-Crud>\r\n", styles: [""], dependencies: [{ kind: "component", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "
|
|
19896
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiUploadGridComponent, selector: "app-tsi-upload-grid", providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<Tsi-Generic-Crud\r\n [cudComponent]=\"comp\"\r\n [header]=\"titleComponent\"\r\n [columns]=\"columns\"\r\n [crudService]=\"_fichierService\"\r\n [modalSize]=\"modalSize\"\r\n [showUploadButton]=\"false\"\r\n [showDownloadButton]=\"true\"\r\n >\r\n</Tsi-Generic-Crud>\r\n", styles: [""], dependencies: [{ kind: "component", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "showDuplicateButton", "showFormButton", "showCalenderView", "showCardView", "showImportFromOutlookButton", "showKanbanView", "showKanbanViewOfWorkFlowEtat", "showSearchField", "searchFields", "calenderSchema", "showActionButton", "selectKeyOnly", "selectionMode", "selectedItems", "key", "id", "businessClass", "searchOnInit", "showGlobalSearch", "showExportButton", "showReporting"], outputs: ["selectedItemsChange", "searchFieldsValueChanged", "buttonColumnClicked", "onImportFromOutlookClicked"] }] }); }
|
|
19881
19897
|
}
|
|
19882
19898
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiUploadGridComponent, decorators: [{
|
|
19883
19899
|
type: Component,
|
|
@@ -20440,7 +20456,7 @@ class TsiNotesGridComponent extends TsiListBaseComponent {
|
|
|
20440
20456
|
this.titleComponent = 'shared_notes_note';
|
|
20441
20457
|
}
|
|
20442
20458
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiNotesGridComponent, deps: [{ token: NoteService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20443
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiNotesGridComponent, selector: "app-tsi-notes-grid", providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<Tsi-Generic-Crud [cudComponent]=\"comp\" [header]=\"titleComponent\" [columns]=\"columns\" [crudService]=\"notesService\"\r\n [modalSize]=\"modalSize\" [showUploadButton]=\"false\" [showNoteButton]=\"false\" presentationDesigner [id]=\"'app-tsi-notes-grid'\"\r\n></Tsi-Generic-Crud>", styles: [""], dependencies: [{ kind: "component", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "
|
|
20459
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiNotesGridComponent, selector: "app-tsi-notes-grid", providers: [...appProviders], usesInheritance: true, ngImport: i0, template: "<Tsi-Generic-Crud [cudComponent]=\"comp\" [header]=\"titleComponent\" [columns]=\"columns\" [crudService]=\"notesService\"\r\n [modalSize]=\"modalSize\" [showUploadButton]=\"false\" [showNoteButton]=\"false\" presentationDesigner [id]=\"'app-tsi-notes-grid'\"\r\n></Tsi-Generic-Crud>", styles: [""], dependencies: [{ kind: "component", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: ["entityInfo", "modalData", "columns", "gridConfiguration", "cudComponent", "crudService", "header", "modalSize", "descriminatorValue", "presentationSettings", "preventAddEvent", "formEndpoint", "formName", "isSearchButtonDisabled", "showHeaderFilters", "showEditButton", "showDeleteButton", "showAddButton", "showConsultButton", "showUploadButton", "showNoteButton", "showDownloadButton", "showInfoButton", "showDuplicateButton", "showFormButton", "showCalenderView", "showCardView", "showImportFromOutlookButton", "showKanbanView", "showKanbanViewOfWorkFlowEtat", "showSearchField", "searchFields", "calenderSchema", "showActionButton", "selectKeyOnly", "selectionMode", "selectedItems", "key", "id", "businessClass", "searchOnInit", "showGlobalSearch", "showExportButton", "showReporting"], outputs: ["selectedItemsChange", "searchFieldsValueChanged", "buttonColumnClicked", "onImportFromOutlookClicked"] }, { kind: "directive", type: PresentationDesignerDirective, selector: "[presentationDesigner]" }] }); }
|
|
20444
20460
|
}
|
|
20445
20461
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiNotesGridComponent, decorators: [{
|
|
20446
20462
|
type: Component,
|