voiptime-components 1.12.11 → 1.12.13
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/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +22 -17
- package/dist/index.es.js +3486 -3334
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -134,6 +134,8 @@ declare const __VLS_component_5: DefineComponent<__VLS_PublicProps, {
|
|
|
134
134
|
oldCurrentRow: Record<string, any> | null;
|
|
135
135
|
}) => any;
|
|
136
136
|
"selection-change": (payload: SelectionChangeEventData) => any;
|
|
137
|
+
"row-reorder": (payload: RowReorderEventData) => any;
|
|
138
|
+
"update:data": (data: Record<string, any>[]) => any;
|
|
137
139
|
"sort-change": (payload: SortChangeEventData) => any;
|
|
138
140
|
"row-click": (payload: {
|
|
139
141
|
row: Record<string, any>;
|
|
@@ -165,6 +167,8 @@ declare const __VLS_component_5: DefineComponent<__VLS_PublicProps, {
|
|
|
165
167
|
oldCurrentRow: Record<string, any> | null;
|
|
166
168
|
}) => any) | undefined;
|
|
167
169
|
"onSelection-change"?: ((payload: SelectionChangeEventData) => any) | undefined;
|
|
170
|
+
"onRow-reorder"?: ((payload: RowReorderEventData) => any) | undefined;
|
|
171
|
+
"onUpdate:data"?: ((data: Record<string, any>[]) => any) | undefined;
|
|
168
172
|
"onSort-change"?: ((payload: SortChangeEventData) => any) | undefined;
|
|
169
173
|
"onRow-click"?: ((payload: {
|
|
170
174
|
row: Record<string, any>;
|
|
@@ -204,6 +208,8 @@ declare const __VLS_component_5: DefineComponent<__VLS_PublicProps, {
|
|
|
204
208
|
highlightCurrentRow: boolean;
|
|
205
209
|
allData: Record<string, any>[];
|
|
206
210
|
hideHeader: boolean;
|
|
211
|
+
rowDraggable: boolean;
|
|
212
|
+
showDragHandle: boolean;
|
|
207
213
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
208
214
|
tableWrapperRef: HTMLDivElement;
|
|
209
215
|
}, HTMLDivElement>;
|
|
@@ -897,8 +903,8 @@ declare const icons: {
|
|
|
897
903
|
readonly listBullet: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
898
904
|
readonly paperClip: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
899
905
|
readonly plusRound: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
900
|
-
readonly prompt: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
901
906
|
readonly prompter: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
907
|
+
readonly prompt: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
902
908
|
readonly reply: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
903
909
|
readonly save: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
904
910
|
readonly star: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -911,6 +917,7 @@ declare const icons: {
|
|
|
911
917
|
readonly arrowReload: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
912
918
|
readonly arrowRight: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
913
919
|
readonly arrowTop: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
920
|
+
readonly addNumber: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
914
921
|
readonly answerCall: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
915
922
|
readonly clientCall: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
916
923
|
readonly hangupCall: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -963,6 +970,7 @@ declare const icons: {
|
|
|
963
970
|
readonly hold: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
964
971
|
readonly ivr: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
965
972
|
readonly minus: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
973
|
+
readonly operator: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
966
974
|
readonly plus: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
967
975
|
readonly predictive: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
968
976
|
readonly preview: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -978,7 +986,6 @@ declare const icons: {
|
|
|
978
986
|
readonly transcription: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
979
987
|
readonly transcriptionStart: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
980
988
|
readonly windowStart: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
981
|
-
readonly operator: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
982
989
|
readonly pause: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
983
990
|
readonly start: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
984
991
|
readonly stop: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -1102,6 +1109,13 @@ export declare interface ResizeState {
|
|
|
1102
1109
|
startWidth: number;
|
|
1103
1110
|
}
|
|
1104
1111
|
|
|
1112
|
+
declare interface RowReorderEventData {
|
|
1113
|
+
oldIndex: number;
|
|
1114
|
+
newIndex: number;
|
|
1115
|
+
row: Record<string, any>;
|
|
1116
|
+
newData: Record<string, any>[];
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1105
1119
|
export declare type RulesObject = {
|
|
1106
1120
|
[key: string]: ValidatorFn[] | ValidatorFn | RulesObject | (() => ValidatorFn[] | RulesObject);
|
|
1107
1121
|
};
|
|
@@ -1801,44 +1815,35 @@ export declare interface VTableEmits {
|
|
|
1801
1815
|
}];
|
|
1802
1816
|
'columns-change': [columns: VTableColumnProps[]];
|
|
1803
1817
|
'infinity-scroll': [];
|
|
1818
|
+
'row-reorder': [payload: RowReorderEventData];
|
|
1819
|
+
'update:data': [data: Record<string, any>[]];
|
|
1804
1820
|
}
|
|
1805
1821
|
|
|
1806
1822
|
export declare interface VTableProps {
|
|
1807
|
-
/** Масив даних для відображення в таблиці */
|
|
1808
1823
|
data: Record<string, any>[];
|
|
1809
|
-
/** Максимальна висота таблиці (для sticky header) */
|
|
1810
1824
|
maxHeight?: number;
|
|
1811
|
-
/** Максимальна висота таблиці (для sticky header) */
|
|
1812
1825
|
rowKey?: string;
|
|
1813
|
-
/** Початкове сортування */
|
|
1814
1826
|
defaultSort?: SortState;
|
|
1815
|
-
/** Показувати підсумковий рядок */
|
|
1816
1827
|
showSummary?: boolean;
|
|
1817
|
-
/** Метод для обчислення підсумкових значень */
|
|
1818
1828
|
summaryMethod?: (params: {
|
|
1819
1829
|
columns: VTableColumnProps[];
|
|
1820
1830
|
data: Record<string, any>[];
|
|
1821
1831
|
}) => any[];
|
|
1822
|
-
/** Групи колонок для селектора */
|
|
1823
1832
|
columnsSelector?: VTableColumnGroup[];
|
|
1824
|
-
/** Чи включити функціонал виділення рядків */
|
|
1825
1833
|
selectable?: boolean;
|
|
1826
|
-
/** Чи виділяти всі чи тільки на поточній сторінці */
|
|
1827
1834
|
isAllSelect?: boolean;
|
|
1828
|
-
/** Ключ для ідентифікації рядків (за замовчуванням 'id') */
|
|
1829
1835
|
selectionKey?: string;
|
|
1830
|
-
/** Рядки виділені за замовчуванням */
|
|
1831
1836
|
defaultSelection?: any[];
|
|
1832
|
-
/** Виділяти рядок при кліку на нього */
|
|
1833
1837
|
selectOnClickRow?: boolean;
|
|
1834
|
-
/** Підсвічувати поточний рядок */
|
|
1835
1838
|
highlightCurrentRow?: boolean;
|
|
1836
|
-
/** Всі дані для повного виділення (якщо відрізняються від data) */
|
|
1837
1839
|
allData?: Record<string, any>[];
|
|
1838
|
-
/** Конфігурація колонок */
|
|
1839
1840
|
columns?: VTableColumnProps[];
|
|
1840
1841
|
hideHeader?: boolean;
|
|
1841
1842
|
rowHighlight?: VTableRowHighlightFunction;
|
|
1843
|
+
/** Дозволити перетягування рядків */
|
|
1844
|
+
rowDraggable?: boolean;
|
|
1845
|
+
/** Показувати handle для перетягування */
|
|
1846
|
+
showDragHandle?: boolean;
|
|
1842
1847
|
}
|
|
1843
1848
|
|
|
1844
1849
|
export declare type VTableRenderSlot = (props: {
|