From 3e1109b36a6168b6d560ccd79f523107660f459d Mon Sep 17 00:00:00 2001 From: Kelani Tolulope Date: Mon, 10 Jun 2024 12:18:20 +0100 Subject: [PATCH] Extend filter fields functionality with c-ace editor and autocomplete --- .../FeedSource/configs/Record.vue | 35 ++- .../CalendarConfigurator/FeedSource/index.vue | 13 +- .../PageBlocks/CommentConfigurator.vue | 21 +- .../components/PageBlocks/Configurator.vue | 49 +++- .../FeedSource/configs/Record.vue | 13 +- .../GeometryConfigurator/FeedSource/index.vue | 2 + .../PageBlocks/IFrameConfigurator.vue | 14 +- .../PageBlocks/MetricConfigurator/index.vue | 23 +- .../PageBlocks/ProgressConfigurator.vue | 42 +++- .../RecordList/Components/Prefilter.vue | 213 ++++++++++++++++++ .../PageBlocks/RecordListConfigurator.vue | 31 +-- .../RecordOrganizerConfigurator.vue | 18 +- .../PageBlocks/Shared/AutomationTab.vue | 2 + .../Shared/AutomationTabButtonEditor.vue | 23 +- .../src/components/PageBlocks/base.vue | 31 ++- client/web/compose/src/mixins/autocomplete.js | 81 +++++++ lib/eslint-lib/index.js | 1 + lib/js/src/compose/types/record.ts | 24 ++ lib/js/src/system/types/user.ts | 21 ++ lib/vue/package.json | 2 +- lib/vue/src/components/index.ts | 1 + lib/vue/src/components/input/CAceEditor.vue | 169 ++++++++++++-- .../src/components/input/CInputExpression.vue | 163 ++++++++++++++ lib/vue/src/components/input/index.ts | 1 + lib/vue/yarn.lock | 84 ++++--- 25 files changed, 973 insertions(+), 104 deletions(-) create mode 100644 client/web/compose/src/components/PageBlocks/RecordList/Components/Prefilter.vue create mode 100644 client/web/compose/src/mixins/autocomplete.js create mode 100644 lib/vue/src/components/input/CInputExpression.vue diff --git a/client/web/compose/src/components/PageBlocks/CalendarConfigurator/FeedSource/configs/Record.vue b/client/web/compose/src/components/PageBlocks/CalendarConfigurator/FeedSource/configs/Record.vue index 45c537a081..9658e4919e 100644 --- a/client/web/compose/src/components/PageBlocks/CalendarConfigurator/FeedSource/configs/Record.vue +++ b/client/web/compose/src/components/PageBlocks/CalendarConfigurator/FeedSource/configs/Record.vue @@ -95,9 +95,11 @@ :label="$t('calendar.recordFeed.prefilterLabel')" label-class="text-primary" > - @@ -142,7 +144,10 @@ +