rtcpts 0.0.58 → 0.0.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.
- package/dist/components/j-q-datetime/index.d.ts +8 -2
- package/dist/components/j-q-table/pagination.d.ts +19 -20
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +2586 -2574
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, SlotsType, DefineComponent, ExtractPropTypes, Ref, WritableComputedRef, ComputedRef, Slot, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { QDateProps, QField, QFieldProps, QPopupProxy, QDate,
|
|
2
|
+
import { QDateProps, QField, QFieldProps, QPopupProxy, QDate, QSelect, QIcon, QBtn, ComponentConstructor } from 'quasar';
|
|
3
3
|
import { t } from '../../composables/useI18n.ts';
|
|
4
4
|
export interface TimeParts {
|
|
5
5
|
h: number;
|
|
@@ -71,6 +71,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
71
71
|
to: string;
|
|
72
72
|
}>;
|
|
73
73
|
currentSingleDate: Ref<string, string>;
|
|
74
|
+
hourOptions: string[];
|
|
75
|
+
minuteSecondOptions: string[];
|
|
76
|
+
timeSelectPopupStyle: {
|
|
77
|
+
height: string;
|
|
78
|
+
maxHeight: string;
|
|
79
|
+
};
|
|
74
80
|
fromH: WritableComputedRef<string, string>;
|
|
75
81
|
fromM: WritableComputedRef<string, string>;
|
|
76
82
|
fromS: WritableComputedRef<string, string>;
|
|
@@ -159,7 +165,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
159
165
|
QField: ComponentConstructor<QField>;
|
|
160
166
|
QPopupProxy: ComponentConstructor<QPopupProxy>;
|
|
161
167
|
QDate: ComponentConstructor<QDate>;
|
|
162
|
-
|
|
168
|
+
QSelect: ComponentConstructor<QSelect>;
|
|
163
169
|
QIcon: ComponentConstructor<QIcon>;
|
|
164
170
|
QBtn: ComponentConstructor<QBtn>;
|
|
165
171
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { t } from '../../composables/useI18n.ts';
|
|
4
|
-
export interface PaginationInfo {
|
|
1
|
+
export type PaginationParameter = Pick<Paginator, 'page' | 'rowsPerPage'>;
|
|
2
|
+
export interface Paginator {
|
|
5
3
|
page: number;
|
|
6
4
|
rowsPerPage: number;
|
|
7
5
|
rowsNumber: number;
|
|
8
6
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
7
|
+
export type UsePaginationOptions = {
|
|
8
|
+
page?: number;
|
|
9
|
+
rowsPerPage?: number;
|
|
10
|
+
rowsNumber?: number;
|
|
11
|
+
};
|
|
12
|
+
export type UsePaginationReturn = {
|
|
13
|
+
paginationInfo: Paginator;
|
|
14
|
+
getNum: () => number;
|
|
15
|
+
getPaginationParam: () => PaginationParameter;
|
|
16
|
+
setNum: (value?: number) => void;
|
|
17
|
+
setSize: (value?: number) => void;
|
|
18
|
+
setTotal: (value?: number) => void;
|
|
19
|
+
};
|
|
20
|
+
export declare const DEFAULT_ROWS_PER_PAGE = 15;
|
|
21
|
+
export declare const ROWS_PER_PAGE_OPTIONS: number[];
|
|
22
|
+
export declare function usePagination(options?: UsePaginationOptions): UsePaginationReturn;
|
|
23
|
+
rowsPerPage: number;
|
|
25
24
|
rowsNumber: number;
|
|
26
25
|
};
|
|
27
26
|
rowNumbersArr: number[];
|