@winchsa/ui 0.1.57 → 0.1.59

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.
@@ -423,7 +423,7 @@ defineExpose({
423
423
  <p class="ma-0 app-font-size-13">
424
424
  {{ option.name }}
425
425
  </p>
426
- <span v-if="option?.[descriptionKey]" class="text-gray-600 app-font-size-13">({{ option?.[descriptionKey] }})</span>
426
+ <span v-if="option?.[descriptionKey]" class="text-gray-600 app-font-size-13">{{ option?.[descriptionKey] }}</span>
427
427
  </div>
428
428
  </template>
429
429
 
@@ -62,9 +62,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
62
62
  }>, {
63
63
  modelValue: string[];
64
64
  returnObject: boolean;
65
- url: string;
66
65
  headers: Header[];
67
66
  formFilters: FormFilter[];
67
+ url: string;
68
68
  queryParams: Record<string, string>;
69
69
  enableButtons: boolean;
70
70
  enableButtonsFilter: boolean;
@@ -62,9 +62,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
62
62
  }>, {
63
63
  modelValue: string[];
64
64
  returnObject: boolean;
65
- url: string;
66
65
  headers: Header[];
67
66
  formFilters: FormFilter[];
67
+ url: string;
68
68
  queryParams: Record<string, string>;
69
69
  enableButtons: boolean;
70
70
  enableButtonsFilter: boolean;
@@ -22,6 +22,11 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
22
22
  [x: string]: ((props: {
23
23
  item: any;
24
24
  }) => any) | undefined;
25
+ } & {
26
+ index?: (props: {
27
+ index: number;
28
+ item: T;
29
+ }) => any;
25
30
  };
26
31
  emit: {};
27
32
  }>) => import("vue").VNode & {
@@ -74,7 +74,9 @@ onUpdated(() => {
74
74
  <td :class="{
75
75
  'active-cell': !!item.winch_id && !!activeCell && item.winch_id === activeCell
76
76
  }">
77
- {{ index + 1 }}
77
+ <slot name="index" :index="index" :item="item">
78
+ {{ index + 1 }}
79
+ </slot>
78
80
  </td>
79
81
  <td
80
82
  v-for="header in headers"
@@ -22,6 +22,11 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
22
22
  [x: string]: ((props: {
23
23
  item: any;
24
24
  }) => any) | undefined;
25
+ } & {
26
+ index?: (props: {
27
+ index: number;
28
+ item: T;
29
+ }) => any;
25
30
  };
26
31
  emit: {};
27
32
  }>) => import("vue").VNode & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winchsa/ui",
3
- "version": "0.1.57",
3
+ "version": "0.1.59",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "publishConfig": {