@webitel/ui-sdk 25.12.58 → 25.12.60

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.12.58",
3
+ "version": "25.12.60",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
@@ -1,17 +1,12 @@
1
1
  <template>
2
2
  <section class="table-wrapper table-page table-wrapper--tab-table">
3
- <header class="table-title">
4
- <h3 class="table-title__title">
5
- {{ t('objects.agentPdfs.pdfs', 2) }}
6
- </h3>
7
- <slot
8
- name="action-bar"
9
- :selected="selected"
10
- :load-data-list="loadDataList"
11
- :ask-delete-confirmation="askDeleteConfirmation"
12
- :handle-delete="handleDelete"
13
- />
14
- </header>
3
+ <slot
4
+ name="header"
5
+ :selected="selected"
6
+ :load-data-list="loadDataList"
7
+ :ask-delete-confirmation="askDeleteConfirmation"
8
+ :handle-delete="handleDelete"
9
+ />
15
10
 
16
11
  <delete-confirmation-popup
17
12
  :shown="isDeleteConfirmationPopup"
@@ -112,7 +107,6 @@ import {
112
107
  import { useTableEmpty } from '@webitel/ui-sdk/src/modules/TableComponentModule/composables/useTableEmpty';
113
108
  import { storeToRefs } from 'pinia';
114
109
  import { computed } from 'vue';
115
- import { useI18n } from 'vue-i18n';
116
110
 
117
111
  import PdfStatus from './pdf-status.vue';
118
112
  import PdfStatusPreview from './pdf-status-preview.vue';
@@ -131,8 +125,6 @@ const props = withDefaults(defineProps<Props>(), {
131
125
  onDeleteItem: undefined,
132
126
  });
133
127
 
134
- const { t } = useI18n();
135
-
136
128
  const tableStore = props.store;
137
129
 
138
130
  const {
@@ -37,7 +37,7 @@ const convertRelativeDatetimeToTimestamp = (
37
37
  case RelativeDatetimeValue.Today:
38
38
  return endOfToday().getTime();
39
39
  case RelativeDatetimeValue.ThisWeek:
40
- return endOfWeek(Date.now()).getTime();
40
+ return endOfWeek(Date.now(), { weekStartsOn: 1 }).getTime();
41
41
  case RelativeDatetimeValue.ThisMonth:
42
42
  return endOfMonth(Date.now()).getTime();
43
43
  default:
@@ -48,7 +48,7 @@ const convertRelativeDatetimeToTimestamp = (
48
48
  case RelativeDatetimeValue.Today:
49
49
  return startOfToday().getTime();
50
50
  case RelativeDatetimeValue.ThisWeek:
51
- return startOfWeek(Date.now()).getTime();
51
+ return startOfWeek(Date.now(), { weekStartsOn: 1 }).getTime();
52
52
  case RelativeDatetimeValue.ThisMonth:
53
53
  return startOfMonth(Date.now()).getTime();
54
54
  default:
@@ -12,7 +12,7 @@ declare var __VLS_1: {
12
12
  handleDelete: (items: []) => Promise<void>;
13
13
  };
14
14
  type __VLS_Slots = {} & {
15
- 'action-bar'?: (props: typeof __VLS_1) => any;
15
+ header?: (props: typeof __VLS_1) => any;
16
16
  };
17
17
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
18
18
  store: any;