v-sistec-features 1.31.13 → 1.32.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/dist/DataAgenda/VDataAgenda.vue.d.ts +915 -0
- package/dist/DataAgenda/components/AgendaMatrix.vue.d.ts +64 -0
- package/dist/DataAgenda/components/AgendaMatrixBase.vue.d.ts +31 -0
- package/dist/DataAgenda/components/AgendaMatrixUnico.vue.d.ts +72 -0
- package/dist/DataAgenda/components/AgendaTabelaHorario.vue.d.ts +32 -0
- package/dist/DataAgenda/components/AgendaVueCal.vue.d.ts +94 -0
- package/dist/DataAgenda/components/BlocoArrastavel.vue.d.ts +37 -0
- package/dist/DataAgenda/components/HeaderCalendario.vue.d.ts +7 -0
- package/dist/DataAgenda/components/HeaderTabela.vue.d.ts +7 -0
- package/dist/DataAgenda/components/ModalDetalhesReserva.vue.d.ts +38 -0
- package/dist/DataAgenda/components/ModalReserva.vue.d.ts +157 -0
- package/dist/DataAgenda/composables/useAgenda.d.ts +24 -0
- package/dist/DataAgenda/composables/useCoresAgenda.d.ts +7 -0
- package/dist/DataAgenda/composables/useGradeCompartilhada.d.ts +23 -0
- package/dist/DataAgenda/composables/useSelecaoArrasto.d.ts +24 -0
- package/dist/DataAgenda/index.d.ts +2 -0
- package/dist/DataPageVue/components/VDataPage.vue.d.ts +50 -0
- package/dist/DataPageVue/index.d.ts +2 -0
- package/dist/DataPageVue/types/v-data-page.d.ts +53 -0
- package/dist/DatatableVue/components/SearchDatatable.vue.d.ts +28 -0
- package/dist/DatatableVue/components/VColumn.vue.d.ts +82 -0
- package/dist/DatatableVue/components/VColumnManager.vue.d.ts +21 -0
- package/dist/DatatableVue/components/VDataTable.vue.d.ts +57 -0
- package/dist/DatatableVue/components/VDataTableLoading.vue.d.ts +17 -0
- package/dist/DatatableVue/components/VOrderingIcon.vue.d.ts +10 -0
- package/dist/DatatableVue/components/VThDataTable.vue.d.ts +14 -0
- package/dist/DatatableVue/composables/useCheckBox.d.ts +11 -0
- package/dist/DatatableVue/composables/useDataTableConfig.d.ts +4 -0
- package/dist/DatatableVue/composables/useDataTableFetch.d.ts +17 -0
- package/dist/DatatableVue/composables/useExpandedItem.d.ts +6 -0
- package/dist/DatatableVue/composables/useImagePreview.d.ts +9 -0
- package/dist/DatatableVue/config/datatableConfig.d.ts +4 -0
- package/dist/DatatableVue/config/datatableDefaults.d.ts +7 -0
- package/dist/DatatableVue/index.d.ts +3 -0
- package/dist/DatatableVue/keys.d.ts +39 -0
- package/dist/DatatableVue/style/svgs.d.ts +20 -0
- package/dist/DatatableVue/types/v-data-table.d.ts +161 -0
- package/dist/Modals/components/BotaoFechar.vue.d.ts +36 -0
- package/dist/Modals/components/ModalAviso.vue.d.ts +184 -0
- package/dist/Modals/components/ModalBaseDefault.vue.d.ts +244 -0
- package/dist/Modals/components/ModalConfirmacao.vue.d.ts +184 -0
- package/dist/Modals/components/ModalConfirmacaoCheckbox.vue.d.ts +195 -0
- package/dist/Modals/components/ModalConfirmacaoInput.vue.d.ts +238 -0
- package/dist/Modals/components/ModalConfirmacaoSimples.vue.d.ts +187 -0
- package/dist/Modals/components/ModalInformacao.vue.d.ts +184 -0
- package/dist/Modals/components/ModalPerigo.vue.d.ts +175 -0
- package/dist/Modals/components/ModalSucesso.vue.d.ts +175 -0
- package/dist/Modals/components/interno/ModalDialogoInterno.vue.d.ts +205 -0
- package/dist/Modals/index.d.ts +12 -0
- package/dist/Modals.js +1361 -0
- package/dist/Pagination/Pagination.vue.d.ts +19 -0
- package/dist/Pagination/index.d.ts +2 -0
- package/dist/{Pagination-f4FVE5TX.js → Pagination-D96eBRod.js} +25 -25
- package/dist/Pagination.js +1 -1
- package/dist/{ar-Bg_10XBG.js → ar-CtSPmWrk.js} +0 -5
- package/dist/{bg-DyIRbFaU.js → bg-DwW4tkzm.js} +0 -5
- package/dist/{bn-DrKXkRvN.js → bn-Df__ccyH.js} +0 -5
- package/dist/{bs-BF8upphm.js → bs-j17x02qr.js} +0 -5
- package/dist/{ca-CGMnsdII.js → ca-B94lUx7c.js} +0 -5
- package/dist/core/index.d.ts +1 -0
- package/dist/core/plugin.d.ts +11 -0
- package/dist/core.js +1 -1
- package/dist/{cs-B-jeNB5o.js → cs-DeDzN7tG.js} +0 -5
- package/dist/{da-BoHemyXx.js → da-DMpC5y8O.js} +0 -5
- package/dist/datatableConfig-E5_08Ch4.js +4 -0
- package/dist/{de-DNAaiTrc.js → de-CCNUZSup.js} +0 -5
- package/dist/{el-Cpg3pI7i.js → el-C2kkX76k.js} +0 -5
- package/dist/{en-gb-KsKdvLmV.js → en-gb-sbYhvlrM.js} +0 -5
- package/dist/{es-COziTcsp.js → es-mNgFJGue.js} +0 -5
- package/dist/{et-BdTtu9t_.js → et-D0ro6m_Z.js} +0 -5
- package/dist/{fa-B1Ebp36t.js → fa-DYekHC6-.js} +0 -5
- package/dist/{fi-b4XodxNE.js → fi-CNexLCO_.js} +0 -5
- package/dist/{fr-BIx4sO6s.js → fr-CUXtdWLj.js} +0 -5
- package/dist/{he-rf_Y5d64.js → he-D4BblsAD.js} +0 -5
- package/dist/{hr-DOuJJGF3.js → hr-1MNJjxDo.js} +0 -5
- package/dist/{hu-DMc8kv_1.js → hu-BiG8mSvH.js} +0 -5
- package/dist/{id-DclBfDY0.js → id-CABEuSQB.js} +0 -5
- package/dist/iframeCommunicator/index.d.ts +2 -0
- package/dist/iframeCommunicator/useIframeCommunicator.d.ts +8 -0
- package/dist/iframeCommunicator/useThemeFromParent.d.ts +9 -0
- package/dist/index.d.ts +3 -140
- package/dist/index.js +1 -1
- package/dist/{is-hPcr999q.js → is-DBUkoxb1.js} +0 -5
- package/dist/{it-Dfz57Ogc.js → it-Am_Oo5d5.js} +0 -5
- package/dist/{ja-Da6Dbgu8.js → ja-C4aaunra.js} +0 -5
- package/dist/{ka-DK-BKZD4.js → ka-CkzS4fNj.js} +0 -5
- package/dist/{kaa-BVd8dKz3.js → kaa-GTw11GU-.js} +0 -5
- package/dist/{kk-eE3-SI4R.js → kk-BRFq2Ctd.js} +0 -5
- package/dist/{ko-CUMtwCHy.js → ko-BbgS6BMk.js} +0 -5
- package/dist/{ky-CCU0MYbD.js → ky-ClK6HL0m.js} +0 -5
- package/dist/{lt-CpbQmiiW.js → lt-BE0ahgri.js} +0 -5
- package/dist/{mn-YYwo93uK.js → mn-C-Ktk8ht.js} +0 -5
- package/dist/{nl-WqtgByJL.js → nl-BiG9OH1y.js} +0 -5
- package/dist/{no-BOG8-aOm.js → no-DVdX7xTS.js} +0 -5
- package/dist/{pl-BH4AyCMF.js → pl-y_N8wVAF.js} +0 -5
- package/dist/plugin-BZB7f-c3.js +3444 -0
- package/dist/{pt-br-siyrXjdv.js → pt-br-Cx8Akpcu.js} +0 -5
- package/dist/{pt-pt-siyrXjdv.js → pt-pt-Cx8Akpcu.js} +0 -5
- package/dist/{ro-C9fU41Qi.js → ro-FfAZHwo1.js} +0 -5
- package/dist/{ru-_d_rl3a5.js → ru-BCE9k5uo.js} +0 -5
- package/dist/{sk-ZT421l3d.js → sk-D-7bEf3b.js} +0 -5
- package/dist/{sl-Ct8Gi5v1.js → sl-DoVrM4Ht.js} +0 -5
- package/dist/{sq-Cw7PWK-V.js → sq-Du8jVeq7.js} +0 -5
- package/dist/{sr-DO-S1wn3.js → sr-DP3yke6-.js} +0 -5
- package/dist/{sv-NXMCPui2.js → sv-C2iGWFqL.js} +0 -5
- package/dist/toast/components/ToastComponent.vue.d.ts +6 -0
- package/dist/toast/index.d.ts +1 -0
- package/dist/toast/useToastStore.d.ts +11 -0
- package/dist/toast.js +2 -2
- package/dist/{tr-BpieMIth.js → tr-CvlANdCR.js} +0 -5
- package/dist/{uk-CqVU4EoZ.js → uk-CxFb8w2s.js} +0 -5
- package/dist/utils/svgFactory.d.ts +8 -0
- package/dist/{uz-CmcB22-w.js → uz-DmJPqTjK.js} +0 -5
- package/dist/{uz-cryl-C_GBVdXl.js → uz-cryl-Dt065WNc.js} +0 -5
- package/dist/v-sistec-features.css +1 -11
- package/dist/vDataAgenda.js +1877 -1885
- package/dist/vDataPage.js +31 -41
- package/dist/vDataTable.js +43 -43
- package/dist/{vi-C9wTd3fG.js → vi-B8R5Ozvj.js} +0 -5
- package/dist/{zh-cn-DY7nkJwf.js → zh-cn-DnUuIcqx.js} +0 -5
- package/dist/{zh-hk-KkazoDdS.js → zh-hk-mDkIkhi9.js} +0 -5
- package/package.json +5 -1
- package/src/DataAgenda/VDataAgenda.vue +233 -77
- package/src/DataAgenda/components/AgendaMatrix.vue +1 -0
- package/src/DataAgenda/components/AgendaMatrixBase.vue +357 -140
- package/src/DataAgenda/components/AgendaMatrixUnico.vue +1 -0
- package/src/DataAgenda/components/AgendaTabelaHorario.vue +489 -316
- package/src/DataAgenda/components/AgendaVueCal.vue +1 -0
- package/src/DataAgenda/index.ts +2 -1
- package/src/Modals/components/BotaoFechar.vue +74 -0
- package/src/Modals/components/ModalAviso.vue +129 -0
- package/src/Modals/components/ModalBaseDefault.vue +374 -0
- package/src/Modals/components/ModalConfirmacao.vue +129 -0
- package/src/Modals/components/ModalConfirmacaoCheckbox.vue +155 -0
- package/src/Modals/components/ModalConfirmacaoInput.vue +200 -0
- package/src/Modals/components/ModalConfirmacaoSimples.vue +306 -0
- package/src/Modals/components/ModalInformacao.vue +129 -0
- package/src/Modals/components/ModalPerigo.vue +123 -0
- package/src/Modals/components/ModalSucesso.vue +123 -0
- package/src/Modals/components/interno/ModalDialogoInterno.vue +365 -0
- package/src/Modals/index.ts +32 -0
- package/src/core/plugin.ts +34 -41
- package/src/types/global.d.ts +7 -1
- package/dist/Pagination.d.ts +0 -27
- package/dist/core.d.ts +0 -117
- package/dist/datatableConfig-BMFlKtgh.js +0 -4
- package/dist/iframeCommunicator.d.ts +0 -22
- package/dist/plugin-BwqrOSD_.js +0 -2097
- package/dist/toast.d.ts +0 -19
- package/dist/vDataAgenda.d.ts +0 -929
- package/dist/vDataPage.d.ts +0 -117
- package/dist/vDataTable.d.ts +0 -294
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { VDataPageProps, ExposedFunctions } from '../types/v-data-page.ts';
|
|
2
|
+
declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly onTradePage?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
readonly onBeforeFetch?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
readonly onAfterFetch?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onTradePage" | "onBeforeFetch" | "onAfterFetch"> & VDataPageProps & Partial<{}>> & import('vue').PublicProps;
|
|
8
|
+
expose(exposed: import('vue').ShallowUnwrapRef<ExposedFunctions>): void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {
|
|
11
|
+
loading?(_: {
|
|
12
|
+
n: number;
|
|
13
|
+
index: number;
|
|
14
|
+
}): any;
|
|
15
|
+
loading?(_: {
|
|
16
|
+
index: number;
|
|
17
|
+
}): any;
|
|
18
|
+
error?(_: {
|
|
19
|
+
error: any;
|
|
20
|
+
}): any;
|
|
21
|
+
empty?(_: {}): any;
|
|
22
|
+
body?(_: {
|
|
23
|
+
item: T;
|
|
24
|
+
index: number;
|
|
25
|
+
}): any;
|
|
26
|
+
body?(_: {
|
|
27
|
+
item: T;
|
|
28
|
+
index: number;
|
|
29
|
+
}): any;
|
|
30
|
+
'scroll-finish'?(_: {}): any;
|
|
31
|
+
pagination?(_: {
|
|
32
|
+
pagination: {
|
|
33
|
+
current_page: number;
|
|
34
|
+
count: number;
|
|
35
|
+
limit_per_page: number;
|
|
36
|
+
search: string;
|
|
37
|
+
filter: string;
|
|
38
|
+
};
|
|
39
|
+
tradePage: () => Promise<void>;
|
|
40
|
+
error: any;
|
|
41
|
+
}): any;
|
|
42
|
+
};
|
|
43
|
+
emit: (event: "tradePage" | "beforeFetch" | "afterFetch", ...args: any[]) => void;
|
|
44
|
+
}>) => import('vue').VNode & {
|
|
45
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
|
+
};
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_PrettifyLocal<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Ref, Component, WatchSource, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
export interface VDataPageProps {
|
|
3
|
+
fetch: Function;
|
|
4
|
+
fetch_name?: string;
|
|
5
|
+
endpoint: string;
|
|
6
|
+
type_loading?: 'placeholder' | 'spiner-table' | 'spiner';
|
|
7
|
+
type_fetch?: 'pagination' | 'infinite-scroll' | 'none';
|
|
8
|
+
custom_loading?: Component | null;
|
|
9
|
+
deactivate_default_params?: boolean;
|
|
10
|
+
filter_param_name?: string;
|
|
11
|
+
search_param_name?: string;
|
|
12
|
+
page_param_name?: string;
|
|
13
|
+
page_size_param_name?: string;
|
|
14
|
+
add_params?: Object | Function;
|
|
15
|
+
data_key?: string;
|
|
16
|
+
total_key?: string;
|
|
17
|
+
list_filter?: any[];
|
|
18
|
+
first_text_page_size?: string;
|
|
19
|
+
second_text_page_size?: string;
|
|
20
|
+
class_container?: string;
|
|
21
|
+
class_loading_container?: string;
|
|
22
|
+
class_pagination?: string;
|
|
23
|
+
class_filters?: string;
|
|
24
|
+
min_loading_delay?: number;
|
|
25
|
+
retry_attempts?: number;
|
|
26
|
+
retry_delay?: number;
|
|
27
|
+
use_checkbox?: boolean;
|
|
28
|
+
item_key?: string;
|
|
29
|
+
limit_per_page?: number;
|
|
30
|
+
next_page_response_name?: string;
|
|
31
|
+
page_starts_at?: number;
|
|
32
|
+
element_id?: string;
|
|
33
|
+
watch?: WatchSource[];
|
|
34
|
+
disable_request?: MaybeRefOrGetter<boolean>;
|
|
35
|
+
pagination_teleport?: string | HTMLElement | null;
|
|
36
|
+
}
|
|
37
|
+
export interface PaginationObject {
|
|
38
|
+
current_page: number;
|
|
39
|
+
count: number;
|
|
40
|
+
limit_per_page: number;
|
|
41
|
+
search: string;
|
|
42
|
+
filter: string;
|
|
43
|
+
}
|
|
44
|
+
export interface ExposedFunctions {
|
|
45
|
+
execute: () => void;
|
|
46
|
+
pagination: Ref<PaginationObject>;
|
|
47
|
+
default_params: Record<string, any>;
|
|
48
|
+
set_limit_per_page: (newLimit: number) => void;
|
|
49
|
+
set_search: (newSearch: string) => void;
|
|
50
|
+
set_filter: (newFilter: string) => void;
|
|
51
|
+
set_page: (newPage: number) => void;
|
|
52
|
+
reSearch: () => void;
|
|
53
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
interface SearchProps {
|
|
2
|
+
search: string;
|
|
3
|
+
filter?: string;
|
|
4
|
+
list_filter?: any[];
|
|
5
|
+
item_use?: number[];
|
|
6
|
+
placeholder_search?: string;
|
|
7
|
+
deactivate_search_on_clear?: boolean;
|
|
8
|
+
deactivate_search_empty?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<SearchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
search: (...args: any[]) => void;
|
|
12
|
+
"update:search": (...args: any[]) => void;
|
|
13
|
+
"update:filter": (...args: any[]) => void;
|
|
14
|
+
clickedClearSearch: (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<SearchProps> & Readonly<{
|
|
16
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
"onUpdate:filter"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
onClickedClearSearch?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
list_filter: any[];
|
|
22
|
+
placeholder_search: string;
|
|
23
|
+
deactivate_search_empty: boolean;
|
|
24
|
+
deactivate_search_on_clear: boolean;
|
|
25
|
+
filter: string;
|
|
26
|
+
item_use: number[];
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
interface VColumnProps {
|
|
3
|
+
field?: string | null;
|
|
4
|
+
header: string;
|
|
5
|
+
type?: 'text' | 'img' | 'date' | 'html';
|
|
6
|
+
class_column?: string;
|
|
7
|
+
class_row?: string;
|
|
8
|
+
class_item?: string;
|
|
9
|
+
format?: 'complete' | 'simple';
|
|
10
|
+
deactivate_img_preview?: boolean;
|
|
11
|
+
limite_text?: number | string | null;
|
|
12
|
+
transform_function?: ((value: any) => any) | null;
|
|
13
|
+
click?: Function | null;
|
|
14
|
+
locked?: boolean | 'start' | 'end';
|
|
15
|
+
use_ordering?: boolean;
|
|
16
|
+
param_ordering?: string;
|
|
17
|
+
decreasing_value?: string;
|
|
18
|
+
increasing_value?: string;
|
|
19
|
+
class_rules?: Record<string, (item: any) => boolean>;
|
|
20
|
+
start_hidden?: boolean;
|
|
21
|
+
disable_hide?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare function __VLS_template(): {
|
|
24
|
+
attrs: Partial<{}>;
|
|
25
|
+
slots: Readonly<{
|
|
26
|
+
body?: (props: {
|
|
27
|
+
item: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
col_header?: (props: {
|
|
30
|
+
col: any;
|
|
31
|
+
locked: boolean | "start" | "end";
|
|
32
|
+
OrderingComponent: Component;
|
|
33
|
+
}) => any;
|
|
34
|
+
col_header_midle?: (props: {
|
|
35
|
+
col: any;
|
|
36
|
+
locked: boolean | "start" | "end";
|
|
37
|
+
}) => any;
|
|
38
|
+
}> & {
|
|
39
|
+
body?: (props: {
|
|
40
|
+
item: any;
|
|
41
|
+
}) => any;
|
|
42
|
+
col_header?: (props: {
|
|
43
|
+
col: any;
|
|
44
|
+
locked: boolean | "start" | "end";
|
|
45
|
+
OrderingComponent: Component;
|
|
46
|
+
}) => any;
|
|
47
|
+
col_header_midle?: (props: {
|
|
48
|
+
col: any;
|
|
49
|
+
locked: boolean | "start" | "end";
|
|
50
|
+
}) => any;
|
|
51
|
+
};
|
|
52
|
+
refs: {};
|
|
53
|
+
rootEl: any;
|
|
54
|
+
};
|
|
55
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
56
|
+
declare const __VLS_component: import('vue').DefineComponent<VColumnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VColumnProps> & Readonly<{}>, {
|
|
57
|
+
click: Function | null;
|
|
58
|
+
format: "complete" | "simple";
|
|
59
|
+
field: string | null;
|
|
60
|
+
type: "text" | "img" | "date" | "html";
|
|
61
|
+
class_column: string;
|
|
62
|
+
class_row: string;
|
|
63
|
+
class_item: string;
|
|
64
|
+
deactivate_img_preview: boolean;
|
|
65
|
+
limite_text: number | string | null;
|
|
66
|
+
transform_function: ((value: any) => any) | null;
|
|
67
|
+
locked: boolean | "start" | "end";
|
|
68
|
+
use_ordering: boolean;
|
|
69
|
+
param_ordering: string;
|
|
70
|
+
decreasing_value: string;
|
|
71
|
+
increasing_value: string;
|
|
72
|
+
class_rules: Record<string, (item: any) => boolean>;
|
|
73
|
+
start_hidden: boolean;
|
|
74
|
+
disable_hide: boolean;
|
|
75
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
76
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
77
|
+
export default _default;
|
|
78
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
79
|
+
new (): {
|
|
80
|
+
$slots: S;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface SearchProps {
|
|
2
|
+
columns_list?: any[];
|
|
3
|
+
use_column_manager?: boolean;
|
|
4
|
+
toggleColumnVisibility?: (columnId: string) => void;
|
|
5
|
+
class_column_manager_dropdown?: string;
|
|
6
|
+
class_column_manager_dropdown_menu?: string;
|
|
7
|
+
class_column_manager_button?: string;
|
|
8
|
+
disable_class_column_manager_default?: boolean;
|
|
9
|
+
resetColumnsState?: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<SearchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SearchProps> & Readonly<{}>, {
|
|
12
|
+
class_column_manager_dropdown: string;
|
|
13
|
+
class_column_manager_dropdown_menu: string;
|
|
14
|
+
class_column_manager_button: string;
|
|
15
|
+
disable_class_column_manager_default: boolean;
|
|
16
|
+
use_column_manager: boolean;
|
|
17
|
+
columns_list: any[];
|
|
18
|
+
toggleColumnVisibility: (columnId: string) => void;
|
|
19
|
+
resetColumnsState: () => void;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { VDataTableProps, ExposedFunctions } from '../types/v-data-table.ts';
|
|
2
|
+
declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly onTradePage?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
readonly onClickedClearSearch?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
readonly onBeforeFetch?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
readonly onAfterFetch?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onTradePage" | "onClickedClearSearch" | "onBeforeFetch" | "onAfterFetch"> & VDataTableProps & Partial<{}>> & import('vue').PublicProps;
|
|
9
|
+
expose(exposed: import('vue').ShallowUnwrapRef<ExposedFunctions<T>>): void;
|
|
10
|
+
attrs: any;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
pageSize?(_: {
|
|
14
|
+
changePageSize: (event: Event) => void;
|
|
15
|
+
limit_per_page: number;
|
|
16
|
+
}): any;
|
|
17
|
+
fieldMiddle?(_: {}): any;
|
|
18
|
+
'search-field'?(_: {
|
|
19
|
+
search: string;
|
|
20
|
+
filter: string;
|
|
21
|
+
reSearch: () => void;
|
|
22
|
+
}): any;
|
|
23
|
+
'extra-actions'?(_: {}): any;
|
|
24
|
+
'item-selected-info'?(_: {
|
|
25
|
+
selected_items: T[];
|
|
26
|
+
clearSelection: () => never[];
|
|
27
|
+
}): any;
|
|
28
|
+
'expand-button'?(_: {
|
|
29
|
+
item: T;
|
|
30
|
+
index: number;
|
|
31
|
+
isExpanded: boolean;
|
|
32
|
+
expand_item_toggle: (item: any) => void;
|
|
33
|
+
}): any;
|
|
34
|
+
'after-row'?(_: {
|
|
35
|
+
item: T;
|
|
36
|
+
}): any;
|
|
37
|
+
'idle-state'?(_: {}): any;
|
|
38
|
+
pagination?(_: {
|
|
39
|
+
pagination: {
|
|
40
|
+
current_page: number;
|
|
41
|
+
count: number;
|
|
42
|
+
limit_per_page: number;
|
|
43
|
+
search: string;
|
|
44
|
+
filter: string;
|
|
45
|
+
};
|
|
46
|
+
tradePage: () => Promise<void>;
|
|
47
|
+
error: any;
|
|
48
|
+
}): any;
|
|
49
|
+
};
|
|
50
|
+
emit: (event: "tradePage" | "clickedClearSearch" | "beforeFetch" | "afterFetch", ...args: any[]) => void;
|
|
51
|
+
}>) => import('vue').VNode & {
|
|
52
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
53
|
+
};
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_PrettifyLocal<T> = {
|
|
56
|
+
[K in keyof T]: T[K];
|
|
57
|
+
} & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ColumnConfiguration } from '../keys';
|
|
2
|
+
import { PaginationObject } from '../../DataPageVue/types/v-data-page.ts';
|
|
3
|
+
interface AttemptObject {
|
|
4
|
+
current: number;
|
|
5
|
+
total: number;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
columns: ColumnConfiguration[];
|
|
9
|
+
limit: number;
|
|
10
|
+
type_loading: string;
|
|
11
|
+
custom_loading?: any;
|
|
12
|
+
class_table?: string;
|
|
13
|
+
attempt?: AttemptObject | null;
|
|
14
|
+
pagination: PaginationObject;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
orderings_state?: 'none' | 'increasing' | 'decreasing';
|
|
3
|
+
use_ordering?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
toggle: (args_0: void) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onToggle?: ((args_0?: void | undefined) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
header: string;
|
|
3
|
+
class_column: string;
|
|
4
|
+
locked: boolean | 'start' | 'end';
|
|
5
|
+
use_ordering: boolean;
|
|
6
|
+
orderings_state: 'none' | 'increasing' | 'decreasing';
|
|
7
|
+
col: any;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
toggleOrderingState: (args_0: void) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onToggleOrderingState?: ((args_0?: void | undefined) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableCellElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { DataTablePropsWithDefaults } from '../types/v-data-table';
|
|
3
|
+
export declare function useCheckBox<T extends Record<string, any>>(props: DataTablePropsWithDefaults, items: Ref<T[]>): {
|
|
4
|
+
selectAllCheckbox: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
5
|
+
selected_items: Ref<T[], T[]>;
|
|
6
|
+
isSelected: (item: T) => boolean;
|
|
7
|
+
selectAllState: import('vue').ComputedRef<boolean | "indeterminate">;
|
|
8
|
+
atLeastOneSelected: import('vue').ComputedRef<boolean>;
|
|
9
|
+
toggleSelectAll: () => void;
|
|
10
|
+
toggleItemSelection: (item: T) => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { PaginationObject, DataTablePropsWithDefaults } from '../types/v-data-table';
|
|
3
|
+
import { ColumnConfiguration } from '../keys';
|
|
4
|
+
export declare function useDataTableFetch<T extends Record<string, any>>(props: Ref<DataTablePropsWithDefaults>, pagination: Ref<PaginationObject>, columns: Ref<ColumnConfiguration[]>, orderings_state: Ref<Record<string, 'none' | 'increasing' | 'decreasing'>>, emit: (event: 'beforeFetch' | 'afterFetch') => void, close_all_expanded_items: () => void): {
|
|
5
|
+
items: import('vue').ComputedRef<T[]>;
|
|
6
|
+
pending: any;
|
|
7
|
+
error: any;
|
|
8
|
+
execute: any;
|
|
9
|
+
response: any;
|
|
10
|
+
attempt: any;
|
|
11
|
+
default_params: import('vue').ComputedRef<Record<string, any>>;
|
|
12
|
+
fetchDataWithDelay: () => Promise<void>;
|
|
13
|
+
reSearch: () => void;
|
|
14
|
+
showLoadingState: import('vue').ComputedRef<boolean>;
|
|
15
|
+
first_fetch: Ref<boolean, boolean>;
|
|
16
|
+
raw_items: Ref<T[], T[]>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function useExpandedItem(close_expanded_item_on_expand_new: boolean, item_key: string, deactivate_animation_expand?: boolean, scroll_to_expanded_item?: boolean): {
|
|
2
|
+
expanded_items: import('vue').Ref<any[], any[]>;
|
|
3
|
+
is_item_expanded: (item: any) => boolean;
|
|
4
|
+
expand_item_toggle: (item: any) => void;
|
|
5
|
+
close_all_expanded_items: () => void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
export declare function useImagePreview(): {
|
|
3
|
+
isHovering: import('vue').Ref<boolean, boolean>;
|
|
4
|
+
previewSrc: import('vue').Ref<string, string>;
|
|
5
|
+
previewStyle: import('vue').ComputedRef<CSSProperties>;
|
|
6
|
+
handleMouseOver: (event: MouseEvent, src: string) => void;
|
|
7
|
+
handleMouseMove: (event: MouseEvent) => void;
|
|
8
|
+
handleMouseLeave: () => void;
|
|
9
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VDataTableProps } from '../types/v-data-table';
|
|
2
|
+
export type DataTableGlobalConfig = Partial<VDataTableProps>;
|
|
3
|
+
/**
|
|
4
|
+
* nesse arquivo todas as props que não são obrigatórias ou seja que tem ?: definidas
|
|
5
|
+
* no typescript, são definidas aqui com valores default
|
|
6
|
+
* **/
|
|
7
|
+
export declare const defaultDataTableConfig: DataTableGlobalConfig;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { InjectionKey, Slot } from 'vue';
|
|
2
|
+
export interface ColumnConfiguration {
|
|
3
|
+
field: string | null;
|
|
4
|
+
header: string;
|
|
5
|
+
type: 'text' | 'img' | 'date' | 'html';
|
|
6
|
+
class_column: string;
|
|
7
|
+
class_row: string;
|
|
8
|
+
class_item: string;
|
|
9
|
+
transform_function: ((value: any) => any) | null;
|
|
10
|
+
bodySlot?: Slot;
|
|
11
|
+
colHeaderSlot?: Slot;
|
|
12
|
+
colHeaderMidleSlot?: Slot;
|
|
13
|
+
limite_text?: number;
|
|
14
|
+
deactivate_img_preview?: boolean;
|
|
15
|
+
format?: 'complete' | 'simple';
|
|
16
|
+
click: Function | null;
|
|
17
|
+
locked: boolean | 'start' | 'end';
|
|
18
|
+
use_ordering: boolean;
|
|
19
|
+
param_ordering: string;
|
|
20
|
+
decreasing_value: string;
|
|
21
|
+
increasing_value: string;
|
|
22
|
+
class_rules?: Record<string, (item: any) => boolean>;
|
|
23
|
+
start_hidden?: boolean;
|
|
24
|
+
visible?: boolean;
|
|
25
|
+
id: string;
|
|
26
|
+
storage_key?: string;
|
|
27
|
+
disable_hide?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface DataTableApi {
|
|
30
|
+
addColumn: (config: ColumnConfiguration) => void;
|
|
31
|
+
}
|
|
32
|
+
export declare const dataTableApiKey: InjectionKey<DataTableApi>;
|
|
33
|
+
export interface PaginationObject {
|
|
34
|
+
current_page: number;
|
|
35
|
+
count: number;
|
|
36
|
+
limit_per_page: number;
|
|
37
|
+
search: string;
|
|
38
|
+
filter: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const svgs: {
|
|
2
|
+
search: {
|
|
3
|
+
filter: string;
|
|
4
|
+
clear: string;
|
|
5
|
+
loupe: string;
|
|
6
|
+
};
|
|
7
|
+
checkbox: {
|
|
8
|
+
clear: string;
|
|
9
|
+
};
|
|
10
|
+
expand: {
|
|
11
|
+
arrow: string;
|
|
12
|
+
plus: string;
|
|
13
|
+
};
|
|
14
|
+
ordering: {
|
|
15
|
+
default: string;
|
|
16
|
+
decreasing: string;
|
|
17
|
+
increasing: string;
|
|
18
|
+
};
|
|
19
|
+
column_manager: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { Ref, ComputedRef, Component, MaybeRefOrGetter, DeepReadonly } from 'vue';
|
|
2
|
+
import { PaginationObject } from '../keys';
|
|
3
|
+
export type { PaginationObject } from '../keys';
|
|
4
|
+
export interface ApiProps {
|
|
5
|
+
fetch: Function;
|
|
6
|
+
endpoint: string;
|
|
7
|
+
fetch_name?: string;
|
|
8
|
+
data_key?: string;
|
|
9
|
+
total_key?: string;
|
|
10
|
+
filter_param_name?: string;
|
|
11
|
+
search_param_name?: string;
|
|
12
|
+
page_param_name?: string;
|
|
13
|
+
page_size_param_name?: string;
|
|
14
|
+
add_params?: Record<string, any> | (() => Record<string, any>);
|
|
15
|
+
add_params_keep_page?: Record<string, any> | (() => Record<string, any>);
|
|
16
|
+
silent_params?: Record<string, any> | (() => Record<string, any>);
|
|
17
|
+
deactivate_default_params?: boolean;
|
|
18
|
+
disable_request?: MaybeRefOrGetter<boolean>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* =====================================================
|
|
22
|
+
* Tipagem para classes CSS.
|
|
23
|
+
* Por que é usada: Agrupa as opções de estilização estrutural do datatable.
|
|
24
|
+
* =====================================================
|
|
25
|
+
* **/
|
|
26
|
+
export interface ColumnManagerClass {
|
|
27
|
+
class_column_manager_dropdown?: string;
|
|
28
|
+
class_column_manager_dropdown_menu?: string;
|
|
29
|
+
class_column_manager_button?: string;
|
|
30
|
+
disable_class_column_manager_default?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface PaginationClass {
|
|
33
|
+
class_pagination?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface BodyClass {
|
|
36
|
+
class_content?: string;
|
|
37
|
+
class_container?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface TableClass {
|
|
40
|
+
class_table?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface FiltersClass {
|
|
43
|
+
class_filters?: string;
|
|
44
|
+
class_page_size?: string;
|
|
45
|
+
}
|
|
46
|
+
export type ClassProps = (ColumnManagerClass & PaginationClass & BodyClass & TableClass & FiltersClass);
|
|
47
|
+
export interface BehaviorProps {
|
|
48
|
+
frontend_pagination?: boolean;
|
|
49
|
+
limit_per_page?: number;
|
|
50
|
+
page_starts_at?: number;
|
|
51
|
+
min_loading_delay?: number;
|
|
52
|
+
retry_attempts?: number;
|
|
53
|
+
retry_delay?: number;
|
|
54
|
+
immediate?: boolean;
|
|
55
|
+
storage_id?: string;
|
|
56
|
+
use_column_manager?: boolean;
|
|
57
|
+
show_header_when_empty?: boolean;
|
|
58
|
+
item_key?: string;
|
|
59
|
+
type_loading?: 'placeholder' | 'spiner-table' | 'spiner';
|
|
60
|
+
custom_loading?: Component | null;
|
|
61
|
+
}
|
|
62
|
+
export interface SearchProps {
|
|
63
|
+
list_filter?: any[];
|
|
64
|
+
placeholder_search?: string;
|
|
65
|
+
disable_search?: boolean;
|
|
66
|
+
deactivate_search_empty?: boolean;
|
|
67
|
+
deactivate_search_on_clear?: boolean;
|
|
68
|
+
custom_frontend_filter?: ((item: any, search: string, filter: string) => boolean) | null;
|
|
69
|
+
}
|
|
70
|
+
export interface PaginationProps {
|
|
71
|
+
first_text_page_size?: string;
|
|
72
|
+
second_text_page_size?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface TeleportsProps {
|
|
75
|
+
search_teleport?: string | HTMLElement | null;
|
|
76
|
+
pagination_teleport?: string | HTMLElement | null;
|
|
77
|
+
extra_actions_teleport?: string | HTMLElement | null;
|
|
78
|
+
column_manager_teleport?: string | HTMLElement | null;
|
|
79
|
+
}
|
|
80
|
+
export interface ExtraFeaturesProps {
|
|
81
|
+
use_checkbox?: boolean;
|
|
82
|
+
deactivate_selected_info?: boolean;
|
|
83
|
+
use_expandable_items?: boolean;
|
|
84
|
+
close_expanded_item_on_expand_new?: boolean;
|
|
85
|
+
scroll_to_expanded_item?: boolean;
|
|
86
|
+
type_animation_expand?: 'fade' | 'expand' | 'none';
|
|
87
|
+
deactivate_animation_expand?: boolean;
|
|
88
|
+
type_button_expand?: 'arrow' | 'plus';
|
|
89
|
+
}
|
|
90
|
+
export type VDataTableProps = (ApiProps & ClassProps & BehaviorProps & SearchProps & PaginationProps & ExtraFeaturesProps & TeleportsProps);
|
|
91
|
+
export type DataTablePropsWithDefaults = VDataTableProps & {
|
|
92
|
+
custom_frontend_filter: ((item: any, search: string, filter: string) => boolean) | null;
|
|
93
|
+
frontend_pagination: boolean;
|
|
94
|
+
fetch_name: string;
|
|
95
|
+
type_loading: string;
|
|
96
|
+
filter_param_name: string;
|
|
97
|
+
search_param_name: string;
|
|
98
|
+
page_param_name: string;
|
|
99
|
+
page_size_param_name: string;
|
|
100
|
+
data_key: string;
|
|
101
|
+
total_key: string;
|
|
102
|
+
item_key: string;
|
|
103
|
+
first_text_page_size: string;
|
|
104
|
+
second_text_page_size: string;
|
|
105
|
+
placeholder_search: string;
|
|
106
|
+
type_animation_expand: string;
|
|
107
|
+
type_button_expand: string;
|
|
108
|
+
class_table: string;
|
|
109
|
+
class_content: string;
|
|
110
|
+
class_container: string;
|
|
111
|
+
class_pagination: string;
|
|
112
|
+
class_filters: string;
|
|
113
|
+
class_page_size: string;
|
|
114
|
+
min_loading_delay: number;
|
|
115
|
+
retry_attempts: number;
|
|
116
|
+
retry_delay: number;
|
|
117
|
+
limit_per_page: number;
|
|
118
|
+
page_starts_at: number;
|
|
119
|
+
deactivate_default_params: boolean;
|
|
120
|
+
use_checkbox: boolean;
|
|
121
|
+
deactivate_selected_info: boolean;
|
|
122
|
+
immediate: boolean;
|
|
123
|
+
deactivate_search_on_clear: boolean;
|
|
124
|
+
use_expandable_items: boolean;
|
|
125
|
+
close_expanded_item_on_expand_new: boolean;
|
|
126
|
+
scroll_to_expanded_item: boolean;
|
|
127
|
+
deactivate_animation_expand: boolean;
|
|
128
|
+
deactivate_search_empty: boolean;
|
|
129
|
+
disable_request: MaybeRefOrGetter<boolean>;
|
|
130
|
+
add_params: Record<string, any> | (() => Record<string, any>);
|
|
131
|
+
list_filter: any[];
|
|
132
|
+
custom_loading: any | null;
|
|
133
|
+
storage_id: string;
|
|
134
|
+
use_column_manager: boolean;
|
|
135
|
+
};
|
|
136
|
+
export interface ExposedFunctions<T extends Record<string, any>> {
|
|
137
|
+
execute: () => void;
|
|
138
|
+
reSearch: () => void;
|
|
139
|
+
pagination: Ref<PaginationObject>;
|
|
140
|
+
default_params: Record<string, any>;
|
|
141
|
+
selected_items: Ref<T[]>;
|
|
142
|
+
atLeastOneSelected: ComputedRef<boolean>;
|
|
143
|
+
set_limit_per_page: (newLimit: number) => void;
|
|
144
|
+
set_search: (newSearch: string) => void;
|
|
145
|
+
set_filter: (newFilter: string) => void;
|
|
146
|
+
set_page: (newPage: number) => void;
|
|
147
|
+
expand_item_toggle: (item: any) => void;
|
|
148
|
+
close_all_expanded_items: () => void;
|
|
149
|
+
selectAllCheckbox: Ref<HTMLInputElement | null>;
|
|
150
|
+
toggleColumnVisibility: (field: string) => void;
|
|
151
|
+
columns_list: ComputedRef<Array<{
|
|
152
|
+
id: string;
|
|
153
|
+
header: string;
|
|
154
|
+
field: string | null;
|
|
155
|
+
start_hidden: boolean;
|
|
156
|
+
visible: boolean;
|
|
157
|
+
locked: boolean | 'start' | 'end';
|
|
158
|
+
}>>;
|
|
159
|
+
items: DeepReadonly<Ref<T[]>>;
|
|
160
|
+
results: DeepReadonly<Ref<T[]>>;
|
|
161
|
+
}
|