@symphony-talent/component-library 4.24.0 → 4.26.0
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/lib/atoms/input-chips/input-chips.component.mjs +4 -3
- package/esm2020/lib/atoms/input-chips/input-chips.model.mjs +2 -1
- package/esm2020/lib/pages/feedback-request-page/feedback-request-page.component.mjs +3 -3
- package/esm2020/projects/component-library/lib/atoms/input-chips/input-chips.component.mjs +4 -3
- package/esm2020/projects/component-library/lib/atoms/input-chips/input-chips.model.mjs +2 -1
- package/esm2020/projects/component-library/lib/pages/feedback-request-page/feedback-request-page.component.mjs +3 -3
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +8 -4
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2015/symphony-talent-component-library.mjs +8 -4
- package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +8 -4
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library.mjs +8 -4
- package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
- package/lib/atoms/input-chips/input-chips.model.d.ts +1 -0
- package/lib/pages/feedback-request-page/feedback-request-page.component.d.ts +1 -1
- package/package.json +1 -1
- package/projects/component-library/lib/atoms/input-chips/input-chips.model.d.ts +1 -0
- package/projects/component-library/lib/pages/feedback-request-page/feedback-request-page.component.d.ts +1 -1
|
@@ -1438,6 +1438,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
1438
1438
|
}]
|
|
1439
1439
|
}] });
|
|
1440
1440
|
|
|
1441
|
+
class InputChipsModel {
|
|
1442
|
+
}
|
|
1443
|
+
const emailPattern = '/^((?!\.)(?!.*\.\.)[a-zA-Z0-9\-._+]*[^.])(@[a-zA-Z0-9]+)(\.[a-zA-Z0-9]+(\.[a-zA-Z0-9])?[^\_.\W])$/';
|
|
1444
|
+
|
|
1441
1445
|
class ChipComponent {
|
|
1442
1446
|
constructor() {
|
|
1443
1447
|
this.removeChip = new EventEmitter();
|
|
@@ -1517,7 +1521,7 @@ class InputChipsComponent {
|
|
|
1517
1521
|
validateEmail(form) {
|
|
1518
1522
|
let errorCount = form.get(this.controlErrorCount).value;
|
|
1519
1523
|
let control = this.form.controls[this.controlName];
|
|
1520
|
-
const REGEXP = new RegExp(
|
|
1524
|
+
const REGEXP = new RegExp(emailPattern);
|
|
1521
1525
|
for (let i = 0; i < control.value.length; i++) {
|
|
1522
1526
|
if (!REGEXP.test(control.value[i].value)) {
|
|
1523
1527
|
errorCount = errorCount + 1;
|
|
@@ -1556,7 +1560,7 @@ class EmailValidator {
|
|
|
1556
1560
|
static createValidator(form, controlErrorCount) {
|
|
1557
1561
|
return (control) => {
|
|
1558
1562
|
let errorCount = form.get(controlErrorCount).value;
|
|
1559
|
-
const REGEXP = new RegExp(
|
|
1563
|
+
const REGEXP = new RegExp(emailPattern);
|
|
1560
1564
|
for (let i = 0; i < control.value.length; i++) {
|
|
1561
1565
|
if (!REGEXP.test(control.value[i].value)) {
|
|
1562
1566
|
errorCount = errorCount + 1;
|
|
@@ -7325,10 +7329,10 @@ class FeedbackRequestListPageComponent {
|
|
|
7325
7329
|
}
|
|
7326
7330
|
}
|
|
7327
7331
|
FeedbackRequestListPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FeedbackRequestListPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7328
|
-
FeedbackRequestListPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: FeedbackRequestListPageComponent, selector: "symphony-feedback-request-list-page", inputs: { model: "model" }, outputs: { itemClicked: "itemClicked", folderSearchChange: "folderSearchChange", gridControlClicked: "gridControlClicked", gridActionClicked: "gridActionClicked", cellClick: "cellClick" }, viewQueries: [{ propertyName: "grid", first: true, predicate: ["sfxgrid"], descendants: true }], ngImport: i0, template: "<symphony-contact-list-template *ngIf=\"model\">\n <symphony-h3 sfx-header>Feedback Requests</symphony-h3>\n <symphony-filter-area sfx-filter-area>\n <symphony-h3 title>Search</symphony-h3>\n </symphony-filter-area>\n <symphony-action-bar-job-list\n sfx-actions\n [gridActionModel]=\"model.gridActionModel\"\n [gridControlsModel]=\"model.gridControlsModel\"\n (gridControlClick)=\"onGridControlClick($event)\"\n (gridActionClick)=\"onGridActionClick($event)\"\n [hasActionToggle]=\"model.hasActionToggle\"\n ></symphony-action-bar-job-list>\n <symphony-grid\n #sfxgrid\n sfx-grid\n [columnDefs]=\"model.grid.columnDefs\"\n [defaultColDef]=\"model.grid.defaultColumnDef\"\n [rowData]=\"model.grid.rowData\"\n [pageSize]=\"model.grid.pageSize\"\n [onGridReadyFunction]=\"model.grid.onGridReadyFunction\"\n [rowModelType]=\"model.grid.rowModelType\"\n rowSelectionMode=\"multiple\"\n [hasNoPaddingleft]=\"true\"\n [suppressRowClickSelection]=\"true\"\n (cellClick)=\"onCellClick($event)\"\n ></symphony-grid>\n</symphony-contact-list-template>\n", styles: [""], components: [{ type: ContactListTemplateComponent, selector: "symphony-contact-list-template" }, { type: H3Component, selector: "symphony-h3", inputs: ["text", "isSecondary"] }, { type: FilterAreaComponent, selector: "symphony-filter-area" }, { type: ActionBarJobListComponent, selector: "symphony-action-bar-job-list", inputs: ["gridActionModel", "gridControlsModel", "hasActionToggle"], outputs: ["gridControlClick", "gridActionClick"] }, { type: GridComponent, selector: "symphony-grid", inputs: ["columnDefs", "defaultColDef", "rowData", "onGridReadyFunction", "pageSize", "rowModelType", "suppressRowClickSelection", "rowSelectionMode", "hasNoPaddingleft"], outputs: ["sortChanged", "cellClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
7332
|
+
FeedbackRequestListPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: FeedbackRequestListPageComponent, selector: "symphony-feedback-request-list-page", inputs: { model: "model" }, outputs: { itemClicked: "itemClicked", folderSearchChange: "folderSearchChange", gridControlClicked: "gridControlClicked", gridActionClicked: "gridActionClicked", cellClick: "cellClick" }, viewQueries: [{ propertyName: "grid", first: true, predicate: ["sfxgrid"], descendants: true }], ngImport: i0, template: "<symphony-contact-list-template *ngIf=\"model\">\n <symphony-h3 sfx-header>Feedback Requests</symphony-h3>\n <symphony-filter-area sfx-filter-area>\n <symphony-h3 title>Search</symphony-h3>\n <ng-content ngProjectAs=\"[filter1]\" select=\"[filter1]\"></ng-content>\n <ng-content ngProjectAs=\"[filter2]\" select=\"[filter2]\"></ng-content>\n <ng-content ngProjectAs=\"[filter3]\" select=\"[filter3]\"></ng-content>\n <ng-content ngProjectAs=\"[filter4]\" select=\"[filter4]\"></ng-content>\n </symphony-filter-area>\n <symphony-action-bar-job-list\n sfx-actions\n [gridActionModel]=\"model.gridActionModel\"\n [gridControlsModel]=\"model.gridControlsModel\"\n (gridControlClick)=\"onGridControlClick($event)\"\n (gridActionClick)=\"onGridActionClick($event)\"\n [hasActionToggle]=\"model.hasActionToggle\"\n ></symphony-action-bar-job-list>\n <symphony-grid\n #sfxgrid\n sfx-grid\n [columnDefs]=\"model.grid.columnDefs\"\n [defaultColDef]=\"model.grid.defaultColumnDef\"\n [rowData]=\"model.grid.rowData\"\n [pageSize]=\"model.grid.pageSize\"\n [onGridReadyFunction]=\"model.grid.onGridReadyFunction\"\n [rowModelType]=\"model.grid.rowModelType\"\n rowSelectionMode=\"multiple\"\n [hasNoPaddingleft]=\"true\"\n [suppressRowClickSelection]=\"true\"\n (cellClick)=\"onCellClick($event)\"\n ></symphony-grid>\n</symphony-contact-list-template>\n", styles: [""], components: [{ type: ContactListTemplateComponent, selector: "symphony-contact-list-template" }, { type: H3Component, selector: "symphony-h3", inputs: ["text", "isSecondary"] }, { type: FilterAreaComponent, selector: "symphony-filter-area" }, { type: ActionBarJobListComponent, selector: "symphony-action-bar-job-list", inputs: ["gridActionModel", "gridControlsModel", "hasActionToggle"], outputs: ["gridControlClick", "gridActionClick"] }, { type: GridComponent, selector: "symphony-grid", inputs: ["columnDefs", "defaultColDef", "rowData", "onGridReadyFunction", "pageSize", "rowModelType", "suppressRowClickSelection", "rowSelectionMode", "hasNoPaddingleft"], outputs: ["sortChanged", "cellClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
7329
7333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FeedbackRequestListPageComponent, decorators: [{
|
|
7330
7334
|
type: Component,
|
|
7331
|
-
args: [{ selector: 'symphony-feedback-request-list-page', template: "<symphony-contact-list-template *ngIf=\"model\">\n <symphony-h3 sfx-header>Feedback Requests</symphony-h3>\n <symphony-filter-area sfx-filter-area>\n <symphony-h3 title>Search</symphony-h3>\n </symphony-filter-area>\n <symphony-action-bar-job-list\n sfx-actions\n [gridActionModel]=\"model.gridActionModel\"\n [gridControlsModel]=\"model.gridControlsModel\"\n (gridControlClick)=\"onGridControlClick($event)\"\n (gridActionClick)=\"onGridActionClick($event)\"\n [hasActionToggle]=\"model.hasActionToggle\"\n ></symphony-action-bar-job-list>\n <symphony-grid\n #sfxgrid\n sfx-grid\n [columnDefs]=\"model.grid.columnDefs\"\n [defaultColDef]=\"model.grid.defaultColumnDef\"\n [rowData]=\"model.grid.rowData\"\n [pageSize]=\"model.grid.pageSize\"\n [onGridReadyFunction]=\"model.grid.onGridReadyFunction\"\n [rowModelType]=\"model.grid.rowModelType\"\n rowSelectionMode=\"multiple\"\n [hasNoPaddingleft]=\"true\"\n [suppressRowClickSelection]=\"true\"\n (cellClick)=\"onCellClick($event)\"\n ></symphony-grid>\n</symphony-contact-list-template>\n", styles: [""] }]
|
|
7335
|
+
args: [{ selector: 'symphony-feedback-request-list-page', template: "<symphony-contact-list-template *ngIf=\"model\">\n <symphony-h3 sfx-header>Feedback Requests</symphony-h3>\n <symphony-filter-area sfx-filter-area>\n <symphony-h3 title>Search</symphony-h3>\n <ng-content ngProjectAs=\"[filter1]\" select=\"[filter1]\"></ng-content>\n <ng-content ngProjectAs=\"[filter2]\" select=\"[filter2]\"></ng-content>\n <ng-content ngProjectAs=\"[filter3]\" select=\"[filter3]\"></ng-content>\n <ng-content ngProjectAs=\"[filter4]\" select=\"[filter4]\"></ng-content>\n </symphony-filter-area>\n <symphony-action-bar-job-list\n sfx-actions\n [gridActionModel]=\"model.gridActionModel\"\n [gridControlsModel]=\"model.gridControlsModel\"\n (gridControlClick)=\"onGridControlClick($event)\"\n (gridActionClick)=\"onGridActionClick($event)\"\n [hasActionToggle]=\"model.hasActionToggle\"\n ></symphony-action-bar-job-list>\n <symphony-grid\n #sfxgrid\n sfx-grid\n [columnDefs]=\"model.grid.columnDefs\"\n [defaultColDef]=\"model.grid.defaultColumnDef\"\n [rowData]=\"model.grid.rowData\"\n [pageSize]=\"model.grid.pageSize\"\n [onGridReadyFunction]=\"model.grid.onGridReadyFunction\"\n [rowModelType]=\"model.grid.rowModelType\"\n rowSelectionMode=\"multiple\"\n [hasNoPaddingleft]=\"true\"\n [suppressRowClickSelection]=\"true\"\n (cellClick)=\"onCellClick($event)\"\n ></symphony-grid>\n</symphony-contact-list-template>\n", styles: [""] }]
|
|
7332
7336
|
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
7333
7337
|
type: Input
|
|
7334
7338
|
}], itemClicked: [{
|