@up-packages/ui 0.1.1-qa.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/LICENSE +22 -0
- package/README.md +360 -0
- package/dist/components/UpAccordion/UpAccordion.vue.d.ts +26 -0
- package/dist/components/UpAccordion/index.d.ts +2 -0
- package/dist/components/UpBadge/UpBadge.vue.d.ts +41 -0
- package/dist/components/UpBadge/index.d.ts +2 -0
- package/dist/components/UpButton/UpButton.vue.d.ts +30 -0
- package/dist/components/UpButton/index.d.ts +2 -0
- package/dist/components/UpCalendar/UpCalendar.vue.d.ts +35 -0
- package/dist/components/UpCalendar/index.d.ts +2 -0
- package/dist/components/UpCard/UpCard.vue.d.ts +20 -0
- package/dist/components/UpCard/UpCardIndicator.vue.d.ts +17 -0
- package/dist/components/UpCard/UpCardInfo.vue.d.ts +16 -0
- package/dist/components/UpCard/UpCardInteractive.vue.d.ts +23 -0
- package/dist/components/UpCard/UpCardItem.vue.d.ts +15 -0
- package/dist/components/UpCard/UpCardList.vue.d.ts +12 -0
- package/dist/components/UpCard/UpCardNode.vue.d.ts +21 -0
- package/dist/components/UpCard/UpCardProduct.vue.d.ts +16 -0
- package/dist/components/UpCard/index.d.ts +9 -0
- package/dist/components/UpCard/types.d.ts +33 -0
- package/dist/components/UpCell/UpCell.vue.d.ts +17 -0
- package/dist/components/UpCell/index.d.ts +6 -0
- package/dist/components/UpCell/types.d.ts +24 -0
- package/dist/components/UpCheckbox/UpCheckbox.vue.d.ts +11 -0
- package/dist/components/UpCheckbox/index.d.ts +6 -0
- package/dist/components/UpCheckbox/types.d.ts +31 -0
- package/dist/components/UpDataTable/UpDataTable.vue.d.ts +70 -0
- package/dist/components/UpDataTable/index.d.ts +2 -0
- package/dist/components/UpDatePicker/UpDatePicker.vue.d.ts +59 -0
- package/dist/components/UpDatePicker/index.d.ts +2 -0
- package/dist/components/UpDivider/UpDivider.vue.d.ts +5 -0
- package/dist/components/UpDivider/index.d.ts +2 -0
- package/dist/components/UpDivider/types.d.ts +7 -0
- package/dist/components/UpEnvironmentBadge/UpEnvironmentBadge.vue.d.ts +2 -0
- package/dist/components/UpEnvironmentBadge/index.d.ts +1 -0
- package/dist/components/UpFloatMenu/UpFloatMenu.vue.d.ts +16 -0
- package/dist/components/UpFloatMenu/index.d.ts +2 -0
- package/dist/components/UpFloatMenu/types.d.ts +41 -0
- package/dist/components/UpNotification/UpNotification.vue.d.ts +11 -0
- package/dist/components/UpNotification/index.d.ts +2 -0
- package/dist/components/UpPagination/UpPagination.vue.d.ts +26 -0
- package/dist/components/UpPagination/index.d.ts +2 -0
- package/dist/components/UpPagination/types.d.ts +20 -0
- package/dist/components/UpProduct/UpProduct.vue.d.ts +3 -0
- package/dist/components/UpProduct/index.d.ts +2 -0
- package/dist/components/UpProduct/types.d.ts +7 -0
- package/dist/components/UpRadio/UpRadio.vue.d.ts +52 -0
- package/dist/components/UpRadio/index.d.ts +2 -0
- package/dist/components/UpSelect/UpSelect.vue.d.ts +97 -0
- package/dist/components/UpSelect/index.d.ts +2 -0
- package/dist/components/UpSelect/types.d.ts +38 -0
- package/dist/components/UpSideBar/UpSideBar.vue.d.ts +23 -0
- package/dist/components/UpSideBar/index.d.ts +2 -0
- package/dist/components/UpSideBar/types.d.ts +11 -0
- package/dist/components/UpStepper/UpStepper.vue.d.ts +11 -0
- package/dist/components/UpStepper/index.d.ts +2 -0
- package/dist/components/UpStepper/types.d.ts +9 -0
- package/dist/components/UpSwitch/UpSwitch.vue.d.ts +15 -0
- package/dist/components/UpSwitch/index.d.ts +2 -0
- package/dist/components/UpTab/UpTab.vue.d.ts +13 -0
- package/dist/components/UpTab/index.d.ts +2 -0
- package/dist/components/UpTab/types.d.ts +11 -0
- package/dist/components/UpTextField/UpTextField.vue.d.ts +73 -0
- package/dist/components/UpTextField/index.d.ts +2 -0
- package/dist/components/UpTitleBar/UpTitleBar.vue.d.ts +13 -0
- package/dist/components/UpTitleBar/index.d.ts +2 -0
- package/dist/components/UpTitleBar/types.d.ts +9 -0
- package/dist/components/UpToast/UpToast.vue.d.ts +44 -0
- package/dist/components/UpToast/index.d.ts +2 -0
- package/dist/components/UpTooltip/UpTooltip.vue.d.ts +19 -0
- package/dist/components/UpTooltip/index.d.ts +2 -0
- package/dist/components/UpTooltip/types.d.ts +6 -0
- package/dist/components/UpWindow/UpWindow.vue.d.ts +22 -0
- package/dist/components/UpWindow/index.d.ts +2 -0
- package/dist/components/UpWindow/types.d.ts +16 -0
- package/dist/components/index.d.ts +50 -0
- package/dist/composables/index.d.ts +6 -0
- package/dist/composables/useToast.d.ts +40 -0
- package/dist/config/environments.d.ts +26 -0
- package/dist/directives/index.d.ts +21 -0
- package/dist/directives/textFormat.d.ts +15 -0
- package/dist/index.d.ts +10 -0
- package/dist/install.d.ts +35 -0
- package/dist/plugins/vuetify.d.ts +142 -0
- package/dist/uplexis-ui.css +5 -0
- package/dist/uplexis-ui.js +15474 -0
- package/dist/uplexis-ui.js.map +1 -0
- package/dist/uplexis-ui.umd.cjs +5 -0
- package/dist/uplexis-ui.umd.cjs.map +1 -0
- package/dist/utils/formatters.d.ts +49 -0
- package/dist/utils/helpers.d.ts +19 -0
- package/dist/utils/index.d.ts +6 -0
- package/package.json +82 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as UpCard } from "./UpCard.vue";
|
|
2
|
+
export { default as UpCardNode } from "./UpCardNode.vue";
|
|
3
|
+
export { default as UpCardInfo } from "./UpCardInfo.vue";
|
|
4
|
+
export { default as UpCardList } from "./UpCardList.vue";
|
|
5
|
+
export { default as UpCardItem } from "./UpCardItem.vue";
|
|
6
|
+
export { default as UpCardProduct } from "./UpCardProduct.vue";
|
|
7
|
+
export { default as UpCardInteractive } from "./UpCardInteractive.vue";
|
|
8
|
+
export { default as UpCardIndicator } from "./UpCardIndicator.vue";
|
|
9
|
+
export * from "./types";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export type UpCardEntityType = "PF" | "PF-admin" | "SP" | "PEP" | "PJ" | "PJ-filial" | "ADM-PEP-SP" | "custom";
|
|
2
|
+
export type UpCardInfoVariant = "CNPJ" | "Protestos" | "Remuneracao" | "Transparencia" | "RendaPresumida" | "ChequesSemFundo" | "ParticipacaoEmEmpresas" | "Falencia" | "Orgao" | "PEP";
|
|
3
|
+
export interface UpCardNodeProps {
|
|
4
|
+
type: "node";
|
|
5
|
+
variant: UpCardEntityType;
|
|
6
|
+
bordered?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface UpCardInfoProps {
|
|
10
|
+
type: "info";
|
|
11
|
+
variant: UpCardInfoVariant;
|
|
12
|
+
}
|
|
13
|
+
export interface UpCardListProps {
|
|
14
|
+
type: "list";
|
|
15
|
+
}
|
|
16
|
+
export interface UpCardItemProps {
|
|
17
|
+
type: "item";
|
|
18
|
+
variant?: "button";
|
|
19
|
+
}
|
|
20
|
+
export interface UpCardProductProps {
|
|
21
|
+
type: "product";
|
|
22
|
+
variant: "product" | "custom";
|
|
23
|
+
size: "lg" | "sm";
|
|
24
|
+
}
|
|
25
|
+
export interface UpCardInteractiveProps {
|
|
26
|
+
type: "interactive";
|
|
27
|
+
variant: "positive" | "negative" | "neutral";
|
|
28
|
+
}
|
|
29
|
+
export interface UpCardIndicatorProps {
|
|
30
|
+
type: "indicator";
|
|
31
|
+
level?: "low" | "medium" | "high" | "error";
|
|
32
|
+
}
|
|
33
|
+
export type UpCardProps = UpCardNodeProps | UpCardInfoProps | UpCardListProps | UpCardItemProps | UpCardProductProps | UpCardInteractiveProps | UpCardIndicatorProps;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { UpCellProps } from "./types";
|
|
2
|
+
declare var __VLS_1: {}, __VLS_11: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
value?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
'value-icon'?: (props: typeof __VLS_11) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<UpCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpCellProps> & Readonly<{}>, {
|
|
9
|
+
type: import("./types").UpCellType;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tipos do componente UpCell
|
|
3
|
+
* Compatível com @aplicativo/uplexis-ui v1.7.7
|
|
4
|
+
*/
|
|
5
|
+
export type UpCellType = "normal" | "title";
|
|
6
|
+
export type UpCellFormatter = "cpf" | "cnpj" | "currency" | "date";
|
|
7
|
+
export interface UpCellProps {
|
|
8
|
+
/** Label/título da célula */
|
|
9
|
+
label?: string;
|
|
10
|
+
/** Valor da célula */
|
|
11
|
+
value?: string;
|
|
12
|
+
/** Ícone após o valor (Material Symbols) */
|
|
13
|
+
icon?: string | boolean;
|
|
14
|
+
/** Ícone para links (Material Symbols) */
|
|
15
|
+
linkIcon?: string | boolean;
|
|
16
|
+
/** Adiciona linha sublinhada */
|
|
17
|
+
underlined?: boolean;
|
|
18
|
+
/** URL para transformar valor em link */
|
|
19
|
+
href?: string;
|
|
20
|
+
/** Tipo da célula */
|
|
21
|
+
type?: UpCellType;
|
|
22
|
+
/** Formatador: 'cpf', 'cnpj', 'currency', 'date' */
|
|
23
|
+
valueFormatter?: UpCellFormatter;
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { UpCheckboxProps } from "./types";
|
|
2
|
+
type __VLS_Props = UpCheckboxProps;
|
|
3
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
+
"checked": boolean | Array<string | number>;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:checked": (value: boolean | (string | number)[]) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:checked"?: ((value: boolean | (string | number)[]) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface UpCheckboxProps {
|
|
2
|
+
/**
|
|
3
|
+
* ID único do checkbox
|
|
4
|
+
*/
|
|
5
|
+
id?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Texto do label ao lado do checkbox
|
|
8
|
+
*/
|
|
9
|
+
label?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Desabilita o checkbox
|
|
12
|
+
*/
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Nome do campo (obrigatório, semântica HTML)
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* Valor do checkbox (obrigatório)
|
|
20
|
+
*/
|
|
21
|
+
value: string | number;
|
|
22
|
+
/**
|
|
23
|
+
* Atributo required HTML (obrigatório)
|
|
24
|
+
*/
|
|
25
|
+
required: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Estado do checkbox (v-model:checked)
|
|
28
|
+
* Pode ser boolean (seleção única) ou array (seleção múltipla)
|
|
29
|
+
*/
|
|
30
|
+
checked?: boolean | Array<string | number>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export interface UpDataTableHeader {
|
|
2
|
+
key: string;
|
|
3
|
+
title: string;
|
|
4
|
+
align?: 'start' | 'center' | 'end';
|
|
5
|
+
sortable?: boolean;
|
|
6
|
+
width?: string | number;
|
|
7
|
+
minWidth?: string | number;
|
|
8
|
+
maxWidth?: string | number;
|
|
9
|
+
}
|
|
10
|
+
export interface UpDataTableProps {
|
|
11
|
+
headers: UpDataTableHeader[];
|
|
12
|
+
items: any[];
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
search?: string;
|
|
15
|
+
itemsPerPage?: number;
|
|
16
|
+
itemsPerPageOptions?: Array<{
|
|
17
|
+
value: number;
|
|
18
|
+
title: string;
|
|
19
|
+
}>;
|
|
20
|
+
density?: 'default' | 'comfortable' | 'compact';
|
|
21
|
+
hover?: boolean;
|
|
22
|
+
fixedHeader?: boolean;
|
|
23
|
+
height?: string | number;
|
|
24
|
+
showSelect?: boolean;
|
|
25
|
+
modelValue?: any[];
|
|
26
|
+
}
|
|
27
|
+
declare var __VLS_10: {}, __VLS_13: `item.${string}`, __VLS_14: {
|
|
28
|
+
item: any;
|
|
29
|
+
value: any;
|
|
30
|
+
}, __VLS_16: {
|
|
31
|
+
item: any;
|
|
32
|
+
}, __VLS_18: {}, __VLS_20: {}, __VLS_22: {};
|
|
33
|
+
type __VLS_Slots = {} & {
|
|
34
|
+
[K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
|
|
35
|
+
} & {
|
|
36
|
+
top?: (props: typeof __VLS_10) => any;
|
|
37
|
+
} & {
|
|
38
|
+
actions?: (props: typeof __VLS_16) => any;
|
|
39
|
+
} & {
|
|
40
|
+
'no-data'?: (props: typeof __VLS_18) => any;
|
|
41
|
+
} & {
|
|
42
|
+
loading?: (props: typeof __VLS_20) => any;
|
|
43
|
+
} & {
|
|
44
|
+
bottom?: (props: typeof __VLS_22) => any;
|
|
45
|
+
};
|
|
46
|
+
declare const __VLS_component: import("vue").DefineComponent<UpDataTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
"update:modelValue": (value: any[]) => any;
|
|
48
|
+
"update:options": (value: any) => any;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<UpDataTableProps> & Readonly<{
|
|
50
|
+
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
51
|
+
"onUpdate:options"?: ((value: any) => any) | undefined;
|
|
52
|
+
}>, {
|
|
53
|
+
density: "default" | "comfortable" | "compact";
|
|
54
|
+
loading: boolean;
|
|
55
|
+
itemsPerPage: number;
|
|
56
|
+
itemsPerPageOptions: Array<{
|
|
57
|
+
value: number;
|
|
58
|
+
title: string;
|
|
59
|
+
}>;
|
|
60
|
+
hover: boolean;
|
|
61
|
+
fixedHeader: boolean;
|
|
62
|
+
showSelect: boolean;
|
|
63
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
64
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export interface UpDatePickerDay {
|
|
2
|
+
day: number;
|
|
3
|
+
date: Date;
|
|
4
|
+
isCurrentMonth: boolean;
|
|
5
|
+
isToday: boolean;
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
isInRange: boolean;
|
|
8
|
+
isRangeStart: boolean;
|
|
9
|
+
isRangeEnd: boolean;
|
|
10
|
+
isWeekend: boolean;
|
|
11
|
+
isDisabled: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface UpDatePickerProps {
|
|
14
|
+
modelValue?: Date | string | null | [Date | string | null, Date | string | null];
|
|
15
|
+
mode?: "single" | "range";
|
|
16
|
+
label?: string;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
pattern?: string | ((date: Date) => string) | ((dates: Date[]) => string);
|
|
19
|
+
locale?: string;
|
|
20
|
+
daynames?: string[];
|
|
21
|
+
color?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
readonly?: boolean;
|
|
24
|
+
error?: boolean;
|
|
25
|
+
errorMessages?: string | string[];
|
|
26
|
+
hint?: string;
|
|
27
|
+
persistentHint?: boolean;
|
|
28
|
+
density?: "default" | "comfortable" | "compact";
|
|
29
|
+
hideDetails?: boolean | "auto";
|
|
30
|
+
clearable?: boolean;
|
|
31
|
+
firstDayOfWeek?: number;
|
|
32
|
+
minDate?: Date | string;
|
|
33
|
+
maxDate?: Date | string;
|
|
34
|
+
preventMinMaxNavigation?: boolean;
|
|
35
|
+
disabledDates?: Date[] | string[] | ((date: Date) => boolean);
|
|
36
|
+
autoApply?: boolean;
|
|
37
|
+
}
|
|
38
|
+
declare const _default: import("vue").DefineComponent<UpDatePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
"update:modelValue": (value: Date | [Date, Date] | null) => any;
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<UpDatePickerProps> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((value: Date | [Date, Date] | null) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
error: boolean;
|
|
44
|
+
density: "default" | "comfortable" | "compact";
|
|
45
|
+
color: string;
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
pattern: string | ((date: Date) => string) | ((dates: Date[]) => string);
|
|
48
|
+
mode: "single" | "range";
|
|
49
|
+
firstDayOfWeek: number;
|
|
50
|
+
readonly: boolean;
|
|
51
|
+
locale: string;
|
|
52
|
+
daynames: string[];
|
|
53
|
+
persistentHint: boolean;
|
|
54
|
+
hideDetails: boolean | "auto";
|
|
55
|
+
clearable: boolean;
|
|
56
|
+
preventMinMaxNavigation: boolean;
|
|
57
|
+
autoApply: boolean;
|
|
58
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UpDividerProps } from "./types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<UpDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpDividerProps> & Readonly<{}>, {
|
|
3
|
+
direction: "horizontal" | "vertical";
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as UpEnvironmentBadge } from "./UpEnvironmentBadge.vue";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { UpFloatMenuProps } from "./types";
|
|
2
|
+
declare var __VLS_6: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
trigger?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<UpFloatMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpFloatMenuProps> & Readonly<{}>, {
|
|
7
|
+
align: "start" | "center" | "end";
|
|
8
|
+
side: "top" | "right" | "bottom" | "left";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface UpFloatMenuItem {
|
|
2
|
+
/**
|
|
3
|
+
* Texto exibido no item
|
|
4
|
+
*/
|
|
5
|
+
text: string;
|
|
6
|
+
/**
|
|
7
|
+
* Função executada ao clicar no item
|
|
8
|
+
*/
|
|
9
|
+
handler: () => void;
|
|
10
|
+
/**
|
|
11
|
+
* Ícone MDI (sem prefixo 'mdi-')
|
|
12
|
+
* @example 'pencil', 'delete', 'share'
|
|
13
|
+
*/
|
|
14
|
+
icon?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Se o item está desabilitado
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Tipo do item (normal ou divisor)
|
|
22
|
+
* @default 'item'
|
|
23
|
+
*/
|
|
24
|
+
type?: "item" | "divider";
|
|
25
|
+
}
|
|
26
|
+
export interface UpFloatMenuProps {
|
|
27
|
+
/**
|
|
28
|
+
* Array de itens do menu
|
|
29
|
+
*/
|
|
30
|
+
items: UpFloatMenuItem[];
|
|
31
|
+
/**
|
|
32
|
+
* Alinhamento do menu em relação ao trigger
|
|
33
|
+
* @default 'start'
|
|
34
|
+
*/
|
|
35
|
+
align?: "start" | "center" | "end";
|
|
36
|
+
/**
|
|
37
|
+
* Lado do menu em relação ao trigger
|
|
38
|
+
* @default 'bottom'
|
|
39
|
+
*/
|
|
40
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
41
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface UpNotificationProps {
|
|
2
|
+
type?: "success" | "error" | "warning";
|
|
3
|
+
title: string;
|
|
4
|
+
content: string;
|
|
5
|
+
productName?: string;
|
|
6
|
+
isRead: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<UpNotificationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpNotificationProps> & Readonly<{}>, {
|
|
9
|
+
isRead: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { UpPaginationProps } from "./types";
|
|
2
|
+
declare var __VLS_1: {}, __VLS_7: {}, __VLS_13: {}, __VLS_19: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
'first-page-icon'?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
'previous-page-icon'?: (props: typeof __VLS_7) => any;
|
|
7
|
+
} & {
|
|
8
|
+
'next-page-icon'?: (props: typeof __VLS_13) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'last-page-icon'?: (props: typeof __VLS_19) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<UpPaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: number) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<UpPaginationProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
modelValue: number;
|
|
18
|
+
siblingCount: number;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface UpPaginationProps {
|
|
2
|
+
/**
|
|
3
|
+
* Número total de itens a serem paginados
|
|
4
|
+
*/
|
|
5
|
+
total: number;
|
|
6
|
+
/**
|
|
7
|
+
* Quantidade de itens exibidos por página
|
|
8
|
+
*/
|
|
9
|
+
itemsPerPage: number;
|
|
10
|
+
/**
|
|
11
|
+
* Página inicial selecionada
|
|
12
|
+
* @default 1
|
|
13
|
+
*/
|
|
14
|
+
modelValue?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Quantidade de páginas visíveis ao lado da página atual
|
|
17
|
+
* @default 1
|
|
18
|
+
*/
|
|
19
|
+
siblingCount?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { UpProductProps } from "./types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<UpProductProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpProductProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type UpProductType = "upAcademy" | "UpLink" | "UpScore" | "UpMatch" | "Certidoes" | "RG" | "Ficha" | "Dossie" | "UpSearch" | "UpMap" | "UpFlag" | "Veiculos" | "Imoveis" | "EnrDados" | "UpJuris" | "UpFolder" | "UpMonitor" | "MktApi" | "Societario" | "Balanco" | "Historico";
|
|
2
|
+
export interface UpProductProps {
|
|
3
|
+
/**
|
|
4
|
+
* Tipo do produto Uplexis a ser exibido
|
|
5
|
+
*/
|
|
6
|
+
type: UpProductType;
|
|
7
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface UpRadioOption {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string | number | boolean;
|
|
4
|
+
icon?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface UpRadioProps {
|
|
8
|
+
modelValue?: string | number | boolean | null;
|
|
9
|
+
id?: string;
|
|
10
|
+
options: (string | UpRadioOption)[];
|
|
11
|
+
label?: string;
|
|
12
|
+
color?: string;
|
|
13
|
+
inline?: boolean;
|
|
14
|
+
column?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
readonly?: boolean;
|
|
17
|
+
error?: boolean;
|
|
18
|
+
errorMessages?: string | string[];
|
|
19
|
+
hint?: string;
|
|
20
|
+
persistentHint?: boolean;
|
|
21
|
+
density?: "default" | "comfortable" | "compact";
|
|
22
|
+
hideDetails?: boolean | "auto";
|
|
23
|
+
labelClass?: string;
|
|
24
|
+
}
|
|
25
|
+
declare var __VLS_18: {
|
|
26
|
+
message: string;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Slots = {} & {
|
|
29
|
+
message?: (props: typeof __VLS_18) => any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<UpRadioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
"update:modelValue": (value: string | number | boolean | null) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<UpRadioProps> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | null) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
error: boolean;
|
|
37
|
+
density: "default" | "comfortable" | "compact";
|
|
38
|
+
color: string;
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
readonly: boolean;
|
|
41
|
+
inline: boolean;
|
|
42
|
+
column: boolean;
|
|
43
|
+
persistentHint: boolean;
|
|
44
|
+
hideDetails: boolean | "auto";
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export interface UpSelectProps {
|
|
2
|
+
modelValue?: any;
|
|
3
|
+
id?: string;
|
|
4
|
+
items?: any[];
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
hint?: string;
|
|
8
|
+
persistentHint?: boolean;
|
|
9
|
+
variant?: "outlined" | "filled" | "underlined" | "solo" | "solo-inverted" | "solo-filled" | "plain";
|
|
10
|
+
density?: "default" | "comfortable" | "compact";
|
|
11
|
+
color?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
readonly?: boolean;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
clearable?: boolean;
|
|
16
|
+
multiple?: boolean;
|
|
17
|
+
chips?: boolean;
|
|
18
|
+
prependIcon?: string;
|
|
19
|
+
prependInnerIcon?: string;
|
|
20
|
+
appendIcon?: string;
|
|
21
|
+
appendInnerIcon?: string;
|
|
22
|
+
rules?: Array<(value: any) => boolean | string>;
|
|
23
|
+
errorMessages?: string | string[];
|
|
24
|
+
itemTitle?: string;
|
|
25
|
+
itemValue?: string;
|
|
26
|
+
returnObject?: boolean;
|
|
27
|
+
rounded?: string | number | boolean;
|
|
28
|
+
menuIcon?: string;
|
|
29
|
+
noFilter?: boolean;
|
|
30
|
+
customFilter?: (itemTitle: string, queryText: string, item: any) => boolean;
|
|
31
|
+
autoSelectFirst?: boolean | "exact";
|
|
32
|
+
}
|
|
33
|
+
declare var __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {
|
|
34
|
+
item: import("vuetify/lib/composables/list-items.mjs").ListItem<any>;
|
|
35
|
+
index: number;
|
|
36
|
+
}, __VLS_23: {
|
|
37
|
+
item: import("vuetify/lib/composables/list-items.mjs").ListItem<any>;
|
|
38
|
+
props: Record<string, unknown>;
|
|
39
|
+
}, __VLS_25: {
|
|
40
|
+
item: import("vuetify/lib/composables/list-items.mjs").ListItem<any>;
|
|
41
|
+
props: Record<string, unknown>;
|
|
42
|
+
}, __VLS_27: {};
|
|
43
|
+
type __VLS_Slots = {} & {
|
|
44
|
+
prepend?: (props: typeof __VLS_13) => any;
|
|
45
|
+
} & {
|
|
46
|
+
'prepend-inner'?: (props: typeof __VLS_15) => any;
|
|
47
|
+
} & {
|
|
48
|
+
append?: (props: typeof __VLS_17) => any;
|
|
49
|
+
} & {
|
|
50
|
+
'append-inner'?: (props: typeof __VLS_19) => any;
|
|
51
|
+
} & {
|
|
52
|
+
selection?: (props: typeof __VLS_21) => any;
|
|
53
|
+
} & {
|
|
54
|
+
item?: (props: typeof __VLS_23) => any;
|
|
55
|
+
} & {
|
|
56
|
+
chip?: (props: typeof __VLS_25) => any;
|
|
57
|
+
} & {
|
|
58
|
+
'no-data'?: (props: typeof __VLS_27) => any;
|
|
59
|
+
};
|
|
60
|
+
declare const __VLS_component: import("vue").DefineComponent<UpSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
|
+
"update:modelValue": (value: any) => any;
|
|
62
|
+
search: (term: string) => any;
|
|
63
|
+
focus: (event: FocusEvent) => any;
|
|
64
|
+
blur: (event: FocusEvent) => any;
|
|
65
|
+
"update:search": (search: string) => any;
|
|
66
|
+
}, string, import("vue").PublicProps, Readonly<UpSelectProps> & Readonly<{
|
|
67
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
68
|
+
onSearch?: ((term: string) => any) | undefined;
|
|
69
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
70
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
71
|
+
"onUpdate:search"?: ((search: string) => any) | undefined;
|
|
72
|
+
}>, {
|
|
73
|
+
rounded: string | number | boolean;
|
|
74
|
+
variant: "outlined" | "filled" | "underlined" | "solo" | "solo-inverted" | "solo-filled" | "plain";
|
|
75
|
+
density: "default" | "comfortable" | "compact";
|
|
76
|
+
color: string;
|
|
77
|
+
loading: boolean;
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
readonly: boolean;
|
|
80
|
+
itemTitle: string;
|
|
81
|
+
itemValue: string;
|
|
82
|
+
returnObject: boolean;
|
|
83
|
+
multiple: boolean;
|
|
84
|
+
noFilter: boolean;
|
|
85
|
+
persistentHint: boolean;
|
|
86
|
+
clearable: boolean;
|
|
87
|
+
chips: boolean;
|
|
88
|
+
menuIcon: string;
|
|
89
|
+
autoSelectFirst: boolean | "exact";
|
|
90
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
92
|
+
export default _default;
|
|
93
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
94
|
+
new (): {
|
|
95
|
+
$slots: S;
|
|
96
|
+
};
|
|
97
|
+
};
|