@tekkare/auriga 0.2.116 → 0.2.117

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/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.2.116"
7
+ "version": "0.2.117"
8
8
  }
@@ -7,6 +7,7 @@
7
7
  :placeHolderValue="getPlaceHolder"
8
8
  class="table_input"
9
9
  @submitSearch="sendSearch"
10
+ :search-bar-id="tableId ? tableId : generateTableId"
10
11
  />
11
12
  <div :class="fullTableScroll ? 'full scroll_table' : 'full'">
12
13
  <div
@@ -389,7 +390,7 @@ export default defineComponent({
389
390
  },
390
391
  tableId: {
391
392
  type: String,
392
- default: "arg"
393
+ default: null
393
394
  },
394
395
  whiteLines: {
395
396
  type: Array,
@@ -780,6 +781,9 @@ export default defineComponent({
780
781
  savePageSize.value = props.pageSize;
781
782
  showToggle.value = props.toggleDisplay;
782
783
  }
784
+ const generateTableId = computed(() => {
785
+ return props.heads.join("_");
786
+ });
783
787
  return {
784
788
  sortCol,
785
789
  sortDir,
@@ -824,7 +828,8 @@ export default defineComponent({
824
828
  tableKey,
825
829
  alternateColor,
826
830
  cropKey,
827
- langData
831
+ langData,
832
+ generateTableId
828
833
  };
829
834
  }
830
835
  });
@@ -158,7 +158,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
158
158
  };
159
159
  tableId: {
160
160
  type: StringConstructor;
161
- default: string;
161
+ default: null;
162
162
  };
163
163
  whiteLines: {
164
164
  type: ArrayConstructor;
@@ -222,6 +222,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
222
222
  alternateColor: import("vue").ComputedRef<boolean>;
223
223
  cropKey: import("vue").Ref<number, number>;
224
224
  langData: import("vue").Ref<any, any>;
225
+ generateTableId: import("vue").ComputedRef<string>;
225
226
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeInputValue"[], "changeInputValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
226
227
  heads: {
227
228
  type: {
@@ -382,7 +383,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
382
383
  };
383
384
  tableId: {
384
385
  type: StringConstructor;
385
- default: string;
386
+ default: null;
386
387
  };
387
388
  whiteLines: {
388
389
  type: ArrayConstructor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.116",
3
+ "version": "0.2.117",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",