@dative-gpi/foundation-shared-components 1.0.110 → 1.0.111

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.
@@ -821,6 +821,11 @@ export default defineComponent({
821
821
  required: false,
822
822
  default: true
823
823
  },
824
+ noSearch: {
825
+ type: Boolean,
826
+ required: false,
827
+ default: false
828
+ },
824
829
  singleSelect: {
825
830
  type: Boolean,
826
831
  required: false,
@@ -887,7 +892,7 @@ export default defineComponent({
887
892
  default: "12px"
888
893
  },
889
894
  },
890
- emits: ["update:modelValue", "update:headers", "update:showFilters", "update:filters", "update:mode", "update:sortBy", "update:rowsPerPage", "update:page", "update:include", "update:items", "click:row"],
895
+ emits: ["update:modelValue", "update:headers", "update:search", "update:showFilters", "update:filters", "update:mode", "update:sortBy", "update:rowsPerPage", "update:page", "update:include", "update:items", "click:row"],
891
896
  setup(props, { emit }) {
892
897
  const { handleRoutingEvent } = useRouting();
893
898
  const { isExtraSmall } = useBreakpoints();
@@ -1059,7 +1064,7 @@ export default defineComponent({
1059
1064
  return false;
1060
1065
  }
1061
1066
  }
1062
- if (innerSearchFormatted) {
1067
+ if (!props.noSearch && innerSearchFormatted) {
1063
1068
  return containsSearchTerm(item, innerSearchFormatted);
1064
1069
  }
1065
1070
  return true;
@@ -1508,6 +1513,7 @@ export default defineComponent({
1508
1513
 
1509
1514
  watch(innerSearch, () => {
1510
1515
  innerPage.value = 1;
1516
+ emit("update:search", innerSearch.value);
1511
1517
  });
1512
1518
 
1513
1519
  watch(innerShowFilters, () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "1.0.110",
4
+ "version": "1.0.111",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "1.0.110",
14
- "@dative-gpi/foundation-shared-services": "1.0.110"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.111",
14
+ "@dative-gpi/foundation-shared-services": "1.0.111"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -35,5 +35,5 @@
35
35
  "sass": "1.71.1",
36
36
  "sass-loader": "13.3.2"
37
37
  },
38
- "gitHead": "ce27d3542d6a82946127e9004d82ff2f401d7242"
38
+ "gitHead": "8a5582e544900743384c63aa9cf137b780e65ecc"
39
39
  }