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
package/dist/vDataPage.d.ts
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { AllowedComponentProps } from 'vue';
|
|
2
|
-
import { Component } from 'vue';
|
|
3
|
-
import { ComponentCustomProps } from 'vue';
|
|
4
|
-
import { MaybeRefOrGetter } from 'vue';
|
|
5
|
-
import { PublicProps } from 'vue';
|
|
6
|
-
import { Ref } from 'vue';
|
|
7
|
-
import { ShallowUnwrapRef } from 'vue';
|
|
8
|
-
import { VNode } from 'vue';
|
|
9
|
-
import { VNodeProps } from 'vue';
|
|
10
|
-
import { WatchSource } from 'vue';
|
|
11
|
-
|
|
12
|
-
declare type __VLS_PrettifyLocal<T> = {
|
|
13
|
-
[K in keyof T]: T[K];
|
|
14
|
-
} & {};
|
|
15
|
-
|
|
16
|
-
declare interface ExposedFunctions {
|
|
17
|
-
execute: () => void;
|
|
18
|
-
pagination: Ref<PaginationObject>;
|
|
19
|
-
default_params: Record<string, any>;
|
|
20
|
-
set_limit_per_page: (newLimit: number) => void;
|
|
21
|
-
set_search: (newSearch: string) => void;
|
|
22
|
-
set_filter: (newFilter: string) => void;
|
|
23
|
-
set_page: (newPage: number) => void;
|
|
24
|
-
reSearch: () => void;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
declare interface PaginationObject {
|
|
28
|
-
current_page: number;
|
|
29
|
-
count: number;
|
|
30
|
-
limit_per_page: number;
|
|
31
|
-
search: string;
|
|
32
|
-
filter: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export declare const VDataPage: <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<{
|
|
36
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
37
|
-
readonly onTradePage?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
readonly onBeforeFetch?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
readonly onAfterFetch?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onTradePage" | "onBeforeFetch" | "onAfterFetch"> & VDataPageProps & Partial<{}>> & PublicProps;
|
|
41
|
-
expose(exposed: ShallowUnwrapRef<ExposedFunctions>): void;
|
|
42
|
-
attrs: any;
|
|
43
|
-
slots: {
|
|
44
|
-
loading?(_: {
|
|
45
|
-
n: number;
|
|
46
|
-
index: number;
|
|
47
|
-
}): any;
|
|
48
|
-
loading?(_: {
|
|
49
|
-
index: number;
|
|
50
|
-
}): any;
|
|
51
|
-
error?(_: {
|
|
52
|
-
error: any;
|
|
53
|
-
}): any;
|
|
54
|
-
empty?(_: {}): any;
|
|
55
|
-
body?(_: {
|
|
56
|
-
item: T;
|
|
57
|
-
index: number;
|
|
58
|
-
}): any;
|
|
59
|
-
body?(_: {
|
|
60
|
-
item: T;
|
|
61
|
-
index: number;
|
|
62
|
-
}): any;
|
|
63
|
-
'scroll-finish'?(_: {}): any;
|
|
64
|
-
pagination?(_: {
|
|
65
|
-
pagination: {
|
|
66
|
-
current_page: number;
|
|
67
|
-
count: number;
|
|
68
|
-
limit_per_page: number;
|
|
69
|
-
search: string;
|
|
70
|
-
filter: string;
|
|
71
|
-
};
|
|
72
|
-
tradePage: () => Promise<void>;
|
|
73
|
-
error: any;
|
|
74
|
-
}): any;
|
|
75
|
-
};
|
|
76
|
-
emit: (event: "tradePage" | "beforeFetch" | "afterFetch", ...args: any[]) => void;
|
|
77
|
-
}>) => VNode & {
|
|
78
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
declare interface VDataPageProps {
|
|
82
|
-
fetch: Function;
|
|
83
|
-
fetch_name?: string;
|
|
84
|
-
endpoint: string;
|
|
85
|
-
type_loading?: 'placeholder' | 'spiner-table' | 'spiner';
|
|
86
|
-
type_fetch?: 'pagination' | 'infinite-scroll' | 'none';
|
|
87
|
-
custom_loading?: Component | null;
|
|
88
|
-
deactivate_default_params?: boolean;
|
|
89
|
-
filter_param_name?: string;
|
|
90
|
-
search_param_name?: string;
|
|
91
|
-
page_param_name?: string;
|
|
92
|
-
page_size_param_name?: string;
|
|
93
|
-
add_params?: Object | Function;
|
|
94
|
-
data_key?: string;
|
|
95
|
-
total_key?: string;
|
|
96
|
-
list_filter?: any[];
|
|
97
|
-
first_text_page_size?: string;
|
|
98
|
-
second_text_page_size?: string;
|
|
99
|
-
class_container?: string;
|
|
100
|
-
class_loading_container?: string;
|
|
101
|
-
class_pagination?: string;
|
|
102
|
-
class_filters?: string;
|
|
103
|
-
min_loading_delay?: number;
|
|
104
|
-
retry_attempts?: number;
|
|
105
|
-
retry_delay?: number;
|
|
106
|
-
use_checkbox?: boolean;
|
|
107
|
-
item_key?: string;
|
|
108
|
-
limit_per_page?: number;
|
|
109
|
-
next_page_response_name?: string;
|
|
110
|
-
page_starts_at?: number;
|
|
111
|
-
element_id?: string;
|
|
112
|
-
watch?: WatchSource[];
|
|
113
|
-
disable_request?: MaybeRefOrGetter<boolean>;
|
|
114
|
-
pagination_teleport?: string | HTMLElement | null;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export { }
|
package/dist/vDataTable.d.ts
DELETED
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
import { AllowedComponentProps } from 'vue';
|
|
2
|
-
import { Component } from 'vue';
|
|
3
|
-
import { ComponentCustomProps } from 'vue';
|
|
4
|
-
import { ComponentOptionsMixin } from 'vue';
|
|
5
|
-
import { ComponentProvideOptions } from 'vue';
|
|
6
|
-
import { ComputedRef } from 'vue';
|
|
7
|
-
import { DeepReadonly } from 'vue';
|
|
8
|
-
import { DefineComponent } from 'vue';
|
|
9
|
-
import { MaybeRefOrGetter } from 'vue';
|
|
10
|
-
import { PublicProps } from 'vue';
|
|
11
|
-
import { Ref } from 'vue';
|
|
12
|
-
import { ShallowUnwrapRef } from 'vue';
|
|
13
|
-
import { VNode } from 'vue';
|
|
14
|
-
import { VNodeProps } from 'vue';
|
|
15
|
-
|
|
16
|
-
declare const __VLS_component: DefineComponent<VColumnProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<VColumnProps> & Readonly<{}>, {
|
|
17
|
-
click: Function | null;
|
|
18
|
-
format: "complete" | "simple";
|
|
19
|
-
field: string | null;
|
|
20
|
-
type: "text" | "img" | "date" | "html";
|
|
21
|
-
class_column: string;
|
|
22
|
-
class_row: string;
|
|
23
|
-
class_item: string;
|
|
24
|
-
deactivate_img_preview: boolean;
|
|
25
|
-
limite_text: number | string | null;
|
|
26
|
-
transform_function: ((value: any) => any) | null;
|
|
27
|
-
locked: boolean | "start" | "end";
|
|
28
|
-
use_ordering: boolean;
|
|
29
|
-
param_ordering: string;
|
|
30
|
-
decreasing_value: string;
|
|
31
|
-
increasing_value: string;
|
|
32
|
-
class_rules: Record<string, (item: any) => boolean>;
|
|
33
|
-
start_hidden: boolean;
|
|
34
|
-
disable_hide: boolean;
|
|
35
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
36
|
-
|
|
37
|
-
declare type __VLS_PrettifyLocal<T> = {
|
|
38
|
-
[K in keyof T]: T[K];
|
|
39
|
-
} & {};
|
|
40
|
-
|
|
41
|
-
declare function __VLS_template(): {
|
|
42
|
-
attrs: Partial<{}>;
|
|
43
|
-
slots: Readonly<{
|
|
44
|
-
body?: (props: {
|
|
45
|
-
item: any;
|
|
46
|
-
}) => any;
|
|
47
|
-
col_header?: (props: {
|
|
48
|
-
col: any;
|
|
49
|
-
locked: boolean | "start" | "end";
|
|
50
|
-
OrderingComponent: Component;
|
|
51
|
-
}) => any;
|
|
52
|
-
col_header_midle?: (props: {
|
|
53
|
-
col: any;
|
|
54
|
-
locked: boolean | "start" | "end";
|
|
55
|
-
}) => any;
|
|
56
|
-
}> & {
|
|
57
|
-
body?: (props: {
|
|
58
|
-
item: any;
|
|
59
|
-
}) => any;
|
|
60
|
-
col_header?: (props: {
|
|
61
|
-
col: any;
|
|
62
|
-
locked: boolean | "start" | "end";
|
|
63
|
-
OrderingComponent: Component;
|
|
64
|
-
}) => any;
|
|
65
|
-
col_header_midle?: (props: {
|
|
66
|
-
col: any;
|
|
67
|
-
locked: boolean | "start" | "end";
|
|
68
|
-
}) => any;
|
|
69
|
-
};
|
|
70
|
-
refs: {};
|
|
71
|
-
rootEl: any;
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
75
|
-
|
|
76
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
77
|
-
new (): {
|
|
78
|
-
$slots: S;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
declare interface ApiProps {
|
|
83
|
-
fetch: Function;
|
|
84
|
-
endpoint: string;
|
|
85
|
-
fetch_name?: string;
|
|
86
|
-
data_key?: string;
|
|
87
|
-
total_key?: string;
|
|
88
|
-
filter_param_name?: string;
|
|
89
|
-
search_param_name?: string;
|
|
90
|
-
page_param_name?: string;
|
|
91
|
-
page_size_param_name?: string;
|
|
92
|
-
add_params?: Record<string, any> | (() => Record<string, any>);
|
|
93
|
-
add_params_keep_page?: Record<string, any> | (() => Record<string, any>);
|
|
94
|
-
silent_params?: Record<string, any> | (() => Record<string, any>);
|
|
95
|
-
deactivate_default_params?: boolean;
|
|
96
|
-
disable_request?: MaybeRefOrGetter<boolean>;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
declare interface BehaviorProps {
|
|
100
|
-
frontend_pagination?: boolean;
|
|
101
|
-
limit_per_page?: number;
|
|
102
|
-
page_starts_at?: number;
|
|
103
|
-
min_loading_delay?: number;
|
|
104
|
-
retry_attempts?: number;
|
|
105
|
-
retry_delay?: number;
|
|
106
|
-
immediate?: boolean;
|
|
107
|
-
storage_id?: string;
|
|
108
|
-
use_column_manager?: boolean;
|
|
109
|
-
show_header_when_empty?: boolean;
|
|
110
|
-
item_key?: string;
|
|
111
|
-
type_loading?: 'placeholder' | 'spiner-table' | 'spiner';
|
|
112
|
-
custom_loading?: Component | null;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
declare interface BodyClass {
|
|
116
|
-
class_content?: string;
|
|
117
|
-
class_container?: string;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
declare type ClassProps = (ColumnManagerClass & PaginationClass & BodyClass & TableClass & FiltersClass);
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* =====================================================
|
|
124
|
-
* Tipagem para classes CSS.
|
|
125
|
-
* Por que é usada: Agrupa as opções de estilização estrutural do datatable.
|
|
126
|
-
* =====================================================
|
|
127
|
-
* **/
|
|
128
|
-
declare interface ColumnManagerClass {
|
|
129
|
-
class_column_manager_dropdown?: string;
|
|
130
|
-
class_column_manager_dropdown_menu?: string;
|
|
131
|
-
class_column_manager_button?: string;
|
|
132
|
-
disable_class_column_manager_default?: boolean;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
declare interface ExposedFunctions<T extends Record<string, any>> {
|
|
136
|
-
execute: () => void;
|
|
137
|
-
reSearch: () => void;
|
|
138
|
-
pagination: Ref<PaginationObject>;
|
|
139
|
-
default_params: Record<string, any>;
|
|
140
|
-
selected_items: Ref<T[]>;
|
|
141
|
-
atLeastOneSelected: ComputedRef<boolean>;
|
|
142
|
-
set_limit_per_page: (newLimit: number) => void;
|
|
143
|
-
set_search: (newSearch: string) => void;
|
|
144
|
-
set_filter: (newFilter: string) => void;
|
|
145
|
-
set_page: (newPage: number) => void;
|
|
146
|
-
expand_item_toggle: (item: any) => void;
|
|
147
|
-
close_all_expanded_items: () => void;
|
|
148
|
-
selectAllCheckbox: Ref<HTMLInputElement | null>;
|
|
149
|
-
toggleColumnVisibility: (field: string) => void;
|
|
150
|
-
columns_list: ComputedRef<Array<{
|
|
151
|
-
id: string;
|
|
152
|
-
header: string;
|
|
153
|
-
field: string | null;
|
|
154
|
-
start_hidden: boolean;
|
|
155
|
-
visible: boolean;
|
|
156
|
-
locked: boolean | 'start' | 'end';
|
|
157
|
-
}>>;
|
|
158
|
-
items: DeepReadonly<Ref<T[]>>;
|
|
159
|
-
results: DeepReadonly<Ref<T[]>>;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
declare interface ExtraFeaturesProps {
|
|
163
|
-
use_checkbox?: boolean;
|
|
164
|
-
deactivate_selected_info?: boolean;
|
|
165
|
-
use_expandable_items?: boolean;
|
|
166
|
-
close_expanded_item_on_expand_new?: boolean;
|
|
167
|
-
scroll_to_expanded_item?: boolean;
|
|
168
|
-
type_animation_expand?: 'fade' | 'expand' | 'none';
|
|
169
|
-
deactivate_animation_expand?: boolean;
|
|
170
|
-
type_button_expand?: 'arrow' | 'plus';
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
declare interface FiltersClass {
|
|
174
|
-
class_filters?: string;
|
|
175
|
-
class_page_size?: string;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
declare interface PaginationClass {
|
|
179
|
-
class_pagination?: string;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
declare interface PaginationObject {
|
|
183
|
-
current_page: number;
|
|
184
|
-
count: number;
|
|
185
|
-
limit_per_page: number;
|
|
186
|
-
search: string;
|
|
187
|
-
filter: string;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
declare interface PaginationProps {
|
|
191
|
-
first_text_page_size?: string;
|
|
192
|
-
second_text_page_size?: string;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
declare interface SearchProps {
|
|
196
|
-
list_filter?: any[];
|
|
197
|
-
placeholder_search?: string;
|
|
198
|
-
disable_search?: boolean;
|
|
199
|
-
deactivate_search_empty?: boolean;
|
|
200
|
-
deactivate_search_on_clear?: boolean;
|
|
201
|
-
custom_frontend_filter?: ((item: any, search: string, filter: string) => boolean) | null;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
declare interface TableClass {
|
|
205
|
-
class_table?: string;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
declare interface TeleportsProps {
|
|
209
|
-
search_teleport?: string | HTMLElement | null;
|
|
210
|
-
pagination_teleport?: string | HTMLElement | null;
|
|
211
|
-
extra_actions_teleport?: string | HTMLElement | null;
|
|
212
|
-
column_manager_teleport?: string | HTMLElement | null;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
export declare const VColumn: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
216
|
-
|
|
217
|
-
declare interface VColumnProps {
|
|
218
|
-
field?: string | null;
|
|
219
|
-
header: string;
|
|
220
|
-
type?: 'text' | 'img' | 'date' | 'html';
|
|
221
|
-
class_column?: string;
|
|
222
|
-
class_row?: string;
|
|
223
|
-
class_item?: string;
|
|
224
|
-
format?: 'complete' | 'simple';
|
|
225
|
-
deactivate_img_preview?: boolean;
|
|
226
|
-
limite_text?: number | string | null;
|
|
227
|
-
transform_function?: ((value: any) => any) | null;
|
|
228
|
-
click?: Function | null;
|
|
229
|
-
locked?: boolean | 'start' | 'end';
|
|
230
|
-
use_ordering?: boolean;
|
|
231
|
-
param_ordering?: string;
|
|
232
|
-
decreasing_value?: string;
|
|
233
|
-
increasing_value?: string;
|
|
234
|
-
class_rules?: Record<string, (item: any) => boolean>;
|
|
235
|
-
start_hidden?: boolean;
|
|
236
|
-
disable_hide?: boolean;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
export declare const VDataTable: <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<{
|
|
240
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
241
|
-
readonly onTradePage?: ((...args: any[]) => any) | undefined;
|
|
242
|
-
readonly onClickedClearSearch?: ((...args: any[]) => any) | undefined;
|
|
243
|
-
readonly onBeforeFetch?: ((...args: any[]) => any) | undefined;
|
|
244
|
-
readonly onAfterFetch?: ((...args: any[]) => any) | undefined;
|
|
245
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onTradePage" | "onClickedClearSearch" | "onBeforeFetch" | "onAfterFetch"> & VDataTableProps & Partial<{}>> & PublicProps;
|
|
246
|
-
expose(exposed: ShallowUnwrapRef<ExposedFunctions<T>>): void;
|
|
247
|
-
attrs: any;
|
|
248
|
-
slots: {
|
|
249
|
-
default?(_: {}): any;
|
|
250
|
-
pageSize?(_: {
|
|
251
|
-
changePageSize: (event: Event) => void;
|
|
252
|
-
limit_per_page: number;
|
|
253
|
-
}): any;
|
|
254
|
-
fieldMiddle?(_: {}): any;
|
|
255
|
-
'search-field'?(_: {
|
|
256
|
-
search: string;
|
|
257
|
-
filter: string;
|
|
258
|
-
reSearch: () => void;
|
|
259
|
-
}): any;
|
|
260
|
-
'extra-actions'?(_: {}): any;
|
|
261
|
-
'item-selected-info'?(_: {
|
|
262
|
-
selected_items: T[];
|
|
263
|
-
clearSelection: () => never[];
|
|
264
|
-
}): any;
|
|
265
|
-
'expand-button'?(_: {
|
|
266
|
-
item: T;
|
|
267
|
-
index: number;
|
|
268
|
-
isExpanded: boolean;
|
|
269
|
-
expand_item_toggle: (item: any) => void;
|
|
270
|
-
}): any;
|
|
271
|
-
'after-row'?(_: {
|
|
272
|
-
item: T;
|
|
273
|
-
}): any;
|
|
274
|
-
'idle-state'?(_: {}): any;
|
|
275
|
-
pagination?(_: {
|
|
276
|
-
pagination: {
|
|
277
|
-
current_page: number;
|
|
278
|
-
count: number;
|
|
279
|
-
limit_per_page: number;
|
|
280
|
-
search: string;
|
|
281
|
-
filter: string;
|
|
282
|
-
};
|
|
283
|
-
tradePage: () => Promise<void>;
|
|
284
|
-
error: any;
|
|
285
|
-
}): any;
|
|
286
|
-
};
|
|
287
|
-
emit: (event: "tradePage" | "clickedClearSearch" | "beforeFetch" | "afterFetch", ...args: any[]) => void;
|
|
288
|
-
}>) => VNode & {
|
|
289
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
290
|
-
};
|
|
291
|
-
|
|
292
|
-
declare type VDataTableProps = (ApiProps & ClassProps & BehaviorProps & SearchProps & PaginationProps & ExtraFeaturesProps & TeleportsProps);
|
|
293
|
-
|
|
294
|
-
export { }
|