From c382ac06ec83a3624e52af2de46358311fb8a196 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 20 Mar 2024 09:05:24 -0400 Subject: [PATCH] [ACS-7312] fix missing Search component exports, support projection (#9449) * allow content projection for filter chip list * fix missing export * add missing export * fix missing exports * fix missing exports, organize exports better * [ci:force] streamline search exports --- .../src/lib/search/components/index.ts | 43 +++++++++++++ .../components/search-check-list/index.ts | 18 ++++++ .../search-chip-autocomplete-input/index.ts | 18 ++++++ .../search-date-range-tabbed/index.ts | 22 +++++++ .../components/search-datetime-range/index.ts | 18 ++++++ .../components/search-facet-field/index.ts | 18 ++++++ .../search-filter-autocomplete-chips/index.ts | 18 ++++++ .../components/search-filter-chips/index.ts | 23 +++++++ .../search-filter-chips.component.html | 3 + .../search-filter-container/index.ts | 18 ++++++ .../components/search-filter-tabbed/index.ts | 19 ++++++ .../search/components/search-filter/index.ts | 19 ++++++ .../search/components/search-form/index.ts | 18 ++++++ .../components/search-logical-filter/index.ts | 18 ++++++ .../components/search-number-range/index.ts | 18 ++++++ .../search/components/search-panel/index.ts | 18 ++++++ .../components/search-properties/index.ts | 22 +++++++ .../search/components/search-radio/index.ts | 18 ++++++ .../search/components/search-slider/index.ts | 18 ++++++ .../components/search-sorting-picker/index.ts | 18 ++++++ .../search/components/search-text/index.ts | 18 ++++++ .../search-widget-container/index.ts | 18 ++++++ .../src/lib/search/forms/index.ts | 19 ++++++ .../src/lib/search/mocks/index.ts | 18 ++++++ .../src/lib/search/models/index.ts | 34 ++++++++++ .../src/lib/search/public-api.ts | 62 ++----------------- .../src/lib/search/search.module.ts | 1 + .../src/lib/search/services/index.ts | 24 +++++++ 28 files changed, 522 insertions(+), 57 deletions(-) create mode 100644 lib/content-services/src/lib/search/components/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-check-list/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-chip-autocomplete-input/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-date-range-tabbed/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-datetime-range/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-facet-field/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-filter-autocomplete-chips/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-filter-chips/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-filter-container/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-filter-tabbed/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-filter/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-form/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-logical-filter/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-number-range/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-panel/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-properties/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-radio/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-slider/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-sorting-picker/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-text/index.ts create mode 100644 lib/content-services/src/lib/search/components/search-widget-container/index.ts create mode 100644 lib/content-services/src/lib/search/forms/index.ts create mode 100644 lib/content-services/src/lib/search/mocks/index.ts create mode 100644 lib/content-services/src/lib/search/models/index.ts create mode 100644 lib/content-services/src/lib/search/services/index.ts diff --git a/lib/content-services/src/lib/search/components/index.ts b/lib/content-services/src/lib/search/components/index.ts new file mode 100644 index 0000000000..b38c8ab48c --- /dev/null +++ b/lib/content-services/src/lib/search/components/index.ts @@ -0,0 +1,43 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-check-list'; +export * from './search-chip-autocomplete-input'; +export * from './search-chip-list/search-chip-list.component'; +export * from './search-date-range-tabbed'; +export * from './search-datetime-range'; +export * from './search-facet-field'; +export * from './search-filter'; +export * from './search-filter-autocomplete-chips'; +export * from './search-filter-chips'; +export * from './search-filter-container'; +export * from './search-filter-tabbed'; +export * from './search-form'; +export * from './search-logical-filter'; +export * from './search-number-range'; +export * from './search-panel'; +export * from './search-properties'; +export * from './search-radio'; +export * from './search-slider'; +export * from './search-sorting-picker'; +export * from './search-text'; +export * from './search-widget-container'; + +export * from './empty-search-result.component'; +export * from './reset-search.directive'; +export * from './search-control.component'; +export * from './search.component'; diff --git a/lib/content-services/src/lib/search/components/search-check-list/index.ts b/lib/content-services/src/lib/search/components/search-check-list/index.ts new file mode 100644 index 0000000000..170590c20a --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-check-list/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-check-list.component'; diff --git a/lib/content-services/src/lib/search/components/search-chip-autocomplete-input/index.ts b/lib/content-services/src/lib/search/components/search-chip-autocomplete-input/index.ts new file mode 100644 index 0000000000..4cc3e473a1 --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-chip-autocomplete-input/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-chip-autocomplete-input.component'; diff --git a/lib/content-services/src/lib/search/components/search-date-range-tabbed/index.ts b/lib/content-services/src/lib/search/components/search-date-range-tabbed/index.ts new file mode 100644 index 0000000000..b8f97e9d9a --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-date-range-tabbed/index.ts @@ -0,0 +1,22 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-date-range/date-range-type'; +export * from './search-date-range/in-last-date-type'; +export * from './search-date-range/search-date-range'; +export * from './search-date-range/search-date-range.component'; +export * from './search-date-range-tabbed.component'; diff --git a/lib/content-services/src/lib/search/components/search-datetime-range/index.ts b/lib/content-services/src/lib/search/components/search-datetime-range/index.ts new file mode 100644 index 0000000000..1b457c986f --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-datetime-range/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-datetime-range.component'; diff --git a/lib/content-services/src/lib/search/components/search-facet-field/index.ts b/lib/content-services/src/lib/search/components/search-facet-field/index.ts new file mode 100644 index 0000000000..289cf873ac --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-facet-field/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-facet-field.component'; diff --git a/lib/content-services/src/lib/search/components/search-filter-autocomplete-chips/index.ts b/lib/content-services/src/lib/search/components/search-filter-autocomplete-chips/index.ts new file mode 100644 index 0000000000..fbe30bf7bf --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-filter-autocomplete-chips/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-filter-autocomplete-chips.component'; diff --git a/lib/content-services/src/lib/search/components/search-filter-chips/index.ts b/lib/content-services/src/lib/search/components/search-filter-chips/index.ts new file mode 100644 index 0000000000..19d733ef34 --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-filter-chips/index.ts @@ -0,0 +1,23 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-facet-chip/search-facet-chip.component'; +export * from './search-facet-chip-tabbed/search-facet-chip-tabbed.component'; +export * from './search-facet-chip-tabbed/search-facet-tabbed-content.component'; +export * from './search-filter-menu-card/search-filter-menu-card.component'; +export * from './search-widget-chip/search-widget-chip.component'; +export * from './search-filter-chips.component'; diff --git a/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-chips.component.html b/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-chips.component.html index baf944810e..e8abff838f 100644 --- a/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-chips.component.html +++ b/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-chips.component.html @@ -9,9 +9,12 @@ [attr.data-automation-id]="facetChipTabbedId" > + + + diff --git a/lib/content-services/src/lib/search/components/search-filter-container/index.ts b/lib/content-services/src/lib/search/components/search-filter-container/index.ts new file mode 100644 index 0000000000..b3b81d3cba --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-filter-container/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-filter-container.component'; diff --git a/lib/content-services/src/lib/search/components/search-filter-tabbed/index.ts b/lib/content-services/src/lib/search/components/search-filter-tabbed/index.ts new file mode 100644 index 0000000000..7c7eccb2de --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-filter-tabbed/index.ts @@ -0,0 +1,19 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-filter-tab.directive'; +export * from './search-filter-tabbed.component'; diff --git a/lib/content-services/src/lib/search/components/search-filter/index.ts b/lib/content-services/src/lib/search/components/search-filter/index.ts new file mode 100644 index 0000000000..76b5b007b0 --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-filter/index.ts @@ -0,0 +1,19 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-filter-card/search-filter-card.component'; +export * from './search-filter.component'; diff --git a/lib/content-services/src/lib/search/components/search-form/index.ts b/lib/content-services/src/lib/search/components/search-form/index.ts new file mode 100644 index 0000000000..ee5fc0908e --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-form/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-form.component'; diff --git a/lib/content-services/src/lib/search/components/search-logical-filter/index.ts b/lib/content-services/src/lib/search/components/search-logical-filter/index.ts new file mode 100644 index 0000000000..b05f77da05 --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-logical-filter/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-logical-filter.component'; diff --git a/lib/content-services/src/lib/search/components/search-number-range/index.ts b/lib/content-services/src/lib/search/components/search-number-range/index.ts new file mode 100644 index 0000000000..af0f1b5cdd --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-number-range/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-number-range.component'; diff --git a/lib/content-services/src/lib/search/components/search-panel/index.ts b/lib/content-services/src/lib/search/components/search-panel/index.ts new file mode 100644 index 0000000000..b1de1dbd90 --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-panel/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-panel.component'; diff --git a/lib/content-services/src/lib/search/components/search-properties/index.ts b/lib/content-services/src/lib/search/components/search-properties/index.ts new file mode 100644 index 0000000000..5ee1b02699 --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-properties/index.ts @@ -0,0 +1,22 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './file-size-condition'; +export * from './file-size-operator.enum'; +export * from './file-size-unit.enum'; +export * from './search-properties.component'; +export * from './search-properties'; diff --git a/lib/content-services/src/lib/search/components/search-radio/index.ts b/lib/content-services/src/lib/search/components/search-radio/index.ts new file mode 100644 index 0000000000..207530a04f --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-radio/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-radio.component'; diff --git a/lib/content-services/src/lib/search/components/search-slider/index.ts b/lib/content-services/src/lib/search/components/search-slider/index.ts new file mode 100644 index 0000000000..a81ab81650 --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-slider/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-slider.component'; diff --git a/lib/content-services/src/lib/search/components/search-sorting-picker/index.ts b/lib/content-services/src/lib/search/components/search-sorting-picker/index.ts new file mode 100644 index 0000000000..6c323950dd --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-sorting-picker/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-sorting-picker.component'; diff --git a/lib/content-services/src/lib/search/components/search-text/index.ts b/lib/content-services/src/lib/search/components/search-text/index.ts new file mode 100644 index 0000000000..5e59ec92b9 --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-text/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-text.component'; diff --git a/lib/content-services/src/lib/search/components/search-widget-container/index.ts b/lib/content-services/src/lib/search/components/search-widget-container/index.ts new file mode 100644 index 0000000000..462460a270 --- /dev/null +++ b/lib/content-services/src/lib/search/components/search-widget-container/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search-widget-container.component'; diff --git a/lib/content-services/src/lib/search/forms/index.ts b/lib/content-services/src/lib/search/forms/index.ts new file mode 100644 index 0000000000..949a09219f --- /dev/null +++ b/lib/content-services/src/lib/search/forms/index.ts @@ -0,0 +1,19 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './live-error-state-matcher'; +export * from './search-term-validator'; diff --git a/lib/content-services/src/lib/search/mocks/index.ts b/lib/content-services/src/lib/search/mocks/index.ts new file mode 100644 index 0000000000..4553f86b62 --- /dev/null +++ b/lib/content-services/src/lib/search/mocks/index.ts @@ -0,0 +1,18 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './search.service.mock'; diff --git a/lib/content-services/src/lib/search/models/index.ts b/lib/content-services/src/lib/search/models/index.ts new file mode 100644 index 0000000000..0b5e5dc211 --- /dev/null +++ b/lib/content-services/src/lib/search/models/index.ts @@ -0,0 +1,34 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './autocomplete-option.interface'; +export * from './facet-field-bucket.interface'; +export * from './facet-field.interface'; +export * from './facet-query.interface'; +export * from './facet-widget.interface'; +export * from './filter-query.interface'; +export * from './filter-search.interface'; +export * from './response-facet-query-list.model'; +export * from './search-category.interface'; +export * from './search-configuration.interface'; +export * from './search-filter-list.model'; +export * from './search-form.interface'; +export * from './search-range.interface'; +export * from './search-sorting-definition.interface'; +export * from './search-widget-settings.interface'; +export * from './search-widget.interface'; +export * from './tabbed-facet-field.interface'; diff --git a/lib/content-services/src/lib/search/public-api.ts b/lib/content-services/src/lib/search/public-api.ts index 08388cdd49..c38c51a549 100644 --- a/lib/content-services/src/lib/search/public-api.ts +++ b/lib/content-services/src/lib/search/public-api.ts @@ -15,63 +15,11 @@ * limitations under the License. */ -export * from './models/facet-field-bucket.interface'; -export * from './models/facet-field.interface'; -export * from './models/facet-query.interface'; -export * from './models/filter-query.interface'; -export * from './models/filter-search.interface'; -export * from './models/search-category.interface'; -export * from './models/search-widget-settings.interface'; -export * from './models/search-widget.interface'; -export * from './models/search-configuration.interface'; -export * from './services/search-query-builder.service'; -export * from './models/search-range.interface'; -export * from './models/search-form.interface'; -export * from './models/tabbed-facet-field.interface'; - +export * from './components'; +export * from './forms'; +export * from './mocks'; +export * from './models'; +export * from './services'; export * from './search-query-service.token'; export * from './search-configuration.token'; - -export * from './services/search-header-query-builder.service'; -export * from './services/search-facet-filters.service'; -export * from './services/search-filter.service'; -export * from './services/search.service'; -export * from './services/search-configuration.service'; -export * from './services/base-query-builder.service'; - -export * from './mocks/search.service.mock'; - -export * from './components/search.component'; -export * from './components/search-control.component'; -export * from './components/empty-search-result.component'; -export * from './components/search-control.component'; -export * from './components/search.component'; -export * from './components/search-panel/search-panel.component'; -export * from './components/search-check-list/search-check-list.component'; -export * from './components/search-chip-list/search-chip-list.component'; -export * from './components/search-filter/search-filter.component'; -export * from './components/search-filter/search-filter-card/search-filter-card.component'; -export * from './components/search-filter-container/search-filter-container.component'; -export * from './components/search-number-range/search-number-range.component'; -export * from './components/search-radio/search-radio.component'; -export * from './components/search-slider/search-slider.component'; -export * from './components/search-chip-list/search-chip-list.component'; -export * from './components/search-sorting-picker/search-sorting-picker.component'; -export * from './components/search-text/search-text.component'; -export * from './components/search-widget-container/search-widget-container.component'; -export * from './components/search-datetime-range/search-datetime-range.component'; -export * from './components/search-form/search-form.component'; -export * from './components/search-filter-chips/search-filter-chips.component'; -export * from './components/search-filter-chips/search-filter-menu-card/search-filter-menu-card.component'; -export * from './components/search-facet-field/search-facet-field.component'; -export * from './components/search-logical-filter/search-logical-filter.component'; -export * from './components/search-date-range-tabbed/search-date-range/search-date-range.component'; -export * from './components/search-date-range-tabbed/search-date-range-tabbed.component'; -export * from './components/search-filter-tabbed/search-filter-tabbed.component'; -export * from './components/reset-search.directive'; -export * from './components/search-chip-autocomplete-input/search-chip-autocomplete-input.component'; -export * from './components/search-filter-autocomplete-chips/search-filter-autocomplete-chips.component'; -export * from './components/search-filter-chips/search-facet-chip-tabbed/search-facet-chip-tabbed.component'; -export * from './components/search-filter-chips/search-facet-chip-tabbed/search-facet-tabbed-content.component'; - export * from './search.module'; diff --git a/lib/content-services/src/lib/search/search.module.ts b/lib/content-services/src/lib/search/search.module.ts index 57c6b17647..c8ca2c22a0 100644 --- a/lib/content-services/src/lib/search/search.module.ts +++ b/lib/content-services/src/lib/search/search.module.ts @@ -127,6 +127,7 @@ import { SearchFacetTabbedContentComponent } from './components/search-filter-ch SearchFilterChipsComponent, SearchFilterMenuCardComponent, SearchFacetFieldComponent, + SearchWidgetChipComponent, SearchLogicalFilterComponent, SearchFilterTabbedComponent, SearchDateRangeComponent, diff --git a/lib/content-services/src/lib/search/services/index.ts b/lib/content-services/src/lib/search/services/index.ts new file mode 100644 index 0000000000..deacfc6ebb --- /dev/null +++ b/lib/content-services/src/lib/search/services/index.ts @@ -0,0 +1,24 @@ +/*! + * @license + * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './base-query-builder.service'; +export * from './search-configuration.service'; +export * from './search-facet-filters.service'; +export * from './search-filter.service'; +export * from './search-header-query-builder.service'; +export * from './search-query-builder.service'; +export * from './search.service';