@skyservice-developers/vue-dev-kit 2.10.1 → 2.12.0
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/README.md +292 -37
- package/dist/features/data-table/SkyDataTable.vue.d.ts +210 -0
- package/dist/features/data-table/SkyDataTableColumnToggle.vue.d.ts +36 -0
- package/dist/features/data-table/index.d.ts +2 -0
- package/dist/features/index.d.ts +2 -0
- package/dist/features/table/TableColumnSettings.vue.d.ts +31 -0
- package/dist/features/table/TableMassActions.vue.d.ts +56 -0
- package/dist/features/table/TableVirtualBody.vue.d.ts +65 -0
- package/dist/features/table/index.d.ts +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/shared/lib/table/index.d.ts +8 -0
- package/dist/shared/lib/table/tableFeatures.d.ts +110 -0
- package/dist/shared/lib/table/useColumnVisibility.d.ts +29 -0
- package/dist/shared/lib/table/useTableSelection.d.ts +34 -0
- package/dist/shared/lib/table/useTableSort.d.ts +28 -0
- package/dist/shared/ui/Dialog/Dialog.vue.d.ts +1 -4
- package/dist/shared/ui/DialogModal/DialogModal.vue.d.ts +3 -0
- package/dist/shared/ui/DialogNext/DialogNext.vue.d.ts +3 -0
- package/dist/shared/ui/Modal/Modal.vue.d.ts +3 -0
- package/dist/shared/ui/SkyDateRangePicker/SkyDateRangePicker.vue.d.ts +749 -0
- package/dist/shared/ui/SkyDateRangePicker/index.d.ts +1 -0
- package/dist/shared/ui/SkyTable/DynamicScroller.vue.d.ts +2 -2
- package/dist/shared/ui/SkyTable/Row.vue.d.ts +2 -2
- package/dist/shared/ui/SkyTable/items/itemDefault.vue.d.ts +2 -2
- package/dist/shared/ui/SkyTable/items/itemInput.vue.d.ts +1 -1
- package/dist/shared/ui/SkyTable/items/itemSelect.vue.d.ts +2 -2
- package/dist/shared/ui/SkyTable/items/itemTagEditor.vue.d.ts +2 -2
- package/dist/shared/ui/SkyTable/items/itemTags.vue.d.ts +1 -1
- package/dist/shared/ui/functional-calendar/components/Arrows.vue.d.ts +49 -0
- package/dist/shared/ui/functional-calendar/components/Day.vue.d.ts +81 -0
- package/dist/shared/ui/functional-calendar/components/Footer.vue.d.ts +2 -0
- package/dist/shared/ui/functional-calendar/components/FunctionalCalendar.vue.d.ts +554 -0
- package/dist/shared/ui/functional-calendar/components/MonthYearPicker.vue.d.ts +27 -0
- package/dist/shared/ui/functional-calendar/components/PickerInputs.vue.d.ts +41 -0
- package/dist/shared/ui/functional-calendar/components/TimePicker.vue.d.ts +23 -0
- package/dist/shared/ui/functional-calendar/components/WeekNumbers.vue.d.ts +22 -0
- package/dist/shared/ui/index.d.ts +3 -0
- package/dist/shared/ui/table/SkyTableBody.vue.d.ts +11 -0
- package/dist/shared/ui/table/SkyTableCell.vue.d.ts +45 -0
- package/dist/shared/ui/table/SkyTableEmpty.vue.d.ts +39 -0
- package/dist/shared/ui/table/SkyTableHead.vue.d.ts +34 -0
- package/dist/shared/ui/table/SkyTableHeader.vue.d.ts +40 -0
- package/dist/shared/ui/table/SkyTableRoot.vue.d.ts +50 -0
- package/dist/shared/ui/table/SkyTableRow.vue.d.ts +49 -0
- package/dist/shared/ui/table/index.d.ts +9 -0
- package/dist/shared/ui/table/types.d.ts +36 -0
- package/dist/style.css +1 -1
- package/dist/vue-dev-kit.cjs +14 -12
- package/dist/vue-dev-kit.js +11879 -8743
- package/package.json +11 -2
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { SortState, SortDirection } from '../../ui/table/types';
|
|
3
|
+
|
|
4
|
+
export interface UseTableSortOptions {
|
|
5
|
+
/** Початковий стан сортування. */
|
|
6
|
+
initial?: Partial<SortState>;
|
|
7
|
+
/**
|
|
8
|
+
* Чи проходити через стан «без сортування» на третьому кліку.
|
|
9
|
+
* За замовчуванням `false` — клік лише перемикає asc ⇄ desc, як у старій таблиці.
|
|
10
|
+
*/
|
|
11
|
+
tristate?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface UseTableSortReturn {
|
|
14
|
+
sort: Ref<SortState>;
|
|
15
|
+
/** Перемкнути сортування за полем. Повертає новий стан — зручно для запиту. */
|
|
16
|
+
toggle: (field: string) => SortState;
|
|
17
|
+
/** Напрям для конкретного поля (`''`, якщо сортуємо не за ним). */
|
|
18
|
+
directionOf: (field: string) => SortDirection;
|
|
19
|
+
reset: () => void;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Стан сортування без будь-якої прив'язки до розмітки.
|
|
23
|
+
*
|
|
24
|
+
* Сортування тут *не виконується* — композабл лише тримає `{ of, ot }`.
|
|
25
|
+
* Дані сортує сервер (або застосунок), як і в старій таблиці: на кожен toggle
|
|
26
|
+
* ви робите запит із новим станом.
|
|
27
|
+
*/
|
|
28
|
+
export declare function useTableSort(options?: UseTableSortOptions): UseTableSortReturn;
|
|
@@ -22,7 +22,4 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
22
22
|
readonly closeOnEsc?: boolean | undefined;
|
|
23
23
|
};
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
-
declare function __VLS_template():
|
|
26
|
-
default?(_: {}): any;
|
|
27
|
-
buttons?(_: {}): any;
|
|
28
|
-
};
|
|
25
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
@@ -23,6 +23,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
23
23
|
};
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
25
|
declare function __VLS_template(): {
|
|
26
|
+
title?(_: {}): any;
|
|
27
|
+
subtitle?(_: {}): any;
|
|
28
|
+
"header-actions"?(_: {}): any;
|
|
26
29
|
default?(_: {}): any;
|
|
27
30
|
buttons?(_: {}): any;
|
|
28
31
|
};
|
|
@@ -23,6 +23,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
23
23
|
};
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
25
|
declare function __VLS_template(): {
|
|
26
|
+
title?(_: {}): any;
|
|
27
|
+
subtitle?(_: {}): any;
|
|
28
|
+
"header-actions"?(_: {}): any;
|
|
26
29
|
default?(_: {}): any;
|
|
27
30
|
buttons?(_: {}): any;
|
|
28
31
|
};
|
|
@@ -25,6 +25,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
25
25
|
};
|
|
26
26
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
declare function __VLS_template(): {
|
|
28
|
+
title?(_: {}): any;
|
|
29
|
+
subtitle?(_: {}): any;
|
|
30
|
+
"header-actions"?(_: {}): any;
|
|
28
31
|
default?(_: {}): any;
|
|
29
32
|
footer?(_: {}): any;
|
|
30
33
|
};
|