@gravitee/ui-particles-angular 13.3.1-renovate-angular-59d2c98 → 13.4.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/esm2022/gio-asciidoctor/gio-asciidoctor.component.mjs +3 -3
- package/esm2022/gio-asciidoctor/gio-asciidoctor.module.mjs +4 -4
- package/esm2022/gio-asciidoctor/gio-asciidoctor.service.mjs +3 -3
- package/esm2022/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.component.mjs +3 -3
- package/esm2022/gio-el/gio-el-editor/gio-el-editor.component.mjs +3 -3
- package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component.mjs +3 -3
- package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component.mjs +3 -3
- package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component.mjs +3 -3
- package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component.mjs +3 -3
- package/esm2022/gio-el/models/ExpressionLanguageBuilder.mjs +8 -3
- package/esm2022/lib/gio-avatar/gio-avatar.component.mjs +3 -3
- package/esm2022/lib/gio-avatar/gio-avatar.module.mjs +4 -4
- package/esm2022/lib/gio-banner/gio-banner.component.mjs +21 -21
- package/esm2022/lib/gio-banner/gio-banner.module.mjs +4 -4
- package/esm2022/lib/gio-breadcrumb/gio-breadcrumb-item.directive.mjs +3 -3
- package/esm2022/lib/gio-breadcrumb/gio-breadcrumb.component.mjs +3 -3
- package/esm2022/lib/gio-breadcrumb/gio-breadcrumb.module.mjs +4 -4
- package/esm2022/lib/gio-card-empty-state/gio-card-empty-state.component.mjs +3 -3
- package/esm2022/lib/gio-card-empty-state/gio-card-empty-state.module.mjs +4 -4
- package/esm2022/lib/gio-clipboard/gio-clipboard-copy-icon.component.mjs +3 -3
- package/esm2022/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.mjs +3 -3
- package/esm2022/lib/gio-clipboard/gio-clipboard.base.component.mjs +3 -3
- package/esm2022/lib/gio-clipboard/gio-clipboard.module.mjs +4 -4
- package/esm2022/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.mjs +3 -3
- package/esm2022/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.module.mjs +4 -4
- package/esm2022/lib/gio-confirm-dialog/gio-confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/gio-confirm-dialog/gio-confirm-dialog.module.mjs +4 -4
- package/esm2022/lib/gio-form-cron/gio-form-cron-hint.component.mjs +3 -3
- package/esm2022/lib/gio-form-cron/gio-form-cron-label.component.mjs +3 -3
- package/esm2022/lib/gio-form-cron/gio-form-cron.component.mjs +3 -3
- package/esm2022/lib/gio-form-cron/gio-form-cron.module.mjs +4 -4
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.mjs +3 -3
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.mjs +3 -3
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.mjs +3 -3
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker.component.mjs +3 -3
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker.module.mjs +4 -4
- package/esm2022/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.mjs +3 -3
- package/esm2022/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.mjs +9 -9
- package/esm2022/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.module.mjs +4 -4
- package/esm2022/lib/gio-form-headers/gio-form-headers-label.component.mjs +3 -3
- package/esm2022/lib/gio-form-headers/gio-form-headers.component.mjs +3 -3
- package/esm2022/lib/gio-form-headers/gio-form-headers.module.mjs +4 -4
- package/esm2022/lib/gio-form-json-schema/gio-form-json-schema.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/gio-form-json-schema.module.mjs +4 -4
- package/esm2022/lib/gio-form-json-schema/gio-formly-json-schema.service.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/array-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/code-editor-type.component.mjs +4 -4
- package/esm2022/lib/gio-form-json-schema/type-component/cron-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/headers-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/multischema-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/null-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/object-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/toggle-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/wrappers/gio-password-eye.component.mjs +3 -3
- package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline-card-content/gio-form-selection-inline-card-content.component.mjs +9 -9
- package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline-card.component.mjs +3 -3
- package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline.component.mjs +3 -3
- package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline.module.mjs +4 -4
- package/esm2022/lib/gio-form-slide-toggle/gio-form-label.directive.mjs +9 -9
- package/esm2022/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.mjs +3 -3
- package/esm2022/lib/gio-form-slide-toggle/gio-form-slide-toggle.module.mjs +4 -4
- package/esm2022/lib/gio-form-tags-input/gio-form-tags-input.component.mjs +3 -3
- package/esm2022/lib/gio-form-tags-input/gio-form-tags-input.module.mjs +4 -4
- package/esm2022/lib/gio-icons/gio-icons.module.mjs +4 -4
- package/esm2022/lib/gio-license/gio-license-dialog/gio-license-dialog.component.mjs +3 -3
- package/esm2022/lib/gio-license/gio-license-dialog/gio-license-dialog.module.mjs +4 -4
- package/esm2022/lib/gio-license/gio-license.directive.mjs +3 -3
- package/esm2022/lib/gio-license/gio-license.module.mjs +4 -4
- package/esm2022/lib/gio-license/gio-license.service.mjs +3 -3
- package/esm2022/lib/gio-license/gio-license.testing.module.mjs +4 -4
- package/esm2022/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.mjs +3 -3
- package/esm2022/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.mjs +4 -4
- package/esm2022/lib/gio-loader/gio-loader.component.mjs +3 -3
- package/esm2022/lib/gio-loader/gio-loader.module.mjs +4 -4
- package/esm2022/lib/gio-mat-config/gio-mat-config.module.mjs +4 -4
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.mjs +3 -3
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +86 -10
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +4 -4
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.testing.component.mjs +3 -3
- package/esm2022/lib/gio-monaco-editor/services/gio-language-el.service.mjs +3 -3
- package/esm2022/lib/gio-monaco-editor/services/gio-language-json.service.mjs +3 -3
- package/esm2022/lib/gio-monaco-editor/services/gio-monaco-editor.service.mjs +3 -3
- package/esm2022/lib/gio-pipe/gio.pipe.module.mjs +4 -4
- package/esm2022/lib/gio-pipe/safe.pipe.mjs +3 -3
- package/esm2022/lib/gio-prismjs/gio-prismjs.service.mjs +3 -3
- package/esm2022/lib/gio-save-bar/gio-save-bar.component.mjs +3 -3
- package/esm2022/lib/gio-save-bar/gio-save-bar.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.service.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-menu/gio-menu.service.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-submenu/gio-submenu.component.mjs +6 -6
- package/esm2022/lib/oem-theme/gio-submenu/gio-submenu.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar.module.mjs +4 -4
- package/fesm2022/gravitee-ui-particles-angular-gio-asciidoctor.mjs +10 -10
- package/fesm2022/gravitee-ui-particles-angular-gio-el.mjs +25 -20
- package/fesm2022/gravitee-ui-particles-angular-gio-el.mjs.map +1 -1
- package/fesm2022/gravitee-ui-particles-angular.mjs +451 -375
- package/fesm2022/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-monaco-editor/gio-monaco-editor.component.d.ts +2 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gravitee-ui-particles-angular-gio-el.mjs","sources":["../../../projects/ui-particles-angular/gio-el/models/ConditionsModel.ts","../../../projects/ui-particles-angular/gio-el/models/ConditionGroup.ts","../../../projects/ui-particles-angular/gio-el/models/ExpressionLanguageBuilder.ts","../../../projects/ui-particles-angular/gio-el/models/Condition.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor.harness.ts","../../../projects/ui-particles-angular/gio-el/models/public-api.ts","../../../projects/ui-particles-angular/gio-el/public-api.ts","../../../projects/ui-particles-angular/gio-el/gravitee-ui-particles-angular-gio-el.ts"],"sourcesContent":["/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ConditionModel } from './ConditionModel';\n\nexport type ParentConditionModel = { field: string; label: string; conditions: (ParentConditionModel | ConditionModel)[] };\n\nexport type ConditionsModel = (ParentConditionModel | ConditionModel)[];\n\nexport const isConditionModel = (conditions: ParentConditionModel | ConditionModel): conditions is ConditionModel => {\n return 'field' in conditions && 'label' in conditions && 'type' in conditions;\n};\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Condition } from './Condition';\n\nexport class ConditionGroup {\n constructor(\n public condition: 'AND' | 'OR',\n public conditions: (Condition<'string' | 'number' | 'date' | 'boolean'> | ConditionGroup)[],\n ) {}\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ConditionGroup } from './ConditionGroup';\nimport { Operator } from './Operator';\nimport { Condition } from './Condition';\n\nexport class ExpressionLanguageBuilder {\n private static CONDITION_MAP = {\n OR: '||',\n AND: '&&',\n };\n private static OPERATOR_MAP: Record<Operator, (field: string, value: unknown) => string> = {\n EQUALS: (field, value) => `#${field} == ${value}`,\n NOT_EQUALS: (field, value) => `#${field} != ${value}`,\n LESS_THAN: (field, value) => `#${field} < ${value}`,\n LESS_THAN_OR_EQUALS: (field, value) => `#${field} <= ${value}`,\n GREATER_THAN: (field, value) => `#${field} > ${value}`,\n GREATER_THAN_OR_EQUALS: (field, value) => `#${field} >= ${value}`,\n CONTAINS: (field, value) => `#${field} matches \"${value}\"`,\n NOT_CONTAINS: (field, value) => `!#${field} matches \"${value}\"`,\n STARTS_WITH: (field, value) => `#${field} matches \"^${value}\"`,\n ENDS_WITH: (field, value) => `#${field} matches \"${value}$\"`,\n };\n\n private static buildConditionGroup(conditionGroup: ConditionGroup): string {\n let el = '';\n for (const condition of conditionGroup.conditions) {\n if (condition instanceof ConditionGroup) {\n el += '( ';\n el += ExpressionLanguageBuilder.buildConditionGroup(condition);\n el += ' )';\n } else {\n el += ExpressionLanguageBuilder.buildCondition(condition);\n }\n\n if (condition !== conditionGroup.conditions[conditionGroup.conditions.length - 1]) {\n el += ` ${ExpressionLanguageBuilder.CONDITION_MAP[conditionGroup.condition]} `;\n }\n }\n if (el === '') {\n return '';\n }\n return el;\n }\n\n private static buildCondition(condition: Condition<'string' | 'number' | 'date' | 'boolean'>): string {\n const operator = ExpressionLanguageBuilder.OPERATOR_MAP[condition.operator];\n return operator(condition.field, ExpressionLanguageBuilder.valueToString(condition.type, condition.value));\n }\n\n private static valueToString<T extends 'string' | 'number' | 'date' | 'boolean'>(type: T, value: unknown): string {\n if (!type) {\n return '';\n }\n\n switch (type) {\n case 'string':\n return `\"${value}\"`;\n case 'date':\n return `${(value as Date).getTime()}l`;\n default:\n return `${value}`;\n }\n }\n\n constructor(private conditionGroup: ConditionGroup) {}\n\n public build(): string {\n const el = ExpressionLanguageBuilder.buildConditionGroup(this.conditionGroup);\n\n return `{ ${el} }`;\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Operator } from './Operator';\n\ntype ConditionValue<T> = T extends 'string'\n ? string\n : T extends 'number'\n ? number\n : T extends 'date'\n ? Date\n : T extends 'boolean'\n ? boolean\n : never;\n\nexport class Condition<T extends 'string' | 'number' | 'date' | 'boolean'> {\n constructor(\n public field: string,\n public type: T,\n public operator: Operator,\n public value?: ConditionValue<T>,\n ) {}\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, DestroyRef, inject, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { isEmpty, toString } from 'lodash';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatInputModule } from '@angular/material/input';\nimport { CommonModule } from '@angular/common';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { Observable } from 'rxjs';\nimport { map, startWith } from 'rxjs/operators';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nimport { ConditionForm } from '../../gio-el-editor.component';\nimport { Operator } from '../../../models/Operator';\n\n@Component({\n selector: 'gio-el-editor-type-string',\n standalone: true,\n imports: [CommonModule, MatFormFieldModule, MatSelectModule, MatInputModule, ReactiveFormsModule, MatAutocompleteModule],\n templateUrl: './gio-el-editor-type-string.component.html',\n styleUrl: './gio-el-editor-type-string.component.scss',\n})\nexport class GioElEditorTypeStringComponent implements OnChanges {\n private readonly destroyRef = inject(DestroyRef);\n\n @Input({\n required: true,\n })\n public conditionFormGroup!: FormGroup<ConditionForm>;\n\n protected operators: { label: string; value: Operator }[] = [\n { label: 'Equals', value: 'EQUALS' },\n { label: 'Not equals', value: 'NOT_EQUALS' },\n ];\n\n protected filteredOptions$: Observable<string[]> = new Observable<string[]>();\n\n public ngOnChanges(changes: SimpleChanges) {\n if (changes.conditionFormGroup) {\n const field = this.conditionFormGroup.controls.field.value;\n if (isEmpty(field) || field?.type !== 'string') {\n throw new Error('String field is required!');\n }\n\n this.conditionFormGroup.addControl('operator', new FormControl(null));\n this.conditionFormGroup.addControl('value', new FormControl(null));\n\n const values = field.values;\n if (values && !isEmpty(values)) {\n this.filteredOptions$ = this.conditionFormGroup.get('value')!.valueChanges.pipe(\n takeUntilDestroyed(this.destroyRef),\n startWith(''),\n map(value => filterValues(values, toString(value) ?? '')),\n );\n }\n }\n }\n}\n\nconst filterValues = (values: string[], value: string) => {\n const filterValue = value.toLowerCase();\n return values.filter(option => option.toLowerCase().includes(filterValue));\n};\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n@if (conditionFormGroup) {\n <div [formGroup]=\"conditionFormGroup\" class=\"condition\">\n <mat-form-field>\n <mat-label>Operator</mat-label>\n\n <mat-select formControlName=\"operator\" placeholder=\"Select Operator\">\n @for (operator of operators; track operator.value) {\n <mat-option [value]=\"operator.value\">{{ operator.label }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n\n <mat-form-field>\n <mat-label>Value</mat-label>\n <input matInput formControlName=\"value\" placeholder=\"Value\" [matAutocomplete]=\"auto\" />\n\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\n @for (option of filteredOptions$ | async; track option) {\n <mat-option [value]=\"option\">{{ option }}</mat-option>\n }\n </mat-autocomplete>\n </mat-form-field>\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { isEmpty } from 'lodash';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { CommonModule } from '@angular/common';\nimport { MatSlideToggle } from '@angular/material/slide-toggle';\n\nimport { Operator } from '../../../models/Operator';\nimport { ConditionForm } from '../../gio-el-editor.component';\n\n@Component({\n selector: 'gio-el-editor-type-boolean',\n standalone: true,\n imports: [CommonModule, MatFormFieldModule, MatSelectModule, ReactiveFormsModule, MatSlideToggle],\n templateUrl: './gio-el-editor-type-boolean.component.html',\n styleUrl: './gio-el-editor-type-boolean.component.scss',\n})\nexport class GioElEditorTypeBooleanComponent implements OnChanges {\n @Input({\n required: true,\n })\n public conditionFormGroup!: FormGroup<ConditionForm>;\n\n protected operators: { label: string; value: Operator }[] = [\n { label: 'Equals', value: 'EQUALS' },\n { label: 'Not equals', value: 'NOT_EQUALS' },\n ];\n\n public ngOnChanges(changes: SimpleChanges) {\n if (changes.conditionFormGroup) {\n const field = this.conditionFormGroup.controls.field.value;\n if (isEmpty(field) || field?.type !== 'boolean') {\n throw new Error('Boolean field is required!');\n }\n\n this.conditionFormGroup.addControl('operator', new FormControl(null));\n this.conditionFormGroup.addControl('value', new FormControl(null));\n this.conditionFormGroup.get('value')?.setValue(true);\n }\n }\n}\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n@if (conditionFormGroup) {\n <div [formGroup]=\"conditionFormGroup\" class=\"condition\">\n <mat-form-field>\n <mat-label>Operator</mat-label>\n\n <mat-select formControlName=\"operator\" placeholder=\"Select Operator\">\n @for (operator of operators; track operator.value) {\n <mat-option [value]=\"operator.value\">{{ operator.label }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n\n <mat-slide-toggle class=\"toggle\" #valueToggle formControlName=\"value\">\n <mat-label>{{ valueToggle.checked ? 'True' : 'False' }}</mat-label>\n </mat-slide-toggle>\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { isEmpty } from 'lodash';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatInputModule } from '@angular/material/input';\nimport { CommonModule } from '@angular/common';\n\nimport { ConditionForm } from '../../gio-el-editor.component';\nimport { Operator } from '../../../models/Operator';\n\n@Component({\n selector: 'gio-el-editor-type-number',\n standalone: true,\n imports: [CommonModule, MatFormFieldModule, MatSelectModule, MatInputModule, ReactiveFormsModule],\n templateUrl: './gio-el-editor-type-number.component.html',\n styleUrl: './gio-el-editor-type-number.component.scss',\n})\nexport class GioElEditorTypeNumberComponent implements OnChanges {\n @Input({\n required: true,\n })\n public conditionFormGroup!: FormGroup<ConditionForm>;\n\n protected operators: { label: string; value: Operator }[] = [\n { label: 'Equals', value: 'EQUALS' },\n { label: 'Not equals', value: 'NOT_EQUALS' },\n { label: 'Less than', value: 'LESS_THAN' },\n { label: 'Less than or equals', value: 'LESS_THAN_OR_EQUALS' },\n { label: 'Greater than', value: 'GREATER_THAN' },\n { label: 'Greater than or equals', value: 'GREATER_THAN_OR_EQUALS' },\n ];\n\n protected min: number | null = null;\n protected max: number | null = null;\n\n public ngOnChanges(changes: SimpleChanges) {\n if (changes.conditionFormGroup) {\n const field = this.conditionFormGroup.controls.field.value;\n if (isEmpty(field) || field?.type !== 'number') {\n throw new Error('Number field is required!');\n }\n if (field.min) {\n this.min = field.min;\n }\n if (field.max) {\n this.max = field.max;\n }\n\n this.conditionFormGroup.addControl('operator', new FormControl(null));\n this.conditionFormGroup.addControl('value', new FormControl(true));\n }\n }\n}\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n@if (conditionFormGroup) {\n <div [formGroup]=\"conditionFormGroup\" class=\"condition\">\n <mat-form-field>\n <mat-label>Operator</mat-label>\n\n <mat-select formControlName=\"operator\" placeholder=\"Select Operator\">\n @for (operator of operators; track operator.value) {\n <mat-option [value]=\"operator.value\">{{ operator.label }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n\n <mat-form-field>\n <mat-label>Value</mat-label>\n <input matInput formControlName=\"value\" placeholder=\"Value\" type=\"number\" [min]=\"min\" [max]=\"max\" />\n <mat-error *ngIf=\"conditionFormGroup.get('value')?.hasError('min')\"> Value must be at least {{ min }} </mat-error>\n <mat-error *ngIf=\"conditionFormGroup.get('value')?.hasError('max')\"> Value must be at most {{ max }} </mat-error>\n </mat-form-field>\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, DestroyRef, inject, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { isDate, isEmpty } from 'lodash';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatInputModule } from '@angular/material/input';\nimport { CommonModule } from '@angular/common';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nimport { Operator } from '../../../models/Operator';\nimport { ConditionForm } from '../../gio-el-editor.component';\n\n@Component({\n selector: 'gio-el-editor-type-date',\n standalone: true,\n imports: [CommonModule, MatFormFieldModule, MatSelectModule, MatInputModule, ReactiveFormsModule, MatDatepickerModule],\n templateUrl: './gio-el-editor-type-date.component.html',\n styleUrl: './gio-el-editor-type-date.component.scss',\n})\nexport class GioElEditorTypeDateComponent implements OnChanges {\n private readonly destroyRef = inject(DestroyRef);\n @Input({\n required: true,\n })\n public conditionFormGroup!: FormGroup<ConditionForm>;\n\n protected operators: { label: string; value: Operator }[] = [\n { label: 'Equals', value: 'EQUALS' },\n { label: 'Not equals', value: 'NOT_EQUALS' },\n { label: 'Less than', value: 'LESS_THAN' },\n { label: 'Less than or equals', value: 'LESS_THAN_OR_EQUALS' },\n { label: 'Greater than', value: 'GREATER_THAN' },\n { label: 'Greater than or equals', value: 'GREATER_THAN_OR_EQUALS' },\n ];\n\n protected datepickerControl = new FormControl();\n\n public ngOnChanges(changes: SimpleChanges) {\n if (changes.conditionFormGroup) {\n const field = this.conditionFormGroup.controls.field.value;\n if (isEmpty(field) || field?.type !== 'date') {\n throw new Error('Date field is required!');\n }\n this.conditionFormGroup.addControl('operator', new FormControl(null));\n this.conditionFormGroup.addControl('value', new FormControl(true));\n\n this.datepickerControl.valueChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(value => {\n if (!isDate(value)) {\n return;\n }\n // Convert date to UTC ignoring timezone\n const dateUtc = Date.UTC(\n value.getFullYear(),\n value.getMonth(),\n value.getDate(),\n value.getHours(),\n value.getMinutes(),\n value.getSeconds(),\n );\n this.conditionFormGroup.controls.value.setValue(new Date(dateUtc));\n });\n }\n }\n}\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n@if (conditionFormGroup) {\n <div [formGroup]=\"conditionFormGroup\" class=\"condition\">\n <mat-form-field>\n <mat-label>Operator</mat-label>\n\n <mat-select formControlName=\"operator\" placeholder=\"Select Operator\">\n @for (operator of operators; track operator.value) {\n <mat-option [value]=\"operator.value\">{{ operator.label }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n\n <mat-form-field>\n <mat-label>Choose a date</mat-label>\n <input matInput [matDatepicker]=\"picker\" [formControl]=\"datepickerControl\" />\n <mat-hint>MM/DD/YYYY</mat-hint>\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\nimport { FormArray, FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { GioIconsModule } from '@gravitee/ui-particles-angular';\n\nimport { GioElEditorTypeBooleanComponent } from '../gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component';\nimport { GioElEditorTypeDateComponent } from '../gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component';\nimport { GioElEditorTypeNumberComponent } from '../gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component';\nimport { GioElEditorTypeStringComponent } from '../gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component';\nimport { ConditionModel } from '../../models/ConditionModel';\nimport { ConditionForm, ConditionGroupForm } from '../gio-el-editor.component';\n\n@Component({\n selector: 'gio-el-editor-condition-group',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatFormFieldModule,\n MatSelectModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatMenuModule,\n GioIconsModule,\n GioElEditorTypeBooleanComponent,\n GioElEditorTypeDateComponent,\n GioElEditorTypeStringComponent,\n GioElEditorTypeNumberComponent,\n ],\n templateUrl: './gio-el-editor-condition-group.component.html',\n styleUrl: './gio-el-editor-condition-group.component.scss',\n})\nexport class GioElEditorConditionGroupComponent {\n @Input({\n required: true,\n })\n public conditionGroupFormGroup!: FormGroup<ConditionGroupForm>;\n\n /**\n * Condition models to generate the fields for the conditions.\n */\n @Input({\n required: true,\n })\n public conditionModels: ConditionModel[] = [];\n\n /**\n * Level of the node in the tree. Useful for testing with Harness to limit the scope of the query.\n */\n @Input()\n @HostBinding('attr.node-lvl')\n public nodeLvl = 0;\n\n @Output()\n public remove = new EventEmitter<void>();\n\n protected addConditionGroup() {\n this.conditionGroupFormGroup.controls.conditions.push(newConditionGroupFormGroup(), { emitEvent: true });\n this.checkMultipleCondition();\n }\n\n protected addCondition() {\n this.conditionGroupFormGroup.controls.conditions.push(newConditionFormGroup());\n this.checkMultipleCondition();\n }\n\n protected removeCondition(conditionIndex: number) {\n this.conditionGroupFormGroup.controls.conditions.removeAt(conditionIndex);\n this.checkMultipleCondition();\n }\n\n protected removeConditionGroup() {\n this.remove.emit();\n this.checkMultipleCondition();\n }\n\n protected isConditionGroupForm(\n formGroup: FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>,\n ): formGroup is FormGroup<ConditionGroupForm> {\n return 'condition' in formGroup.controls && 'conditions' in formGroup.controls;\n }\n\n private checkMultipleCondition(): void {\n if (this.conditionGroupFormGroup.controls.conditions.length > 1) {\n this.conditionGroupFormGroup.controls.condition.enable();\n } else {\n this.conditionGroupFormGroup.controls.condition.disable();\n }\n }\n}\n\nconst newConditionGroupFormGroup = (): FormGroup<ConditionGroupForm> => {\n return new FormGroup<ConditionGroupForm>({\n condition: new FormControl({ value: 'AND', disabled: true }, { nonNullable: true, validators: Validators.required }),\n conditions: new FormArray<FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>>([]),\n });\n};\n\nconst newConditionFormGroup = (): FormGroup<ConditionForm> => {\n return new FormGroup<ConditionForm>({\n field: new FormControl(null),\n operator: new FormControl(null),\n value: new FormControl(null),\n });\n};\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div class=\"conditionGroup\" [formGroup]=\"conditionGroupFormGroup\">\n <div class=\"conditionGroup__header\">\n <div class=\"conditionGroup__header__conditionField\"></div>\n <mat-button-toggle-group\n class=\"gio-button-toggle-group\"\n name=\"condition\"\n aria-label=\"Condition\"\n formControlName=\"condition\"\n [hideSingleSelectionIndicator]=\"true\"\n >\n <mat-button-toggle class=\"mat-button-toggle-group\" value=\"AND\">AND</mat-button-toggle>\n <mat-button-toggle class=\"mat-button-toggle-group\" value=\"OR\">OR</mat-button-toggle>\n </mat-button-toggle-group>\n\n <div class=\"conditionGroup__header__addBtn\">\n <button mat-button [matMenuTriggerFor]=\"addBtn\">\n <mat-icon svgIcon=\"gio:plus\">Add</mat-icon>\n </button>\n <mat-menu #addBtn=\"matMenu\">\n <button mat-menu-item (click)=\"addConditionGroup()\">Add Group</button>\n <button mat-menu-item (click)=\"addCondition()\">Add Condition</button>\n </mat-menu>\n </div>\n\n @if (nodeLvl > 0) {\n <button class=\"conditionGroup__header__removeBtn\" mat-button aria-label=\"Remove Group\" (click)=\"removeConditionGroup()\">\n <mat-icon svgIcon=\"gio:cancel\"></mat-icon>\n </button>\n }\n </div>\n\n <div class=\"conditionGroup__conditions\">\n @for (condition of conditionGroupFormGroup.controls.conditions.controls; track conditionIndex; let conditionIndex = $index) {\n @if (isConditionGroupForm(condition)) {\n <gio-el-editor-condition-group\n class=\"conditionGroup__conditions__conditionGroup\"\n [conditionGroupFormGroup]=\"condition\"\n [conditionModels]=\"conditionModels\"\n [nodeLvl]=\"nodeLvl + 1\"\n (remove)=\"removeCondition(conditionIndex)\"\n ></gio-el-editor-condition-group>\n } @else {\n <div\n class=\"conditionGroup__conditions__condition\"\n [formGroup]=\"conditionGroupFormGroup.controls.conditions.at(conditionIndex)\"\n [attr.node-lvl]=\"nodeLvl\"\n >\n <mat-form-field class=\"conditionGroup__conditions__condition__field\">\n <mat-label>Field</mat-label>\n\n <mat-select formControlName=\"field\" placeholder=\"Select Field\">\n <mat-option *ngFor=\"let field of conditionModels\" [value]=\"field\">{{ field.label }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n @switch (condition.controls.field.value?.type) {\n @case ('string') {\n <gio-el-editor-type-string [conditionFormGroup]=\"condition\"></gio-el-editor-type-string>\n }\n @case ('boolean') {\n <gio-el-editor-type-boolean [conditionFormGroup]=\"condition\"></gio-el-editor-type-boolean>\n }\n @case ('number') {\n <gio-el-editor-type-number [conditionFormGroup]=\"condition\"></gio-el-editor-type-number>\n }\n @case ('date') {\n <gio-el-editor-type-date [conditionFormGroup]=\"condition\"></gio-el-editor-type-date>\n }\n }\n\n <button\n class=\"conditionGroup__conditions__condition__removeBtn\"\n mat-button\n aria-label=\"Remove Condition\"\n (click)=\"removeCondition(conditionIndex)\"\n >\n <mat-icon svgIcon=\"gio:cancel\"></mat-icon>\n </button>\n </div>\n }\n }\n </div>\n</div>\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ChangeDetectionStrategy, Component, DestroyRef, inject, Input, OnInit } from '@angular/core';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { FormArray, FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { CommonModule } from '@angular/common';\nimport { MatSelectModule } from '@angular/material/select';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { map } from 'rxjs/operators';\nimport { has, isEmpty, isNil } from 'lodash';\nimport { GioIconsModule } from '@gravitee/ui-particles-angular';\n\nimport { ConditionModel } from '../models/ConditionModel';\nimport { ConditionsModel, isConditionModel } from '../models/ConditionsModel';\nimport { ExpressionLanguageBuilder } from '../models/ExpressionLanguageBuilder';\nimport { ConditionGroup } from '../models/ConditionGroup';\nimport { Condition } from '../models/Condition';\nimport { Operator } from '../models/Operator';\n\nimport { GioElEditorTypeStringComponent } from './gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component';\nimport { GioElEditorTypeBooleanComponent } from './gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component';\nimport { GioElEditorTypeNumberComponent } from './gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component';\nimport { GioElEditorTypeDateComponent } from './gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component';\nimport { GioElEditorConditionGroupComponent } from './gio-el-editor-condition-group/gio-el-editor-condition-group.component';\n\nexport type ConditionForm = {\n field: FormControl<ConditionModel | null>;\n operator: FormControl<Operator | null>;\n value: FormControl<string | boolean | Date | number | null>;\n};\n\nexport type ConditionGroupForm = {\n condition: FormControl<'AND' | 'OR'>;\n conditions: FormArray<FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>>;\n};\n\n@Component({\n selector: 'gio-el-editor',\n standalone: true,\n imports: [\n CommonModule,\n MatButtonToggleModule,\n ReactiveFormsModule,\n MatButtonModule,\n GioIconsModule,\n MatMenuModule,\n MatFormFieldModule,\n MatInputModule,\n MatSelectModule,\n GioElEditorTypeStringComponent,\n GioElEditorTypeBooleanComponent,\n GioElEditorTypeNumberComponent,\n GioElEditorTypeDateComponent,\n GioElEditorConditionGroupComponent,\n ],\n templateUrl: './gio-el-editor.component.html',\n styleUrl: './gio-el-editor.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GioElEditorComponent implements OnInit {\n private readonly destroyRef = inject(DestroyRef);\n\n @Input({ required: true })\n public conditionsModel: ConditionsModel = [];\n\n protected conditionsGroupFormArray = new FormArray<FormGroup<ConditionGroupForm>>([]);\n protected conditionGroupFormGroup = newConditionGroupFormGroup();\n\n protected fields: ConditionModel[] = [];\n\n protected elOutput?: string;\n\n public ngOnInit() {\n for (const conditionModel of this.conditionsModel) {\n if (isConditionModel(conditionModel)) {\n // TOTO: Impl Deep Tree for conditions Limit to fist Node for fist impl\n this.fields.push(conditionModel);\n }\n }\n\n this.conditionGroupFormGroup.valueChanges\n .pipe(\n takeUntilDestroyed(this.destroyRef),\n map(() => this.conditionGroupFormGroup.getRawValue()),\n map(value => {\n type ConditionGroupValue = typeof value;\n type ConditionValue = Exclude<ConditionGroupValue['conditions'], undefined>[number];\n\n const toCondition = (\n conditionValue: ConditionValue,\n ): Condition<'string' | 'number' | 'date' | 'boolean'> | ConditionGroup | null => {\n if (isConditionGroupValue(conditionValue)) {\n return toConditionGroup(conditionValue as ConditionGroupValue);\n }\n if (\n !isConditionValue(conditionValue) ||\n isNil(conditionValue.field) ||\n isNil(conditionValue.operator) ||\n isNil(conditionValue.value)\n ) {\n return null;\n }\n return new Condition(conditionValue.field.field, conditionValue.field.type, conditionValue.operator, conditionValue.value);\n };\n\n const toConditionGroup = (conditionGroupValue: ConditionGroupValue): ConditionGroup | null => {\n const conditions: ConditionGroup['conditions'] = [];\n if (!conditionGroupValue.condition || !conditionGroupValue.conditions || isEmpty(conditionGroupValue.conditions)) {\n return null;\n }\n for (const conditionValue of conditionGroupValue.conditions) {\n const condition = toCondition(conditionValue);\n if (condition) {\n conditions.push(condition);\n }\n }\n if (isEmpty(conditions)) {\n return null;\n }\n\n return new ConditionGroup(conditionGroupValue.condition, conditions);\n };\n\n const conditionGroupValue = toConditionGroup(value);\n if (conditionGroupValue) {\n this.elOutput = new ExpressionLanguageBuilder(conditionGroupValue).build();\n }\n }),\n )\n .subscribe();\n }\n}\n\nconst newConditionGroupFormGroup = (): FormGroup<ConditionGroupForm> => {\n return new FormGroup<ConditionGroupForm>({\n condition: new FormControl({ value: 'AND', disabled: true }, { nonNullable: true, validators: Validators.required }),\n conditions: new FormArray<FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>>([]),\n });\n};\n\nconst isConditionGroupValue = (\n value: unknown,\n): value is {\n condition: 'AND' | 'OR';\n conditions: unknown[];\n} => {\n return !!value && has(value, 'condition') && has(value, 'conditions');\n};\n\nconst isConditionValue = (\n value: unknown,\n): value is {\n field: ConditionModel;\n operator: Operator;\n value: string | boolean | Date | number;\n} => {\n return !!value && has(value, 'field') && has(value, 'operator') && has(value, 'value');\n};\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<gio-el-editor-condition-group\n [conditionGroupFormGroup]=\"conditionGroupFormGroup\"\n [conditionModels]=\"fields\"\n></gio-el-editor-condition-group>\n\n@if (elOutput) {\n <div class=\"elOutput\">\n {{ elOutput }}\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ComponentHarness, parallel } from '@angular/cdk/testing';\nimport { MatSelectHarness } from '@angular/material/select/testing';\n\nexport abstract class GioElEditorTypeComponentHarness extends ComponentHarness {\n public getOperatorSelector = this.locatorFor(MatSelectHarness.with({ selector: '[formControlName=\"operator\"]' }));\n\n public async getAvailableOperators(): Promise<string[]> {\n const operatorSelector = await this.getOperatorSelector();\n await operatorSelector.open();\n const options = await operatorSelector.getOptions();\n return parallel(() => options.map(async option => await option.getText()));\n }\n\n public async selectOperator(operator: string): Promise<void> {\n const operatorSelector = await this.getOperatorSelector();\n await operatorSelector.clickOptions({ text: operator });\n }\n\n public async getOperatorValue(): Promise<string> {\n const operatorSelector = await this.getOperatorSelector();\n return operatorSelector.getValueText();\n }\n\n public abstract getValue(): Promise<string | boolean | number>;\n\n public abstract setValue(value: string | boolean | number | Date): Promise<void>;\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { MatSlideToggleHarness } from '@angular/material/slide-toggle/testing';\n\nimport { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';\n\nexport class GioElEditorTypeBooleanHarness extends GioElEditorTypeComponentHarness {\n public static hostSelector = 'gio-el-editor-type-boolean';\n\n public async getValue(): Promise<boolean> {\n const slideToggleHarness = await this.locatorFor(MatSlideToggleHarness)();\n return await slideToggleHarness.isChecked();\n }\n\n public async setValue(value: boolean): Promise<void> {\n const slideToggleHarness = await this.locatorFor(MatSlideToggleHarness)();\n if (value !== (await slideToggleHarness.isChecked())) {\n await slideToggleHarness.toggle();\n }\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { MatInputHarness } from '@angular/material/input/testing';\n\nimport { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';\n\nexport class GioElEditorTypeStringHarness extends GioElEditorTypeComponentHarness {\n public static hostSelector = 'gio-el-editor-type-string';\n\n public async getValue(): Promise<string> {\n const input = await this.locatorFor(MatInputHarness)();\n return await input.getValue();\n }\n\n public async setValue(value: string): Promise<void> {\n const input = await this.locatorFor(MatInputHarness)();\n await input.setValue(value);\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { MatInputHarness } from '@angular/material/input/testing';\n\nimport { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';\n\nexport class GioElEditorTypeNumberHarness extends GioElEditorTypeComponentHarness {\n public static hostSelector = 'gio-el-editor-type-number';\n\n public async getValue(): Promise<number> {\n const input = await this.locatorFor(MatInputHarness)();\n return Number(await input.getValue());\n }\n\n public async setValue(value: number): Promise<void> {\n const input = await this.locatorFor(MatInputHarness)();\n await input.setValue(value.toString());\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { MatDatepickerInputHarness } from '@angular/material/datepicker/testing';\n\nimport { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';\n\nexport class GioElEditorTypeDateHarness extends GioElEditorTypeComponentHarness {\n public static hostSelector = 'gio-el-editor-type-date';\n\n public async getValue(): Promise<string> {\n const datepickerInputHarness = await this.locatorFor(MatDatepickerInputHarness)();\n return await datepickerInputHarness.getValue();\n }\n\n public async setValue(value: Date): Promise<void> {\n const datepickerInputHarness = await this.locatorFor(MatDatepickerInputHarness)();\n await datepickerInputHarness.setValue(value.toISOString());\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { BaseHarnessFilters, ComponentHarness, HarnessPredicate, parallel } from '@angular/cdk/testing';\nimport { MatMenuHarness } from '@angular/material/menu/testing';\nimport { MatSelectHarness } from '@angular/material/select/testing';\nimport { MatButtonToggleGroupHarness } from '@angular/material/button-toggle/testing';\nimport { DivHarness } from '@gravitee/ui-particles-angular/testing';\n\nimport { GioElEditorTypeBooleanHarness } from '../gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.harness';\nimport { GioElEditorTypeStringHarness } from '../gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.harness';\nimport { GioElEditorTypeNumberHarness } from '../gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.harness';\nimport { GioElEditorTypeDateHarness } from '../gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.harness';\n\ntype ConditionGroupHarnessValues = {\n condition: 'AND' | 'OR';\n conditions: (ConditionGroupHarnessValues | ConditionHarnessValues)[];\n};\ntype ConditionHarnessValues = {\n field: string;\n operator?: string;\n value?: string | boolean | number;\n};\n\nexport class GioElEditorConditionGroupHarness extends ComponentHarness {\n public static hostSelector = 'gio-el-editor-condition-group';\n\n public static with(options: BaseHarnessFilters = {}): HarnessPredicate<GioElEditorConditionGroupHarness> {\n return new HarnessPredicate(GioElEditorConditionGroupHarness, options);\n }\n\n public getNodeLvl = () => this.host().then(host => host.getAttribute('node-lvl'));\n\n private getAddMenuButton = this.locatorFor(MatMenuHarness.with({ triggerText: /Add/ }));\n private getConditionButtonToggleGroup = this.locatorFor(MatButtonToggleGroupHarness.with({ selector: '[formControlName=\"condition\"]' }));\n private getConditionsHarness = async () => {\n const nodeLvl = await this.getNodeLvl();\n if (!nodeLvl) {\n throw new Error('Node level not found');\n }\n return this.locatorForAll(\n DivHarness.with({\n selector: `.conditionGroup__conditions__condition[node-lvl=\"${nodeLvl}\"]`,\n }),\n GioElEditorConditionGroupHarness.with({\n selector: `.conditionGroup__conditions__conditionGroup[node-lvl=\"${Number(nodeLvl) + 1}\"]`,\n }),\n )();\n };\n\n private getConditionHarness = async (index: number) => (await this.getConditionsHarness()).at(index);\n private getConditionTypeHarness = (divHarness: DivHarness) =>\n divHarness.childLocatorForOptional(\n GioElEditorTypeStringHarness,\n GioElEditorTypeBooleanHarness,\n GioElEditorTypeNumberHarness,\n GioElEditorTypeDateHarness,\n )();\n private getConditionField = (divHarness: DivHarness) =>\n divHarness.childLocatorFor(MatSelectHarness.with({ selector: '[formControlName=\"field\"]' }))();\n\n public async clickAddNewConditionButton(): Promise<void> {\n await (await this.getAddMenuButton()).clickItem({ text: /Add Condition/ });\n }\n\n public async clickAddNewGroupButton(): Promise<void> {\n await (await this.getAddMenuButton()).clickItem({ text: /Add Group/ });\n }\n\n public async getConditionValue(): Promise<'AND' | 'OR'> {\n const conditionButtonToggleGroup = await this.getConditionButtonToggleGroup();\n const selectedToggles = await conditionButtonToggleGroup.getToggles({ checked: true });\n if (selectedToggles.length !== 1) {\n throw new Error('No operator selected');\n }\n const andOrMap: Record<string, 'AND' | 'OR'> = {\n AND: 'AND',\n OR: 'OR',\n };\n\n return andOrMap[await selectedToggles[0].getText()];\n }\n\n public async selectConditionValue(operator: 'AND' | 'OR'): Promise<void> {\n const conditionButtonToggleGroup = await this.getConditionButtonToggleGroup();\n const toggles = await conditionButtonToggleGroup.getToggles({ text: operator });\n if (toggles.length !== 1) {\n throw new Error('No operator selected');\n }\n return toggles[0].check();\n }\n\n public async selectConditionField(index: number, field: string): Promise<void> {\n const conditionDiv = await this.getConditionHarness(index);\n if (!conditionDiv || !(conditionDiv instanceof DivHarness)) {\n throw new Error(`Condition with index ${index} not found`);\n }\n\n const fieldSelect = await this.getConditionField(conditionDiv);\n await fieldSelect.clickOptions({ text: field });\n }\n\n public async selectConditionOperator(index: number, operator: string): Promise<void> {\n const conditionDiv = await this.getConditionHarness(index);\n if (!conditionDiv || !(conditionDiv instanceof DivHarness)) {\n throw new Error(`Condition with index ${index} not found`);\n }\n\n const conditionType = await this.getConditionTypeHarness(conditionDiv);\n if (!conditionType) {\n throw new Error(`Condition type not found. Select field first`);\n }\n\n await conditionType.selectOperator(operator);\n }\n\n public async getConditionAvailableOperators(index: number): Promise<string[]> {\n const conditionDiv = await this.getConditionHarness(index);\n if (!conditionDiv || !(conditionDiv instanceof DivHarness)) {\n throw new Error(`Condition with index ${index} not found`);\n }\n\n const conditionType = await this.getConditionTypeHarness(conditionDiv);\n if (!conditionType) {\n throw new Error(`Condition type not found. Select field first`);\n }\n return conditionType.getAvailableOperators();\n }\n\n public async setConditionValue(index: number, value: string | boolean | number | Date): Promise<void> {\n const conditionDiv = await this.getConditionHarness(index);\n if (!conditionDiv || !(conditionDiv instanceof DivHarness)) {\n throw new Error(`Condition with index ${index} not found`);\n }\n\n const conditionType = await this.getConditionTypeHarness(conditionDiv);\n if (!conditionType) {\n throw new Error(`Condition type not found. Select field first`);\n }\n\n if (conditionType instanceof GioElEditorTypeStringHarness && typeof value === 'string') {\n await conditionType.setValue(value);\n } else if (conditionType instanceof GioElEditorTypeBooleanHarness && typeof value === 'boolean') {\n await conditionType.setValue(value);\n } else if (conditionType instanceof GioElEditorTypeNumberHarness && typeof value === 'number') {\n await conditionType.setValue(value);\n } else if (conditionType instanceof GioElEditorTypeDateHarness && value instanceof Date) {\n await conditionType.setValue(value);\n } else {\n throw new Error(`Invalid value for condition type`);\n }\n }\n\n public async getConditionGroup(index: number): Promise<GioElEditorConditionGroupHarness> {\n const conditionGroup = await this.getConditionHarness(index);\n\n if (!conditionGroup || !(conditionGroup instanceof GioElEditorConditionGroupHarness)) {\n throw new Error(`Condition group with index ${index} not found`);\n }\n return conditionGroup;\n }\n\n public async getConditions(): Promise<ConditionGroupHarnessValues> {\n const getConditionsDiv = await this.getConditionsHarness();\n\n const conditions = await parallel(() =>\n getConditionsDiv.map(async condition => {\n if (condition instanceof GioElEditorConditionGroupHarness) {\n return await condition.getConditions();\n }\n const conditionField = await this.getConditionField(condition);\n\n const conditionType = await this.getConditionTypeHarness(condition);\n return {\n field: await conditionField.getValueText(),\n operator: await conditionType?.getOperatorValue(),\n value: await conditionType?.getValue(),\n };\n }),\n );\n\n return {\n condition: await this.getConditionValue(),\n conditions,\n };\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ComponentHarness } from '@angular/cdk/testing';\n\nimport { GioElEditorConditionGroupHarness } from './gio-el-editor-condition-group/gio-el-editor-condition-group.harness';\n\nexport class GioElEditorHarness extends ComponentHarness {\n public static hostSelector = 'gio-el-editor';\n\n public getMainConditionGroup = this.locatorFor(GioElEditorConditionGroupHarness);\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './Condition';\nexport * from './ConditionModel';\nexport * from './ConditionsModel';\nexport * from './ExpressionLanguageBuilder';\nexport * from './Operator';\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport { GioElEditorComponent } from './gio-el-editor/gio-el-editor.component';\nexport { GioElEditorHarness } from './gio-el-editor/gio-el-editor.harness';\n\nexport * from './models/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i1","i3","i4","i6","newConditionGroupFormGroup","i5","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBa,MAAA,gBAAgB,GAAG,CAAC,UAAiD,KAAkC;IAClH,OAAO,OAAO,IAAI,UAAU,IAAI,OAAO,IAAI,UAAU,IAAI,MAAM,IAAI,UAAU,CAAC;AAChF;;MCNa,cAAc,CAAA;IACzB,WACS,CAAA,SAAuB,EACvB,UAAoF,EAAA;QADpF,IAAS,CAAA,SAAA,GAAT,SAAS,CAAc;QACvB,IAAU,CAAA,UAAA,GAAV,UAAU,CAA0E;KACzF;AACL;;ACtBD;;;;;;;;;;;;;;AAcG;MAKU,yBAAyB,CAAA;AACrB,IAAA,SAAA,IAAA,CAAA,aAAa,GAAG;AAC7B,QAAA,EAAE,EAAE,IAAI;AACR,QAAA,GAAG,EAAE,IAAI;KACV,CAAC,EAAA;AACa,IAAA,SAAA,IAAA,CAAA,YAAY,GAAgE;AACzF,QAAA,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAI,CAAA,EAAA,KAAK,CAAO,IAAA,EAAA,KAAK,CAAE,CAAA;AACjD,QAAA,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAI,CAAA,EAAA,KAAK,CAAO,IAAA,EAAA,KAAK,CAAE,CAAA;AACrD,QAAA,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAI,CAAA,EAAA,KAAK,CAAM,GAAA,EAAA,KAAK,CAAE,CAAA;AACnD,QAAA,mBAAmB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAI,CAAA,EAAA,KAAK,CAAO,IAAA,EAAA,KAAK,CAAE,CAAA;AAC9D,QAAA,YAAY,EA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AG,eAAH,CAAmB,EAAA;;;ACpB/C;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;;ACdH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"gravitee-ui-particles-angular-gio-el.mjs","sources":["../../../projects/ui-particles-angular/gio-el/models/ConditionsModel.ts","../../../projects/ui-particles-angular/gio-el/models/ConditionGroup.ts","../../../projects/ui-particles-angular/gio-el/models/ExpressionLanguageBuilder.ts","../../../projects/ui-particles-angular/gio-el/models/Condition.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor.component.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor.component.html","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.harness.ts","../../../projects/ui-particles-angular/gio-el/gio-el-editor/gio-el-editor.harness.ts","../../../projects/ui-particles-angular/gio-el/models/public-api.ts","../../../projects/ui-particles-angular/gio-el/public-api.ts","../../../projects/ui-particles-angular/gio-el/gravitee-ui-particles-angular-gio-el.ts"],"sourcesContent":["/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ConditionModel } from './ConditionModel';\n\nexport type ParentConditionModel = { field: string; label: string; conditions: (ParentConditionModel | ConditionModel)[] };\n\nexport type ConditionsModel = (ParentConditionModel | ConditionModel)[];\n\nexport const isConditionModel = (conditions: ParentConditionModel | ConditionModel): conditions is ConditionModel => {\n return 'field' in conditions && 'label' in conditions && 'type' in conditions;\n};\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Condition } from './Condition';\n\nexport class ConditionGroup {\n constructor(\n public condition: 'AND' | 'OR',\n public conditions: (Condition<'string' | 'number' | 'date' | 'boolean'> | ConditionGroup)[],\n ) {}\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ConditionGroup } from './ConditionGroup';\nimport { Operator } from './Operator';\nimport { Condition } from './Condition';\n\nexport class ExpressionLanguageBuilder {\n private static CONDITION_MAP = {\n OR: '||',\n AND: '&&',\n };\n private static OPERATOR_MAP: Record<Operator, (field: string, value: unknown) => string> = {\n EQUALS: (field, value) => `#${field} == ${value}`,\n NOT_EQUALS: (field, value) => `#${field} != ${value}`,\n LESS_THAN: (field, value) => `#${field} < ${value}`,\n LESS_THAN_OR_EQUALS: (field, value) => `#${field} <= ${value}`,\n GREATER_THAN: (field, value) => `#${field} > ${value}`,\n GREATER_THAN_OR_EQUALS: (field, value) => `#${field} >= ${value}`,\n CONTAINS: (field, value) => `#${field} matches \"${value}\"`,\n NOT_CONTAINS: (field, value) => `!#${field} matches \"${value}\"`,\n STARTS_WITH: (field, value) => `#${field} matches \"^${value}\"`,\n ENDS_WITH: (field, value) => `#${field} matches \"${value}$\"`,\n };\n\n private static buildConditionGroup(conditionGroup: ConditionGroup): string {\n let el = '';\n for (const condition of conditionGroup.conditions) {\n if (condition instanceof ConditionGroup) {\n const hasMultipleConditions = condition.conditions.length > 1;\n\n if (hasMultipleConditions) {\n el += '( ';\n }\n el += ExpressionLanguageBuilder.buildConditionGroup(condition);\n if (hasMultipleConditions) {\n el += ' )';\n }\n } else {\n el += ExpressionLanguageBuilder.buildCondition(condition);\n }\n\n if (condition !== conditionGroup.conditions[conditionGroup.conditions.length - 1]) {\n el += ` ${ExpressionLanguageBuilder.CONDITION_MAP[conditionGroup.condition]} `;\n }\n }\n if (el === '') {\n return '';\n }\n return el;\n }\n\n private static buildCondition(condition: Condition<'string' | 'number' | 'date' | 'boolean'>): string {\n const operator = ExpressionLanguageBuilder.OPERATOR_MAP[condition.operator];\n return operator(condition.field, ExpressionLanguageBuilder.valueToString(condition.type, condition.value));\n }\n\n private static valueToString<T extends 'string' | 'number' | 'date' | 'boolean'>(type: T, value: unknown): string {\n if (!type) {\n return '';\n }\n\n switch (type) {\n case 'string':\n return `\"${value}\"`;\n case 'date':\n return `${(value as Date).getTime()}l`;\n default:\n return `${value}`;\n }\n }\n\n constructor(private conditionGroup: ConditionGroup) {}\n\n public build(): string {\n const el = ExpressionLanguageBuilder.buildConditionGroup(this.conditionGroup);\n\n return `{ ${el} }`;\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Operator } from './Operator';\n\ntype ConditionValue<T> = T extends 'string'\n ? string\n : T extends 'number'\n ? number\n : T extends 'date'\n ? Date\n : T extends 'boolean'\n ? boolean\n : never;\n\nexport class Condition<T extends 'string' | 'number' | 'date' | 'boolean'> {\n constructor(\n public field: string,\n public type: T,\n public operator: Operator,\n public value?: ConditionValue<T>,\n ) {}\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, DestroyRef, inject, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { isEmpty, toString } from 'lodash';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatInputModule } from '@angular/material/input';\nimport { CommonModule } from '@angular/common';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { Observable } from 'rxjs';\nimport { map, startWith } from 'rxjs/operators';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nimport { ConditionForm } from '../../gio-el-editor.component';\nimport { Operator } from '../../../models/Operator';\n\n@Component({\n selector: 'gio-el-editor-type-string',\n standalone: true,\n imports: [CommonModule, MatFormFieldModule, MatSelectModule, MatInputModule, ReactiveFormsModule, MatAutocompleteModule],\n templateUrl: './gio-el-editor-type-string.component.html',\n styleUrl: './gio-el-editor-type-string.component.scss',\n})\nexport class GioElEditorTypeStringComponent implements OnChanges {\n private readonly destroyRef = inject(DestroyRef);\n\n @Input({\n required: true,\n })\n public conditionFormGroup!: FormGroup<ConditionForm>;\n\n protected operators: { label: string; value: Operator }[] = [\n { label: 'Equals', value: 'EQUALS' },\n { label: 'Not equals', value: 'NOT_EQUALS' },\n ];\n\n protected filteredOptions$: Observable<string[]> = new Observable<string[]>();\n\n public ngOnChanges(changes: SimpleChanges) {\n if (changes.conditionFormGroup) {\n const field = this.conditionFormGroup.controls.field.value;\n if (isEmpty(field) || field?.type !== 'string') {\n throw new Error('String field is required!');\n }\n\n this.conditionFormGroup.addControl('operator', new FormControl(null));\n this.conditionFormGroup.addControl('value', new FormControl(null));\n\n const values = field.values;\n if (values && !isEmpty(values)) {\n this.filteredOptions$ = this.conditionFormGroup.get('value')!.valueChanges.pipe(\n takeUntilDestroyed(this.destroyRef),\n startWith(''),\n map(value => filterValues(values, toString(value) ?? '')),\n );\n }\n }\n }\n}\n\nconst filterValues = (values: string[], value: string) => {\n const filterValue = value.toLowerCase();\n return values.filter(option => option.toLowerCase().includes(filterValue));\n};\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n@if (conditionFormGroup) {\n <div [formGroup]=\"conditionFormGroup\" class=\"condition\">\n <mat-form-field>\n <mat-label>Operator</mat-label>\n\n <mat-select formControlName=\"operator\" placeholder=\"Select Operator\">\n @for (operator of operators; track operator.value) {\n <mat-option [value]=\"operator.value\">{{ operator.label }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n\n <mat-form-field>\n <mat-label>Value</mat-label>\n <input matInput formControlName=\"value\" placeholder=\"Value\" [matAutocomplete]=\"auto\" />\n\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\n @for (option of filteredOptions$ | async; track option) {\n <mat-option [value]=\"option\">{{ option }}</mat-option>\n }\n </mat-autocomplete>\n </mat-form-field>\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { isEmpty } from 'lodash';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { CommonModule } from '@angular/common';\nimport { MatSlideToggle } from '@angular/material/slide-toggle';\n\nimport { Operator } from '../../../models/Operator';\nimport { ConditionForm } from '../../gio-el-editor.component';\n\n@Component({\n selector: 'gio-el-editor-type-boolean',\n standalone: true,\n imports: [CommonModule, MatFormFieldModule, MatSelectModule, ReactiveFormsModule, MatSlideToggle],\n templateUrl: './gio-el-editor-type-boolean.component.html',\n styleUrl: './gio-el-editor-type-boolean.component.scss',\n})\nexport class GioElEditorTypeBooleanComponent implements OnChanges {\n @Input({\n required: true,\n })\n public conditionFormGroup!: FormGroup<ConditionForm>;\n\n protected operators: { label: string; value: Operator }[] = [\n { label: 'Equals', value: 'EQUALS' },\n { label: 'Not equals', value: 'NOT_EQUALS' },\n ];\n\n public ngOnChanges(changes: SimpleChanges) {\n if (changes.conditionFormGroup) {\n const field = this.conditionFormGroup.controls.field.value;\n if (isEmpty(field) || field?.type !== 'boolean') {\n throw new Error('Boolean field is required!');\n }\n\n this.conditionFormGroup.addControl('operator', new FormControl(null));\n this.conditionFormGroup.addControl('value', new FormControl(null));\n this.conditionFormGroup.get('value')?.setValue(true);\n }\n }\n}\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n@if (conditionFormGroup) {\n <div [formGroup]=\"conditionFormGroup\" class=\"condition\">\n <mat-form-field>\n <mat-label>Operator</mat-label>\n\n <mat-select formControlName=\"operator\" placeholder=\"Select Operator\">\n @for (operator of operators; track operator.value) {\n <mat-option [value]=\"operator.value\">{{ operator.label }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n\n <mat-slide-toggle class=\"toggle\" #valueToggle formControlName=\"value\">\n <mat-label>{{ valueToggle.checked ? 'True' : 'False' }}</mat-label>\n </mat-slide-toggle>\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { isEmpty } from 'lodash';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatInputModule } from '@angular/material/input';\nimport { CommonModule } from '@angular/common';\n\nimport { ConditionForm } from '../../gio-el-editor.component';\nimport { Operator } from '../../../models/Operator';\n\n@Component({\n selector: 'gio-el-editor-type-number',\n standalone: true,\n imports: [CommonModule, MatFormFieldModule, MatSelectModule, MatInputModule, ReactiveFormsModule],\n templateUrl: './gio-el-editor-type-number.component.html',\n styleUrl: './gio-el-editor-type-number.component.scss',\n})\nexport class GioElEditorTypeNumberComponent implements OnChanges {\n @Input({\n required: true,\n })\n public conditionFormGroup!: FormGroup<ConditionForm>;\n\n protected operators: { label: string; value: Operator }[] = [\n { label: 'Equals', value: 'EQUALS' },\n { label: 'Not equals', value: 'NOT_EQUALS' },\n { label: 'Less than', value: 'LESS_THAN' },\n { label: 'Less than or equals', value: 'LESS_THAN_OR_EQUALS' },\n { label: 'Greater than', value: 'GREATER_THAN' },\n { label: 'Greater than or equals', value: 'GREATER_THAN_OR_EQUALS' },\n ];\n\n protected min: number | null = null;\n protected max: number | null = null;\n\n public ngOnChanges(changes: SimpleChanges) {\n if (changes.conditionFormGroup) {\n const field = this.conditionFormGroup.controls.field.value;\n if (isEmpty(field) || field?.type !== 'number') {\n throw new Error('Number field is required!');\n }\n if (field.min) {\n this.min = field.min;\n }\n if (field.max) {\n this.max = field.max;\n }\n\n this.conditionFormGroup.addControl('operator', new FormControl(null));\n this.conditionFormGroup.addControl('value', new FormControl(true));\n }\n }\n}\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n@if (conditionFormGroup) {\n <div [formGroup]=\"conditionFormGroup\" class=\"condition\">\n <mat-form-field>\n <mat-label>Operator</mat-label>\n\n <mat-select formControlName=\"operator\" placeholder=\"Select Operator\">\n @for (operator of operators; track operator.value) {\n <mat-option [value]=\"operator.value\">{{ operator.label }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n\n <mat-form-field>\n <mat-label>Value</mat-label>\n <input matInput formControlName=\"value\" placeholder=\"Value\" type=\"number\" [min]=\"min\" [max]=\"max\" />\n <mat-error *ngIf=\"conditionFormGroup.get('value')?.hasError('min')\"> Value must be at least {{ min }} </mat-error>\n <mat-error *ngIf=\"conditionFormGroup.get('value')?.hasError('max')\"> Value must be at most {{ max }} </mat-error>\n </mat-form-field>\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, DestroyRef, inject, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { isDate, isEmpty } from 'lodash';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatInputModule } from '@angular/material/input';\nimport { CommonModule } from '@angular/common';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nimport { Operator } from '../../../models/Operator';\nimport { ConditionForm } from '../../gio-el-editor.component';\n\n@Component({\n selector: 'gio-el-editor-type-date',\n standalone: true,\n imports: [CommonModule, MatFormFieldModule, MatSelectModule, MatInputModule, ReactiveFormsModule, MatDatepickerModule],\n templateUrl: './gio-el-editor-type-date.component.html',\n styleUrl: './gio-el-editor-type-date.component.scss',\n})\nexport class GioElEditorTypeDateComponent implements OnChanges {\n private readonly destroyRef = inject(DestroyRef);\n @Input({\n required: true,\n })\n public conditionFormGroup!: FormGroup<ConditionForm>;\n\n protected operators: { label: string; value: Operator }[] = [\n { label: 'Equals', value: 'EQUALS' },\n { label: 'Not equals', value: 'NOT_EQUALS' },\n { label: 'Less than', value: 'LESS_THAN' },\n { label: 'Less than or equals', value: 'LESS_THAN_OR_EQUALS' },\n { label: 'Greater than', value: 'GREATER_THAN' },\n { label: 'Greater than or equals', value: 'GREATER_THAN_OR_EQUALS' },\n ];\n\n protected datepickerControl = new FormControl();\n\n public ngOnChanges(changes: SimpleChanges) {\n if (changes.conditionFormGroup) {\n const field = this.conditionFormGroup.controls.field.value;\n if (isEmpty(field) || field?.type !== 'date') {\n throw new Error('Date field is required!');\n }\n this.conditionFormGroup.addControl('operator', new FormControl(null));\n this.conditionFormGroup.addControl('value', new FormControl(true));\n\n this.datepickerControl.valueChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(value => {\n if (!isDate(value)) {\n return;\n }\n // Convert date to UTC ignoring timezone\n const dateUtc = Date.UTC(\n value.getFullYear(),\n value.getMonth(),\n value.getDate(),\n value.getHours(),\n value.getMinutes(),\n value.getSeconds(),\n );\n this.conditionFormGroup.controls.value.setValue(new Date(dateUtc));\n });\n }\n }\n}\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n@if (conditionFormGroup) {\n <div [formGroup]=\"conditionFormGroup\" class=\"condition\">\n <mat-form-field>\n <mat-label>Operator</mat-label>\n\n <mat-select formControlName=\"operator\" placeholder=\"Select Operator\">\n @for (operator of operators; track operator.value) {\n <mat-option [value]=\"operator.value\">{{ operator.label }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n\n <mat-form-field>\n <mat-label>Choose a date</mat-label>\n <input matInput [matDatepicker]=\"picker\" [formControl]=\"datepickerControl\" />\n <mat-hint>MM/DD/YYYY</mat-hint>\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\nimport { FormArray, FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { GioIconsModule } from '@gravitee/ui-particles-angular';\n\nimport { GioElEditorTypeBooleanComponent } from '../gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component';\nimport { GioElEditorTypeDateComponent } from '../gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component';\nimport { GioElEditorTypeNumberComponent } from '../gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component';\nimport { GioElEditorTypeStringComponent } from '../gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component';\nimport { ConditionModel } from '../../models/ConditionModel';\nimport { ConditionForm, ConditionGroupForm } from '../gio-el-editor.component';\n\n@Component({\n selector: 'gio-el-editor-condition-group',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatFormFieldModule,\n MatSelectModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatMenuModule,\n GioIconsModule,\n GioElEditorTypeBooleanComponent,\n GioElEditorTypeDateComponent,\n GioElEditorTypeStringComponent,\n GioElEditorTypeNumberComponent,\n ],\n templateUrl: './gio-el-editor-condition-group.component.html',\n styleUrl: './gio-el-editor-condition-group.component.scss',\n})\nexport class GioElEditorConditionGroupComponent {\n @Input({\n required: true,\n })\n public conditionGroupFormGroup!: FormGroup<ConditionGroupForm>;\n\n /**\n * Condition models to generate the fields for the conditions.\n */\n @Input({\n required: true,\n })\n public conditionModels: ConditionModel[] = [];\n\n /**\n * Level of the node in the tree. Useful for testing with Harness to limit the scope of the query.\n */\n @Input()\n @HostBinding('attr.node-lvl')\n public nodeLvl = 0;\n\n @Output()\n public remove = new EventEmitter<void>();\n\n protected addConditionGroup() {\n this.conditionGroupFormGroup.controls.conditions.push(newConditionGroupFormGroup(), { emitEvent: true });\n this.checkMultipleCondition();\n }\n\n protected addCondition() {\n this.conditionGroupFormGroup.controls.conditions.push(newConditionFormGroup());\n this.checkMultipleCondition();\n }\n\n protected removeCondition(conditionIndex: number) {\n this.conditionGroupFormGroup.controls.conditions.removeAt(conditionIndex);\n this.checkMultipleCondition();\n }\n\n protected removeConditionGroup() {\n this.remove.emit();\n this.checkMultipleCondition();\n }\n\n protected isConditionGroupForm(\n formGroup: FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>,\n ): formGroup is FormGroup<ConditionGroupForm> {\n return 'condition' in formGroup.controls && 'conditions' in formGroup.controls;\n }\n\n private checkMultipleCondition(): void {\n if (this.conditionGroupFormGroup.controls.conditions.length > 1) {\n this.conditionGroupFormGroup.controls.condition.enable();\n } else {\n this.conditionGroupFormGroup.controls.condition.disable();\n }\n }\n}\n\nconst newConditionGroupFormGroup = (): FormGroup<ConditionGroupForm> => {\n return new FormGroup<ConditionGroupForm>({\n condition: new FormControl({ value: 'AND', disabled: true }, { nonNullable: true, validators: Validators.required }),\n conditions: new FormArray<FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>>([]),\n });\n};\n\nconst newConditionFormGroup = (): FormGroup<ConditionForm> => {\n return new FormGroup<ConditionForm>({\n field: new FormControl(null),\n operator: new FormControl(null),\n value: new FormControl(null),\n });\n};\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div class=\"conditionGroup\" [formGroup]=\"conditionGroupFormGroup\">\n <div class=\"conditionGroup__header\">\n <div class=\"conditionGroup__header__conditionField\"></div>\n <mat-button-toggle-group\n class=\"gio-button-toggle-group\"\n name=\"condition\"\n aria-label=\"Condition\"\n formControlName=\"condition\"\n [hideSingleSelectionIndicator]=\"true\"\n >\n <mat-button-toggle class=\"mat-button-toggle-group\" value=\"AND\">AND</mat-button-toggle>\n <mat-button-toggle class=\"mat-button-toggle-group\" value=\"OR\">OR</mat-button-toggle>\n </mat-button-toggle-group>\n\n <div class=\"conditionGroup__header__addBtn\">\n <button mat-button [matMenuTriggerFor]=\"addBtn\">\n <mat-icon svgIcon=\"gio:plus\">Add</mat-icon>\n </button>\n <mat-menu #addBtn=\"matMenu\">\n <button mat-menu-item (click)=\"addConditionGroup()\">Add Group</button>\n <button mat-menu-item (click)=\"addCondition()\">Add Condition</button>\n </mat-menu>\n </div>\n\n @if (nodeLvl > 0) {\n <button class=\"conditionGroup__header__removeBtn\" mat-button aria-label=\"Remove Group\" (click)=\"removeConditionGroup()\">\n <mat-icon svgIcon=\"gio:cancel\"></mat-icon>\n </button>\n }\n </div>\n\n <div class=\"conditionGroup__conditions\">\n @for (condition of conditionGroupFormGroup.controls.conditions.controls; track conditionIndex; let conditionIndex = $index) {\n @if (isConditionGroupForm(condition)) {\n <gio-el-editor-condition-group\n class=\"conditionGroup__conditions__conditionGroup\"\n [conditionGroupFormGroup]=\"condition\"\n [conditionModels]=\"conditionModels\"\n [nodeLvl]=\"nodeLvl + 1\"\n (remove)=\"removeCondition(conditionIndex)\"\n ></gio-el-editor-condition-group>\n } @else {\n <div\n class=\"conditionGroup__conditions__condition\"\n [formGroup]=\"conditionGroupFormGroup.controls.conditions.at(conditionIndex)\"\n [attr.node-lvl]=\"nodeLvl\"\n >\n <mat-form-field class=\"conditionGroup__conditions__condition__field\">\n <mat-label>Field</mat-label>\n\n <mat-select formControlName=\"field\" placeholder=\"Select Field\">\n <mat-option *ngFor=\"let field of conditionModels\" [value]=\"field\">{{ field.label }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n @switch (condition.controls.field.value?.type) {\n @case ('string') {\n <gio-el-editor-type-string [conditionFormGroup]=\"condition\"></gio-el-editor-type-string>\n }\n @case ('boolean') {\n <gio-el-editor-type-boolean [conditionFormGroup]=\"condition\"></gio-el-editor-type-boolean>\n }\n @case ('number') {\n <gio-el-editor-type-number [conditionFormGroup]=\"condition\"></gio-el-editor-type-number>\n }\n @case ('date') {\n <gio-el-editor-type-date [conditionFormGroup]=\"condition\"></gio-el-editor-type-date>\n }\n }\n\n <button\n class=\"conditionGroup__conditions__condition__removeBtn\"\n mat-button\n aria-label=\"Remove Condition\"\n (click)=\"removeCondition(conditionIndex)\"\n >\n <mat-icon svgIcon=\"gio:cancel\"></mat-icon>\n </button>\n </div>\n }\n }\n </div>\n</div>\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ChangeDetectionStrategy, Component, DestroyRef, inject, Input, OnInit } from '@angular/core';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { FormArray, FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { CommonModule } from '@angular/common';\nimport { MatSelectModule } from '@angular/material/select';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { map } from 'rxjs/operators';\nimport { has, isEmpty, isNil } from 'lodash';\nimport { GioIconsModule } from '@gravitee/ui-particles-angular';\n\nimport { ConditionModel } from '../models/ConditionModel';\nimport { ConditionsModel, isConditionModel } from '../models/ConditionsModel';\nimport { ExpressionLanguageBuilder } from '../models/ExpressionLanguageBuilder';\nimport { ConditionGroup } from '../models/ConditionGroup';\nimport { Condition } from '../models/Condition';\nimport { Operator } from '../models/Operator';\n\nimport { GioElEditorTypeStringComponent } from './gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component';\nimport { GioElEditorTypeBooleanComponent } from './gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component';\nimport { GioElEditorTypeNumberComponent } from './gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component';\nimport { GioElEditorTypeDateComponent } from './gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component';\nimport { GioElEditorConditionGroupComponent } from './gio-el-editor-condition-group/gio-el-editor-condition-group.component';\n\nexport type ConditionForm = {\n field: FormControl<ConditionModel | null>;\n operator: FormControl<Operator | null>;\n value: FormControl<string | boolean | Date | number | null>;\n};\n\nexport type ConditionGroupForm = {\n condition: FormControl<'AND' | 'OR'>;\n conditions: FormArray<FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>>;\n};\n\n@Component({\n selector: 'gio-el-editor',\n standalone: true,\n imports: [\n CommonModule,\n MatButtonToggleModule,\n ReactiveFormsModule,\n MatButtonModule,\n GioIconsModule,\n MatMenuModule,\n MatFormFieldModule,\n MatInputModule,\n MatSelectModule,\n GioElEditorTypeStringComponent,\n GioElEditorTypeBooleanComponent,\n GioElEditorTypeNumberComponent,\n GioElEditorTypeDateComponent,\n GioElEditorConditionGroupComponent,\n ],\n templateUrl: './gio-el-editor.component.html',\n styleUrl: './gio-el-editor.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GioElEditorComponent implements OnInit {\n private readonly destroyRef = inject(DestroyRef);\n\n @Input({ required: true })\n public conditionsModel: ConditionsModel = [];\n\n protected conditionsGroupFormArray = new FormArray<FormGroup<ConditionGroupForm>>([]);\n protected conditionGroupFormGroup = newConditionGroupFormGroup();\n\n protected fields: ConditionModel[] = [];\n\n protected elOutput?: string;\n\n public ngOnInit() {\n for (const conditionModel of this.conditionsModel) {\n if (isConditionModel(conditionModel)) {\n // TOTO: Impl Deep Tree for conditions Limit to fist Node for fist impl\n this.fields.push(conditionModel);\n }\n }\n\n this.conditionGroupFormGroup.valueChanges\n .pipe(\n takeUntilDestroyed(this.destroyRef),\n map(() => this.conditionGroupFormGroup.getRawValue()),\n map(value => {\n type ConditionGroupValue = typeof value;\n type ConditionValue = Exclude<ConditionGroupValue['conditions'], undefined>[number];\n\n const toCondition = (\n conditionValue: ConditionValue,\n ): Condition<'string' | 'number' | 'date' | 'boolean'> | ConditionGroup | null => {\n if (isConditionGroupValue(conditionValue)) {\n return toConditionGroup(conditionValue as ConditionGroupValue);\n }\n if (\n !isConditionValue(conditionValue) ||\n isNil(conditionValue.field) ||\n isNil(conditionValue.operator) ||\n isNil(conditionValue.value)\n ) {\n return null;\n }\n return new Condition(conditionValue.field.field, conditionValue.field.type, conditionValue.operator, conditionValue.value);\n };\n\n const toConditionGroup = (conditionGroupValue: ConditionGroupValue): ConditionGroup | null => {\n const conditions: ConditionGroup['conditions'] = [];\n if (!conditionGroupValue.condition || !conditionGroupValue.conditions || isEmpty(conditionGroupValue.conditions)) {\n return null;\n }\n for (const conditionValue of conditionGroupValue.conditions) {\n const condition = toCondition(conditionValue);\n if (condition) {\n conditions.push(condition);\n }\n }\n if (isEmpty(conditions)) {\n return null;\n }\n\n return new ConditionGroup(conditionGroupValue.condition, conditions);\n };\n\n const conditionGroupValue = toConditionGroup(value);\n if (conditionGroupValue) {\n this.elOutput = new ExpressionLanguageBuilder(conditionGroupValue).build();\n }\n }),\n )\n .subscribe();\n }\n}\n\nconst newConditionGroupFormGroup = (): FormGroup<ConditionGroupForm> => {\n return new FormGroup<ConditionGroupForm>({\n condition: new FormControl({ value: 'AND', disabled: true }, { nonNullable: true, validators: Validators.required }),\n conditions: new FormArray<FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>>([]),\n });\n};\n\nconst isConditionGroupValue = (\n value: unknown,\n): value is {\n condition: 'AND' | 'OR';\n conditions: unknown[];\n} => {\n return !!value && has(value, 'condition') && has(value, 'conditions');\n};\n\nconst isConditionValue = (\n value: unknown,\n): value is {\n field: ConditionModel;\n operator: Operator;\n value: string | boolean | Date | number;\n} => {\n return !!value && has(value, 'field') && has(value, 'operator') && has(value, 'value');\n};\n","<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<gio-el-editor-condition-group\n [conditionGroupFormGroup]=\"conditionGroupFormGroup\"\n [conditionModels]=\"fields\"\n></gio-el-editor-condition-group>\n\n@if (elOutput) {\n <div class=\"elOutput\">\n {{ elOutput }}\n </div>\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ComponentHarness, parallel } from '@angular/cdk/testing';\nimport { MatSelectHarness } from '@angular/material/select/testing';\n\nexport abstract class GioElEditorTypeComponentHarness extends ComponentHarness {\n public getOperatorSelector = this.locatorFor(MatSelectHarness.with({ selector: '[formControlName=\"operator\"]' }));\n\n public async getAvailableOperators(): Promise<string[]> {\n const operatorSelector = await this.getOperatorSelector();\n await operatorSelector.open();\n const options = await operatorSelector.getOptions();\n return parallel(() => options.map(async option => await option.getText()));\n }\n\n public async selectOperator(operator: string): Promise<void> {\n const operatorSelector = await this.getOperatorSelector();\n await operatorSelector.clickOptions({ text: operator });\n }\n\n public async getOperatorValue(): Promise<string> {\n const operatorSelector = await this.getOperatorSelector();\n return operatorSelector.getValueText();\n }\n\n public abstract getValue(): Promise<string | boolean | number>;\n\n public abstract setValue(value: string | boolean | number | Date): Promise<void>;\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { MatSlideToggleHarness } from '@angular/material/slide-toggle/testing';\n\nimport { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';\n\nexport class GioElEditorTypeBooleanHarness extends GioElEditorTypeComponentHarness {\n public static hostSelector = 'gio-el-editor-type-boolean';\n\n public async getValue(): Promise<boolean> {\n const slideToggleHarness = await this.locatorFor(MatSlideToggleHarness)();\n return await slideToggleHarness.isChecked();\n }\n\n public async setValue(value: boolean): Promise<void> {\n const slideToggleHarness = await this.locatorFor(MatSlideToggleHarness)();\n if (value !== (await slideToggleHarness.isChecked())) {\n await slideToggleHarness.toggle();\n }\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { MatInputHarness } from '@angular/material/input/testing';\n\nimport { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';\n\nexport class GioElEditorTypeStringHarness extends GioElEditorTypeComponentHarness {\n public static hostSelector = 'gio-el-editor-type-string';\n\n public async getValue(): Promise<string> {\n const input = await this.locatorFor(MatInputHarness)();\n return await input.getValue();\n }\n\n public async setValue(value: string): Promise<void> {\n const input = await this.locatorFor(MatInputHarness)();\n await input.setValue(value);\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { MatInputHarness } from '@angular/material/input/testing';\n\nimport { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';\n\nexport class GioElEditorTypeNumberHarness extends GioElEditorTypeComponentHarness {\n public static hostSelector = 'gio-el-editor-type-number';\n\n public async getValue(): Promise<number> {\n const input = await this.locatorFor(MatInputHarness)();\n return Number(await input.getValue());\n }\n\n public async setValue(value: number): Promise<void> {\n const input = await this.locatorFor(MatInputHarness)();\n await input.setValue(value.toString());\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { MatDatepickerInputHarness } from '@angular/material/datepicker/testing';\n\nimport { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';\n\nexport class GioElEditorTypeDateHarness extends GioElEditorTypeComponentHarness {\n public static hostSelector = 'gio-el-editor-type-date';\n\n public async getValue(): Promise<string> {\n const datepickerInputHarness = await this.locatorFor(MatDatepickerInputHarness)();\n return await datepickerInputHarness.getValue();\n }\n\n public async setValue(value: Date): Promise<void> {\n const datepickerInputHarness = await this.locatorFor(MatDatepickerInputHarness)();\n await datepickerInputHarness.setValue(value.toISOString());\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { BaseHarnessFilters, ComponentHarness, HarnessPredicate, parallel } from '@angular/cdk/testing';\nimport { MatMenuHarness } from '@angular/material/menu/testing';\nimport { MatSelectHarness } from '@angular/material/select/testing';\nimport { MatButtonToggleGroupHarness } from '@angular/material/button-toggle/testing';\nimport { DivHarness } from '@gravitee/ui-particles-angular/testing';\n\nimport { GioElEditorTypeBooleanHarness } from '../gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.harness';\nimport { GioElEditorTypeStringHarness } from '../gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.harness';\nimport { GioElEditorTypeNumberHarness } from '../gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.harness';\nimport { GioElEditorTypeDateHarness } from '../gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.harness';\n\ntype ConditionGroupHarnessValues = {\n condition: 'AND' | 'OR';\n conditions: (ConditionGroupHarnessValues | ConditionHarnessValues)[];\n};\ntype ConditionHarnessValues = {\n field: string;\n operator?: string;\n value?: string | boolean | number;\n};\n\nexport class GioElEditorConditionGroupHarness extends ComponentHarness {\n public static hostSelector = 'gio-el-editor-condition-group';\n\n public static with(options: BaseHarnessFilters = {}): HarnessPredicate<GioElEditorConditionGroupHarness> {\n return new HarnessPredicate(GioElEditorConditionGroupHarness, options);\n }\n\n public getNodeLvl = () => this.host().then(host => host.getAttribute('node-lvl'));\n\n private getAddMenuButton = this.locatorFor(MatMenuHarness.with({ triggerText: /Add/ }));\n private getConditionButtonToggleGroup = this.locatorFor(MatButtonToggleGroupHarness.with({ selector: '[formControlName=\"condition\"]' }));\n private getConditionsHarness = async () => {\n const nodeLvl = await this.getNodeLvl();\n if (!nodeLvl) {\n throw new Error('Node level not found');\n }\n return this.locatorForAll(\n DivHarness.with({\n selector: `.conditionGroup__conditions__condition[node-lvl=\"${nodeLvl}\"]`,\n }),\n GioElEditorConditionGroupHarness.with({\n selector: `.conditionGroup__conditions__conditionGroup[node-lvl=\"${Number(nodeLvl) + 1}\"]`,\n }),\n )();\n };\n\n private getConditionHarness = async (index: number) => (await this.getConditionsHarness()).at(index);\n private getConditionTypeHarness = (divHarness: DivHarness) =>\n divHarness.childLocatorForOptional(\n GioElEditorTypeStringHarness,\n GioElEditorTypeBooleanHarness,\n GioElEditorTypeNumberHarness,\n GioElEditorTypeDateHarness,\n )();\n private getConditionField = (divHarness: DivHarness) =>\n divHarness.childLocatorFor(MatSelectHarness.with({ selector: '[formControlName=\"field\"]' }))();\n\n public async clickAddNewConditionButton(): Promise<void> {\n await (await this.getAddMenuButton()).clickItem({ text: /Add Condition/ });\n }\n\n public async clickAddNewGroupButton(): Promise<void> {\n await (await this.getAddMenuButton()).clickItem({ text: /Add Group/ });\n }\n\n public async getConditionValue(): Promise<'AND' | 'OR'> {\n const conditionButtonToggleGroup = await this.getConditionButtonToggleGroup();\n const selectedToggles = await conditionButtonToggleGroup.getToggles({ checked: true });\n if (selectedToggles.length !== 1) {\n throw new Error('No operator selected');\n }\n const andOrMap: Record<string, 'AND' | 'OR'> = {\n AND: 'AND',\n OR: 'OR',\n };\n\n return andOrMap[await selectedToggles[0].getText()];\n }\n\n public async selectConditionValue(operator: 'AND' | 'OR'): Promise<void> {\n const conditionButtonToggleGroup = await this.getConditionButtonToggleGroup();\n const toggles = await conditionButtonToggleGroup.getToggles({ text: operator });\n if (toggles.length !== 1) {\n throw new Error('No operator selected');\n }\n return toggles[0].check();\n }\n\n public async selectConditionField(index: number, field: string): Promise<void> {\n const conditionDiv = await this.getConditionHarness(index);\n if (!conditionDiv || !(conditionDiv instanceof DivHarness)) {\n throw new Error(`Condition with index ${index} not found`);\n }\n\n const fieldSelect = await this.getConditionField(conditionDiv);\n await fieldSelect.clickOptions({ text: field });\n }\n\n public async selectConditionOperator(index: number, operator: string): Promise<void> {\n const conditionDiv = await this.getConditionHarness(index);\n if (!conditionDiv || !(conditionDiv instanceof DivHarness)) {\n throw new Error(`Condition with index ${index} not found`);\n }\n\n const conditionType = await this.getConditionTypeHarness(conditionDiv);\n if (!conditionType) {\n throw new Error(`Condition type not found. Select field first`);\n }\n\n await conditionType.selectOperator(operator);\n }\n\n public async getConditionAvailableOperators(index: number): Promise<string[]> {\n const conditionDiv = await this.getConditionHarness(index);\n if (!conditionDiv || !(conditionDiv instanceof DivHarness)) {\n throw new Error(`Condition with index ${index} not found`);\n }\n\n const conditionType = await this.getConditionTypeHarness(conditionDiv);\n if (!conditionType) {\n throw new Error(`Condition type not found. Select field first`);\n }\n return conditionType.getAvailableOperators();\n }\n\n public async setConditionValue(index: number, value: string | boolean | number | Date): Promise<void> {\n const conditionDiv = await this.getConditionHarness(index);\n if (!conditionDiv || !(conditionDiv instanceof DivHarness)) {\n throw new Error(`Condition with index ${index} not found`);\n }\n\n const conditionType = await this.getConditionTypeHarness(conditionDiv);\n if (!conditionType) {\n throw new Error(`Condition type not found. Select field first`);\n }\n\n if (conditionType instanceof GioElEditorTypeStringHarness && typeof value === 'string') {\n await conditionType.setValue(value);\n } else if (conditionType instanceof GioElEditorTypeBooleanHarness && typeof value === 'boolean') {\n await conditionType.setValue(value);\n } else if (conditionType instanceof GioElEditorTypeNumberHarness && typeof value === 'number') {\n await conditionType.setValue(value);\n } else if (conditionType instanceof GioElEditorTypeDateHarness && value instanceof Date) {\n await conditionType.setValue(value);\n } else {\n throw new Error(`Invalid value for condition type`);\n }\n }\n\n public async getConditionGroup(index: number): Promise<GioElEditorConditionGroupHarness> {\n const conditionGroup = await this.getConditionHarness(index);\n\n if (!conditionGroup || !(conditionGroup instanceof GioElEditorConditionGroupHarness)) {\n throw new Error(`Condition group with index ${index} not found`);\n }\n return conditionGroup;\n }\n\n public async getConditions(): Promise<ConditionGroupHarnessValues> {\n const getConditionsDiv = await this.getConditionsHarness();\n\n const conditions = await parallel(() =>\n getConditionsDiv.map(async condition => {\n if (condition instanceof GioElEditorConditionGroupHarness) {\n return await condition.getConditions();\n }\n const conditionField = await this.getConditionField(condition);\n\n const conditionType = await this.getConditionTypeHarness(condition);\n return {\n field: await conditionField.getValueText(),\n operator: await conditionType?.getOperatorValue(),\n value: await conditionType?.getValue(),\n };\n }),\n );\n\n return {\n condition: await this.getConditionValue(),\n conditions,\n };\n }\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ComponentHarness } from '@angular/cdk/testing';\n\nimport { GioElEditorConditionGroupHarness } from './gio-el-editor-condition-group/gio-el-editor-condition-group.harness';\n\nexport class GioElEditorHarness extends ComponentHarness {\n public static hostSelector = 'gio-el-editor';\n\n public getMainConditionGroup = this.locatorFor(GioElEditorConditionGroupHarness);\n}\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './Condition';\nexport * from './ConditionModel';\nexport * from './ConditionsModel';\nexport * from './ExpressionLanguageBuilder';\nexport * from './Operator';\n","/*\n * Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport { GioElEditorComponent } from './gio-el-editor/gio-el-editor.component';\nexport { GioElEditorHarness } from './gio-el-editor/gio-el-editor.harness';\n\nexport * from './models/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i1","i3","i4","i6","newConditionGroupFormGroup","i5","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBa,MAAA,gBAAgB,GAAG,CAAC,UAAiD,KAAkC;IAClH,OAAO,OAAO,IAAI,UAAU,IAAI,OAAO,IAAI,UAAU,IAAI,MAAM,IAAI,UAAU,CAAC;AAChF;;MCNa,cAAc,CAAA;IACzB,WACS,CAAA,SAAuB,EACvB,UAAoF,EAAA;QADpF,IAAS,CAAA,SAAA,GAAT,SAAS,CAAc;QACvB,IAAU,CAAA,UAAA,GAAV,UAAU,CAA0E;KACzF;AACL;;ACtBD;;;;;;;;;;;;;;AAcG;MAKU,yBAAyB,CAAA;AACrB,IAAA,SAAA,IAAA,CAAA,aAAa,GAAG;AAC7B,QAAA,EAAE,EAAE,IAAI;AACR,QAAA,GAAG,EAAE,IAAI;KACV,CAAC,EAAA;AACa,IAAA,SAAA,IAAA,CAAA,YAAY,GAAgE;AACzF,QAAA,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAI,CAAA,EAAA,KAAK,CAAO,IAAA,EAAA,KAAK,CAAE,CAAA;AACjD,QAAA,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAI,CAAA,EAAA,KAAK,CAAO,IAAA,EAAA,KAAK,CAAE,CAAA;AACrD,QAAA,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAI,CAAA,EAAA,KAAK,CAAM,GAAA,EAAA,KAAK,CAAE,CAAA;AACnD,QAAA,mBAAmB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAI,CAAA,EAAA,KAAK,CAAO,IAAA,EAAA,KAAK,CAAE,CAAA;AAC9D,QAAA,YAAY,EAAE,CAAC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